ConsequenceParamspublic class Query extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
Query.QueryType |
|
static class |
Query.RemoveWordsType |
protected Distinct distinct
protected Boolean getRankingInfo
protected Boolean analytics
protected String analyticsTags
protected Boolean synonyms
protected Boolean replaceSynonymsInHighlight
protected Integer minProximity
protected Long maxFacetHits
protected Boolean percentileComputation
protected String filters
protected String facets
protected Long maxValuesPerFacet
protected Boolean facetingAfterDistinct
protected String sortFacetValuesBy
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 Long page
protected Long hitsPerPage
protected Long offset
protected Long 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 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 Long getMaxFacetHits()
public Boolean getPercentileComputation()
public Query setRestrictSearchableAttributes(List<String> restrictSearchableAttributes)
public String getFilters()
public String getFacets()
public Long 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 Long getPage()
public Long getHitsPerPage()
public Long getOffset()
public Long 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 TypoTolerance getTypoTolerance()
public Query setTypoTolerance(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()
public String getSortFacetValuesBy()
Copyright © 2017. All rights reserved.