IndexSettings constructor

const IndexSettings({
  1. List<String>? replicas,
  2. int? paginationLimitedTo,
  3. List<String>? unretrievableAttributes,
  4. List<String>? disableTypoToleranceOnWords,
  5. List<String>? attributesToTransliterate,
  6. List<String>? camelCaseAttributes,
  7. Object? decompoundedAttributes,
  8. List<String>? indexLanguages,
  9. List<String>? disablePrefixOnAttributes,
  10. bool? allowCompressionOfIntegerArray,
  11. List<String>? numericAttributesForFiltering,
  12. String? separatorsToIndex,
  13. List<String>? searchableAttributes,
  14. Object? userData,
  15. Map<String, Map<String, String>>? customNormalization,
  16. String? attributeForDistinct,
  17. List<String>? attributesForFaceting,
  18. List<String>? attributesToRetrieve,
  19. List<String>? ranking,
  20. List<String>? customRanking,
  21. int? relevancyStrictness,
  22. List<String>? attributesToHighlight,
  23. List<String>? attributesToSnippet,
  24. String? highlightPreTag,
  25. String? highlightPostTag,
  26. String? snippetEllipsisText,
  27. bool? restrictHighlightAndSnippetArrays,
  28. int? hitsPerPage,
  29. int? minWordSizefor1Typo,
  30. int? minWordSizefor2Typos,
  31. dynamic typoTolerance,
  32. bool? allowTyposOnNumericTokens,
  33. List<String>? disableTypoToleranceOnAttributes,
  34. dynamic ignorePlurals,
  35. dynamic removeStopWords,
  36. String? keepDiacriticsOnCharacters,
  37. List<String>? queryLanguages,
  38. bool? decompoundQuery,
  39. bool? enableRules,
  40. bool? enablePersonalization,
  41. QueryType? queryType,
  42. RemoveWordsIfNoResults? removeWordsIfNoResults,
  43. Mode? mode,
  44. SemanticSearch? semanticSearch,
  45. bool? advancedSyntax,
  46. List<String>? optionalWords,
  47. List<String>? disableExactOnAttributes,
  48. ExactOnSingleWordQuery? exactOnSingleWordQuery,
  49. List<AlternativesAsExact>? alternativesAsExact,
  50. List<AdvancedSyntaxFeatures>? advancedSyntaxFeatures,
  51. dynamic distinct,
  52. bool? replaceSynonymsInHighlight,
  53. int? minProximity,
  54. List<String>? responseFields,
  55. int? maxFacetHits,
  56. int? maxValuesPerFacet,
  57. String? sortFacetValuesBy,
  58. bool? attributeCriteriaComputedByMinProximity,
  59. RenderingContent? renderingContent,
  60. bool? enableReRanking,
  61. dynamic reRankingApplyFilter,
})

Returns a new IndexSettings instance.

Implementation

const IndexSettings({
  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.attributesForFaceting,
  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,
});