textstringrequired
The text to tokenize.
tokenizationstringrequired
The tokenization method to apply.
One ofwordlowercasewhitespacefieldtrigramgsekagome_krkagome_jagse_ch
Text analysis options for a property. These settings are immutable after the property is created. Applies only to text and text[] data types that use an inverted index (searchable or filterable).
asciiFoldboolean
If true, accent/diacritic marks are folded to their base characters during indexing and search. For example, 'école' matches 'ecole'. Defaults to false.
asciiFoldIgnorearray<string>
If provided, specifies a list of characters that should be excluded from ascii folding. For example, if ['é'] is provided, then 'é' will not be folded to 'e' during indexing and search. This list is immutable after the property is created.
stopwordPresetstring
Stopword preset name. Overrides the collection-level invertedIndexConfig.stopwords for this property. Only applies to properties using 'word' tokenization. Can be a built-in preset ('en', 'none') or a user-defined preset from invertedIndexConfig.stopwordPresets.
Fine-grained control over stopword list usage.
presetstring
Pre-existing list of common words by language (default: `en`). Options: [`en`, `none`].
additionsarray<string>
Stopwords to be considered additionally (default: []). Can be any array of custom strings.
removalsarray<string>
Stopwords to be removed from consideration (default: []). Can be any array of custom strings.
stopwordPresetsobject
Optional user-defined named stopword presets. Shape matches InvertedIndexConfig.stopwordPresets on a collection: each key is a preset name, each value is a plain list of stopwords. A preset name that matches a built-in ('en', 'none') fully replaces the built-in. Preset names must not be empty or whitespace-only; each word list must contain at least one word; individual words must not be empty or whitespace-only. Mutually exclusive with stopwords — pass one or the other, not both.