Datetime

@Serializable
@SerialName(value = "datetime")
data class Datetime(val isPrincipal: Boolean? = null, val onDisk: Boolean? = null, val memory: Memory? = null, val enableHnsw: Boolean? = null) : PayloadIndexParams

A datetime index, for datetimeRange filters. See Integer.isPrincipal.

Constructors

Link copied to clipboard
constructor(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?
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.