Spaces:
Build error
Build error
# Protocol Documentation | |
<a name="top"></a> | |
## Table of Contents | |
- [collections.proto](#collections-proto) | |
- [AbortShardTransfer](#qdrant-AbortShardTransfer) | |
- [AliasDescription](#qdrant-AliasDescription) | |
- [AliasOperations](#qdrant-AliasOperations) | |
- [BinaryQuantization](#qdrant-BinaryQuantization) | |
- [BoolIndexParams](#qdrant-BoolIndexParams) | |
- [ChangeAliases](#qdrant-ChangeAliases) | |
- [CollectionClusterInfoRequest](#qdrant-CollectionClusterInfoRequest) | |
- [CollectionClusterInfoResponse](#qdrant-CollectionClusterInfoResponse) | |
- [CollectionConfig](#qdrant-CollectionConfig) | |
- [CollectionDescription](#qdrant-CollectionDescription) | |
- [CollectionExists](#qdrant-CollectionExists) | |
- [CollectionExistsRequest](#qdrant-CollectionExistsRequest) | |
- [CollectionExistsResponse](#qdrant-CollectionExistsResponse) | |
- [CollectionInfo](#qdrant-CollectionInfo) | |
- [CollectionInfo.PayloadSchemaEntry](#qdrant-CollectionInfo-PayloadSchemaEntry) | |
- [CollectionOperationResponse](#qdrant-CollectionOperationResponse) | |
- [CollectionParams](#qdrant-CollectionParams) | |
- [CollectionParamsDiff](#qdrant-CollectionParamsDiff) | |
- [CreateAlias](#qdrant-CreateAlias) | |
- [CreateCollection](#qdrant-CreateCollection) | |
- [CreateShardKey](#qdrant-CreateShardKey) | |
- [CreateShardKeyRequest](#qdrant-CreateShardKeyRequest) | |
- [CreateShardKeyResponse](#qdrant-CreateShardKeyResponse) | |
- [DatetimeIndexParams](#qdrant-DatetimeIndexParams) | |
- [DeleteAlias](#qdrant-DeleteAlias) | |
- [DeleteCollection](#qdrant-DeleteCollection) | |
- [DeleteShardKey](#qdrant-DeleteShardKey) | |
- [DeleteShardKeyRequest](#qdrant-DeleteShardKeyRequest) | |
- [DeleteShardKeyResponse](#qdrant-DeleteShardKeyResponse) | |
- [Disabled](#qdrant-Disabled) | |
- [FloatIndexParams](#qdrant-FloatIndexParams) | |
- [GeoIndexParams](#qdrant-GeoIndexParams) | |
- [GetCollectionInfoRequest](#qdrant-GetCollectionInfoRequest) | |
- [GetCollectionInfoResponse](#qdrant-GetCollectionInfoResponse) | |
- [HnswConfigDiff](#qdrant-HnswConfigDiff) | |
- [IntegerIndexParams](#qdrant-IntegerIndexParams) | |
- [KeywordIndexParams](#qdrant-KeywordIndexParams) | |
- [ListAliasesRequest](#qdrant-ListAliasesRequest) | |
- [ListAliasesResponse](#qdrant-ListAliasesResponse) | |
- [ListCollectionAliasesRequest](#qdrant-ListCollectionAliasesRequest) | |
- [ListCollectionsRequest](#qdrant-ListCollectionsRequest) | |
- [ListCollectionsResponse](#qdrant-ListCollectionsResponse) | |
- [LocalShardInfo](#qdrant-LocalShardInfo) | |
- [MoveShard](#qdrant-MoveShard) | |
- [MultiVectorConfig](#qdrant-MultiVectorConfig) | |
- [OptimizerStatus](#qdrant-OptimizerStatus) | |
- [OptimizersConfigDiff](#qdrant-OptimizersConfigDiff) | |
- [PayloadIndexParams](#qdrant-PayloadIndexParams) | |
- [PayloadSchemaInfo](#qdrant-PayloadSchemaInfo) | |
- [ProductQuantization](#qdrant-ProductQuantization) | |
- [QuantizationConfig](#qdrant-QuantizationConfig) | |
- [QuantizationConfigDiff](#qdrant-QuantizationConfigDiff) | |
- [RemoteShardInfo](#qdrant-RemoteShardInfo) | |
- [RenameAlias](#qdrant-RenameAlias) | |
- [Replica](#qdrant-Replica) | |
- [ReplicateShard](#qdrant-ReplicateShard) | |
- [ReshardingInfo](#qdrant-ReshardingInfo) | |
- [RestartTransfer](#qdrant-RestartTransfer) | |
- [ScalarQuantization](#qdrant-ScalarQuantization) | |
- [ShardKey](#qdrant-ShardKey) | |
- [ShardTransferInfo](#qdrant-ShardTransferInfo) | |
- [SparseIndexConfig](#qdrant-SparseIndexConfig) | |
- [SparseVectorConfig](#qdrant-SparseVectorConfig) | |
- [SparseVectorConfig.MapEntry](#qdrant-SparseVectorConfig-MapEntry) | |
- [SparseVectorParams](#qdrant-SparseVectorParams) | |
- [StrictModeConfig](#qdrant-StrictModeConfig) | |
- [TextIndexParams](#qdrant-TextIndexParams) | |
- [UpdateCollection](#qdrant-UpdateCollection) | |
- [UpdateCollectionClusterSetupRequest](#qdrant-UpdateCollectionClusterSetupRequest) | |
- [UpdateCollectionClusterSetupResponse](#qdrant-UpdateCollectionClusterSetupResponse) | |
- [UuidIndexParams](#qdrant-UuidIndexParams) | |
- [VectorParams](#qdrant-VectorParams) | |
- [VectorParamsDiff](#qdrant-VectorParamsDiff) | |
- [VectorParamsDiffMap](#qdrant-VectorParamsDiffMap) | |
- [VectorParamsDiffMap.MapEntry](#qdrant-VectorParamsDiffMap-MapEntry) | |
- [VectorParamsMap](#qdrant-VectorParamsMap) | |
- [VectorParamsMap.MapEntry](#qdrant-VectorParamsMap-MapEntry) | |
- [VectorsConfig](#qdrant-VectorsConfig) | |
- [VectorsConfigDiff](#qdrant-VectorsConfigDiff) | |
- [WalConfigDiff](#qdrant-WalConfigDiff) | |
- [CollectionStatus](#qdrant-CollectionStatus) | |
- [CompressionRatio](#qdrant-CompressionRatio) | |
- [Datatype](#qdrant-Datatype) | |
- [Distance](#qdrant-Distance) | |
- [Modifier](#qdrant-Modifier) | |
- [MultiVectorComparator](#qdrant-MultiVectorComparator) | |
- [PayloadSchemaType](#qdrant-PayloadSchemaType) | |
- [QuantizationType](#qdrant-QuantizationType) | |
- [ReplicaState](#qdrant-ReplicaState) | |
- [ShardTransferMethod](#qdrant-ShardTransferMethod) | |
- [ShardingMethod](#qdrant-ShardingMethod) | |
- [TokenizerType](#qdrant-TokenizerType) | |
- [collections_service.proto](#collections_service-proto) | |
- [Collections](#qdrant-Collections) | |
- [health_check.proto](#health_check-proto) | |
- [HealthCheckRequest](#grpc-health-v1-HealthCheckRequest) | |
- [HealthCheckResponse](#grpc-health-v1-HealthCheckResponse) | |
- [HealthCheckResponse.ServingStatus](#grpc-health-v1-HealthCheckResponse-ServingStatus) | |
- [Health](#grpc-health-v1-Health) | |
- [json_with_int.proto](#json_with_int-proto) | |
- [ListValue](#qdrant-ListValue) | |
- [Struct](#qdrant-Struct) | |
- [Struct.FieldsEntry](#qdrant-Struct-FieldsEntry) | |
- [Value](#qdrant-Value) | |
- [NullValue](#qdrant-NullValue) | |
- [points.proto](#points-proto) | |
- [BatchResult](#qdrant-BatchResult) | |
- [ClearPayloadPoints](#qdrant-ClearPayloadPoints) | |
- [Condition](#qdrant-Condition) | |
- [ContextExamplePair](#qdrant-ContextExamplePair) | |
- [ContextInput](#qdrant-ContextInput) | |
- [ContextInputPair](#qdrant-ContextInputPair) | |
- [CountPoints](#qdrant-CountPoints) | |
- [CountResponse](#qdrant-CountResponse) | |
- [CountResult](#qdrant-CountResult) | |
- [CreateFieldIndexCollection](#qdrant-CreateFieldIndexCollection) | |
- [DatetimeRange](#qdrant-DatetimeRange) | |
- [DeleteFieldIndexCollection](#qdrant-DeleteFieldIndexCollection) | |
- [DeletePayloadPoints](#qdrant-DeletePayloadPoints) | |
- [DeletePointVectors](#qdrant-DeletePointVectors) | |
- [DeletePoints](#qdrant-DeletePoints) | |
- [DenseVector](#qdrant-DenseVector) | |
- [DiscoverBatchPoints](#qdrant-DiscoverBatchPoints) | |
- [DiscoverBatchResponse](#qdrant-DiscoverBatchResponse) | |
- [DiscoverInput](#qdrant-DiscoverInput) | |
- [DiscoverPoints](#qdrant-DiscoverPoints) | |
- [DiscoverResponse](#qdrant-DiscoverResponse) | |
- [Document](#qdrant-Document) | |
- [Document.OptionsEntry](#qdrant-Document-OptionsEntry) | |
- [FacetCounts](#qdrant-FacetCounts) | |
- [FacetHit](#qdrant-FacetHit) | |
- [FacetResponse](#qdrant-FacetResponse) | |
- [FacetValue](#qdrant-FacetValue) | |
- [FieldCondition](#qdrant-FieldCondition) | |
- [Filter](#qdrant-Filter) | |
- [GeoBoundingBox](#qdrant-GeoBoundingBox) | |
- [GeoLineString](#qdrant-GeoLineString) | |
- [GeoPoint](#qdrant-GeoPoint) | |
- [GeoPolygon](#qdrant-GeoPolygon) | |
- [GeoRadius](#qdrant-GeoRadius) | |
- [GetPoints](#qdrant-GetPoints) | |
- [GetResponse](#qdrant-GetResponse) | |
- [GroupId](#qdrant-GroupId) | |
- [GroupsResult](#qdrant-GroupsResult) | |
- [HardwareUsage](#qdrant-HardwareUsage) | |
- [HasIdCondition](#qdrant-HasIdCondition) | |
- [HasVectorCondition](#qdrant-HasVectorCondition) | |
- [Image](#qdrant-Image) | |
- [Image.OptionsEntry](#qdrant-Image-OptionsEntry) | |
- [InferenceObject](#qdrant-InferenceObject) | |
- [InferenceObject.OptionsEntry](#qdrant-InferenceObject-OptionsEntry) | |
- [IsEmptyCondition](#qdrant-IsEmptyCondition) | |
- [IsNullCondition](#qdrant-IsNullCondition) | |
- [LookupLocation](#qdrant-LookupLocation) | |
- [Match](#qdrant-Match) | |
- [MinShould](#qdrant-MinShould) | |
- [MultiDenseVector](#qdrant-MultiDenseVector) | |
- [NamedVectors](#qdrant-NamedVectors) | |
- [NamedVectors.VectorsEntry](#qdrant-NamedVectors-VectorsEntry) | |
- [NamedVectorsOutput](#qdrant-NamedVectorsOutput) | |
- [NamedVectorsOutput.VectorsEntry](#qdrant-NamedVectorsOutput-VectorsEntry) | |
- [NestedCondition](#qdrant-NestedCondition) | |
- [OrderBy](#qdrant-OrderBy) | |
- [OrderValue](#qdrant-OrderValue) | |
- [PayloadExcludeSelector](#qdrant-PayloadExcludeSelector) | |
- [PayloadIncludeSelector](#qdrant-PayloadIncludeSelector) | |
- [PointGroup](#qdrant-PointGroup) | |
- [PointId](#qdrant-PointId) | |
- [PointStruct](#qdrant-PointStruct) | |
- [PointStruct.PayloadEntry](#qdrant-PointStruct-PayloadEntry) | |
- [PointVectors](#qdrant-PointVectors) | |
- [PointsIdsList](#qdrant-PointsIdsList) | |
- [PointsOperationResponse](#qdrant-PointsOperationResponse) | |
- [PointsSelector](#qdrant-PointsSelector) | |
- [PointsUpdateOperation](#qdrant-PointsUpdateOperation) | |
- [PointsUpdateOperation.ClearPayload](#qdrant-PointsUpdateOperation-ClearPayload) | |
- [PointsUpdateOperation.DeletePayload](#qdrant-PointsUpdateOperation-DeletePayload) | |
- [PointsUpdateOperation.DeletePoints](#qdrant-PointsUpdateOperation-DeletePoints) | |
- [PointsUpdateOperation.DeleteVectors](#qdrant-PointsUpdateOperation-DeleteVectors) | |
- [PointsUpdateOperation.OverwritePayload](#qdrant-PointsUpdateOperation-OverwritePayload) | |
- [PointsUpdateOperation.OverwritePayload.PayloadEntry](#qdrant-PointsUpdateOperation-OverwritePayload-PayloadEntry) | |
- [PointsUpdateOperation.PointStructList](#qdrant-PointsUpdateOperation-PointStructList) | |
- [PointsUpdateOperation.SetPayload](#qdrant-PointsUpdateOperation-SetPayload) | |
- [PointsUpdateOperation.SetPayload.PayloadEntry](#qdrant-PointsUpdateOperation-SetPayload-PayloadEntry) | |
- [PointsUpdateOperation.UpdateVectors](#qdrant-PointsUpdateOperation-UpdateVectors) | |
- [PrefetchQuery](#qdrant-PrefetchQuery) | |
- [QuantizationSearchParams](#qdrant-QuantizationSearchParams) | |
- [Query](#qdrant-Query) | |
- [QueryBatchPoints](#qdrant-QueryBatchPoints) | |
- [QueryBatchResponse](#qdrant-QueryBatchResponse) | |
- [QueryGroupsResponse](#qdrant-QueryGroupsResponse) | |
- [QueryPointGroups](#qdrant-QueryPointGroups) | |
- [QueryPoints](#qdrant-QueryPoints) | |
- [QueryResponse](#qdrant-QueryResponse) | |
- [Range](#qdrant-Range) | |
- [ReadConsistency](#qdrant-ReadConsistency) | |
- [RecommendBatchPoints](#qdrant-RecommendBatchPoints) | |
- [RecommendBatchResponse](#qdrant-RecommendBatchResponse) | |
- [RecommendGroupsResponse](#qdrant-RecommendGroupsResponse) | |
- [RecommendInput](#qdrant-RecommendInput) | |
- [RecommendPointGroups](#qdrant-RecommendPointGroups) | |
- [RecommendPoints](#qdrant-RecommendPoints) | |
- [RecommendResponse](#qdrant-RecommendResponse) | |
- [RepeatedIntegers](#qdrant-RepeatedIntegers) | |
- [RepeatedStrings](#qdrant-RepeatedStrings) | |
- [RetrievedPoint](#qdrant-RetrievedPoint) | |
- [RetrievedPoint.PayloadEntry](#qdrant-RetrievedPoint-PayloadEntry) | |
- [ScoredPoint](#qdrant-ScoredPoint) | |
- [ScoredPoint.PayloadEntry](#qdrant-ScoredPoint-PayloadEntry) | |
- [ScrollPoints](#qdrant-ScrollPoints) | |
- [ScrollResponse](#qdrant-ScrollResponse) | |
- [SearchBatchPoints](#qdrant-SearchBatchPoints) | |
- [SearchBatchResponse](#qdrant-SearchBatchResponse) | |
- [SearchGroupsResponse](#qdrant-SearchGroupsResponse) | |
- [SearchMatrixOffsets](#qdrant-SearchMatrixOffsets) | |
- [SearchMatrixOffsetsResponse](#qdrant-SearchMatrixOffsetsResponse) | |
- [SearchMatrixPair](#qdrant-SearchMatrixPair) | |
- [SearchMatrixPairs](#qdrant-SearchMatrixPairs) | |
- [SearchMatrixPairsResponse](#qdrant-SearchMatrixPairsResponse) | |
- [SearchMatrixPoints](#qdrant-SearchMatrixPoints) | |
- [SearchParams](#qdrant-SearchParams) | |
- [SearchPointGroups](#qdrant-SearchPointGroups) | |
- [SearchPoints](#qdrant-SearchPoints) | |
- [SearchResponse](#qdrant-SearchResponse) | |
- [SetPayloadPoints](#qdrant-SetPayloadPoints) | |
- [SetPayloadPoints.PayloadEntry](#qdrant-SetPayloadPoints-PayloadEntry) | |
- [ShardKeySelector](#qdrant-ShardKeySelector) | |
- [SparseIndices](#qdrant-SparseIndices) | |
- [SparseVector](#qdrant-SparseVector) | |
- [StartFrom](#qdrant-StartFrom) | |
- [TargetVector](#qdrant-TargetVector) | |
- [UpdateBatchPoints](#qdrant-UpdateBatchPoints) | |
- [UpdateBatchResponse](#qdrant-UpdateBatchResponse) | |
- [UpdatePointVectors](#qdrant-UpdatePointVectors) | |
- [UpdateResult](#qdrant-UpdateResult) | |
- [UpsertPoints](#qdrant-UpsertPoints) | |
- [ValuesCount](#qdrant-ValuesCount) | |
- [Vector](#qdrant-Vector) | |
- [VectorExample](#qdrant-VectorExample) | |
- [VectorInput](#qdrant-VectorInput) | |
- [VectorOutput](#qdrant-VectorOutput) | |
- [Vectors](#qdrant-Vectors) | |
- [VectorsOutput](#qdrant-VectorsOutput) | |
- [VectorsSelector](#qdrant-VectorsSelector) | |
- [WithLookup](#qdrant-WithLookup) | |
- [WithPayloadSelector](#qdrant-WithPayloadSelector) | |
- [WithVectorsSelector](#qdrant-WithVectorsSelector) | |
- [WriteOrdering](#qdrant-WriteOrdering) | |
- [Direction](#qdrant-Direction) | |
- [FieldType](#qdrant-FieldType) | |
- [Fusion](#qdrant-Fusion) | |
- [ReadConsistencyType](#qdrant-ReadConsistencyType) | |
- [RecommendStrategy](#qdrant-RecommendStrategy) | |
- [Sample](#qdrant-Sample) | |
- [UpdateStatus](#qdrant-UpdateStatus) | |
- [WriteOrderingType](#qdrant-WriteOrderingType) | |
- [points_service.proto](#points_service-proto) | |
- [Points](#qdrant-Points) | |
- [qdrant.proto](#qdrant-proto) | |
- [HealthCheckReply](#qdrant-HealthCheckReply) | |
- [HealthCheckRequest](#qdrant-HealthCheckRequest) | |
- [Qdrant](#qdrant-Qdrant) | |
- [qdrant_internal_service.proto](#qdrant_internal_service-proto) | |
- [GetConsensusCommitRequest](#qdrant-GetConsensusCommitRequest) | |
- [GetConsensusCommitResponse](#qdrant-GetConsensusCommitResponse) | |
- [WaitOnConsensusCommitRequest](#qdrant-WaitOnConsensusCommitRequest) | |
- [WaitOnConsensusCommitResponse](#qdrant-WaitOnConsensusCommitResponse) | |
- [QdrantInternal](#qdrant-QdrantInternal) | |
- [snapshots_service.proto](#snapshots_service-proto) | |
- [CreateFullSnapshotRequest](#qdrant-CreateFullSnapshotRequest) | |
- [CreateSnapshotRequest](#qdrant-CreateSnapshotRequest) | |
- [CreateSnapshotResponse](#qdrant-CreateSnapshotResponse) | |
- [DeleteFullSnapshotRequest](#qdrant-DeleteFullSnapshotRequest) | |
- [DeleteSnapshotRequest](#qdrant-DeleteSnapshotRequest) | |
- [DeleteSnapshotResponse](#qdrant-DeleteSnapshotResponse) | |
- [ListFullSnapshotsRequest](#qdrant-ListFullSnapshotsRequest) | |
- [ListSnapshotsRequest](#qdrant-ListSnapshotsRequest) | |
- [ListSnapshotsResponse](#qdrant-ListSnapshotsResponse) | |
- [SnapshotDescription](#qdrant-SnapshotDescription) | |
- [Snapshots](#qdrant-Snapshots) | |
- [Scalar Value Types](#scalar-value-types) | |
<a name="collections-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## collections.proto | |
<a name="qdrant-AbortShardTransfer"></a> | |
### AbortShardTransfer | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | Local shard id | | |
| to_shard_id | [uint32](#uint32) | optional | | | |
| from_peer_id | [uint64](#uint64) | | | | |
| to_peer_id | [uint64](#uint64) | | | | |
<a name="qdrant-AliasDescription"></a> | |
### AliasDescription | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| alias_name | [string](#string) | | Name of the alias | | |
| collection_name | [string](#string) | | Name of the collection | | |
<a name="qdrant-AliasOperations"></a> | |
### AliasOperations | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| create_alias | [CreateAlias](#qdrant-CreateAlias) | | | | |
| rename_alias | [RenameAlias](#qdrant-RenameAlias) | | | | |
| delete_alias | [DeleteAlias](#qdrant-DeleteAlias) | | | | |
<a name="qdrant-BinaryQuantization"></a> | |
### BinaryQuantization | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| always_ram | [bool](#bool) | optional | If true - quantized vectors always will be stored in RAM, ignoring the config of main storage | | |
<a name="qdrant-BoolIndexParams"></a> | |
### BoolIndexParams | |
<a name="qdrant-ChangeAliases"></a> | |
### ChangeAliases | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| actions | [AliasOperations](#qdrant-AliasOperations) | repeated | List of actions | | |
| timeout | [uint64](#uint64) | optional | Wait timeout for operation commit in seconds, if not specified - default value will be supplied | | |
<a name="qdrant-CollectionClusterInfoRequest"></a> | |
### CollectionClusterInfoRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
<a name="qdrant-CollectionClusterInfoResponse"></a> | |
### CollectionClusterInfoResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| peer_id | [uint64](#uint64) | | ID of this peer | | |
| shard_count | [uint64](#uint64) | | Total number of shards | | |
| local_shards | [LocalShardInfo](#qdrant-LocalShardInfo) | repeated | Local shards | | |
| remote_shards | [RemoteShardInfo](#qdrant-RemoteShardInfo) | repeated | Remote shards | | |
| shard_transfers | [ShardTransferInfo](#qdrant-ShardTransferInfo) | repeated | Shard transfers | | |
<a name="qdrant-CollectionConfig"></a> | |
### CollectionConfig | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| params | [CollectionParams](#qdrant-CollectionParams) | | Collection parameters | | |
| hnsw_config | [HnswConfigDiff](#qdrant-HnswConfigDiff) | | Configuration of vector index | | |
| optimizer_config | [OptimizersConfigDiff](#qdrant-OptimizersConfigDiff) | | Configuration of the optimizers | | |
| wal_config | [WalConfigDiff](#qdrant-WalConfigDiff) | | Configuration of the Write-Ahead-Log | | |
| quantization_config | [QuantizationConfig](#qdrant-QuantizationConfig) | optional | Configuration of the vector quantization | | |
| strict_mode_config | [StrictModeConfig](#qdrant-StrictModeConfig) | optional | Configuration of strict mode. | | |
<a name="qdrant-CollectionDescription"></a> | |
### CollectionDescription | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| name | [string](#string) | | Name of the collection | | |
<a name="qdrant-CollectionExists"></a> | |
### CollectionExists | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| exists | [bool](#bool) | | | | |
<a name="qdrant-CollectionExistsRequest"></a> | |
### CollectionExistsRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | | | |
<a name="qdrant-CollectionExistsResponse"></a> | |
### CollectionExistsResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [CollectionExists](#qdrant-CollectionExists) | | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-CollectionInfo"></a> | |
### CollectionInfo | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| status | [CollectionStatus](#qdrant-CollectionStatus) | | operating condition of the collection | | |
| optimizer_status | [OptimizerStatus](#qdrant-OptimizerStatus) | | status of collection optimizers | | |
| vectors_count | [uint64](#uint64) | optional | Approximate number of vectors in the collection | | |
| segments_count | [uint64](#uint64) | | Number of independent segments | | |
| config | [CollectionConfig](#qdrant-CollectionConfig) | | Configuration | | |
| payload_schema | [CollectionInfo.PayloadSchemaEntry](#qdrant-CollectionInfo-PayloadSchemaEntry) | repeated | Collection data types | | |
| points_count | [uint64](#uint64) | optional | Approximate number of points in the collection | | |
| indexed_vectors_count | [uint64](#uint64) | optional | Approximate number of indexed vectors in the collection. | | |
<a name="qdrant-CollectionInfo-PayloadSchemaEntry"></a> | |
### CollectionInfo.PayloadSchemaEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [PayloadSchemaInfo](#qdrant-PayloadSchemaInfo) | | | | |
<a name="qdrant-CollectionOperationResponse"></a> | |
### CollectionOperationResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [bool](#bool) | | if operation made changes | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-CollectionParams"></a> | |
### CollectionParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_number | [uint32](#uint32) | | Number of shards in collection | | |
| on_disk_payload | [bool](#bool) | | If true - point's payload will not be stored in memory | | |
| vectors_config | [VectorsConfig](#qdrant-VectorsConfig) | optional | Configuration for vectors | | |
| replication_factor | [uint32](#uint32) | optional | Number of replicas of each shard that network tries to maintain | | |
| write_consistency_factor | [uint32](#uint32) | optional | How many replicas should apply the operation for us to consider it successful | | |
| read_fan_out_factor | [uint32](#uint32) | optional | Fan-out every read request to these many additional remote nodes (and return first available response) | | |
| sharding_method | [ShardingMethod](#qdrant-ShardingMethod) | optional | Sharding method | | |
| sparse_vectors_config | [SparseVectorConfig](#qdrant-SparseVectorConfig) | optional | Configuration for sparse vectors | | |
<a name="qdrant-CollectionParamsDiff"></a> | |
### CollectionParamsDiff | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| replication_factor | [uint32](#uint32) | optional | Number of replicas of each shard that network tries to maintain | | |
| write_consistency_factor | [uint32](#uint32) | optional | How many replicas should apply the operation for us to consider it successful | | |
| on_disk_payload | [bool](#bool) | optional | If true - point's payload will not be stored in memory | | |
| read_fan_out_factor | [uint32](#uint32) | optional | Fan-out every read request to these many additional remote nodes (and return first available response) | | |
<a name="qdrant-CreateAlias"></a> | |
### CreateAlias | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| alias_name | [string](#string) | | New name of the alias | | |
<a name="qdrant-CreateCollection"></a> | |
### CreateCollection | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| hnsw_config | [HnswConfigDiff](#qdrant-HnswConfigDiff) | optional | Configuration of vector index | | |
| wal_config | [WalConfigDiff](#qdrant-WalConfigDiff) | optional | Configuration of the Write-Ahead-Log | | |
| optimizers_config | [OptimizersConfigDiff](#qdrant-OptimizersConfigDiff) | optional | Configuration of the optimizers | | |
| shard_number | [uint32](#uint32) | optional | Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1 | | |
| on_disk_payload | [bool](#bool) | optional | If true - point's payload will not be stored in memory | | |
| timeout | [uint64](#uint64) | optional | Wait timeout for operation commit in seconds, if not specified - default value will be supplied | | |
| vectors_config | [VectorsConfig](#qdrant-VectorsConfig) | optional | Configuration for vectors | | |
| replication_factor | [uint32](#uint32) | optional | Number of replicas of each shard that network tries to maintain, default = 1 | | |
| write_consistency_factor | [uint32](#uint32) | optional | How many replicas should apply the operation for us to consider it successful, default = 1 | | |
| init_from_collection | [string](#string) | optional | Specify name of the other collection to copy data from | | |
| quantization_config | [QuantizationConfig](#qdrant-QuantizationConfig) | optional | Quantization configuration of vector | | |
| sharding_method | [ShardingMethod](#qdrant-ShardingMethod) | optional | Sharding method | | |
| sparse_vectors_config | [SparseVectorConfig](#qdrant-SparseVectorConfig) | optional | Configuration for sparse vectors | | |
| strict_mode_config | [StrictModeConfig](#qdrant-StrictModeConfig) | optional | Configuration for strict mode | | |
<a name="qdrant-CreateShardKey"></a> | |
### CreateShardKey | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_key | [ShardKey](#qdrant-ShardKey) | | User-defined shard key | | |
| shards_number | [uint32](#uint32) | optional | Number of shards to create per shard key | | |
| replication_factor | [uint32](#uint32) | optional | Number of replicas of each shard to create | | |
| placement | [uint64](#uint64) | repeated | List of peer ids, allowed to create shards. If empty - all peers are allowed | | |
<a name="qdrant-CreateShardKeyRequest"></a> | |
### CreateShardKeyRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| request | [CreateShardKey](#qdrant-CreateShardKey) | | Request to create shard key | | |
| timeout | [uint64](#uint64) | optional | Wait timeout for operation commit in seconds, if not specified - default value will be supplied | | |
<a name="qdrant-CreateShardKeyResponse"></a> | |
### CreateShardKeyResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [bool](#bool) | | | | |
<a name="qdrant-DatetimeIndexParams"></a> | |
### DatetimeIndexParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| on_disk | [bool](#bool) | optional | If true - store index on disk. | | |
| is_principal | [bool](#bool) | optional | If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests. | | |
<a name="qdrant-DeleteAlias"></a> | |
### DeleteAlias | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| alias_name | [string](#string) | | Name of the alias | | |
<a name="qdrant-DeleteCollection"></a> | |
### DeleteCollection | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| timeout | [uint64](#uint64) | optional | Wait timeout for operation commit in seconds, if not specified - default value will be supplied | | |
<a name="qdrant-DeleteShardKey"></a> | |
### DeleteShardKey | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_key | [ShardKey](#qdrant-ShardKey) | | Shard key to delete | | |
<a name="qdrant-DeleteShardKeyRequest"></a> | |
### DeleteShardKeyRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| request | [DeleteShardKey](#qdrant-DeleteShardKey) | | Request to delete shard key | | |
| timeout | [uint64](#uint64) | optional | Wait timeout for operation commit in seconds, if not specified - default value will be supplied | | |
<a name="qdrant-DeleteShardKeyResponse"></a> | |
### DeleteShardKeyResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [bool](#bool) | | | | |
<a name="qdrant-Disabled"></a> | |
### Disabled | |
<a name="qdrant-FloatIndexParams"></a> | |
### FloatIndexParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| on_disk | [bool](#bool) | optional | If true - store index on disk. | | |
| is_principal | [bool](#bool) | optional | If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests. | | |
<a name="qdrant-GeoIndexParams"></a> | |
### GeoIndexParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| on_disk | [bool](#bool) | optional | If true - store index on disk. | | |
<a name="qdrant-GetCollectionInfoRequest"></a> | |
### GetCollectionInfoRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
<a name="qdrant-GetCollectionInfoResponse"></a> | |
### GetCollectionInfoResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [CollectionInfo](#qdrant-CollectionInfo) | | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-HnswConfigDiff"></a> | |
### HnswConfigDiff | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| m | [uint64](#uint64) | optional | Number of edges per node in the index graph. Larger the value - more accurate the search, more space required. | | |
| ef_construct | [uint64](#uint64) | optional | Number of neighbours to consider during the index building. Larger the value - more accurate the search, more time required to build the index. | | |
| full_scan_threshold | [uint64](#uint64) | optional | Minimal size (in KiloBytes) of vectors for additional payload-based indexing. If the payload chunk is smaller than `full_scan_threshold` additional indexing won't be used - in this case full-scan search should be preferred by query planner and additional indexing is not required. Note: 1 Kb = 1 vector of size 256 | | |
| max_indexing_threads | [uint64](#uint64) | optional | Number of parallel threads used for background index building. If 0 - automatically select from 8 to 16. Best to keep between 8 and 16 to prevent likelihood of building broken/inefficient HNSW graphs. On small CPUs, less threads are used. | | |
| on_disk | [bool](#bool) | optional | Store HNSW index on disk. If set to false, the index will be stored in RAM. | | |
| payload_m | [uint64](#uint64) | optional | Number of additional payload-aware links per node in the index graph. If not set - regular M parameter will be used. | | |
<a name="qdrant-IntegerIndexParams"></a> | |
### IntegerIndexParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| lookup | [bool](#bool) | optional | If true - support direct lookups. | | |
| range | [bool](#bool) | optional | If true - support ranges filters. | | |
| is_principal | [bool](#bool) | optional | If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests. | | |
| on_disk | [bool](#bool) | optional | If true - store index on disk. | | |
<a name="qdrant-KeywordIndexParams"></a> | |
### KeywordIndexParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| is_tenant | [bool](#bool) | optional | If true - used for tenant optimization. | | |
| on_disk | [bool](#bool) | optional | If true - store index on disk. | | |
<a name="qdrant-ListAliasesRequest"></a> | |
### ListAliasesRequest | |
<a name="qdrant-ListAliasesResponse"></a> | |
### ListAliasesResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| aliases | [AliasDescription](#qdrant-AliasDescription) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-ListCollectionAliasesRequest"></a> | |
### ListCollectionAliasesRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
<a name="qdrant-ListCollectionsRequest"></a> | |
### ListCollectionsRequest | |
<a name="qdrant-ListCollectionsResponse"></a> | |
### ListCollectionsResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collections | [CollectionDescription](#qdrant-CollectionDescription) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-LocalShardInfo"></a> | |
### LocalShardInfo | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | Local shard id | | |
| points_count | [uint64](#uint64) | | Number of points in the shard | | |
| state | [ReplicaState](#qdrant-ReplicaState) | | Is replica active | | |
| shard_key | [ShardKey](#qdrant-ShardKey) | optional | User-defined shard key | | |
<a name="qdrant-MoveShard"></a> | |
### MoveShard | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | Local shard id | | |
| to_shard_id | [uint32](#uint32) | optional | | | |
| from_peer_id | [uint64](#uint64) | | | | |
| to_peer_id | [uint64](#uint64) | | | | |
| method | [ShardTransferMethod](#qdrant-ShardTransferMethod) | optional | | | |
<a name="qdrant-MultiVectorConfig"></a> | |
### MultiVectorConfig | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| comparator | [MultiVectorComparator](#qdrant-MultiVectorComparator) | | Comparator for multi-vector search | | |
<a name="qdrant-OptimizerStatus"></a> | |
### OptimizerStatus | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| ok | [bool](#bool) | | | | |
| error | [string](#string) | | | | |
<a name="qdrant-OptimizersConfigDiff"></a> | |
### OptimizersConfigDiff | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| deleted_threshold | [double](#double) | optional | The minimal fraction of deleted vectors in a segment, required to perform segment optimization | | |
| vacuum_min_vector_number | [uint64](#uint64) | optional | The minimal number of vectors in a segment, required to perform segment optimization | | |
| default_segment_number | [uint64](#uint64) | optional | Target amount of segments the optimizer will try to keep. Real amount of segments may vary depending on multiple parameters: | |
- Amount of stored points. - Current write RPS. | |
It is recommended to select the default number of segments as a factor of the number of search threads, so that each segment would be handled evenly by one of the threads. | | |
| max_segment_size | [uint64](#uint64) | optional | Do not create segments larger this size (in kilobytes). Large segments might require disproportionately long indexation times, therefore it makes sense to limit the size of segments. | |
If indexing speed is more important - make this parameter lower. If search speed is more important - make this parameter higher. Note: 1Kb = 1 vector of size 256 If not set, will be automatically selected considering the number of available CPUs. | | |
| memmap_threshold | [uint64](#uint64) | optional | Maximum size (in kilobytes) of vectors to store in-memory per segment. Segments larger than this threshold will be stored as read-only memmaped file. | |
Memmap storage is disabled by default, to enable it, set this threshold to a reasonable value. | |
To disable memmap storage, set this to `0`. | |
Note: 1Kb = 1 vector of size 256 | | |
| indexing_threshold | [uint64](#uint64) | optional | Maximum size (in kilobytes) of vectors allowed for plain index, exceeding this threshold will enable vector indexing | |
Default value is 20,000, based on <https://github.com/google-research/google-research/blob/master/scann/docs/algorithms.md>. | |
To disable vector indexing, set to `0`. | |
Note: 1kB = 1 vector of size 256. | | |
| flush_interval_sec | [uint64](#uint64) | optional | Interval between forced flushes. | | |
| max_optimization_threads | [uint64](#uint64) | optional | Max number of threads (jobs) for running optimizations per shard. Note: each optimization job will also use `max_indexing_threads` threads by itself for index building. If null - have no limit and choose dynamically to saturate CPU. If 0 - no optimization threads, optimizations will be disabled. | | |
<a name="qdrant-PayloadIndexParams"></a> | |
### PayloadIndexParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| keyword_index_params | [KeywordIndexParams](#qdrant-KeywordIndexParams) | | Parameters for keyword index | | |
| integer_index_params | [IntegerIndexParams](#qdrant-IntegerIndexParams) | | Parameters for integer index | | |
| float_index_params | [FloatIndexParams](#qdrant-FloatIndexParams) | | Parameters for float index | | |
| geo_index_params | [GeoIndexParams](#qdrant-GeoIndexParams) | | Parameters for geo index | | |
| text_index_params | [TextIndexParams](#qdrant-TextIndexParams) | | Parameters for text index | | |
| bool_index_params | [BoolIndexParams](#qdrant-BoolIndexParams) | | Parameters for bool index | | |
| datetime_index_params | [DatetimeIndexParams](#qdrant-DatetimeIndexParams) | | Parameters for datetime index | | |
| uuid_index_params | [UuidIndexParams](#qdrant-UuidIndexParams) | | Parameters for uuid index | | |
<a name="qdrant-PayloadSchemaInfo"></a> | |
### PayloadSchemaInfo | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| data_type | [PayloadSchemaType](#qdrant-PayloadSchemaType) | | Field data type | | |
| params | [PayloadIndexParams](#qdrant-PayloadIndexParams) | optional | Field index parameters | | |
| points | [uint64](#uint64) | optional | Number of points indexed within this field indexed | | |
<a name="qdrant-ProductQuantization"></a> | |
### ProductQuantization | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| compression | [CompressionRatio](#qdrant-CompressionRatio) | | Compression ratio | | |
| always_ram | [bool](#bool) | optional | If true - quantized vectors always will be stored in RAM, ignoring the config of main storage | | |
<a name="qdrant-QuantizationConfig"></a> | |
### QuantizationConfig | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| scalar | [ScalarQuantization](#qdrant-ScalarQuantization) | | | | |
| product | [ProductQuantization](#qdrant-ProductQuantization) | | | | |
| binary | [BinaryQuantization](#qdrant-BinaryQuantization) | | | | |
<a name="qdrant-QuantizationConfigDiff"></a> | |
### QuantizationConfigDiff | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| scalar | [ScalarQuantization](#qdrant-ScalarQuantization) | | | | |
| product | [ProductQuantization](#qdrant-ProductQuantization) | | | | |
| disabled | [Disabled](#qdrant-Disabled) | | | | |
| binary | [BinaryQuantization](#qdrant-BinaryQuantization) | | | | |
<a name="qdrant-RemoteShardInfo"></a> | |
### RemoteShardInfo | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | Local shard id | | |
| peer_id | [uint64](#uint64) | | Remote peer id | | |
| state | [ReplicaState](#qdrant-ReplicaState) | | Is replica active | | |
| shard_key | [ShardKey](#qdrant-ShardKey) | optional | User-defined shard key | | |
<a name="qdrant-RenameAlias"></a> | |
### RenameAlias | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| old_alias_name | [string](#string) | | Name of the alias to rename | | |
| new_alias_name | [string](#string) | | Name of the alias | | |
<a name="qdrant-Replica"></a> | |
### Replica | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | | | |
| peer_id | [uint64](#uint64) | | | | |
<a name="qdrant-ReplicateShard"></a> | |
### ReplicateShard | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | Local shard id | | |
| to_shard_id | [uint32](#uint32) | optional | | | |
| from_peer_id | [uint64](#uint64) | | | | |
| to_peer_id | [uint64](#uint64) | | | | |
| method | [ShardTransferMethod](#qdrant-ShardTransferMethod) | optional | | | |
<a name="qdrant-ReshardingInfo"></a> | |
### ReshardingInfo | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | | | |
| peer_id | [uint64](#uint64) | | | | |
| shard_key | [ShardKey](#qdrant-ShardKey) | optional | | | |
<a name="qdrant-RestartTransfer"></a> | |
### RestartTransfer | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | Local shard id | | |
| to_shard_id | [uint32](#uint32) | optional | | | |
| from_peer_id | [uint64](#uint64) | | | | |
| to_peer_id | [uint64](#uint64) | | | | |
| method | [ShardTransferMethod](#qdrant-ShardTransferMethod) | | | | |
<a name="qdrant-ScalarQuantization"></a> | |
### ScalarQuantization | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| type | [QuantizationType](#qdrant-QuantizationType) | | Type of quantization | | |
| quantile | [float](#float) | optional | Number of bits to use for quantization | | |
| always_ram | [bool](#bool) | optional | If true - quantized vectors always will be stored in RAM, ignoring the config of main storage | | |
<a name="qdrant-ShardKey"></a> | |
### ShardKey | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| keyword | [string](#string) | | String key | | |
| number | [uint64](#uint64) | | Number key | | |
<a name="qdrant-ShardTransferInfo"></a> | |
### ShardTransferInfo | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_id | [uint32](#uint32) | | Local shard id | | |
| to_shard_id | [uint32](#uint32) | optional | | | |
| from | [uint64](#uint64) | | | | |
| to | [uint64](#uint64) | | | | |
| sync | [bool](#bool) | | If `true` transfer is a synchronization of a replicas; If `false` transfer is a moving of a shard from one peer to another | | |
<a name="qdrant-SparseIndexConfig"></a> | |
### SparseIndexConfig | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| full_scan_threshold | [uint64](#uint64) | optional | Prefer a full scan search upto (excluding) this number of vectors. Note: this is number of vectors, not KiloBytes. | | |
| on_disk | [bool](#bool) | optional | Store inverted index on disk. If set to false, the index will be stored in RAM. | | |
| datatype | [Datatype](#qdrant-Datatype) | optional | Datatype used to store weights in the index. | | |
<a name="qdrant-SparseVectorConfig"></a> | |
### SparseVectorConfig | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| map | [SparseVectorConfig.MapEntry](#qdrant-SparseVectorConfig-MapEntry) | repeated | | | |
<a name="qdrant-SparseVectorConfig-MapEntry"></a> | |
### SparseVectorConfig.MapEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [SparseVectorParams](#qdrant-SparseVectorParams) | | | | |
<a name="qdrant-SparseVectorParams"></a> | |
### SparseVectorParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| index | [SparseIndexConfig](#qdrant-SparseIndexConfig) | optional | Configuration of sparse index | | |
| modifier | [Modifier](#qdrant-Modifier) | optional | If set - apply modifier to the vector values | | |
<a name="qdrant-StrictModeConfig"></a> | |
### StrictModeConfig | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| enabled | [bool](#bool) | optional | | | |
| max_query_limit | [uint32](#uint32) | optional | | | |
| max_timeout | [uint32](#uint32) | optional | | | |
| unindexed_filtering_retrieve | [bool](#bool) | optional | | | |
| unindexed_filtering_update | [bool](#bool) | optional | | | |
| search_max_hnsw_ef | [uint32](#uint32) | optional | | | |
| search_allow_exact | [bool](#bool) | optional | | | |
| search_max_oversampling | [float](#float) | optional | | | |
<a name="qdrant-TextIndexParams"></a> | |
### TextIndexParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| tokenizer | [TokenizerType](#qdrant-TokenizerType) | | Tokenizer type | | |
| lowercase | [bool](#bool) | optional | If true - all tokens will be lowercase | | |
| min_token_len | [uint64](#uint64) | optional | Minimal token length | | |
| max_token_len | [uint64](#uint64) | optional | Maximal token length | | |
| on_disk | [bool](#bool) | optional | If true - store index on disk. | | |
<a name="qdrant-UpdateCollection"></a> | |
### UpdateCollection | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| optimizers_config | [OptimizersConfigDiff](#qdrant-OptimizersConfigDiff) | optional | New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete | | |
| timeout | [uint64](#uint64) | optional | Wait timeout for operation commit in seconds if blocking, if not specified - default value will be supplied | | |
| params | [CollectionParamsDiff](#qdrant-CollectionParamsDiff) | optional | New configuration parameters for the collection | | |
| hnsw_config | [HnswConfigDiff](#qdrant-HnswConfigDiff) | optional | New HNSW parameters for the collection index | | |
| vectors_config | [VectorsConfigDiff](#qdrant-VectorsConfigDiff) | optional | New vector parameters | | |
| quantization_config | [QuantizationConfigDiff](#qdrant-QuantizationConfigDiff) | optional | Quantization configuration of vector | | |
| sparse_vectors_config | [SparseVectorConfig](#qdrant-SparseVectorConfig) | optional | New sparse vector parameters | | |
| strict_mode_config | [StrictModeConfig](#qdrant-StrictModeConfig) | optional | New strict mode configuration | | |
<a name="qdrant-UpdateCollectionClusterSetupRequest"></a> | |
### UpdateCollectionClusterSetupRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| move_shard | [MoveShard](#qdrant-MoveShard) | | | | |
| replicate_shard | [ReplicateShard](#qdrant-ReplicateShard) | | | | |
| abort_transfer | [AbortShardTransfer](#qdrant-AbortShardTransfer) | | | | |
| drop_replica | [Replica](#qdrant-Replica) | | | | |
| create_shard_key | [CreateShardKey](#qdrant-CreateShardKey) | | | | |
| delete_shard_key | [DeleteShardKey](#qdrant-DeleteShardKey) | | | | |
| restart_transfer | [RestartTransfer](#qdrant-RestartTransfer) | | | | |
| timeout | [uint64](#uint64) | optional | Wait timeout for operation commit in seconds, if not specified - default value will be supplied | | |
<a name="qdrant-UpdateCollectionClusterSetupResponse"></a> | |
### UpdateCollectionClusterSetupResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [bool](#bool) | | | | |
<a name="qdrant-UuidIndexParams"></a> | |
### UuidIndexParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| is_tenant | [bool](#bool) | optional | If true - used for tenant optimization. | | |
| on_disk | [bool](#bool) | optional | If true - store index on disk. | | |
<a name="qdrant-VectorParams"></a> | |
### VectorParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| size | [uint64](#uint64) | | Size of the vectors | | |
| distance | [Distance](#qdrant-Distance) | | Distance function used for comparing vectors | | |
| hnsw_config | [HnswConfigDiff](#qdrant-HnswConfigDiff) | optional | Configuration of vector HNSW graph. If omitted - the collection configuration will be used | | |
| quantization_config | [QuantizationConfig](#qdrant-QuantizationConfig) | optional | Configuration of vector quantization config. If omitted - the collection configuration will be used | | |
| on_disk | [bool](#bool) | optional | If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM. | | |
| datatype | [Datatype](#qdrant-Datatype) | optional | Data type of the vectors | | |
| multivector_config | [MultiVectorConfig](#qdrant-MultiVectorConfig) | optional | Configuration for multi-vector search | | |
<a name="qdrant-VectorParamsDiff"></a> | |
### VectorParamsDiff | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| hnsw_config | [HnswConfigDiff](#qdrant-HnswConfigDiff) | optional | Update params for HNSW index. If empty object - it will be unset | | |
| quantization_config | [QuantizationConfigDiff](#qdrant-QuantizationConfigDiff) | optional | Update quantization params. If none - it is left unchanged. | | |
| on_disk | [bool](#bool) | optional | If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM. | | |
<a name="qdrant-VectorParamsDiffMap"></a> | |
### VectorParamsDiffMap | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| map | [VectorParamsDiffMap.MapEntry](#qdrant-VectorParamsDiffMap-MapEntry) | repeated | | | |
<a name="qdrant-VectorParamsDiffMap-MapEntry"></a> | |
### VectorParamsDiffMap.MapEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [VectorParamsDiff](#qdrant-VectorParamsDiff) | | | | |
<a name="qdrant-VectorParamsMap"></a> | |
### VectorParamsMap | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| map | [VectorParamsMap.MapEntry](#qdrant-VectorParamsMap-MapEntry) | repeated | | | |
<a name="qdrant-VectorParamsMap-MapEntry"></a> | |
### VectorParamsMap.MapEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [VectorParams](#qdrant-VectorParams) | | | | |
<a name="qdrant-VectorsConfig"></a> | |
### VectorsConfig | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| params | [VectorParams](#qdrant-VectorParams) | | | | |
| params_map | [VectorParamsMap](#qdrant-VectorParamsMap) | | | | |
<a name="qdrant-VectorsConfigDiff"></a> | |
### VectorsConfigDiff | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| params | [VectorParamsDiff](#qdrant-VectorParamsDiff) | | | | |
| params_map | [VectorParamsDiffMap](#qdrant-VectorParamsDiffMap) | | | | |
<a name="qdrant-WalConfigDiff"></a> | |
### WalConfigDiff | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| wal_capacity_mb | [uint64](#uint64) | optional | Size of a single WAL block file | | |
| wal_segments_ahead | [uint64](#uint64) | optional | Number of segments to create in advance | | |
<a name="qdrant-CollectionStatus"></a> | |
### CollectionStatus | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| UnknownCollectionStatus | 0 | | | |
| Green | 1 | All segments are ready | | |
| Yellow | 2 | Optimization in process | | |
| Red | 3 | Something went wrong | | |
| Grey | 4 | Optimization is pending | | |
<a name="qdrant-CompressionRatio"></a> | |
### CompressionRatio | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| x4 | 0 | | | |
| x8 | 1 | | | |
| x16 | 2 | | | |
| x32 | 3 | | | |
| x64 | 4 | | | |
<a name="qdrant-Datatype"></a> | |
### Datatype | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| Default | 0 | | | |
| Float32 | 1 | | | |
| Uint8 | 2 | | | |
| Float16 | 3 | | | |
<a name="qdrant-Distance"></a> | |
### Distance | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| UnknownDistance | 0 | | | |
| Cosine | 1 | | | |
| Euclid | 2 | | | |
| Dot | 3 | | | |
| Manhattan | 4 | | | |
<a name="qdrant-Modifier"></a> | |
### Modifier | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| None | 0 | | | |
| Idf | 1 | Apply Inverse Document Frequency | | |
<a name="qdrant-MultiVectorComparator"></a> | |
### MultiVectorComparator | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| MaxSim | 0 | | | |
<a name="qdrant-PayloadSchemaType"></a> | |
### PayloadSchemaType | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| UnknownType | 0 | | | |
| Keyword | 1 | | | |
| Integer | 2 | | | |
| Float | 3 | | | |
| Geo | 4 | | | |
| Text | 5 | | | |
| Bool | 6 | | | |
| Datetime | 7 | | | |
| Uuid | 8 | | | |
<a name="qdrant-QuantizationType"></a> | |
### QuantizationType | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| UnknownQuantization | 0 | | | |
| Int8 | 1 | | | |
<a name="qdrant-ReplicaState"></a> | |
### ReplicaState | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| Active | 0 | Active and sound | | |
| Dead | 1 | Failed for some reason | | |
| Partial | 2 | The shard is partially loaded and is currently receiving data from other shards | | |
| Initializing | 3 | Collection is being created | | |
| Listener | 4 | A shard which receives data, but is not used for search; Useful for backup shards | | |
| PartialSnapshot | 5 | Deprecated: snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard | | |
| Recovery | 6 | Shard is undergoing recovered by an external node; Normally rejects updates, accepts updates if force is true | | |
| Resharding | 7 | Points are being migrated to this shard as part of resharding | | |
<a name="qdrant-ShardTransferMethod"></a> | |
### ShardTransferMethod | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| StreamRecords | 0 | Stream shard records in batches | | |
| Snapshot | 1 | Snapshot the shard and recover it on the target peer | | |
| WalDelta | 2 | Resolve WAL delta between peers and transfer the difference | | |
| ReshardingStreamRecords | 3 | Stream shard records in batches for resharding | | |
<a name="qdrant-ShardingMethod"></a> | |
### ShardingMethod | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| Auto | 0 | Auto-sharding based on record ids | | |
| Custom | 1 | Shard by user-defined key | | |
<a name="qdrant-TokenizerType"></a> | |
### TokenizerType | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| Unknown | 0 | | | |
| Prefix | 1 | | | |
| Whitespace | 2 | | | |
| Word | 3 | | | |
| Multilingual | 4 | | | |
<a name="collections_service-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## collections_service.proto | |
<a name="qdrant-Collections"></a> | |
### Collections | |
| Method Name | Request Type | Response Type | Description | | |
| ----------- | ------------ | ------------- | ------------| | |
| Get | [GetCollectionInfoRequest](#qdrant-GetCollectionInfoRequest) | [GetCollectionInfoResponse](#qdrant-GetCollectionInfoResponse) | Get detailed information about specified existing collection | | |
| List | [ListCollectionsRequest](#qdrant-ListCollectionsRequest) | [ListCollectionsResponse](#qdrant-ListCollectionsResponse) | Get list name of all existing collections | | |
| Create | [CreateCollection](#qdrant-CreateCollection) | [CollectionOperationResponse](#qdrant-CollectionOperationResponse) | Create new collection with given parameters | | |
| Update | [UpdateCollection](#qdrant-UpdateCollection) | [CollectionOperationResponse](#qdrant-CollectionOperationResponse) | Update parameters of the existing collection | | |
| Delete | [DeleteCollection](#qdrant-DeleteCollection) | [CollectionOperationResponse](#qdrant-CollectionOperationResponse) | Drop collection and all associated data | | |
| UpdateAliases | [ChangeAliases](#qdrant-ChangeAliases) | [CollectionOperationResponse](#qdrant-CollectionOperationResponse) | Update Aliases of the existing collection | | |
| ListCollectionAliases | [ListCollectionAliasesRequest](#qdrant-ListCollectionAliasesRequest) | [ListAliasesResponse](#qdrant-ListAliasesResponse) | Get list of all aliases for a collection | | |
| ListAliases | [ListAliasesRequest](#qdrant-ListAliasesRequest) | [ListAliasesResponse](#qdrant-ListAliasesResponse) | Get list of all aliases for all existing collections | | |
| CollectionClusterInfo | [CollectionClusterInfoRequest](#qdrant-CollectionClusterInfoRequest) | [CollectionClusterInfoResponse](#qdrant-CollectionClusterInfoResponse) | Get cluster information for a collection | | |
| CollectionExists | [CollectionExistsRequest](#qdrant-CollectionExistsRequest) | [CollectionExistsResponse](#qdrant-CollectionExistsResponse) | Check the existence of a collection | | |
| UpdateCollectionClusterSetup | [UpdateCollectionClusterSetupRequest](#qdrant-UpdateCollectionClusterSetupRequest) | [UpdateCollectionClusterSetupResponse](#qdrant-UpdateCollectionClusterSetupResponse) | Update cluster setup for a collection | | |
| CreateShardKey | [CreateShardKeyRequest](#qdrant-CreateShardKeyRequest) | [CreateShardKeyResponse](#qdrant-CreateShardKeyResponse) | Create shard key | | |
| DeleteShardKey | [DeleteShardKeyRequest](#qdrant-DeleteShardKeyRequest) | [DeleteShardKeyResponse](#qdrant-DeleteShardKeyResponse) | Delete shard key | | |
<a name="health_check-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## health_check.proto | |
source: https://github.com/grpc/grpc/blob/master/doc/health-checking.md#service-definition | |
<a name="grpc-health-v1-HealthCheckRequest"></a> | |
### HealthCheckRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| service | [string](#string) | | | | |
<a name="grpc-health-v1-HealthCheckResponse"></a> | |
### HealthCheckResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| status | [HealthCheckResponse.ServingStatus](#grpc-health-v1-HealthCheckResponse-ServingStatus) | | | | |
<a name="grpc-health-v1-HealthCheckResponse-ServingStatus"></a> | |
### HealthCheckResponse.ServingStatus | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| UNKNOWN | 0 | | | |
| SERVING | 1 | | | |
| NOT_SERVING | 2 | | | |
| SERVICE_UNKNOWN | 3 | Used only by the Watch method. | | |
<a name="grpc-health-v1-Health"></a> | |
### Health | |
| Method Name | Request Type | Response Type | Description | | |
| ----------- | ------------ | ------------- | ------------| | |
| Check | [HealthCheckRequest](#grpc-health-v1-HealthCheckRequest) | [HealthCheckResponse](#grpc-health-v1-HealthCheckResponse) | | | |
<a name="json_with_int-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## json_with_int.proto | |
<a name="qdrant-ListValue"></a> | |
### ListValue | |
`ListValue` is a wrapper around a repeated field of values. | |
The JSON representation for `ListValue` is a JSON array. | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| values | [Value](#qdrant-Value) | repeated | Repeated field of dynamically typed values. | | |
<a name="qdrant-Struct"></a> | |
### Struct | |
`Struct` represents a structured data value, consisting of fields | |
which map to dynamically typed values. In some languages, `Struct` | |
might be supported by a native representation. For example, in | |
scripting languages like JS a struct is represented as an | |
object. The details of that representation are described together | |
with the proto support for the language. | |
The JSON representation for `Struct` is a JSON object. | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| fields | [Struct.FieldsEntry](#qdrant-Struct-FieldsEntry) | repeated | Unordered map of dynamically typed values. | | |
<a name="qdrant-Struct-FieldsEntry"></a> | |
### Struct.FieldsEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-Value"></a> | |
### Value | |
`Value` represents a dynamically typed value which can be either | |
null, a number, a string, a boolean, a recursive struct value, or a | |
list of values. A producer of value is expected to set one of those | |
variants, absence of any variant indicates an error. | |
The JSON representation for `Value` is a JSON value. | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| null_value | [NullValue](#qdrant-NullValue) | | Represents a null value. | | |
| double_value | [double](#double) | | Represents a double value. | | |
| integer_value | [int64](#int64) | | Represents an integer value | | |
| string_value | [string](#string) | | Represents a string value. | | |
| bool_value | [bool](#bool) | | Represents a boolean value. | | |
| struct_value | [Struct](#qdrant-Struct) | | Represents a structured value. | | |
| list_value | [ListValue](#qdrant-ListValue) | | Represents a repeated `Value`. | | |
<a name="qdrant-NullValue"></a> | |
### NullValue | |
`NullValue` is a singleton enumeration to represent the null value for the | |
`Value` type union. | |
The JSON representation for `NullValue` is JSON `null`. | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| NULL_VALUE | 0 | Null value. | | |
<a name="points-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## points.proto | |
<a name="qdrant-BatchResult"></a> | |
### BatchResult | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [ScoredPoint](#qdrant-ScoredPoint) | repeated | | | |
<a name="qdrant-ClearPayloadPoints"></a> | |
### ClearPayloadPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| points | [PointsSelector](#qdrant-PointsSelector) | | Affected points | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-Condition"></a> | |
### Condition | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| field | [FieldCondition](#qdrant-FieldCondition) | | | | |
| is_empty | [IsEmptyCondition](#qdrant-IsEmptyCondition) | | | | |
| has_id | [HasIdCondition](#qdrant-HasIdCondition) | | | | |
| filter | [Filter](#qdrant-Filter) | | | | |
| is_null | [IsNullCondition](#qdrant-IsNullCondition) | | | | |
| nested | [NestedCondition](#qdrant-NestedCondition) | | | | |
| has_vector | [HasVectorCondition](#qdrant-HasVectorCondition) | | | | |
<a name="qdrant-ContextExamplePair"></a> | |
### ContextExamplePair | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| positive | [VectorExample](#qdrant-VectorExample) | | | | |
| negative | [VectorExample](#qdrant-VectorExample) | | | | |
<a name="qdrant-ContextInput"></a> | |
### ContextInput | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| pairs | [ContextInputPair](#qdrant-ContextInputPair) | repeated | Search space will be constrained by these pairs of vectors | | |
<a name="qdrant-ContextInputPair"></a> | |
### ContextInputPair | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| positive | [VectorInput](#qdrant-VectorInput) | | A positive vector | | |
| negative | [VectorInput](#qdrant-VectorInput) | | Repel from this vector | | |
<a name="qdrant-CountPoints"></a> | |
### CountPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| filter | [Filter](#qdrant-Filter) | | Filter conditions - return only those points that satisfy the specified conditions | | |
| exact | [bool](#bool) | optional | If `true` - return exact count, if `false` - return approximate count | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
<a name="qdrant-CountResponse"></a> | |
### CountResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [CountResult](#qdrant-CountResult) | | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-CountResult"></a> | |
### CountResult | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| count | [uint64](#uint64) | | | | |
<a name="qdrant-CreateFieldIndexCollection"></a> | |
### CreateFieldIndexCollection | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| field_name | [string](#string) | | Field name to index | | |
| field_type | [FieldType](#qdrant-FieldType) | optional | Field type. | | |
| field_index_params | [PayloadIndexParams](#qdrant-PayloadIndexParams) | optional | Payload index params. | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
<a name="qdrant-DatetimeRange"></a> | |
### DatetimeRange | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| lt | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | optional | | | |
| gt | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | optional | | | |
| gte | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | optional | | | |
| lte | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | optional | | | |
<a name="qdrant-DeleteFieldIndexCollection"></a> | |
### DeleteFieldIndexCollection | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| field_name | [string](#string) | | Field name to delete | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
<a name="qdrant-DeletePayloadPoints"></a> | |
### DeletePayloadPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| keys | [string](#string) | repeated | List of keys to delete | | |
| points_selector | [PointsSelector](#qdrant-PointsSelector) | optional | Affected points | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-DeletePointVectors"></a> | |
### DeletePointVectors | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| points_selector | [PointsSelector](#qdrant-PointsSelector) | | Affected points | | |
| vectors | [VectorsSelector](#qdrant-VectorsSelector) | | List of vector names to delete | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-DeletePoints"></a> | |
### DeletePoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| points | [PointsSelector](#qdrant-PointsSelector) | | Affected points | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-DenseVector"></a> | |
### DenseVector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| data | [float](#float) | repeated | | | |
<a name="qdrant-DiscoverBatchPoints"></a> | |
### DiscoverBatchPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| discover_points | [DiscoverPoints](#qdrant-DiscoverPoints) | repeated | | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
<a name="qdrant-DiscoverBatchResponse"></a> | |
### DiscoverBatchResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [BatchResult](#qdrant-BatchResult) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-DiscoverInput"></a> | |
### DiscoverInput | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| target | [VectorInput](#qdrant-VectorInput) | | Use this as the primary search objective | | |
| context | [ContextInput](#qdrant-ContextInput) | | Search space will be constrained by these pairs of vectors | | |
<a name="qdrant-DiscoverPoints"></a> | |
### DiscoverPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| target | [TargetVector](#qdrant-TargetVector) | | Use this as the primary search objective | | |
| context | [ContextExamplePair](#qdrant-ContextExamplePair) | repeated | Search will be constrained by these pairs of examples | | |
| filter | [Filter](#qdrant-Filter) | | Filter conditions - return only those points that satisfy the specified conditions | | |
| limit | [uint64](#uint64) | | Max number of result | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | | Options for specifying which payload to include or not | | |
| params | [SearchParams](#qdrant-SearchParams) | | Search config | | |
| offset | [uint64](#uint64) | optional | Offset of the result | | |
| using | [string](#string) | optional | Define which vector to use for recommendation, if not specified - default vector | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into response | | |
| lookup_from | [LookupLocation](#qdrant-LookupLocation) | optional | Name of the collection to use for points lookup, if not specified - use current collection | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
<a name="qdrant-DiscoverResponse"></a> | |
### DiscoverResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [ScoredPoint](#qdrant-ScoredPoint) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-Document"></a> | |
### Document | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| text | [string](#string) | | Text of the document | | |
| model | [string](#string) | | Model name | | |
| options | [Document.OptionsEntry](#qdrant-Document-OptionsEntry) | repeated | Model options | | |
<a name="qdrant-Document-OptionsEntry"></a> | |
### Document.OptionsEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-FacetCounts"></a> | |
### FacetCounts | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| key | [string](#string) | | Payload key of the facet | | |
| filter | [Filter](#qdrant-Filter) | optional | Filter conditions - return only those points that satisfy the specified conditions. | | |
| limit | [uint64](#uint64) | optional | Max number of facets. Default is 10. | | |
| exact | [bool](#bool) | optional | If true, return exact counts, slower but useful for debugging purposes. Default is false. | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
<a name="qdrant-FacetHit"></a> | |
### FacetHit | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| value | [FacetValue](#qdrant-FacetValue) | | Value from the facet | | |
| count | [uint64](#uint64) | | Number of points with this value | | |
<a name="qdrant-FacetResponse"></a> | |
### FacetResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| hits | [FacetHit](#qdrant-FacetHit) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-FacetValue"></a> | |
### FacetValue | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| string_value | [string](#string) | | String value from the facet | | |
| integer_value | [int64](#int64) | | Integer value from the facet | | |
| bool_value | [bool](#bool) | | Boolean value from the facet | | |
<a name="qdrant-FieldCondition"></a> | |
### FieldCondition | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| match | [Match](#qdrant-Match) | | Check if point has field with a given value | | |
| range | [Range](#qdrant-Range) | | Check if points value lies in a given range | | |
| geo_bounding_box | [GeoBoundingBox](#qdrant-GeoBoundingBox) | | Check if points geolocation lies in a given area | | |
| geo_radius | [GeoRadius](#qdrant-GeoRadius) | | Check if geo point is within a given radius | | |
| values_count | [ValuesCount](#qdrant-ValuesCount) | | Check number of values for a specific field | | |
| geo_polygon | [GeoPolygon](#qdrant-GeoPolygon) | | Check if geo point is within a given polygon | | |
| datetime_range | [DatetimeRange](#qdrant-DatetimeRange) | | Check if datetime is within a given range | | |
<a name="qdrant-Filter"></a> | |
### Filter | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| should | [Condition](#qdrant-Condition) | repeated | At least one of those conditions should match | | |
| must | [Condition](#qdrant-Condition) | repeated | All conditions must match | | |
| must_not | [Condition](#qdrant-Condition) | repeated | All conditions must NOT match | | |
| min_should | [MinShould](#qdrant-MinShould) | optional | At least minimum amount of given conditions should match | | |
<a name="qdrant-GeoBoundingBox"></a> | |
### GeoBoundingBox | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| top_left | [GeoPoint](#qdrant-GeoPoint) | | north-west corner | | |
| bottom_right | [GeoPoint](#qdrant-GeoPoint) | | south-east corner | | |
<a name="qdrant-GeoLineString"></a> | |
### GeoLineString | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| points | [GeoPoint](#qdrant-GeoPoint) | repeated | Ordered sequence of GeoPoints representing the line | | |
<a name="qdrant-GeoPoint"></a> | |
### GeoPoint | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| lon | [double](#double) | | | | |
| lat | [double](#double) | | | | |
<a name="qdrant-GeoPolygon"></a> | |
### GeoPolygon | |
For a valid GeoPolygon, both the exterior and interior GeoLineStrings must consist of a minimum of 4 points. | |
Additionally, the first and last points of each GeoLineString must be the same. | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| exterior | [GeoLineString](#qdrant-GeoLineString) | | The exterior line bounds the surface | | |
| interiors | [GeoLineString](#qdrant-GeoLineString) | repeated | Interior lines (if present) bound holes within the surface | | |
<a name="qdrant-GeoRadius"></a> | |
### GeoRadius | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| center | [GeoPoint](#qdrant-GeoPoint) | | Center of the circle | | |
| radius | [float](#float) | | In meters | | |
<a name="qdrant-GetPoints"></a> | |
### GetPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| ids | [PointId](#qdrant-PointId) | repeated | List of points to retrieve | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | | Options for specifying which payload to include or not | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into response | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
<a name="qdrant-GetResponse"></a> | |
### GetResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [RetrievedPoint](#qdrant-RetrievedPoint) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-GroupId"></a> | |
### GroupId | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| unsigned_value | [uint64](#uint64) | | Represents a double value. | | |
| integer_value | [int64](#int64) | | Represents an integer value | | |
| string_value | [string](#string) | | Represents a string value. | | |
<a name="qdrant-GroupsResult"></a> | |
### GroupsResult | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| groups | [PointGroup](#qdrant-PointGroup) | repeated | Groups | | |
<a name="qdrant-HardwareUsage"></a> | |
### HardwareUsage | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| cpu | [uint64](#uint64) | | | | |
<a name="qdrant-HasIdCondition"></a> | |
### HasIdCondition | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| has_id | [PointId](#qdrant-PointId) | repeated | | | |
<a name="qdrant-HasVectorCondition"></a> | |
### HasVectorCondition | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| has_vector | [string](#string) | | | | |
<a name="qdrant-Image"></a> | |
### Image | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| image | [Value](#qdrant-Value) | | Image data, either base64 encoded or URL | | |
| model | [string](#string) | | Model name | | |
| options | [Image.OptionsEntry](#qdrant-Image-OptionsEntry) | repeated | Model options | | |
<a name="qdrant-Image-OptionsEntry"></a> | |
### Image.OptionsEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-InferenceObject"></a> | |
### InferenceObject | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| object | [Value](#qdrant-Value) | | Object to infer | | |
| model | [string](#string) | | Model name | | |
| options | [InferenceObject.OptionsEntry](#qdrant-InferenceObject-OptionsEntry) | repeated | Model options | | |
<a name="qdrant-InferenceObject-OptionsEntry"></a> | |
### InferenceObject.OptionsEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-IsEmptyCondition"></a> | |
### IsEmptyCondition | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
<a name="qdrant-IsNullCondition"></a> | |
### IsNullCondition | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
<a name="qdrant-LookupLocation"></a> | |
### LookupLocation | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | | | |
| vector_name | [string](#string) | optional | Which vector to use for search, if not specified - use default vector | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
<a name="qdrant-Match"></a> | |
### Match | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| keyword | [string](#string) | | Match string keyword | | |
| integer | [int64](#int64) | | Match integer | | |
| boolean | [bool](#bool) | | Match boolean | | |
| text | [string](#string) | | Match text | | |
| keywords | [RepeatedStrings](#qdrant-RepeatedStrings) | | Match multiple keywords | | |
| integers | [RepeatedIntegers](#qdrant-RepeatedIntegers) | | Match multiple integers | | |
| except_integers | [RepeatedIntegers](#qdrant-RepeatedIntegers) | | Match any other value except those integers | | |
| except_keywords | [RepeatedStrings](#qdrant-RepeatedStrings) | | Match any other value except those keywords | | |
<a name="qdrant-MinShould"></a> | |
### MinShould | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| conditions | [Condition](#qdrant-Condition) | repeated | | | |
| min_count | [uint64](#uint64) | | | | |
<a name="qdrant-MultiDenseVector"></a> | |
### MultiDenseVector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| vectors | [DenseVector](#qdrant-DenseVector) | repeated | | | |
<a name="qdrant-NamedVectors"></a> | |
### NamedVectors | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| vectors | [NamedVectors.VectorsEntry](#qdrant-NamedVectors-VectorsEntry) | repeated | | | |
<a name="qdrant-NamedVectors-VectorsEntry"></a> | |
### NamedVectors.VectorsEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Vector](#qdrant-Vector) | | | | |
<a name="qdrant-NamedVectorsOutput"></a> | |
### NamedVectorsOutput | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| vectors | [NamedVectorsOutput.VectorsEntry](#qdrant-NamedVectorsOutput-VectorsEntry) | repeated | | | |
<a name="qdrant-NamedVectorsOutput-VectorsEntry"></a> | |
### NamedVectorsOutput.VectorsEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [VectorOutput](#qdrant-VectorOutput) | | | | |
<a name="qdrant-NestedCondition"></a> | |
### NestedCondition | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | Path to nested object | | |
| filter | [Filter](#qdrant-Filter) | | Filter condition | | |
<a name="qdrant-OrderBy"></a> | |
### OrderBy | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | Payload key to order by | | |
| direction | [Direction](#qdrant-Direction) | optional | Ascending or descending order | | |
| start_from | [StartFrom](#qdrant-StartFrom) | optional | Start from this value | | |
<a name="qdrant-OrderValue"></a> | |
### OrderValue | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| int | [int64](#int64) | | | | |
| float | [double](#double) | | | | |
<a name="qdrant-PayloadExcludeSelector"></a> | |
### PayloadExcludeSelector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| fields | [string](#string) | repeated | List of payload keys to exclude from the result | | |
<a name="qdrant-PayloadIncludeSelector"></a> | |
### PayloadIncludeSelector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| fields | [string](#string) | repeated | List of payload keys to include into result | | |
<a name="qdrant-PointGroup"></a> | |
### PointGroup | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| id | [GroupId](#qdrant-GroupId) | | Group id | | |
| hits | [ScoredPoint](#qdrant-ScoredPoint) | repeated | Points in the group | | |
| lookup | [RetrievedPoint](#qdrant-RetrievedPoint) | | Point(s) from the lookup collection that matches the group id | | |
<a name="qdrant-PointId"></a> | |
### PointId | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| num | [uint64](#uint64) | | Numerical ID of the point | | |
| uuid | [string](#string) | | UUID | | |
<a name="qdrant-PointStruct"></a> | |
### PointStruct | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| id | [PointId](#qdrant-PointId) | | | | |
| payload | [PointStruct.PayloadEntry](#qdrant-PointStruct-PayloadEntry) | repeated | | | |
| vectors | [Vectors](#qdrant-Vectors) | optional | | | |
<a name="qdrant-PointStruct-PayloadEntry"></a> | |
### PointStruct.PayloadEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-PointVectors"></a> | |
### PointVectors | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| id | [PointId](#qdrant-PointId) | | ID to update vectors for | | |
| vectors | [Vectors](#qdrant-Vectors) | | Named vectors to update, leave others intact | | |
<a name="qdrant-PointsIdsList"></a> | |
### PointsIdsList | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| ids | [PointId](#qdrant-PointId) | repeated | | | |
<a name="qdrant-PointsOperationResponse"></a> | |
### PointsOperationResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [UpdateResult](#qdrant-UpdateResult) | | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-PointsSelector"></a> | |
### PointsSelector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| points | [PointsIdsList](#qdrant-PointsIdsList) | | | | |
| filter | [Filter](#qdrant-Filter) | | | | |
<a name="qdrant-PointsUpdateOperation"></a> | |
### PointsUpdateOperation | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| upsert | [PointsUpdateOperation.PointStructList](#qdrant-PointsUpdateOperation-PointStructList) | | | | |
| delete_deprecated | [PointsSelector](#qdrant-PointsSelector) | | **Deprecated.** | | |
| set_payload | [PointsUpdateOperation.SetPayload](#qdrant-PointsUpdateOperation-SetPayload) | | | | |
| overwrite_payload | [PointsUpdateOperation.OverwritePayload](#qdrant-PointsUpdateOperation-OverwritePayload) | | | | |
| delete_payload | [PointsUpdateOperation.DeletePayload](#qdrant-PointsUpdateOperation-DeletePayload) | | | | |
| clear_payload_deprecated | [PointsSelector](#qdrant-PointsSelector) | | **Deprecated.** | | |
| update_vectors | [PointsUpdateOperation.UpdateVectors](#qdrant-PointsUpdateOperation-UpdateVectors) | | | | |
| delete_vectors | [PointsUpdateOperation.DeleteVectors](#qdrant-PointsUpdateOperation-DeleteVectors) | | | | |
| delete_points | [PointsUpdateOperation.DeletePoints](#qdrant-PointsUpdateOperation-DeletePoints) | | | | |
| clear_payload | [PointsUpdateOperation.ClearPayload](#qdrant-PointsUpdateOperation-ClearPayload) | | | | |
<a name="qdrant-PointsUpdateOperation-ClearPayload"></a> | |
### PointsUpdateOperation.ClearPayload | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| points | [PointsSelector](#qdrant-PointsSelector) | | Affected points | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-PointsUpdateOperation-DeletePayload"></a> | |
### PointsUpdateOperation.DeletePayload | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| keys | [string](#string) | repeated | | | |
| points_selector | [PointsSelector](#qdrant-PointsSelector) | optional | Affected points | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-PointsUpdateOperation-DeletePoints"></a> | |
### PointsUpdateOperation.DeletePoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| points | [PointsSelector](#qdrant-PointsSelector) | | Affected points | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-PointsUpdateOperation-DeleteVectors"></a> | |
### PointsUpdateOperation.DeleteVectors | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| points_selector | [PointsSelector](#qdrant-PointsSelector) | | Affected points | | |
| vectors | [VectorsSelector](#qdrant-VectorsSelector) | | List of vector names to delete | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-PointsUpdateOperation-OverwritePayload"></a> | |
### PointsUpdateOperation.OverwritePayload | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| payload | [PointsUpdateOperation.OverwritePayload.PayloadEntry](#qdrant-PointsUpdateOperation-OverwritePayload-PayloadEntry) | repeated | | | |
| points_selector | [PointsSelector](#qdrant-PointsSelector) | optional | Affected points | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
| key | [string](#string) | optional | Option for indicate property of payload | | |
<a name="qdrant-PointsUpdateOperation-OverwritePayload-PayloadEntry"></a> | |
### PointsUpdateOperation.OverwritePayload.PayloadEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-PointsUpdateOperation-PointStructList"></a> | |
### PointsUpdateOperation.PointStructList | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| points | [PointStruct](#qdrant-PointStruct) | repeated | | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-PointsUpdateOperation-SetPayload"></a> | |
### PointsUpdateOperation.SetPayload | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| payload | [PointsUpdateOperation.SetPayload.PayloadEntry](#qdrant-PointsUpdateOperation-SetPayload-PayloadEntry) | repeated | | | |
| points_selector | [PointsSelector](#qdrant-PointsSelector) | optional | Affected points | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
| key | [string](#string) | optional | Option for indicate property of payload | | |
<a name="qdrant-PointsUpdateOperation-SetPayload-PayloadEntry"></a> | |
### PointsUpdateOperation.SetPayload.PayloadEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-PointsUpdateOperation-UpdateVectors"></a> | |
### PointsUpdateOperation.UpdateVectors | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| points | [PointVectors](#qdrant-PointVectors) | repeated | List of points and vectors to update | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-PrefetchQuery"></a> | |
### PrefetchQuery | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| prefetch | [PrefetchQuery](#qdrant-PrefetchQuery) | repeated | Sub-requests to perform first. If present, the query will be performed on the results of the prefetches. | | |
| query | [Query](#qdrant-Query) | optional | Query to perform. If missing, returns points ordered by their IDs. | | |
| using | [string](#string) | optional | Define which vector to use for querying. If missing, the default vector is is used. | | |
| filter | [Filter](#qdrant-Filter) | optional | Filter conditions - return only those points that satisfy the specified conditions. | | |
| params | [SearchParams](#qdrant-SearchParams) | optional | Search params for when there is no prefetch. | | |
| score_threshold | [float](#float) | optional | Return points with scores better than this threshold. | | |
| limit | [uint64](#uint64) | optional | Max number of points. Default is 10 | | |
| lookup_from | [LookupLocation](#qdrant-LookupLocation) | optional | The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector | | |
<a name="qdrant-QuantizationSearchParams"></a> | |
### QuantizationSearchParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| ignore | [bool](#bool) | optional | If set to true, search will ignore quantized vector data | | |
| rescore | [bool](#bool) | optional | If true, use original vectors to re-score top-k results. If ignored, qdrant decides automatically does rescore enabled or not. | | |
| oversampling | [double](#double) | optional | Oversampling factor for quantization. | |
Defines how many extra vectors should be pre-selected using quantized index, and then re-scored using original vectors. | |
For example, if `oversampling` is 2.4 and `limit` is 100, then 240 vectors will be pre-selected using quantized index, and then top-100 will be returned after re-scoring. | | |
<a name="qdrant-Query"></a> | |
### Query | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| nearest | [VectorInput](#qdrant-VectorInput) | | Find the nearest neighbors to this vector. | | |
| recommend | [RecommendInput](#qdrant-RecommendInput) | | Use multiple positive and negative vectors to find the results. | | |
| discover | [DiscoverInput](#qdrant-DiscoverInput) | | Search for nearest points, but constrain the search space with context | | |
| context | [ContextInput](#qdrant-ContextInput) | | Return points that live in positive areas. | | |
| order_by | [OrderBy](#qdrant-OrderBy) | | Order the points by a payload field. | | |
| fusion | [Fusion](#qdrant-Fusion) | | Fuse the results of multiple prefetches. | | |
| sample | [Sample](#qdrant-Sample) | | Sample points from the collection. | | |
<a name="qdrant-QueryBatchPoints"></a> | |
### QueryBatchPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | | | |
| query_points | [QueryPoints](#qdrant-QueryPoints) | repeated | | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
<a name="qdrant-QueryBatchResponse"></a> | |
### QueryBatchResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [BatchResult](#qdrant-BatchResult) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-QueryGroupsResponse"></a> | |
### QueryGroupsResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [GroupsResult](#qdrant-GroupsResult) | | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-QueryPointGroups"></a> | |
### QueryPointGroups | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| prefetch | [PrefetchQuery](#qdrant-PrefetchQuery) | repeated | Sub-requests to perform first. If present, the query will be performed on the results of the prefetches. | | |
| query | [Query](#qdrant-Query) | optional | Query to perform. If missing, returns points ordered by their IDs. | | |
| using | [string](#string) | optional | Define which vector to use for querying. If missing, the default vector is used. | | |
| filter | [Filter](#qdrant-Filter) | optional | Filter conditions - return only those points that satisfy the specified conditions. | | |
| params | [SearchParams](#qdrant-SearchParams) | optional | Search params for when there is no prefetch. | | |
| score_threshold | [float](#float) | optional | Return points with scores better than this threshold. | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | | Options for specifying which payload to include or not | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into response | | |
| lookup_from | [LookupLocation](#qdrant-LookupLocation) | optional | The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector | | |
| limit | [uint64](#uint64) | optional | Max number of points. Default is 3. | | |
| group_size | [uint64](#uint64) | optional | Maximum amount of points to return per group. Default to 10. | | |
| group_by | [string](#string) | | Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups. | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| with_lookup | [WithLookup](#qdrant-WithLookup) | optional | Options for specifying how to use the group id to lookup points in another collection | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
<a name="qdrant-QueryPoints"></a> | |
### QueryPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| prefetch | [PrefetchQuery](#qdrant-PrefetchQuery) | repeated | Sub-requests to perform first. If present, the query will be performed on the results of the prefetches. | | |
| query | [Query](#qdrant-Query) | optional | Query to perform. If missing, returns points ordered by their IDs. | | |
| using | [string](#string) | optional | Define which vector to use for querying. If missing, the default vector is used. | | |
| filter | [Filter](#qdrant-Filter) | optional | Filter conditions - return only those points that satisfy the specified conditions. | | |
| params | [SearchParams](#qdrant-SearchParams) | optional | Search params for when there is no prefetch. | | |
| score_threshold | [float](#float) | optional | Return points with scores better than this threshold. | | |
| limit | [uint64](#uint64) | optional | Max number of points. Default is 10. | | |
| offset | [uint64](#uint64) | optional | Offset of the result. Skip this many points. Default is 0. | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into the response. | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | optional | Options for specifying which payload to include or not. | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees. | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards. | | |
| lookup_from | [LookupLocation](#qdrant-LookupLocation) | optional | The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
<a name="qdrant-QueryResponse"></a> | |
### QueryResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [ScoredPoint](#qdrant-ScoredPoint) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-Range"></a> | |
### Range | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| lt | [double](#double) | optional | | | |
| gt | [double](#double) | optional | | | |
| gte | [double](#double) | optional | | | |
| lte | [double](#double) | optional | | | |
<a name="qdrant-ReadConsistency"></a> | |
### ReadConsistency | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| type | [ReadConsistencyType](#qdrant-ReadConsistencyType) | | Common read consistency configurations | | |
| factor | [uint64](#uint64) | | Send request to a specified number of nodes, and return points which are present on all of them | | |
<a name="qdrant-RecommendBatchPoints"></a> | |
### RecommendBatchPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| recommend_points | [RecommendPoints](#qdrant-RecommendPoints) | repeated | | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
<a name="qdrant-RecommendBatchResponse"></a> | |
### RecommendBatchResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [BatchResult](#qdrant-BatchResult) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-RecommendGroupsResponse"></a> | |
### RecommendGroupsResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [GroupsResult](#qdrant-GroupsResult) | | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-RecommendInput"></a> | |
### RecommendInput | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| positive | [VectorInput](#qdrant-VectorInput) | repeated | Look for vectors closest to the vectors from these points | | |
| negative | [VectorInput](#qdrant-VectorInput) | repeated | Try to avoid vectors like the vector from these points | | |
| strategy | [RecommendStrategy](#qdrant-RecommendStrategy) | optional | How to use the provided vectors to find the results | | |
<a name="qdrant-RecommendPointGroups"></a> | |
### RecommendPointGroups | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| positive | [PointId](#qdrant-PointId) | repeated | Look for vectors closest to the vectors from these points | | |
| negative | [PointId](#qdrant-PointId) | repeated | Try to avoid vectors like the vector from these points | | |
| filter | [Filter](#qdrant-Filter) | | Filter conditions - return only those points that satisfy the specified conditions | | |
| limit | [uint32](#uint32) | | Max number of groups in result | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | | Options for specifying which payload to include or not | | |
| params | [SearchParams](#qdrant-SearchParams) | | Search config | | |
| score_threshold | [float](#float) | optional | If provided - cut off results with worse scores | | |
| using | [string](#string) | optional | Define which vector to use for recommendation, if not specified - default vector | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into response | | |
| lookup_from | [LookupLocation](#qdrant-LookupLocation) | optional | Name of the collection to use for points lookup, if not specified - use current collection | | |
| group_by | [string](#string) | | Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups. | | |
| group_size | [uint32](#uint32) | | Maximum amount of points to return per group | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| with_lookup | [WithLookup](#qdrant-WithLookup) | optional | Options for specifying how to use the group id to lookup points in another collection | | |
| strategy | [RecommendStrategy](#qdrant-RecommendStrategy) | optional | How to use the example vectors to find the results | | |
| positive_vectors | [Vector](#qdrant-Vector) | repeated | Look for vectors closest to those | | |
| negative_vectors | [Vector](#qdrant-Vector) | repeated | Try to avoid vectors like this | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
<a name="qdrant-RecommendPoints"></a> | |
### RecommendPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| positive | [PointId](#qdrant-PointId) | repeated | Look for vectors closest to the vectors from these points | | |
| negative | [PointId](#qdrant-PointId) | repeated | Try to avoid vectors like the vector from these points | | |
| filter | [Filter](#qdrant-Filter) | | Filter conditions - return only those points that satisfy the specified conditions | | |
| limit | [uint64](#uint64) | | Max number of result | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | | Options for specifying which payload to include or not | | |
| params | [SearchParams](#qdrant-SearchParams) | | Search config | | |
| score_threshold | [float](#float) | optional | If provided - cut off results with worse scores | | |
| offset | [uint64](#uint64) | optional | Offset of the result | | |
| using | [string](#string) | optional | Define which vector to use for recommendation, if not specified - default vector | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into response | | |
| lookup_from | [LookupLocation](#qdrant-LookupLocation) | optional | Name of the collection to use for points lookup, if not specified - use current collection | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| strategy | [RecommendStrategy](#qdrant-RecommendStrategy) | optional | How to use the example vectors to find the results | | |
| positive_vectors | [Vector](#qdrant-Vector) | repeated | Look for vectors closest to those | | |
| negative_vectors | [Vector](#qdrant-Vector) | repeated | Try to avoid vectors like this | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
<a name="qdrant-RecommendResponse"></a> | |
### RecommendResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [ScoredPoint](#qdrant-ScoredPoint) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-RepeatedIntegers"></a> | |
### RepeatedIntegers | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| integers | [int64](#int64) | repeated | | | |
<a name="qdrant-RepeatedStrings"></a> | |
### RepeatedStrings | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| strings | [string](#string) | repeated | | | |
<a name="qdrant-RetrievedPoint"></a> | |
### RetrievedPoint | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| id | [PointId](#qdrant-PointId) | | | | |
| payload | [RetrievedPoint.PayloadEntry](#qdrant-RetrievedPoint-PayloadEntry) | repeated | | | |
| vectors | [VectorsOutput](#qdrant-VectorsOutput) | optional | | | |
| shard_key | [ShardKey](#qdrant-ShardKey) | optional | Shard key | | |
| order_value | [OrderValue](#qdrant-OrderValue) | optional | Order-by value | | |
<a name="qdrant-RetrievedPoint-PayloadEntry"></a> | |
### RetrievedPoint.PayloadEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-ScoredPoint"></a> | |
### ScoredPoint | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| id | [PointId](#qdrant-PointId) | | Point id | | |
| payload | [ScoredPoint.PayloadEntry](#qdrant-ScoredPoint-PayloadEntry) | repeated | Payload | | |
| score | [float](#float) | | Similarity score | | |
| version | [uint64](#uint64) | | Last update operation applied to this point | | |
| vectors | [VectorsOutput](#qdrant-VectorsOutput) | optional | Vectors to search | | |
| shard_key | [ShardKey](#qdrant-ShardKey) | optional | Shard key | | |
| order_value | [OrderValue](#qdrant-OrderValue) | optional | Order by value | | |
<a name="qdrant-ScoredPoint-PayloadEntry"></a> | |
### ScoredPoint.PayloadEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-ScrollPoints"></a> | |
### ScrollPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | | | |
| filter | [Filter](#qdrant-Filter) | | Filter conditions - return only those points that satisfy the specified conditions | | |
| offset | [PointId](#qdrant-PointId) | optional | Start with this ID | | |
| limit | [uint32](#uint32) | optional | Max number of result | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | | Options for specifying which payload to include or not | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into response | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
| order_by | [OrderBy](#qdrant-OrderBy) | optional | Order the records by a payload field | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
<a name="qdrant-ScrollResponse"></a> | |
### ScrollResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| next_page_offset | [PointId](#qdrant-PointId) | optional | Use this offset for the next query | | |
| result | [RetrievedPoint](#qdrant-RetrievedPoint) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-SearchBatchPoints"></a> | |
### SearchBatchPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| search_points | [SearchPoints](#qdrant-SearchPoints) | repeated | | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
<a name="qdrant-SearchBatchResponse"></a> | |
### SearchBatchResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [BatchResult](#qdrant-BatchResult) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-SearchGroupsResponse"></a> | |
### SearchGroupsResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [GroupsResult](#qdrant-GroupsResult) | | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-SearchMatrixOffsets"></a> | |
### SearchMatrixOffsets | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| offsets_row | [uint64](#uint64) | repeated | Row indices of the matrix | | |
| offsets_col | [uint64](#uint64) | repeated | Column indices of the matrix | | |
| scores | [float](#float) | repeated | Scores associated with matrix coordinates | | |
| ids | [PointId](#qdrant-PointId) | repeated | Ids of the points in order | | |
<a name="qdrant-SearchMatrixOffsetsResponse"></a> | |
### SearchMatrixOffsetsResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [SearchMatrixOffsets](#qdrant-SearchMatrixOffsets) | | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-SearchMatrixPair"></a> | |
### SearchMatrixPair | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| a | [PointId](#qdrant-PointId) | | first id of the pair | | |
| b | [PointId](#qdrant-PointId) | | second id of the pair | | |
| score | [float](#float) | | score of the pair | | |
<a name="qdrant-SearchMatrixPairs"></a> | |
### SearchMatrixPairs | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| pairs | [SearchMatrixPair](#qdrant-SearchMatrixPair) | repeated | List of pairs of points with scores | | |
<a name="qdrant-SearchMatrixPairsResponse"></a> | |
### SearchMatrixPairsResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [SearchMatrixPairs](#qdrant-SearchMatrixPairs) | | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-SearchMatrixPoints"></a> | |
### SearchMatrixPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| filter | [Filter](#qdrant-Filter) | optional | Filter conditions - return only those points that satisfy the specified conditions. | | |
| sample | [uint64](#uint64) | optional | How many points to select and search within. Default is 10. | | |
| limit | [uint64](#uint64) | optional | How many neighbours per sample to find. Default is 3. | | |
| using | [string](#string) | optional | Define which vector to use for querying. If missing, the default vector is is used. | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
<a name="qdrant-SearchParams"></a> | |
### SearchParams | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| hnsw_ef | [uint64](#uint64) | optional | Params relevant to HNSW index. Size of the beam in a beam-search. Larger the value - more accurate the result, more time required for search. | | |
| exact | [bool](#bool) | optional | Search without approximation. If set to true, search may run long but with exact results. | | |
| quantization | [QuantizationSearchParams](#qdrant-QuantizationSearchParams) | optional | If set to true, search will ignore quantized vector data | | |
| indexed_only | [bool](#bool) | optional | If enabled, the engine will only perform search among indexed or small segments. Using this option prevents slow searches in case of delayed index, but does not guarantee that all uploaded vectors will be included in search results | | |
<a name="qdrant-SearchPointGroups"></a> | |
### SearchPointGroups | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| vector | [float](#float) | repeated | Vector to compare against | | |
| filter | [Filter](#qdrant-Filter) | | Filter conditions - return only those points that satisfy the specified conditions | | |
| limit | [uint32](#uint32) | | Max number of result | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | | Options for specifying which payload to include or not | | |
| params | [SearchParams](#qdrant-SearchParams) | | Search config | | |
| score_threshold | [float](#float) | optional | If provided - cut off results with worse scores | | |
| vector_name | [string](#string) | optional | Which vector to use for search, if not specified - use default vector | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into response | | |
| group_by | [string](#string) | | Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups. | | |
| group_size | [uint32](#uint32) | | Maximum amount of points to return per group | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| with_lookup | [WithLookup](#qdrant-WithLookup) | optional | Options for specifying how to use the group id to lookup points in another collection | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
| sparse_indices | [SparseIndices](#qdrant-SparseIndices) | optional | | | |
<a name="qdrant-SearchPoints"></a> | |
### SearchPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| vector | [float](#float) | repeated | vector | | |
| filter | [Filter](#qdrant-Filter) | | Filter conditions - return only those points that satisfy the specified conditions | | |
| limit | [uint64](#uint64) | | Max number of result | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | | Options for specifying which payload to include or not | | |
| params | [SearchParams](#qdrant-SearchParams) | | Search config | | |
| score_threshold | [float](#float) | optional | If provided - cut off results with worse scores | | |
| offset | [uint64](#uint64) | optional | Offset of the result | | |
| vector_name | [string](#string) | optional | Which vector to use for search, if not specified - use default vector | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include into response | | |
| read_consistency | [ReadConsistency](#qdrant-ReadConsistency) | optional | Options for specifying read consistency guarantees | | |
| timeout | [uint64](#uint64) | optional | If set, overrides global timeout setting for this request. Unit is seconds. | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Specify in which shards to look for the points, if not specified - look in all shards | | |
| sparse_indices | [SparseIndices](#qdrant-SparseIndices) | optional | | | |
<a name="qdrant-SearchResponse"></a> | |
### SearchResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [ScoredPoint](#qdrant-ScoredPoint) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
| usage | [HardwareUsage](#qdrant-HardwareUsage) | optional | | | |
<a name="qdrant-SetPayloadPoints"></a> | |
### SetPayloadPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| payload | [SetPayloadPoints.PayloadEntry](#qdrant-SetPayloadPoints-PayloadEntry) | repeated | New payload values | | |
| points_selector | [PointsSelector](#qdrant-PointsSelector) | optional | Affected points | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
| key | [string](#string) | optional | Option for indicate property of payload | | |
<a name="qdrant-SetPayloadPoints-PayloadEntry"></a> | |
### SetPayloadPoints.PayloadEntry | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| key | [string](#string) | | | | |
| value | [Value](#qdrant-Value) | | | | |
<a name="qdrant-ShardKeySelector"></a> | |
### ShardKeySelector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| shard_keys | [ShardKey](#qdrant-ShardKey) | repeated | List of shard keys which should be used in the request | | |
<a name="qdrant-SparseIndices"></a> | |
### SparseIndices | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| data | [uint32](#uint32) | repeated | | | |
<a name="qdrant-SparseVector"></a> | |
### SparseVector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| values | [float](#float) | repeated | | | |
| indices | [uint32](#uint32) | repeated | | | |
<a name="qdrant-StartFrom"></a> | |
### StartFrom | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| float | [double](#double) | | | | |
| integer | [int64](#int64) | | | | |
| timestamp | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | | | |
| datetime | [string](#string) | | | | |
<a name="qdrant-TargetVector"></a> | |
### TargetVector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| single | [VectorExample](#qdrant-VectorExample) | | | | |
<a name="qdrant-UpdateBatchPoints"></a> | |
### UpdateBatchPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| operations | [PointsUpdateOperation](#qdrant-PointsUpdateOperation) | repeated | | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
<a name="qdrant-UpdateBatchResponse"></a> | |
### UpdateBatchResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| result | [UpdateResult](#qdrant-UpdateResult) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-UpdatePointVectors"></a> | |
### UpdatePointVectors | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| points | [PointVectors](#qdrant-PointVectors) | repeated | List of points and vectors to update | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-UpdateResult"></a> | |
### UpdateResult | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| operation_id | [uint64](#uint64) | optional | Number of operation | | |
| status | [UpdateStatus](#qdrant-UpdateStatus) | | Operation status | | |
<a name="qdrant-UpsertPoints"></a> | |
### UpsertPoints | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | name of the collection | | |
| wait | [bool](#bool) | optional | Wait until the changes have been applied? | | |
| points | [PointStruct](#qdrant-PointStruct) | repeated | | | |
| ordering | [WriteOrdering](#qdrant-WriteOrdering) | optional | Write ordering guarantees | | |
| shard_key_selector | [ShardKeySelector](#qdrant-ShardKeySelector) | optional | Option for custom sharding to specify used shard keys | | |
<a name="qdrant-ValuesCount"></a> | |
### ValuesCount | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| lt | [uint64](#uint64) | optional | | | |
| gt | [uint64](#uint64) | optional | | | |
| gte | [uint64](#uint64) | optional | | | |
| lte | [uint64](#uint64) | optional | | | |
<a name="qdrant-Vector"></a> | |
### Vector | |
Legacy vector format, which determines the vector type by the configuration of its fields. | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| data | [float](#float) | repeated | Vector data (flatten for multi vectors), deprecated | | |
| indices | [SparseIndices](#qdrant-SparseIndices) | optional | Sparse indices for sparse vectors, deprecated | | |
| vectors_count | [uint32](#uint32) | optional | Number of vectors per multi vector, deprecated | | |
| dense | [DenseVector](#qdrant-DenseVector) | | Dense vector | | |
| sparse | [SparseVector](#qdrant-SparseVector) | | Sparse vector | | |
| multi_dense | [MultiDenseVector](#qdrant-MultiDenseVector) | | Multi dense vector | | |
| document | [Document](#qdrant-Document) | | | | |
| image | [Image](#qdrant-Image) | | | | |
| object | [InferenceObject](#qdrant-InferenceObject) | | | | |
<a name="qdrant-VectorExample"></a> | |
### VectorExample | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| id | [PointId](#qdrant-PointId) | | | | |
| vector | [Vector](#qdrant-Vector) | | | | |
<a name="qdrant-VectorInput"></a> | |
### VectorInput | |
Vector type to be used in queries. Ids will be substituted with their corresponding vectors from the collection. | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| id | [PointId](#qdrant-PointId) | | | | |
| dense | [DenseVector](#qdrant-DenseVector) | | | | |
| sparse | [SparseVector](#qdrant-SparseVector) | | | | |
| multi_dense | [MultiDenseVector](#qdrant-MultiDenseVector) | | | | |
| document | [Document](#qdrant-Document) | | | | |
| image | [Image](#qdrant-Image) | | | | |
| object | [InferenceObject](#qdrant-InferenceObject) | | | | |
<a name="qdrant-VectorOutput"></a> | |
### VectorOutput | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| data | [float](#float) | repeated | Vector data (flatten for multi vectors), deprecated | | |
| indices | [SparseIndices](#qdrant-SparseIndices) | optional | Sparse indices for sparse vectors, deprecated | | |
| vectors_count | [uint32](#uint32) | optional | Number of vectors per multi vector, deprecated | | |
| dense | [DenseVector](#qdrant-DenseVector) | | Dense vector | | |
| sparse | [SparseVector](#qdrant-SparseVector) | | Sparse vector | | |
| multi_dense | [MultiDenseVector](#qdrant-MultiDenseVector) | | Multi dense vector | | |
<a name="qdrant-Vectors"></a> | |
### Vectors | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| vector | [Vector](#qdrant-Vector) | | | | |
| vectors | [NamedVectors](#qdrant-NamedVectors) | | | | |
<a name="qdrant-VectorsOutput"></a> | |
### VectorsOutput | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| vector | [VectorOutput](#qdrant-VectorOutput) | | | | |
| vectors | [NamedVectorsOutput](#qdrant-NamedVectorsOutput) | | | | |
<a name="qdrant-VectorsSelector"></a> | |
### VectorsSelector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| names | [string](#string) | repeated | List of vectors to include into result | | |
<a name="qdrant-WithLookup"></a> | |
### WithLookup | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection | [string](#string) | | Name of the collection to use for points lookup | | |
| with_payload | [WithPayloadSelector](#qdrant-WithPayloadSelector) | optional | Options for specifying which payload to include (or not) | | |
| with_vectors | [WithVectorsSelector](#qdrant-WithVectorsSelector) | optional | Options for specifying which vectors to include (or not) | | |
<a name="qdrant-WithPayloadSelector"></a> | |
### WithPayloadSelector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| enable | [bool](#bool) | | If `true` - return all payload, if `false` - none | | |
| include | [PayloadIncludeSelector](#qdrant-PayloadIncludeSelector) | | | | |
| exclude | [PayloadExcludeSelector](#qdrant-PayloadExcludeSelector) | | | | |
<a name="qdrant-WithVectorsSelector"></a> | |
### WithVectorsSelector | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| enable | [bool](#bool) | | If `true` - return all vectors, if `false` - none | | |
| include | [VectorsSelector](#qdrant-VectorsSelector) | | List of payload keys to include into result | | |
<a name="qdrant-WriteOrdering"></a> | |
### WriteOrdering | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| type | [WriteOrderingType](#qdrant-WriteOrderingType) | | Write ordering guarantees | | |
<a name="qdrant-Direction"></a> | |
### Direction | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| Asc | 0 | | | |
| Desc | 1 | | | |
<a name="qdrant-FieldType"></a> | |
### FieldType | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| FieldTypeKeyword | 0 | | | |
| FieldTypeInteger | 1 | | | |
| FieldTypeFloat | 2 | | | |
| FieldTypeGeo | 3 | | | |
| FieldTypeText | 4 | | | |
| FieldTypeBool | 5 | | | |
| FieldTypeDatetime | 6 | | | |
| FieldTypeUuid | 7 | | | |
<a name="qdrant-Fusion"></a> | |
### Fusion | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| RRF | 0 | Reciprocal Rank Fusion | | |
| DBSF | 1 | Distribution-Based Score Fusion | | |
<a name="qdrant-ReadConsistencyType"></a> | |
### ReadConsistencyType | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| All | 0 | Send request to all nodes and return points which are present on all of them | | |
| Majority | 1 | Send requests to all nodes and return points which are present on majority of them | | |
| Quorum | 2 | Send requests to half + 1 nodes, return points which are present on all of them | | |
<a name="qdrant-RecommendStrategy"></a> | |
### RecommendStrategy | |
How to use positive and negative vectors to find the results, default is `AverageVector`. | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| AverageVector | 0 | Average positive and negative vectors and create a single query with the formula `query = avg_pos + avg_pos - avg_neg`. Then performs normal search. | | |
| BestScore | 1 | Uses custom search objective. Each candidate is compared against all examples, its score is then chosen from the `max(max_pos_score, max_neg_score)`. If the `max_neg_score` is chosen then it is squared and negated. | | |
<a name="qdrant-Sample"></a> | |
### Sample | |
Sample points from the collection | |
Available sampling methods: | |
* `random` - Random sampling | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| Random | 0 | | | |
<a name="qdrant-UpdateStatus"></a> | |
### UpdateStatus | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| UnknownUpdateStatus | 0 | | | |
| Acknowledged | 1 | Update is received, but not processed yet | | |
| Completed | 2 | Update is applied and ready for search | | |
| ClockRejected | 3 | Internal: update is rejected due to an outdated clock | | |
<a name="qdrant-WriteOrderingType"></a> | |
### WriteOrderingType | |
| Name | Number | Description | | |
| ---- | ------ | ----------- | | |
| Weak | 0 | Write operations may be reordered, works faster, default | | |
| Medium | 1 | Write operations go through dynamically selected leader, may be inconsistent for a short period of time in case of leader change | | |
| Strong | 2 | Write operations go through the permanent leader, consistent, but may be unavailable if leader is down | | |
<a name="points_service-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## points_service.proto | |
<a name="qdrant-Points"></a> | |
### Points | |
| Method Name | Request Type | Response Type | Description | | |
| ----------- | ------------ | ------------- | ------------| | |
| Upsert | [UpsertPoints](#qdrant-UpsertPoints) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Perform insert + updates on points. If a point with a given ID already exists - it will be overwritten. | | |
| Delete | [DeletePoints](#qdrant-DeletePoints) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Delete points | | |
| Get | [GetPoints](#qdrant-GetPoints) | [GetResponse](#qdrant-GetResponse) | Retrieve points | | |
| UpdateVectors | [UpdatePointVectors](#qdrant-UpdatePointVectors) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Update named vectors for point | | |
| DeleteVectors | [DeletePointVectors](#qdrant-DeletePointVectors) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Delete named vectors for points | | |
| SetPayload | [SetPayloadPoints](#qdrant-SetPayloadPoints) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Set payload for points | | |
| OverwritePayload | [SetPayloadPoints](#qdrant-SetPayloadPoints) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Overwrite payload for points | | |
| DeletePayload | [DeletePayloadPoints](#qdrant-DeletePayloadPoints) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Delete specified key payload for points | | |
| ClearPayload | [ClearPayloadPoints](#qdrant-ClearPayloadPoints) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Remove all payload for specified points | | |
| CreateFieldIndex | [CreateFieldIndexCollection](#qdrant-CreateFieldIndexCollection) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Create index for field in collection | | |
| DeleteFieldIndex | [DeleteFieldIndexCollection](#qdrant-DeleteFieldIndexCollection) | [PointsOperationResponse](#qdrant-PointsOperationResponse) | Delete field index for collection | | |
| Search | [SearchPoints](#qdrant-SearchPoints) | [SearchResponse](#qdrant-SearchResponse) | Retrieve closest points based on vector similarity and given filtering conditions | | |
| SearchBatch | [SearchBatchPoints](#qdrant-SearchBatchPoints) | [SearchBatchResponse](#qdrant-SearchBatchResponse) | Retrieve closest points based on vector similarity and given filtering conditions | | |
| SearchGroups | [SearchPointGroups](#qdrant-SearchPointGroups) | [SearchGroupsResponse](#qdrant-SearchGroupsResponse) | Retrieve closest points based on vector similarity and given filtering conditions, grouped by a given field | | |
| Scroll | [ScrollPoints](#qdrant-ScrollPoints) | [ScrollResponse](#qdrant-ScrollResponse) | Iterate over all or filtered points | | |
| Recommend | [RecommendPoints](#qdrant-RecommendPoints) | [RecommendResponse](#qdrant-RecommendResponse) | Look for the points which are closer to stored positive examples and at the same time further to negative examples. | | |
| RecommendBatch | [RecommendBatchPoints](#qdrant-RecommendBatchPoints) | [RecommendBatchResponse](#qdrant-RecommendBatchResponse) | Look for the points which are closer to stored positive examples and at the same time further to negative examples. | | |
| RecommendGroups | [RecommendPointGroups](#qdrant-RecommendPointGroups) | [RecommendGroupsResponse](#qdrant-RecommendGroupsResponse) | Look for the points which are closer to stored positive examples and at the same time further to negative examples, grouped by a given field | | |
| Discover | [DiscoverPoints](#qdrant-DiscoverPoints) | [DiscoverResponse](#qdrant-DiscoverResponse) | Use context and a target to find the most similar points to the target, constrained by the context. | |
When using only the context (without a target), a special search - called context search - is performed where pairs of points are used to generate a loss that guides the search towards the zone where most positive examples overlap. This means that the score minimizes the scenario of finding a point closer to a negative than to a positive part of a pair. | |
Since the score of a context relates to loss, the maximum score a point can get is 0.0, and it becomes normal that many points can have a score of 0.0. | |
When using target (with or without context), the score behaves a little different: The integer part of the score represents the rank with respect to the context, while the decimal part of the score relates to the distance to the target. The context part of the score for each pair is calculated +1 if the point is closer to a positive than to a negative part of a pair, and -1 otherwise. | | |
| DiscoverBatch | [DiscoverBatchPoints](#qdrant-DiscoverBatchPoints) | [DiscoverBatchResponse](#qdrant-DiscoverBatchResponse) | Batch request points based on { positive, negative } pairs of examples, and/or a target | | |
| Count | [CountPoints](#qdrant-CountPoints) | [CountResponse](#qdrant-CountResponse) | Count points in collection with given filtering conditions | | |
| UpdateBatch | [UpdateBatchPoints](#qdrant-UpdateBatchPoints) | [UpdateBatchResponse](#qdrant-UpdateBatchResponse) | Perform multiple update operations in one request | | |
| Query | [QueryPoints](#qdrant-QueryPoints) | [QueryResponse](#qdrant-QueryResponse) | Universally query points. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries. | | |
| QueryBatch | [QueryBatchPoints](#qdrant-QueryBatchPoints) | [QueryBatchResponse](#qdrant-QueryBatchResponse) | Universally query points in a batch fashion. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries. | | |
| QueryGroups | [QueryPointGroups](#qdrant-QueryPointGroups) | [QueryGroupsResponse](#qdrant-QueryGroupsResponse) | Universally query points in a group fashion. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries. | | |
| Facet | [FacetCounts](#qdrant-FacetCounts) | [FacetResponse](#qdrant-FacetResponse) | Perform facet counts. For each value in the field, count the number of points that have this value and match the conditions. | | |
| SearchMatrixPairs | [SearchMatrixPoints](#qdrant-SearchMatrixPoints) | [SearchMatrixPairsResponse](#qdrant-SearchMatrixPairsResponse) | Compute distance matrix for sampled points with a pair based output format | | |
| SearchMatrixOffsets | [SearchMatrixPoints](#qdrant-SearchMatrixPoints) | [SearchMatrixOffsetsResponse](#qdrant-SearchMatrixOffsetsResponse) | Compute distance matrix for sampled points with an offset based output format | | |
<a name="qdrant-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## qdrant.proto | |
<a name="qdrant-HealthCheckReply"></a> | |
### HealthCheckReply | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| title | [string](#string) | | | | |
| version | [string](#string) | | | | |
| commit | [string](#string) | optional | | | |
<a name="qdrant-HealthCheckRequest"></a> | |
### HealthCheckRequest | |
<a name="qdrant-Qdrant"></a> | |
### Qdrant | |
| Method Name | Request Type | Response Type | Description | | |
| ----------- | ------------ | ------------- | ------------| | |
| HealthCheck | [HealthCheckRequest](#qdrant-HealthCheckRequest) | [HealthCheckReply](#qdrant-HealthCheckReply) | | | |
<a name="qdrant_internal_service-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## qdrant_internal_service.proto | |
<a name="qdrant-GetConsensusCommitRequest"></a> | |
### GetConsensusCommitRequest | |
<a name="qdrant-GetConsensusCommitResponse"></a> | |
### GetConsensusCommitResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| commit | [int64](#int64) | | Raft commit as u64 | | |
| term | [int64](#int64) | | Raft term as u64 | | |
<a name="qdrant-WaitOnConsensusCommitRequest"></a> | |
### WaitOnConsensusCommitRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| commit | [int64](#int64) | | Raft commit as u64 | | |
| term | [int64](#int64) | | Raft term as u64 | | |
| timeout | [int64](#int64) | | Timeout in seconds | | |
<a name="qdrant-WaitOnConsensusCommitResponse"></a> | |
### WaitOnConsensusCommitResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| ok | [bool](#bool) | | False if commit/term is diverged and never reached or if timed out. | | |
<a name="qdrant-QdrantInternal"></a> | |
### QdrantInternal | |
| Method Name | Request Type | Response Type | Description | | |
| ----------- | ------------ | ------------- | ------------| | |
| GetConsensusCommit | [GetConsensusCommitRequest](#qdrant-GetConsensusCommitRequest) | [GetConsensusCommitResponse](#qdrant-GetConsensusCommitResponse) | Get current commit and term on the target node. | | |
| WaitOnConsensusCommit | [WaitOnConsensusCommitRequest](#qdrant-WaitOnConsensusCommitRequest) | [WaitOnConsensusCommitResponse](#qdrant-WaitOnConsensusCommitResponse) | Wait until the target node reached the given commit ID. | | |
<a name="snapshots_service-proto"></a> | |
<p align="right"><a href="#top">Top</a></p> | |
## snapshots_service.proto | |
<a name="qdrant-CreateFullSnapshotRequest"></a> | |
### CreateFullSnapshotRequest | |
<a name="qdrant-CreateSnapshotRequest"></a> | |
### CreateSnapshotRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
<a name="qdrant-CreateSnapshotResponse"></a> | |
### CreateSnapshotResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| snapshot_description | [SnapshotDescription](#qdrant-SnapshotDescription) | | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-DeleteFullSnapshotRequest"></a> | |
### DeleteFullSnapshotRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| snapshot_name | [string](#string) | | Name of the full snapshot | | |
<a name="qdrant-DeleteSnapshotRequest"></a> | |
### DeleteSnapshotRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
| snapshot_name | [string](#string) | | Name of the collection snapshot | | |
<a name="qdrant-DeleteSnapshotResponse"></a> | |
### DeleteSnapshotResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-ListFullSnapshotsRequest"></a> | |
### ListFullSnapshotsRequest | |
<a name="qdrant-ListSnapshotsRequest"></a> | |
### ListSnapshotsRequest | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| collection_name | [string](#string) | | Name of the collection | | |
<a name="qdrant-ListSnapshotsResponse"></a> | |
### ListSnapshotsResponse | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| snapshot_descriptions | [SnapshotDescription](#qdrant-SnapshotDescription) | repeated | | | |
| time | [double](#double) | | Time spent to process | | |
<a name="qdrant-SnapshotDescription"></a> | |
### SnapshotDescription | |
| Field | Type | Label | Description | | |
| ----- | ---- | ----- | ----------- | | |
| name | [string](#string) | | Name of the snapshot | | |
| creation_time | [google.protobuf.Timestamp](#google-protobuf-Timestamp) | | Creation time of the snapshot | | |
| size | [int64](#int64) | | Size of the snapshot in bytes | | |
| checksum | [string](#string) | optional | SHA256 digest of the snapshot file | | |
<a name="qdrant-Snapshots"></a> | |
### Snapshots | |
| Method Name | Request Type | Response Type | Description | | |
| ----------- | ------------ | ------------- | ------------| | |
| Create | [CreateSnapshotRequest](#qdrant-CreateSnapshotRequest) | [CreateSnapshotResponse](#qdrant-CreateSnapshotResponse) | Create collection snapshot | | |
| List | [ListSnapshotsRequest](#qdrant-ListSnapshotsRequest) | [ListSnapshotsResponse](#qdrant-ListSnapshotsResponse) | List collection snapshots | | |
| Delete | [DeleteSnapshotRequest](#qdrant-DeleteSnapshotRequest) | [DeleteSnapshotResponse](#qdrant-DeleteSnapshotResponse) | Delete collection snapshot | | |
| CreateFull | [CreateFullSnapshotRequest](#qdrant-CreateFullSnapshotRequest) | [CreateSnapshotResponse](#qdrant-CreateSnapshotResponse) | Create full storage snapshot | | |
| ListFull | [ListFullSnapshotsRequest](#qdrant-ListFullSnapshotsRequest) | [ListSnapshotsResponse](#qdrant-ListSnapshotsResponse) | List full storage snapshots | | |
| DeleteFull | [DeleteFullSnapshotRequest](#qdrant-DeleteFullSnapshotRequest) | [DeleteSnapshotResponse](#qdrant-DeleteSnapshotResponse) | Delete full storage snapshot | | |
## Scalar Value Types | |
| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby | | |
| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- | | |
| <a name="double" /> double | | double | double | float | float64 | double | float | Float | | |
| <a name="float" /> float | | float | float | float | float32 | float | float | Float | | |
| <a name="int32" /> int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | | |
| <a name="int64" /> int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum | | |
| <a name="uint32" /> uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) | | |
| <a name="uint64" /> uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) | | |
| <a name="sint32" /> sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | | |
| <a name="sint64" /> sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum | | |
| <a name="fixed32" /> fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) | | |
| <a name="fixed64" /> fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum | | |
| <a name="sfixed32" /> sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) | | |
| <a name="sfixed64" /> sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum | | |
| <a name="bool" /> bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass | | |
| <a name="string" /> string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) | | |
| <a name="bytes" /> bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) | | |