Text

@Serializable
@SerialName(value = "text")
data class Text(val tokenizer: Tokenizer? = null, val minTokenLen: Int? = null, val maxTokenLen: Int? = null, val lowercase: Boolean? = null, val phraseMatching: Boolean? = null, val onDisk: Boolean? = null) : PayloadIndexParams

A full-text index, for matchText, matchTextAny and matchPhrase.

Constructors

Link copied to clipboard
constructor(tokenizer: Tokenizer? = null, minTokenLen: Int? = null, maxTokenLen: Int? = null, lowercase: Boolean? = null, phraseMatching: Boolean? = null, onDisk: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "lowercase")
val lowercase: Boolean?

lowercase every token, making matching case-insensitive. Defaults to true.

Link copied to clipboard
@SerialName(value = "max_token_len")
val maxTokenLen: Int?

tokens longer than this are dropped.

Link copied to clipboard
@SerialName(value = "min_token_len")
val minTokenLen: Int?

tokens shorter than this are dropped.

Link copied to clipboard
@SerialName(value = "on_disk")
open override val onDisk: Boolean?

Whether Qdrant keeps this index on disk instead of in RAM. null leaves the server's default.

Link copied to clipboard
@SerialName(value = "phrase_matching")
val phraseMatching: Boolean?

store token positions so matchPhrase can require them adjacent and in order. Defaults to false, and a matchPhrase filter against an index without it is accepted by the server and matches nothing.

Link copied to clipboard
@SerialName(value = "tokenizer")
val tokenizer: Tokenizer?

how a value is split into tokens; the server's default is Tokenizer.WORD.