Integer

@Serializable
@SerialName(value = "integer")
data class Integer(val lookup: Boolean? = null, val range: Boolean? = null, val isPrincipal: Boolean? = null, val onDisk: Boolean? = null, val memory: Memory? = null, val enableHnsw: Boolean? = null) : PayloadIndexParams

An integer index.

Constructors

Link copied to clipboard
constructor(lookup: Boolean? = null, range: Boolean? = null, isPrincipal: Boolean? = null, onDisk: Boolean? = null, memory: Memory? = null, enableHnsw: Boolean? = null)

Properties

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

Whether Qdrant builds the extra HNSW links for this field, which is what makes a filtered search over it read one tenant's or one category's points instead of walking the collection and discarding. It needs payloadM above zero on the HNSW config to do anything, so a caller who sets one without the other has asked for half of a multi-tenant layout.

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

tells Qdrant to organize the collection's storage by this key, for a field that appears in the majority of filtered requests.

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

answer equality lookups. Defaults to true on the server.

Link copied to clipboard
@SerialName(value = "memory")
open override val memory: Memory?

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

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 = "range")
val range: Boolean?

answer range filters. Defaults to true on the server. Turning off the half you do not use is what makes the index smaller.