BaseRecommendIndexSettings constructor

const BaseRecommendIndexSettings({
  1. List<String>? attributesToRetrieve,
  2. int? relevancyStrictness,
  3. List<String>? attributesToHighlight,
  4. List<String>? attributesToSnippet,
  5. String? highlightPreTag,
  6. String? highlightPostTag,
  7. String? snippetEllipsisText,
  8. bool? restrictHighlightAndSnippetArrays,
  9. int? minWordSizefor1Typo,
  10. int? minWordSizefor2Typos,
  11. dynamic typoTolerance,
  12. bool? allowTyposOnNumericTokens,
  13. List<String>? disableTypoToleranceOnAttributes,
  14. dynamic ignorePlurals,
  15. dynamic removeStopWords,
  16. List<SupportedLanguage>? queryLanguages,
  17. bool? decompoundQuery,
  18. bool? enablePersonalization,
  19. QueryType? queryType,
  20. RemoveWordsIfNoResults? removeWordsIfNoResults,
  21. bool? advancedSyntax,
  22. dynamic optionalWords,
  23. List<String>? disableExactOnAttributes,
  24. ExactOnSingleWordQuery? exactOnSingleWordQuery,
  25. List<AlternativesAsExact>? alternativesAsExact,
  26. List<AdvancedSyntaxFeatures>? advancedSyntaxFeatures,
  27. dynamic distinct,
  28. bool? replaceSynonymsInHighlight,
  29. int? minProximity,
  30. List<String>? responseFields,
  31. int? maxValuesPerFacet,
  32. String? sortFacetValuesBy,
  33. bool? attributeCriteriaComputedByMinProximity,
  34. RenderingContent? renderingContent,
  35. bool? enableReRanking,
  36. dynamic reRankingApplyFilter,
})

Returns a new BaseRecommendIndexSettings instance.

Implementation

const BaseRecommendIndexSettings({
  this.attributesToRetrieve,
  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.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,
});