RecommendSearchParams constructor
const
RecommendSearchParams({
- String? similarQuery,
- String? filters,
- dynamic facetFilters,
- dynamic optionalFilters,
- dynamic numericFilters,
- dynamic tagFilters,
- bool? sumOrFiltersScores,
- List<
String> ? restrictSearchableAttributes, - List<
String> ? facets, - bool? facetingAfterDistinct,
- String? aroundLatLng,
- bool? aroundLatLngViaIP,
- dynamic aroundRadius,
- dynamic aroundPrecision,
- int? minimumAroundRadius,
- dynamic insideBoundingBox,
- List<
List< ? insidePolygon,double> > - List<
SupportedLanguage> ? naturalLanguages, - List<
String> ? ruleContexts, - int? personalizationImpact,
- String? userToken,
- bool? getRankingInfo,
- bool? synonyms,
- bool? clickAnalytics,
- bool? analytics,
- List<
String> ? analyticsTags, - bool? percentileComputation,
- bool? enableABTest,
- String? query,
- List<
String> ? attributesForFaceting, - List<
String> ? replicas, - int? paginationLimitedTo,
- List<
String> ? unretrievableAttributes, - List<
String> ? disableTypoToleranceOnWords, - List<
String> ? attributesToTransliterate, - List<
String> ? camelCaseAttributes, - Object? decompoundedAttributes,
- List<
SupportedLanguage> ? indexLanguages, - List<
String> ? disablePrefixOnAttributes, - bool? allowCompressionOfIntegerArray,
- List<
String> ? numericAttributesForFiltering, - String? separatorsToIndex,
- List<
String> ? searchableAttributes, - Object? userData,
- Map<
String, Map< ? customNormalization,String, String> > - String? attributeForDistinct,
- int? maxFacetHits,
- List<
String> ? attributesToRetrieve, - List<
String> ? ranking, - int? relevancyStrictness,
- List<
String> ? attributesToHighlight, - List<
String> ? attributesToSnippet, - String? highlightPreTag,
- String? highlightPostTag,
- String? snippetEllipsisText,
- bool? restrictHighlightAndSnippetArrays,
- int? minWordSizefor1Typo,
- int? minWordSizefor2Typos,
- dynamic typoTolerance,
- bool? allowTyposOnNumericTokens,
- List<
String> ? disableTypoToleranceOnAttributes, - dynamic ignorePlurals,
- dynamic removeStopWords,
- List<
SupportedLanguage> ? queryLanguages, - bool? decompoundQuery,
- bool? enableRules,
- bool? enablePersonalization,
- QueryType? queryType,
- RemoveWordsIfNoResults? removeWordsIfNoResults,
- bool? advancedSyntax,
- dynamic optionalWords,
- List<
String> ? disableExactOnAttributes, - ExactOnSingleWordQuery? exactOnSingleWordQuery,
- List<
AlternativesAsExact> ? alternativesAsExact, - List<
AdvancedSyntaxFeatures> ? advancedSyntaxFeatures, - dynamic distinct,
- bool? replaceSynonymsInHighlight,
- int? minProximity,
- List<
String> ? responseFields, - int? maxValuesPerFacet,
- String? sortFacetValuesBy,
- bool? attributeCriteriaComputedByMinProximity,
- RenderingContent? renderingContent,
- bool? enableReRanking,
- dynamic reRankingApplyFilter,
Returns a new RecommendSearchParams instance.
Implementation
const RecommendSearchParams({
this.similarQuery,
this.filters,
this.facetFilters,
this.optionalFilters,
this.numericFilters,
this.tagFilters,
this.sumOrFiltersScores,
this.restrictSearchableAttributes,
this.facets,
this.facetingAfterDistinct,
this.aroundLatLng,
this.aroundLatLngViaIP,
this.aroundRadius,
this.aroundPrecision,
this.minimumAroundRadius,
this.insideBoundingBox,
this.insidePolygon,
this.naturalLanguages,
this.ruleContexts,
this.personalizationImpact,
this.userToken,
this.getRankingInfo,
this.synonyms,
this.clickAnalytics,
this.analytics,
this.analyticsTags,
this.percentileComputation,
this.enableABTest,
this.query,
this.attributesForFaceting,
this.replicas,
this.paginationLimitedTo,
this.unretrievableAttributes,
this.disableTypoToleranceOnWords,
this.attributesToTransliterate,
this.camelCaseAttributes,
this.decompoundedAttributes,
this.indexLanguages,
this.disablePrefixOnAttributes,
this.allowCompressionOfIntegerArray,
this.numericAttributesForFiltering,
this.separatorsToIndex,
this.searchableAttributes,
this.userData,
this.customNormalization,
this.attributeForDistinct,
this.maxFacetHits,
this.attributesToRetrieve,
this.ranking,
this.relevancyStrictness,
this.attributesToHighlight,
this.attributesToSnippet,
this.highlightPreTag,
this.highlightPostTag,
this.snippetEllipsisText,
this.restrictHighlightAndSnippetArrays,
this.minWordSizefor1Typo,
this.minWordSizefor2Typos,
this.typoTolerance,
this.allowTyposOnNumericTokens,
this.disableTypoToleranceOnAttributes,
this.ignorePlurals,
this.removeStopWords,
this.queryLanguages,
this.decompoundQuery,
this.enableRules,
this.enablePersonalization,
this.queryType,
this.removeWordsIfNoResults,
this.advancedSyntax,
this.optionalWords,
this.disableExactOnAttributes,
this.exactOnSingleWordQuery,
this.alternativesAsExact,
this.advancedSyntaxFeatures,
this.distinct,
this.replaceSynonymsInHighlight,
this.minProximity,
this.responseFields,
this.maxValuesPerFacet,
this.sortFacetValuesBy,
this.attributeCriteriaComputedByMinProximity,
this.renderingContent,
this.enableReRanking,
this.reRankingApplyFilter,
});