BaseRecommendIndexSettings constructor

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

Returns a new BaseRecommendIndexSettings instance.

Implementation

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