Interface Query
- All Known Implementing Classes:
BaseQuery,BasicQuery,FacetQuery,IndexQuery
public interface Query
Query interface for Meilisearch operations
- Author:
- Junghoon Ban
-
Method Summary
Modifier and TypeMethodDescriptionString[]Get the search attributesString[]Get the search filterString[][]Get the search filter arraycom.meilisearch.sdk.model.MatchingStrategyGet the search sortgetQ()Get the search query textvoidsetAttributesToSearchOn(String[] attributesToSearchOn) Set the search attributesvoidSet the search filtervoidsetFilterArray(String[][] filterArray) Set the search filter arrayvoidsetMatchingStrategy(com.meilisearch.sdk.model.MatchingStrategy matchingStrategy) Set the search sortvoidSet the search query text
-
Method Details
-
getQ
Get the search query text- Returns:
- null if not set
-
setQ
Set the search query text- Parameters:
q- search query text
-
getFilter
Get the search filter- Returns:
- null if not set
-
setFilter
Set the search filter- Parameters:
filter- search filter
-
getFilterArray
Get the search filter array- Returns:
- null if not set
-
setFilterArray
Set the search filter array- Parameters:
filterArray- search filter array
-
getMatchingStrategy
Get the search sort- Returns:
- null if not set
-
setMatchingStrategy
Set the search sort- Parameters:
matchingStrategy- search sort
-
getAttributesToSearchOn
Get the search attributes- Returns:
- null if not set
-
setAttributesToSearchOn
Set the search attributes- Parameters:
attributesToSearchOn- search attributes
-