TextIndexBuilder

Parameters of a full-text index.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

Fold accented characters to ASCII, so "ação" and "acao" are the same token.

Link copied to clipboard

Build the extra HNSW links for this field, so a filtered search over it reads the matching points rather than walking the collection. Needs payloadM above zero on the collection's HNSW config.

Link copied to clipboard

Lowercase every token, making matching case-insensitive. Defaults to true on the server.

Link copied to clipboard

Drop tokens longer than this.

Link copied to clipboard

Memory placement of the index. Overrides onDisk when both are set.

Link copied to clipboard

Drop tokens shorter than this.

Link copied to clipboard

Keep the index on disk instead of in RAM.

Link copied to clipboard

Store token positions so matchPhrase works. See PayloadIndexParams.Text.phraseMatching.

Link copied to clipboard

Reduce tokens to a stem, so "running" matches "run". The server's default is no stemming, and it is the right default for a field of identifiers or product codes. See StemmingAlgorithm.

Link copied to clipboard

How a value is split into tokens. The server's default is Tokenizer.WORD.