HnswConfig

@Serializable
data class HnswConfig(val m: Int? = null, val efConstruct: Int? = null, val fullScanThreshold: Int? = null, val maxIndexingThreads: Int? = null, val onDisk: Boolean? = null, val payloadM: Int? = null)

HNSW index tuning. All fields are optional; omitted ones fall back to Qdrant's defaults. Can be set collection-wide or overridden per named vector.

Constructors

Link copied to clipboard
constructor(m: Int? = null, efConstruct: Int? = null, fullScanThreshold: Int? = null, maxIndexingThreads: Int? = null, onDisk: Boolean? = null, payloadM: Int? = null)

Properties

Link copied to clipboard
@SerialName(value = "ef_construct")
val efConstruct: Int?
Link copied to clipboard
@SerialName(value = "full_scan_threshold")
val fullScanThreshold: Int?
Link copied to clipboard
@SerialName(value = "m")
val m: Int?
Link copied to clipboard
@SerialName(value = "max_indexing_threads")
val maxIndexingThreads: Int?
Link copied to clipboard
@SerialName(value = "on_disk")
val onDisk: Boolean?

Store the HNSW graph on disk (distinct from vector/payload on-disk settings).

Link copied to clipboard
@SerialName(value = "payload_m")
val payloadM: Int?

Dedicated m for payload-based indexes (multitenancy).