Package com.algolia.model.search
Class ConsequenceParams
java.lang.Object
com.algolia.model.search.ConsequenceParams
ConsequenceParams
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAdvancedSyntaxFeatures
(AdvancedSyntaxFeatures advancedSyntaxFeaturesItem) addAlternativesAsExact
(AlternativesAsExact alternativesAsExactItem) addAnalyticsTags
(String analyticsTagsItem) addAttributesForFaceting
(String attributesForFacetingItem) addAttributesToHighlight
(String attributesToHighlightItem) addAttributesToRetrieve
(String attributesToRetrieveItem) addAttributesToSnippet
(String attributesToSnippetItem) addCustomRanking
(String customRankingItem) addDisableExactOnAttributes
(String disableExactOnAttributesItem) addDisableTypoToleranceOnAttributes
(String disableTypoToleranceOnAttributesItem) addExplain
(String explainItem) addInsideBoundingBox
(List<Double> insideBoundingBoxItem) addInsidePolygon
(List<Double> insidePolygonItem) addNaturalLanguages
(String naturalLanguagesItem) addOptionalWords
(String optionalWordsItem) addQueryLanguages
(String queryLanguagesItem) addRanking
(String rankingItem) addResponseFields
(String responseFieldsItem) addRestrictSearchableAttributes
(String restrictSearchableAttributesItem) addRuleContexts
(String ruleContextsItem) boolean
Enables the [advanced query syntax](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#advanced-syntax).Allows you to specify which advanced syntax features are active when `advancedSyntax` is enabled.Whether to allow typos on numbers (\"numeric tokens\") in the query string.Alternatives that should be considered an exact match by [the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).Indicates whether this query will be included in [analytics](https://www.algolia.com/doc/guides/search-analytics/guides/exclude-queries/).Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/).Search for entries [around a central location](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filter-around-a-central-point), enabling a geographical search within a circular area.Search for entries around a location.Get aroundPrecisionGet aroundRadiusWhen the [Attribute criterion is ranked above Proximity](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute-and-proximity-combinations) in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage.Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/) and the [modifiers](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) that can be applied: `filterOnly`, `searchable`, and `afterDistinct`.Attributes to highlight.Attributes to include in the API response.Attributes to _snippet_.Get automaticFacetFiltersGet automaticOptionalFacetFiltersIndicates whether a query ID parameter is included in the search response.Specifies the [Custom ranking criterion](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/).[Splits compound words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words) into their component word parts in the query.Attributes for which you want to [turn off the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes).Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).Get distinctIncidates whether this search will be considered in A/B testing.Incidates whether [Personalization](https://www.algolia.com/doc/guides/personalization/what-is-personalization/) is enabled.Indicates whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/).Incidates whether [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/) are enabled.Get exactOnSingleWordQueryEnriches the API's response with information about how the query was processed.Get facetFiltersForces faceting to be applied after [de-duplication](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/) (with the distinct feature).Returns [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts), their facet values, and the number of matching facet values.[Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters.Incidates whether the search response includes [detailed ranking information](https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/understanding-the-api-response/#ranking-information).HTML string to insert after the highlighted parts in all highlight and snippet results.HTML string to insert before the highlighted parts in all highlight and snippet results.Number of hits per page.Get ignorePluralsSearch inside a [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates).Characters that the engine shouldn't automatically [normalize](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).Sets the number of hits to retrieve (for use with `offset`).Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values).Maximum number of facet values to return for each facet.Minimum radius (in meters) used for a geographical search when `aroundRadius` isn't set.Precision of the [proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity).Minimum number of characters a word in the query string must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).Minimum number of characters a word in the query string must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos).getMode()
Get modeChanges the default values of parameters that work best for a natural language query, such as `ignorePlurals`, `removeStopWords`, `removeWordsIfNoResults`, `analyticsTags`, and `ruleContexts`.Get numericFiltersSpecifies the offset of the first hit to return.Get optionalFiltersWords which should be considered [optional](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words) when found in a query.getPage()
Page to retrieve (the first page is `0`, not `1`).Whether to include or exclude a query from the processing-time percentile computation.Defines how much [Personalization affects results](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact).getQuery()
Get querySets your user's search language.Get queryTypeDetermines the order in which Algolia [returns your results](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/).Relevancy threshold below which less relevant results aren't included in the results.Get removeStopWordsGet removeWordsIfNoResultsGet renderingContentWhether to highlight and snippet the original word that matches the synonym or the synonym itself.Get reRankingApplyFilterAttributes to include in the API response for search and browse queries.Restrict highlighting and snippeting to items that matched the query.Restricts a query to only look at a subset of your [searchable attributes](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/).Assigns [rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) to search queries.Get semanticSearchOverrides the query parameter and performs a more generic search.String used as an ellipsis indicator when a snippet is truncated.Controls how facet values are fetched.Determines how to calculate [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores).Whether to take into account an index's synonyms for a particular search.Get tagFiltersGet typoToleranceAssociates a [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/) with the current search.int
hashCode()
setAdvancedSyntax
(Boolean advancedSyntax) setAdvancedSyntaxFeatures
(List<AdvancedSyntaxFeatures> advancedSyntaxFeatures) setAllowTyposOnNumericTokens
(Boolean allowTyposOnNumericTokens) setAlternativesAsExact
(List<AlternativesAsExact> alternativesAsExact) setAnalytics
(Boolean analytics) setAnalyticsTags
(List<String> analyticsTags) setAroundLatLng
(String aroundLatLng) setAroundLatLngViaIP
(Boolean aroundLatLngViaIP) setAroundPrecision
(AroundPrecision aroundPrecision) setAroundRadius
(AroundRadius aroundRadius) setAttributeCriteriaComputedByMinProximity
(Boolean attributeCriteriaComputedByMinProximity) setAttributesForFaceting
(List<String> attributesForFaceting) setAttributesToHighlight
(List<String> attributesToHighlight) setAttributesToRetrieve
(List<String> attributesToRetrieve) setAttributesToSnippet
(List<String> attributesToSnippet) setAutomaticFacetFilters
(AutomaticFacetFilters automaticFacetFilters) setAutomaticOptionalFacetFilters
(AutomaticFacetFilters automaticOptionalFacetFilters) setClickAnalytics
(Boolean clickAnalytics) setCustomRanking
(List<String> customRanking) setDecompoundQuery
(Boolean decompoundQuery) setDisableExactOnAttributes
(List<String> disableExactOnAttributes) setDisableTypoToleranceOnAttributes
(List<String> disableTypoToleranceOnAttributes) setDistinct
(Distinct distinct) setEnableABTest
(Boolean enableABTest) setEnablePersonalization
(Boolean enablePersonalization) setEnableReRanking
(Boolean enableReRanking) setEnableRules
(Boolean enableRules) setExactOnSingleWordQuery
(ExactOnSingleWordQuery exactOnSingleWordQuery) setExplain
(List<String> explain) setFacetFilters
(FacetFilters facetFilters) setFacetingAfterDistinct
(Boolean facetingAfterDistinct) setFilters
(String filters) setGetRankingInfo
(Boolean getRankingInfo) setHighlightPostTag
(String highlightPostTag) setHighlightPreTag
(String highlightPreTag) setHitsPerPage
(Integer hitsPerPage) setIgnorePlurals
(IgnorePlurals ignorePlurals) setInsideBoundingBox
(List<List<Double>> insideBoundingBox) setInsidePolygon
(List<List<Double>> insidePolygon) setKeepDiacriticsOnCharacters
(String keepDiacriticsOnCharacters) setMaxFacetHits
(Integer maxFacetHits) setMaxValuesPerFacet
(Integer maxValuesPerFacet) setMinimumAroundRadius
(Integer minimumAroundRadius) setMinProximity
(Integer minProximity) setMinWordSizefor1Typo
(Integer minWordSizefor1Typo) setMinWordSizefor2Typos
(Integer minWordSizefor2Typos) setNaturalLanguages
(List<String> naturalLanguages) setNumericFilters
(NumericFilters numericFilters) setOptionalFilters
(OptionalFilters optionalFilters) setOptionalWords
(List<String> optionalWords) setPercentileComputation
(Boolean percentileComputation) setPersonalizationImpact
(Integer personalizationImpact) setQuery
(ConsequenceQuery query) setQueryLanguages
(List<String> queryLanguages) setQueryType
(QueryType queryType) setRanking
(List<String> ranking) setRelevancyStrictness
(Integer relevancyStrictness) setRemoveStopWords
(RemoveStopWords removeStopWords) setRemoveWordsIfNoResults
(RemoveWordsIfNoResults removeWordsIfNoResults) setRenderingContent
(RenderingContent renderingContent) setReplaceSynonymsInHighlight
(Boolean replaceSynonymsInHighlight) setReRankingApplyFilter
(ReRankingApplyFilter reRankingApplyFilter) setResponseFields
(List<String> responseFields) setRestrictHighlightAndSnippetArrays
(Boolean restrictHighlightAndSnippetArrays) setRestrictSearchableAttributes
(List<String> restrictSearchableAttributes) setRuleContexts
(List<String> ruleContexts) setSemanticSearch
(SemanticSearch semanticSearch) setSimilarQuery
(String similarQuery) setSnippetEllipsisText
(String snippetEllipsisText) setSortFacetValuesBy
(String sortFacetValuesBy) setSumOrFiltersScores
(Boolean sumOrFiltersScores) setSynonyms
(Boolean synonyms) setTagFilters
(TagFilters tagFilters) setTypoTolerance
(TypoTolerance typoTolerance) setUserToken
(String userToken) toString()
-
Constructor Details
-
ConsequenceParams
public ConsequenceParams()
-
-
Method Details
-
setSimilarQuery
-
getSimilarQuery
Overrides the query parameter and performs a more generic search. -
setFilters
-
getFilters
[Filter](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/) the query with numeric, facet, or tag filters. -
setFacetFilters
-
getFacetFilters
Get facetFilters -
setOptionalFilters
-
getOptionalFilters
Get optionalFilters -
setNumericFilters
-
getNumericFilters
Get numericFilters -
setTagFilters
-
getTagFilters
Get tagFilters -
setSumOrFiltersScores
-
getSumOrFiltersScores
Determines how to calculate [filter scores](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/in-depth/filter-scoring/#accumulating-scores-with-sumorfiltersscores). If `false`, maximum score is kept. If `true`, score is summed. -
setRestrictSearchableAttributes
-
addRestrictSearchableAttributes
-
getRestrictSearchableAttributes
Restricts a query to only look at a subset of your [searchable attributes](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/). -
setFacets
-
addFacets
-
getFacets
Returns [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts), their facet values, and the number of matching facet values. -
setFacetingAfterDistinct
-
getFacetingAfterDistinct
Forces faceting to be applied after [de-duplication](https://www.algolia.com/doc/guides/managing-results/refine-results/grouping/) (with the distinct feature). Alternatively, the `afterDistinct` [modifier](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) of `attributesForFaceting` allows for more granular control. -
setPage
-
getPage
Page to retrieve (the first page is `0`, not `1`). -
setOffset
-
getOffset
Specifies the offset of the first hit to return. > **Note**: Using `page` and `hitsPerPage` is the recommended method for [paging results](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/). However, you can use `offset` and `length` to implement [an alternative approach to paging](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/#retrieving-a-subset-of-records-with-offset-and-length). -
setLength
-
getLength
Sets the number of hits to retrieve (for use with `offset`). > **Note**: Using `page` and `hitsPerPage` is the recommended method for [paging results](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/). However, you can use `offset` and `length` to implement [an alternative approach to paging](https://www.algolia.com/doc/guides/building-search-ui/ui-and-ux-patterns/pagination/js/#retrieving-a-subset-of-records-with-offset-and-length). minimum: 1 maximum: 1000 -
setAroundLatLng
-
getAroundLatLng
Search for entries [around a central location](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filter-around-a-central-point), enabling a geographical search within a circular area. -
setAroundLatLngViaIP
-
getAroundLatLngViaIP
Search for entries around a location. The location is automatically computed from the requester's IP address. -
setAroundRadius
-
getAroundRadius
Get aroundRadius -
setAroundPrecision
-
getAroundPrecision
Get aroundPrecision -
setMinimumAroundRadius
-
getMinimumAroundRadius
Minimum radius (in meters) used for a geographical search when `aroundRadius` isn't set. minimum: 1 -
setInsideBoundingBox
-
addInsideBoundingBox
-
getInsideBoundingBox
Search inside a [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates). -
setInsidePolygon
-
addInsidePolygon
-
getInsidePolygon
Search inside a [polygon](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas) (in geographical coordinates). -
setNaturalLanguages
-
addNaturalLanguages
-
getNaturalLanguages
Changes the default values of parameters that work best for a natural language query, such as `ignorePlurals`, `removeStopWords`, `removeWordsIfNoResults`, `analyticsTags`, and `ruleContexts`. These parameters work well together when the query consists of fuller natural language strings instead of keywords, for example when processing voice search queries. -
setRuleContexts
-
addRuleContexts
-
getRuleContexts
Assigns [rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) to search queries. -
setPersonalizationImpact
-
getPersonalizationImpact
Defines how much [Personalization affects results](https://www.algolia.com/doc/guides/personalization/personalizing-results/in-depth/configuring-personalization/#understanding-personalization-impact). -
setUserToken
-
getUserToken
Associates a [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken/) with the current search. -
setGetRankingInfo
-
getGetRankingInfo
Incidates whether the search response includes [detailed ranking information](https://www.algolia.com/doc/guides/building-search-ui/going-further/backend-search/in-depth/understanding-the-api-response/#ranking-information). -
setExplain
-
addExplain
-
getExplain
Enriches the API's response with information about how the query was processed. -
setSynonyms
-
getSynonyms
Whether to take into account an index's synonyms for a particular search. -
setClickAnalytics
-
getClickAnalytics
Indicates whether a query ID parameter is included in the search response. This is required for [tracking click and conversion events](https://www.algolia.com/doc/guides/sending-events/concepts/event-types/#events-related-to-algolia-requests). -
setAnalytics
-
getAnalytics
Indicates whether this query will be included in [analytics](https://www.algolia.com/doc/guides/search-analytics/guides/exclude-queries/). -
setAnalyticsTags
-
addAnalyticsTags
-
getAnalyticsTags
Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments/). -
setPercentileComputation
-
getPercentileComputation
Whether to include or exclude a query from the processing-time percentile computation. -
setEnableABTest
-
getEnableABTest
Incidates whether this search will be considered in A/B testing. -
setAttributesForFaceting
-
addAttributesForFaceting
-
getAttributesForFaceting
Attributes used for [faceting](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/) and the [modifiers](https://www.algolia.com/doc/api-reference/api-parameters/attributesForFaceting/#modifiers) that can be applied: `filterOnly`, `searchable`, and `afterDistinct`. -
setAttributesToRetrieve
-
addAttributesToRetrieve
-
getAttributesToRetrieve
Attributes to include in the API response. To reduce the size of your response, you can retrieve only some of the attributes. By default, the response includes all attributes. -
setRanking
-
addRanking
-
getRanking
Determines the order in which Algolia [returns your results](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/). -
setCustomRanking
-
addCustomRanking
-
getCustomRanking
Specifies the [Custom ranking criterion](https://www.algolia.com/doc/guides/managing-results/must-do/custom-ranking/). Use the `asc` and `desc` modifiers to specify the ranking order: ascending or descending. -
setRelevancyStrictness
-
getRelevancyStrictness
Relevancy threshold below which less relevant results aren't included in the results. -
setAttributesToHighlight
-
addAttributesToHighlight
-
getAttributesToHighlight
Attributes to highlight. Strings that match the search query in the attributes are highlighted by surrounding them with HTML tags (`highlightPreTag` and `highlightPostTag`). -
setAttributesToSnippet
-
addAttributesToSnippet
-
getAttributesToSnippet
Attributes to _snippet_. 'Snippeting' is shortening the attribute to a certain number of words. If not specified, the attribute is shortened to the 10 words around the matching string but you can specify the number. For example: `body:20`. -
setHighlightPreTag
-
getHighlightPreTag
HTML string to insert before the highlighted parts in all highlight and snippet results. -
setHighlightPostTag
-
getHighlightPostTag
HTML string to insert after the highlighted parts in all highlight and snippet results. -
setSnippetEllipsisText
-
getSnippetEllipsisText
String used as an ellipsis indicator when a snippet is truncated. -
setRestrictHighlightAndSnippetArrays
public ConsequenceParams setRestrictHighlightAndSnippetArrays(Boolean restrictHighlightAndSnippetArrays) -
getRestrictHighlightAndSnippetArrays
Restrict highlighting and snippeting to items that matched the query. -
setHitsPerPage
-
getHitsPerPage
Number of hits per page. minimum: 1 maximum: 1000 -
setMinWordSizefor1Typo
-
getMinWordSizefor1Typo
Minimum number of characters a word in the query string must contain to accept matches with [one typo](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos). -
setMinWordSizefor2Typos
-
getMinWordSizefor2Typos
Minimum number of characters a word in the query string must contain to accept matches with [two typos](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/in-depth/configuring-typo-tolerance/#configuring-word-length-for-typos). -
setTypoTolerance
-
getTypoTolerance
Get typoTolerance -
setAllowTyposOnNumericTokens
-
getAllowTyposOnNumericTokens
Whether to allow typos on numbers (\"numeric tokens\") in the query string. -
setDisableTypoToleranceOnAttributes
public ConsequenceParams setDisableTypoToleranceOnAttributes(List<String> disableTypoToleranceOnAttributes) -
addDisableTypoToleranceOnAttributes
public ConsequenceParams addDisableTypoToleranceOnAttributes(String disableTypoToleranceOnAttributesItem) -
getDisableTypoToleranceOnAttributes
Attributes for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/). -
setIgnorePlurals
-
getIgnorePlurals
Get ignorePlurals -
setRemoveStopWords
-
getRemoveStopWords
Get removeStopWords -
setKeepDiacriticsOnCharacters
-
getKeepDiacriticsOnCharacters
Characters that the engine shouldn't automatically [normalize](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/). -
setQueryLanguages
-
addQueryLanguages
-
getQueryLanguages
Sets your user's search language. This adjusts language-specific settings and features such as `ignorePlurals`, `removeStopWords`, and [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) word detection. -
setDecompoundQuery
-
getDecompoundQuery
[Splits compound words](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#splitting-compound-words) into their component word parts in the query. -
setEnableRules
-
getEnableRules
Incidates whether [Rules](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/) are enabled. -
setEnablePersonalization
-
getEnablePersonalization
Incidates whether [Personalization](https://www.algolia.com/doc/guides/personalization/what-is-personalization/) is enabled. -
setQueryType
-
getQueryType
Get queryType -
setRemoveWordsIfNoResults
-
getRemoveWordsIfNoResults
Get removeWordsIfNoResults -
setMode
-
getMode
Get mode -
setSemanticSearch
-
getSemanticSearch
Get semanticSearch -
setAdvancedSyntax
-
getAdvancedSyntax
Enables the [advanced query syntax](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#advanced-syntax). -
setOptionalWords
-
addOptionalWords
-
getOptionalWords
Words which should be considered [optional](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/empty-or-insufficient-results/#creating-a-list-of-optional-words) when found in a query. -
setDisableExactOnAttributes
-
addDisableExactOnAttributes
-
getDisableExactOnAttributes
Attributes for which you want to [turn off the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes). -
setExactOnSingleWordQuery
-
getExactOnSingleWordQuery
Get exactOnSingleWordQuery -
setAlternativesAsExact
-
addAlternativesAsExact
-
getAlternativesAsExact
Alternatives that should be considered an exact match by [the exact ranking criterion](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/in-depth/adjust-exact-settings/#turn-off-exact-for-some-attributes). -
setAdvancedSyntaxFeatures
public ConsequenceParams setAdvancedSyntaxFeatures(List<AdvancedSyntaxFeatures> advancedSyntaxFeatures) -
addAdvancedSyntaxFeatures
public ConsequenceParams addAdvancedSyntaxFeatures(AdvancedSyntaxFeatures advancedSyntaxFeaturesItem) -
getAdvancedSyntaxFeatures
Allows you to specify which advanced syntax features are active when `advancedSyntax` is enabled. -
setDistinct
-
getDistinct
Get distinct -
setReplaceSynonymsInHighlight
-
getReplaceSynonymsInHighlight
Whether to highlight and snippet the original word that matches the synonym or the synonym itself. -
setMinProximity
-
getMinProximity
Precision of the [proximity ranking criterion](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#proximity). minimum: 1 maximum: 7 -
setResponseFields
-
addResponseFields
-
getResponseFields
Attributes to include in the API response for search and browse queries. -
setMaxFacetHits
-
getMaxFacetHits
Maximum number of facet hits to return when [searching for facet values](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#search-for-facet-values). maximum: 100 -
setMaxValuesPerFacet
-
getMaxValuesPerFacet
Maximum number of facet values to return for each facet. -
setSortFacetValuesBy
-
getSortFacetValuesBy
Controls how facet values are fetched. -
setAttributeCriteriaComputedByMinProximity
public ConsequenceParams setAttributeCriteriaComputedByMinProximity(Boolean attributeCriteriaComputedByMinProximity) -
getAttributeCriteriaComputedByMinProximity
When the [Attribute criterion is ranked above Proximity](https://www.algolia.com/doc/guides/managing-results/relevance-overview/in-depth/ranking-criteria/#attribute-and-proximity-combinations) in your ranking formula, Proximity is used to select which searchable attribute is matched in the Attribute ranking stage. -
setRenderingContent
-
getRenderingContent
Get renderingContent -
setEnableReRanking
-
getEnableReRanking
Indicates whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/). -
setReRankingApplyFilter
-
getReRankingApplyFilter
Get reRankingApplyFilter -
setQuery
-
getQuery
Get query -
setAutomaticFacetFilters
-
getAutomaticFacetFilters
Get automaticFacetFilters -
setAutomaticOptionalFacetFilters
public ConsequenceParams setAutomaticOptionalFacetFilters(AutomaticFacetFilters automaticOptionalFacetFilters) -
getAutomaticOptionalFacetFilters
Get automaticOptionalFacetFilters -
equals
-
hashCode
public int hashCode() -
toString
-