CreateCollectionRequest
@Serializable
Request body for PUT /collections/{name}.
Models the collection settings used day-to-day. Advanced options (optimizers, quantization, WAL) are not yet exposed; unknown fields are ignored, so the model can grow without breaking callers.
Constructors
Link copied to clipboard
constructor(vectors: VectorsConfig? = null, sparseVectors: Map<String, SparseVectorParams>? = null, hnswConfig: HnswConfig? = null, onDiskPayload: Boolean? = null, shardNumber: Int? = null, replicationFactor: Int? = null, optimizersConfig: OptimizersConfig? = null, quantizationConfig: QuantizationConfig? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Store payloads on disk instead of RAM (distinct from vector/HNSW on-disk settings).
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Named sparse vectors, keyed by name.
Link copied to clipboard
Dense / named-dense vectors; may be null for a sparse-only collection.