IndexSettingsAsSearchParams constructor

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

Returns a new IndexSettingsAsSearchParams instance.

Implementation

const IndexSettingsAsSearchParams({
  this.attributesToRetrieve,
  this.ranking,
  this.customRanking,
  this.relevancyStrictness,
  this.attributesToHighlight,
  this.attributesToSnippet,
  this.highlightPreTag,
  this.highlightPostTag,
  this.snippetEllipsisText,
  this.restrictHighlightAndSnippetArrays,
  this.hitsPerPage,
  this.minWordSizefor1Typo,
  this.minWordSizefor2Typos,
  this.typoTolerance,
  this.allowTyposOnNumericTokens,
  this.disableTypoToleranceOnAttributes,
  this.ignorePlurals,
  this.removeStopWords,
  this.keepDiacriticsOnCharacters,
  this.queryLanguages,
  this.decompoundQuery,
  this.enableRules,
  this.enablePersonalization,
  this.queryType,
  this.removeWordsIfNoResults,
  this.mode,
  this.semanticSearch,
  this.advancedSyntax,
  this.optionalWords,
  this.disableExactOnAttributes,
  this.exactOnSingleWordQuery,
  this.alternativesAsExact,
  this.advancedSyntaxFeatures,
  this.distinct,
  this.replaceSynonymsInHighlight,
  this.minProximity,
  this.responseFields,
  this.maxFacetHits,
  this.maxValuesPerFacet,
  this.sortFacetValuesBy,
  this.attributeCriteriaComputedByMinProximity,
  this.renderingContent,
  this.enableReRanking,
  this.reRankingApplyFilter,
});