PayloadIndexBuilder
class PayloadIndexBuilder
DSL for createPayloadIndex, choosing the index type and the parameters that type accepts.
Exactly one type per call, because a field carries one index:
qdrant.createPayloadIndex("docs", "body") {
text { tokenizer = Tokenizer.WORD; phraseMatching = true }
}
qdrant.createPayloadIndex("docs", "tenant") { keyword { isTenant = true; onDisk = true } }Content copied to clipboard
A type function with an empty body asks for that index with the server's defaults, which is the three-argument createPayloadIndex(name, field, schema) overload written differently.
Functions
Link copied to clipboard
A boolean index.
Link copied to clipboard
A datetime index, for datetimeRange filters.
Link copied to clipboard
A float index.
Link copied to clipboard
A geo index, for the geo matchers.
Link copied to clipboard
An integer index, answering equality lookups, ranges or both.
Link copied to clipboard
A keyword index: exact matches on a string or a list of strings.
Link copied to clipboard
A full-text index, for matchText, matchTextAny and matchPhrase.
Link copied to clipboard
A UUID index.