Integer

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

An integer index.

Constructors

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

Properties

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 = "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.