Keyword

@Serializable
@SerialName(value = "keyword")
data class Keyword(val isTenant: Boolean? = null, val onDisk: Boolean? = null) : PayloadIndexParams

A keyword index: exact matches on a string or a list of strings.

Constructors

Link copied to clipboard
constructor(isTenant: Boolean? = null, onDisk: Boolean? = null)

Properties

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

tells Qdrant this field identifies a tenant, which makes it colocate one tenant's points on disk. The layout, not the filter, is what makes a multi-tenant collection fast; a filter on a non-tenant keyword field still reads the whole collection's pages.

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.