|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Uses of Query in com.algolia.search.saas |
|---|
| Methods in com.algolia.search.saas that return Query | |
|---|---|
Query |
Query.aroundLatitudeLongitude(float latitude,
float longitude,
int radius)
Search for entries around a given latitude/longitude. |
Query |
Query.aroundLatitudeLongitude(float latitude,
float longitude,
int radius,
int precision)
Search for entries around a given latitude/longitude. |
Query |
Query.aroundLatitudeLongitudeViaIP(boolean enabled,
int radius)
Search for entries around the latitude/longitude of user (using IP geolocation) |
Query |
Query.aroundLatitudeLongitudeViaIP(boolean enabled,
int radius,
int precision)
Search for entries around the latitude/longitude of user (using IP geolocation) |
Query |
Query.enableAnalytics(boolean enabled)
|
Query |
Query.enableAvancedSyntax(boolean advancedSyntax)
Enable the advanced query syntax. |
Query |
Query.enableDistinct(boolean distinct)
|
Query |
Query.enableReplaceSynonymsInHighlight(boolean enabled)
|
Query |
Query.enableSynonyms(boolean enabled)
|
Query |
Query.enableTyposOnNumericTokens(boolean enabled)
|
Query |
Query.enableTypoTolerance(boolean enabled)
|
Query |
APIClient.IndexQuery.getQuery()
|
Query |
Query.getRankingInfo(boolean enabled)
if set, the result hits will contain ranking information in _rankingInfo attribute. |
Query |
Query.ignorePlural(boolean enabled)
If set to true, plural won't be considered as a typo (for example car/cars will be considered as equals). |
Query |
Query.insideBoundingBox(float latitudeP1,
float longitudeP1,
float latitudeP2,
float longitudeP2)
Search for entries inside a given area defined by the two extreme points of a rectangle. |
Query |
Query.removeWordsIfNoResult(Query.RemoveWordsType type)
Select the strategy to adopt when a query does not return any result. |
Query |
Query.restrictSearchableAttributes(String attributes)
List of object attributes you want to use for textual search (must be a subset of the attributesToIndex index setting). |
Query |
Query.setAttributesToHighlight(List<String> attributes)
Specify the list of attribute names to highlight. |
Query |
Query.setAttributesToRetrieve(List<String> attributes)
Specify the list of attribute names to retrieve. |
Query |
Query.setAttributesToSnippet(List<String> attributes)
Specify the list of attribute names to Snippet alongside the number of words to return (syntax is 'attributeName:nbWords'). |
Query |
Query.setFacetFilters(List<String> facets)
Filter the query by a list of facets. |
Query |
Query.setFacetFilters(String facetFilters)
Filter the query by a list of facets. |
Query |
Query.setFacets(List<String> facets)
List of object attributes that you want to use for faceting. |
Query |
Query.setHitsPerPage(int nbHitsPerPage)
Set the number of hits per page. |
Query |
Query.setMaxNumberOfFacets(int n)
Limit the number of facet values returned for each facet. |
Query |
Query.setMinWordSizeToAllowOneTypo(int nbChars)
Specify the minimum number of characters in a query word to accept one typo in this word. |
Query |
Query.setMinWordSizeToAllowTwoTypos(int nbChars)
Specify the minimum number of characters in a query word to accept two typos in this word. |
Query |
Query.setNbHitsPerPage(int nbHitsPerPage)
Deprecated. Use setHitsPerPage |
Query |
Query.setNumericFilters(List<String> numerics)
Add a list of numeric filters separated by a comma. |
Query |
Query.setNumericFilters(String numerics)
Add a list of numeric filters separated by a comma. |
Query |
Query.setOptionalWords(List<String> words)
Set the list of words that should be considered as optional when found in the query. |
Query |
Query.setOptionalWords(String words)
Set the list of words that should be considered as optional when found in the query. |
Query |
Query.setPage(int page)
Set the page to retrieve (zero base). |
Query |
Query.setQueryString(String query)
Set the full text query |
Query |
Query.setQueryType(Query.QueryType type)
Select how the query words are interpreted: |
Query |
Query.setTagFilters(String tags)
Filter the query by a set of tags. |
Query |
Query.setTypoTolerance(Query.TypoTolerance typoTolerance)
|
| Methods in com.algolia.search.saas with parameters of type Query | |
|---|---|
void |
Index.deleteByQuery(Query query)
Delete all objects matching a query |
org.json.JSONObject |
Index.search(Query params)
Search inside the index |
org.json.JSONObject |
Index.searchDisjunctiveFaceting(Query query,
List<String> disjunctiveFacets)
|
org.json.JSONObject |
Index.searchDisjunctiveFaceting(Query query,
List<String> disjunctiveFacets,
Map<String,List<String>> refinements)
Perform a search with disjunctive facets generating as many queries as number of disjunctive facets |
void |
APIClient.IndexQuery.setQuery(Query query)
|
| Constructors in com.algolia.search.saas with parameters of type Query | |
|---|---|
APIClient.IndexQuery(String index,
Query q)
|
|
Query(Query other)
|
|
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||