IndexSettings constructor
const
IndexSettings({
- 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, - List<
String> ? customRanking, - int? relevancyStrictness,
- List<
String> ? attributesToHighlight, - List<
String> ? attributesToSnippet, - String? highlightPreTag,
- String? highlightPostTag,
- String? snippetEllipsisText,
- bool? restrictHighlightAndSnippetArrays,
- int? hitsPerPage,
- int? minWordSizefor1Typo,
- int? minWordSizefor2Typos,
- dynamic typoTolerance,
- bool? allowTyposOnNumericTokens,
- List<
String> ? disableTypoToleranceOnAttributes, - dynamic ignorePlurals,
- dynamic removeStopWords,
- String? keepDiacriticsOnCharacters,
- List<
SupportedLanguage> ? queryLanguages, - bool? decompoundQuery,
- bool? enableRules,
- bool? enablePersonalization,
- QueryType? queryType,
- RemoveWordsIfNoResults? removeWordsIfNoResults,
- Mode? mode,
- SemanticSearch? semanticSearch,
- 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 IndexSettings instance.
Implementation
const IndexSettings({
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.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.maxValuesPerFacet,
this.sortFacetValuesBy,
this.attributeCriteriaComputedByMinProximity,
this.renderingContent,
this.enableReRanking,
this.reRankingApplyFilter,
});