public class Query extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Query.QueryType |
static class |
Query.RemoveWordsType |
static class |
Query.TypoTolerance |
protected Distinct distinct
protected Boolean getRankingInfo
protected Boolean analytics
protected String analyticsTags
protected Boolean synonyms
protected Boolean replaceSynonymsInHighlight
protected Integer minProximity
protected Integer maxFacetHits
protected Boolean percentileComputation
protected String filters
protected String facets
protected Integer maxValuesPerFacet
protected Boolean facetingAfterDistinct
protected String aroundLatLng
protected Boolean aroundLatLngViaIP
protected Object aroundRadius
protected Integer aroundPrecision
protected Integer minimumAroundRadius
protected String highlightPreTag
protected String highlightPostTag
protected String snippetEllipsisText
protected Boolean restrictHighlightAndSnippetArrays
protected Integer page
protected Integer hitsPerPage
protected Integer offset
protected Integer length
protected Boolean enableRules
protected String queryType
protected Query.RemoveWordsType removeWordsIfNoResults
protected Boolean advancedSyntax
protected RemoveStopWords removeStopWords
protected String exactOnSingleWordQuery
protected String query
protected Integer minWordSizefor1Typo
protected Integer minWordSizefor2Typos
protected Query.TypoTolerance typoTolerance
protected Boolean allowTyposOnNumericTokens
protected IgnorePlurals ignorePlurals
protected String userToken
protected Integer validUntil
protected String restrictSources
protected String cursor
public Query()
public Query(String query)
public String toParam()
public Query setAroundRadiusAll()
public Distinct getDistinct()
public Boolean getGetRankingInfo()
public Boolean getAnalytics()
public String getAnalyticsTags()
public Boolean getSynonyms()
public Boolean getReplaceSynonymsInHighlight()
public Query setReplaceSynonymsInHighlight(Boolean replaceSynonymsInHighlight)
public Integer getMinProximity()
public Integer getMaxFacetHits()
public Boolean getPercentileComputation()
public Query setRestrictSearchableAttributes(List<String> restrictSearchableAttributes)
public String getFilters()
public String getFacets()
public Integer getMaxValuesPerFacet()
public Boolean getFacetingAfterDistinct()
public String getAroundLatLng()
public Boolean getAroundLatLngViaIP()
public Object getAroundRadius()
public Integer getAroundPrecision()
public Integer getMinimumAroundRadius()
public String getHighlightPreTag()
public String getHighlightPostTag()
public String getSnippetEllipsisText()
public Boolean getRestrictHighlightAndSnippetArrays()
public Query setRestrictHighlightAndSnippetArrays(Boolean restrictHighlightAndSnippetArrays)
public Integer getPage()
public Integer getHitsPerPage()
public Integer getOffset()
public Integer getLength()
public String getQueryType()
public Query.RemoveWordsType getRemoveWordsIfNoResults()
public Query setRemoveWordsIfNoResults(Query.RemoveWordsType removeWordsIfNoResults)
public Boolean getAdvancedSyntax()
public RemoveStopWords getRemoveStopWords()
public Query setRemoveStopWords(RemoveStopWords removeStopWords)
public Query setDisableExactOnAttributes(List<String> disableExactOnAttributes)
public String getExactOnSingleWordQuery()
public Integer getMinWordSizefor1Typo()
public Integer getMinWordSizefor2Typos()
public Query.TypoTolerance getTypoTolerance()
public Query setTypoTolerance(Query.TypoTolerance typoTolerance)
public Boolean getAllowTyposOnNumericTokens()
public Query setAllowTyposOnNumericTokens(Boolean allowTyposOnNumericTokens)
public IgnorePlurals getIgnorePlurals()
public Query setIgnorePlurals(IgnorePlurals ignorePlurals)
public Query setDisableTypoToleranceOnAttributes(List<String> disableTypoToleranceOnAttributes)
public String getUserToken()
public Integer getValidUntil()
public String getRestrictSources()
public String getCursor()
public Boolean getEnableRules()
Copyright © 2017. All rights reserved.