Class QdrantOptions
Configuration options for QdrantStore.
public class QdrantOptions
- Inheritance
-
QdrantOptions
- Inherited Members
Properties
AdditionalPayloadIndexes
Additional payload fields to index when the collection is ensured.
public IList<QdrantIndexOption> AdditionalPayloadIndexes { get; set; }
Property Value
ApiKey
Optional API key for authentication.
public string? ApiKey { get; set; }
Property Value
AutoCreateCollection
When true (default), the collection is automatically created on first upsert if it does not already exist. When false, the collection must already exist or an exception is thrown.
public bool AutoCreateCollection { get; set; }
Property Value
CollectionName
Qdrant collection name. This is the physical container for all vector data.
For logical isolation use metadata filtering via VectorFilter.Where().
Required.
public string CollectionName { get; set; }
Property Value
Dimension
Embedding vector dimension. Must match the dimension used by the embedding provider. Required (must be greater than 0).
public int Dimension { get; set; }
Property Value
DistanceStrategy
Distance function for similarity search. Default: Cosine.
public QdrantDistanceStrategy DistanceStrategy { get; set; }
Property Value
Host
Qdrant server host. Default: "localhost".
public string Host { get; set; }
Property Value
HybridFusionStrategy
Native server-side fusion strategy for hybrid search queries. Default: Rrf.
public QdrantHybridFusionStrategy HybridFusionStrategy { get; set; }
Property Value
Port
Qdrant gRPC port. Default: 6334.
public int Port { get; set; }
Property Value
UseTls
Whether to use TLS for the gRPC connection. Default: false.
public bool UseTls { get; set; }
Property Value
Methods
Validate()
Validates the options and throws ArgumentException if invalid.
public void Validate()