Package com.algolia.model.search
Class BaseIndexSettings
java.lang.Object
com.algolia.model.search.BaseIndexSettings
BaseIndexSettings
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttributesToTransliterate(String attributesToTransliterateItem) addCamelCaseAttributes(String camelCaseAttributesItem) addDisablePrefixOnAttributes(String disablePrefixOnAttributesItem) addDisableTypoToleranceOnWords(String disableTypoToleranceOnWordsItem) addIndexLanguages(String indexLanguagesItem) addNumericAttributesForFiltering(String numericAttributesForFilteringItem) addReplicas(String replicasItem) addSearchableAttributes(String searchableAttributesItem) addUnretrievableAttributes(String unretrievableAttributesItem) booleanIncidates whether the engine compresses arrays with exclusively non-negative integers.Attributes in your index to which [Japanese transliteration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#japanese-transliteration-and-type-ahead) applies.Attributes on which to split [camel case](https://wikipedia.org/wiki/Camel_case) words.A list of characters and their normalized replacements to override Algolia's default [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).Attributes in your index to which [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding) applies.Attributes for which you want to turn off [prefix matching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#adjusting-prefix-search).Words for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/).Set the languages of your index, for language-specific processing steps such as [tokenization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/tokenization/) and [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/).Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters).Maximum number of hits accessible through pagination.Creates [replicas](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/), which are copies of a primary index with the same records but different settings.[Attributes used for searching](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/), including determining [if matches at the beginning of a word are important (ordered) or not (unordered)](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/how-to/configuring-searchable-attributes-the-right-way/#understanding-word-position).Controls which separators are added to an Algolia index as part of [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean).Attributes that can't be retrieved at query time.Lets you store custom data in your indices.inthashCode()putCustomNormalization(String key, Map<String, String> customNormalizationItem) setAllowCompressionOfIntegerArray(Boolean allowCompressionOfIntegerArray) setAttributesToTransliterate(List<String> attributesToTransliterate) setCamelCaseAttributes(List<String> camelCaseAttributes) setDecompoundedAttributes(Object decompoundedAttributes) setDisablePrefixOnAttributes(List<String> disablePrefixOnAttributes) setDisableTypoToleranceOnWords(List<String> disableTypoToleranceOnWords) setIndexLanguages(List<String> indexLanguages) setNumericAttributesForFiltering(List<String> numericAttributesForFiltering) setPaginationLimitedTo(Integer paginationLimitedTo) setReplicas(List<String> replicas) setSearchableAttributes(List<String> searchableAttributes) setSeparatorsToIndex(String separatorsToIndex) setUnretrievableAttributes(List<String> unretrievableAttributes) setUserData(Object userData) toString()
-
Constructor Details
-
BaseIndexSettings
public BaseIndexSettings()
-
-
Method Details
-
setReplicas
-
addReplicas
-
getReplicas
Creates [replicas](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/), which are copies of a primary index with the same records but different settings. -
setPaginationLimitedTo
-
getPaginationLimitedTo
Maximum number of hits accessible through pagination. -
setUnretrievableAttributes
-
addUnretrievableAttributes
-
getUnretrievableAttributes
Attributes that can't be retrieved at query time. -
setDisableTypoToleranceOnWords
-
addDisableTypoToleranceOnWords
-
getDisableTypoToleranceOnWords
Words for which you want to turn off [typo tolerance](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/typo-tolerance/). -
setAttributesToTransliterate
-
addAttributesToTransliterate
-
getAttributesToTransliterate
Attributes in your index to which [Japanese transliteration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations/#japanese-transliteration-and-type-ahead) applies. This will ensure that words indexed in Katakana or Kanji can also be searched in Hiragana. -
setCamelCaseAttributes
-
addCamelCaseAttributes
-
getCamelCaseAttributes
Attributes on which to split [camel case](https://wikipedia.org/wiki/Camel_case) words. -
setDecompoundedAttributes
-
getDecompoundedAttributes
Attributes in your index to which [word segmentation](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/how-to/customize-segmentation/) (decompounding) applies. -
setIndexLanguages
-
addIndexLanguages
-
getIndexLanguages
Set the languages of your index, for language-specific processing steps such as [tokenization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/tokenization/) and [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/). -
setDisablePrefixOnAttributes
-
addDisablePrefixOnAttributes
-
getDisablePrefixOnAttributes
Attributes for which you want to turn off [prefix matching](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/override-search-engine-defaults/#adjusting-prefix-search). -
setAllowCompressionOfIntegerArray
-
getAllowCompressionOfIntegerArray
Incidates whether the engine compresses arrays with exclusively non-negative integers. When enabled, the compressed arrays may be reordered. -
setNumericAttributesForFiltering
public BaseIndexSettings setNumericAttributesForFiltering(List<String> numericAttributesForFiltering) -
addNumericAttributesForFiltering
-
getNumericAttributesForFiltering
Numeric attributes that can be used as [numerical filters](https://www.algolia.com/doc/guides/managing-results/rules/detecting-intent/how-to/applying-a-custom-filter-for-a-specific-query/#numerical-filters). -
setSeparatorsToIndex
-
getSeparatorsToIndex
Controls which separators are added to an Algolia index as part of [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/#what-does-normalization-mean). Separators are all non-letter characters except spaces and currency characters, such as $€£¥. -
setSearchableAttributes
-
addSearchableAttributes
-
getSearchableAttributes
[Attributes used for searching](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/), including determining [if matches at the beginning of a word are important (ordered) or not (unordered)](https://www.algolia.com/doc/guides/managing-results/must-do/searchable-attributes/how-to/configuring-searchable-attributes-the-right-way/#understanding-word-position). -
setUserData
-
getUserData
Lets you store custom data in your indices. -
setCustomNormalization
-
putCustomNormalization
public BaseIndexSettings putCustomNormalization(String key, Map<String, String> customNormalizationItem) -
getCustomNormalization
A list of characters and their normalized replacements to override Algolia's default [normalization](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/). -
equals
-
hashCode
public int hashCode() -
toString
-