qdrant

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 20, 2026 License: Apache-2.0 Imports: 25 Imported by: 1

Documentation

Overview

Qdrant Go Client

Package provides a client for interfacing with the Qdrant - https://qdrant.tech/ gRPC API.

Documentation

- Usage examples are available throughout the Qdrant documentation and API Reference

- Godoc Reference

Index

Constants

View Source
const (
	Collections_Get_FullMethodName                          = "/qdrant.Collections/Get"
	Collections_List_FullMethodName                         = "/qdrant.Collections/List"
	Collections_Create_FullMethodName                       = "/qdrant.Collections/Create"
	Collections_Update_FullMethodName                       = "/qdrant.Collections/Update"
	Collections_Delete_FullMethodName                       = "/qdrant.Collections/Delete"
	Collections_UpdateAliases_FullMethodName                = "/qdrant.Collections/UpdateAliases"
	Collections_ListCollectionAliases_FullMethodName        = "/qdrant.Collections/ListCollectionAliases"
	Collections_ListAliases_FullMethodName                  = "/qdrant.Collections/ListAliases"
	Collections_CollectionClusterInfo_FullMethodName        = "/qdrant.Collections/CollectionClusterInfo"
	Collections_CollectionExists_FullMethodName             = "/qdrant.Collections/CollectionExists"
	Collections_UpdateCollectionClusterSetup_FullMethodName = "/qdrant.Collections/UpdateCollectionClusterSetup"
	Collections_CreateShardKey_FullMethodName               = "/qdrant.Collections/CreateShardKey"
	Collections_DeleteShardKey_FullMethodName               = "/qdrant.Collections/DeleteShardKey"
)
View Source
const (
	Points_Upsert_FullMethodName              = "/qdrant.Points/Upsert"
	Points_Delete_FullMethodName              = "/qdrant.Points/Delete"
	Points_Get_FullMethodName                 = "/qdrant.Points/Get"
	Points_UpdateVectors_FullMethodName       = "/qdrant.Points/UpdateVectors"
	Points_DeleteVectors_FullMethodName       = "/qdrant.Points/DeleteVectors"
	Points_SetPayload_FullMethodName          = "/qdrant.Points/SetPayload"
	Points_OverwritePayload_FullMethodName    = "/qdrant.Points/OverwritePayload"
	Points_DeletePayload_FullMethodName       = "/qdrant.Points/DeletePayload"
	Points_ClearPayload_FullMethodName        = "/qdrant.Points/ClearPayload"
	Points_CreateFieldIndex_FullMethodName    = "/qdrant.Points/CreateFieldIndex"
	Points_DeleteFieldIndex_FullMethodName    = "/qdrant.Points/DeleteFieldIndex"
	Points_Search_FullMethodName              = "/qdrant.Points/Search"
	Points_SearchBatch_FullMethodName         = "/qdrant.Points/SearchBatch"
	Points_SearchGroups_FullMethodName        = "/qdrant.Points/SearchGroups"
	Points_Scroll_FullMethodName              = "/qdrant.Points/Scroll"
	Points_Recommend_FullMethodName           = "/qdrant.Points/Recommend"
	Points_RecommendBatch_FullMethodName      = "/qdrant.Points/RecommendBatch"
	Points_RecommendGroups_FullMethodName     = "/qdrant.Points/RecommendGroups"
	Points_Discover_FullMethodName            = "/qdrant.Points/Discover"
	Points_DiscoverBatch_FullMethodName       = "/qdrant.Points/DiscoverBatch"
	Points_Count_FullMethodName               = "/qdrant.Points/Count"
	Points_UpdateBatch_FullMethodName         = "/qdrant.Points/UpdateBatch"
	Points_Query_FullMethodName               = "/qdrant.Points/Query"
	Points_QueryBatch_FullMethodName          = "/qdrant.Points/QueryBatch"
	Points_QueryGroups_FullMethodName         = "/qdrant.Points/QueryGroups"
	Points_Facet_FullMethodName               = "/qdrant.Points/Facet"
	Points_SearchMatrixPairs_FullMethodName   = "/qdrant.Points/SearchMatrixPairs"
	Points_SearchMatrixOffsets_FullMethodName = "/qdrant.Points/SearchMatrixOffsets"
)
View Source
const (
	Snapshots_Create_FullMethodName     = "/qdrant.Snapshots/Create"
	Snapshots_List_FullMethodName       = "/qdrant.Snapshots/List"
	Snapshots_Delete_FullMethodName     = "/qdrant.Snapshots/Delete"
	Snapshots_CreateFull_FullMethodName = "/qdrant.Snapshots/CreateFull"
	Snapshots_ListFull_FullMethodName   = "/qdrant.Snapshots/ListFull"
	Snapshots_DeleteFull_FullMethodName = "/qdrant.Snapshots/DeleteFull"
)
View Source
const (
	Qdrant_HealthCheck_FullMethodName = "/qdrant.Qdrant/HealthCheck"
)

Variables

View Source
var (
	Datatype_name = map[int32]string{
		0: "Default",
		1: "Float32",
		2: "Uint8",
		3: "Float16",
	}
	Datatype_value = map[string]int32{
		"Default": 0,
		"Float32": 1,
		"Uint8":   2,
		"Float16": 3,
	}
)

Enum value maps for Datatype.

View Source
var (
	Modifier_name = map[int32]string{
		0: "None",
		1: "Idf",
	}
	Modifier_value = map[string]int32{
		"None": 0,
		"Idf":  1,
	}
)

Enum value maps for Modifier.

View Source
var (
	MultiVectorComparator_name = map[int32]string{
		0: "MaxSim",
	}
	MultiVectorComparator_value = map[string]int32{
		"MaxSim": 0,
	}
)

Enum value maps for MultiVectorComparator.

View Source
var (
	Distance_name = map[int32]string{
		0: "UnknownDistance",
		1: "Cosine",
		2: "Euclid",
		3: "Dot",
		4: "Manhattan",
	}
	Distance_value = map[string]int32{
		"UnknownDistance": 0,
		"Cosine":          1,
		"Euclid":          2,
		"Dot":             3,
		"Manhattan":       4,
	}
)

Enum value maps for Distance.

View Source
var (
	CollectionStatus_name = map[int32]string{
		0: "UnknownCollectionStatus",
		1: "Green",
		2: "Yellow",
		3: "Red",
		4: "Grey",
	}
	CollectionStatus_value = map[string]int32{
		"UnknownCollectionStatus": 0,
		"Green":                   1,
		"Yellow":                  2,
		"Red":                     3,
		"Grey":                    4,
	}
)

Enum value maps for CollectionStatus.

View Source
var (
	PayloadSchemaType_name = map[int32]string{
		0: "UnknownType",
		1: "Keyword",
		2: "Integer",
		3: "Float",
		4: "Geo",
		5: "Text",
		6: "Bool",
		7: "Datetime",
		8: "Uuid",
	}
	PayloadSchemaType_value = map[string]int32{
		"UnknownType": 0,
		"Keyword":     1,
		"Integer":     2,
		"Float":       3,
		"Geo":         4,
		"Text":        5,
		"Bool":        6,
		"Datetime":    7,
		"Uuid":        8,
	}
)

Enum value maps for PayloadSchemaType.

View Source
var (
	QuantizationType_name = map[int32]string{
		0: "UnknownQuantization",
		1: "Int8",
	}
	QuantizationType_value = map[string]int32{
		"UnknownQuantization": 0,
		"Int8":                1,
	}
)

Enum value maps for QuantizationType.

View Source
var (
	CompressionRatio_name = map[int32]string{
		0: "x4",
		1: "x8",
		2: "x16",
		3: "x32",
		4: "x64",
	}
	CompressionRatio_value = map[string]int32{
		"x4":  0,
		"x8":  1,
		"x16": 2,
		"x32": 3,
		"x64": 4,
	}
)

Enum value maps for CompressionRatio.

View Source
var (
	BinaryQuantizationEncoding_name = map[int32]string{
		0: "OneBit",
		1: "TwoBits",
		2: "OneAndHalfBits",
	}
	BinaryQuantizationEncoding_value = map[string]int32{
		"OneBit":         0,
		"TwoBits":        1,
		"OneAndHalfBits": 2,
	}
)

Enum value maps for BinaryQuantizationEncoding.

View Source
var (
	ShardingMethod_name = map[int32]string{
		0: "Auto",
		1: "Custom",
	}
	ShardingMethod_value = map[string]int32{
		"Auto":   0,
		"Custom": 1,
	}
)

Enum value maps for ShardingMethod.

View Source
var (
	TokenizerType_name = map[int32]string{
		0: "Unknown",
		1: "Prefix",
		2: "Whitespace",
		3: "Word",
		4: "Multilingual",
	}
	TokenizerType_value = map[string]int32{
		"Unknown":      0,
		"Prefix":       1,
		"Whitespace":   2,
		"Word":         3,
		"Multilingual": 4,
	}
)

Enum value maps for TokenizerType.

View Source
var (
	ReplicaState_name = map[int32]string{
		0: "Active",
		1: "Dead",
		2: "Partial",
		3: "Initializing",
		4: "Listener",
		5: "PartialSnapshot",
		6: "Recovery",
		7: "Resharding",
		8: "ReshardingScaleDown",
		9: "ActiveRead",
	}
	ReplicaState_value = map[string]int32{
		"Active":              0,
		"Dead":                1,
		"Partial":             2,
		"Initializing":        3,
		"Listener":            4,
		"PartialSnapshot":     5,
		"Recovery":            6,
		"Resharding":          7,
		"ReshardingScaleDown": 8,
		"ActiveRead":          9,
	}
)

Enum value maps for ReplicaState.

View Source
var (
	ReshardingDirection_name = map[int32]string{
		0: "Up",
		1: "Down",
	}
	ReshardingDirection_value = map[string]int32{
		"Up":   0,
		"Down": 1,
	}
)

Enum value maps for ReshardingDirection.

View Source
var (
	ShardTransferMethod_name = map[int32]string{
		0: "StreamRecords",
		1: "Snapshot",
		2: "WalDelta",
		3: "ReshardingStreamRecords",
	}
	ShardTransferMethod_value = map[string]int32{
		"StreamRecords":           0,
		"Snapshot":                1,
		"WalDelta":                2,
		"ReshardingStreamRecords": 3,
	}
)

Enum value maps for ShardTransferMethod.

View Source
var (
	MaxOptimizationThreads_Setting_name = map[int32]string{
		0: "Auto",
	}
	MaxOptimizationThreads_Setting_value = map[string]int32{
		"Auto": 0,
	}
)

Enum value maps for MaxOptimizationThreads_Setting.

View Source
var (
	BinaryQuantizationQueryEncoding_Setting_name = map[int32]string{
		0: "Default",
		1: "Binary",
		2: "Scalar4Bits",
		3: "Scalar8Bits",
	}
	BinaryQuantizationQueryEncoding_Setting_value = map[string]int32{
		"Default":     0,
		"Binary":      1,
		"Scalar4Bits": 2,
		"Scalar8Bits": 3,
	}
)

Enum value maps for BinaryQuantizationQueryEncoding_Setting.

View Source
var (
	NullValue_name = map[int32]string{
		0: "NULL_VALUE",
	}
	NullValue_value = map[string]int32{
		"NULL_VALUE": 0,
	}
)

Enum value maps for NullValue.

View Source
var (
	WriteOrderingType_name = map[int32]string{
		0: "Weak",
		1: "Medium",
		2: "Strong",
	}
	WriteOrderingType_value = map[string]int32{
		"Weak":   0,
		"Medium": 1,
		"Strong": 2,
	}
)

Enum value maps for WriteOrderingType.

View Source
var (
	ReadConsistencyType_name = map[int32]string{
		0: "All",
		1: "Majority",
		2: "Quorum",
	}
	ReadConsistencyType_value = map[string]int32{
		"All":      0,
		"Majority": 1,
		"Quorum":   2,
	}
)

Enum value maps for ReadConsistencyType.

View Source
var (
	FieldType_name = map[int32]string{
		0: "FieldTypeKeyword",
		1: "FieldTypeInteger",
		2: "FieldTypeFloat",
		3: "FieldTypeGeo",
		4: "FieldTypeText",
		5: "FieldTypeBool",
		6: "FieldTypeDatetime",
		7: "FieldTypeUuid",
	}
	FieldType_value = map[string]int32{
		"FieldTypeKeyword":  0,
		"FieldTypeInteger":  1,
		"FieldTypeFloat":    2,
		"FieldTypeGeo":      3,
		"FieldTypeText":     4,
		"FieldTypeBool":     5,
		"FieldTypeDatetime": 6,
		"FieldTypeUuid":     7,
	}
)

Enum value maps for FieldType.

View Source
var (
	Direction_name = map[int32]string{
		0: "Asc",
		1: "Desc",
	}
	Direction_value = map[string]int32{
		"Asc":  0,
		"Desc": 1,
	}
)

Enum value maps for Direction.

View Source
var (
	RecommendStrategy_name = map[int32]string{
		0: "AverageVector",
		1: "BestScore",
		2: "SumScores",
	}
	RecommendStrategy_value = map[string]int32{
		"AverageVector": 0,
		"BestScore":     1,
		"SumScores":     2,
	}
)

Enum value maps for RecommendStrategy.

View Source
var (
	Fusion_name = map[int32]string{
		0: "RRF",
		1: "DBSF",
	}
	Fusion_value = map[string]int32{
		"RRF":  0,
		"DBSF": 1,
	}
)

Enum value maps for Fusion.

View Source
var (
	Sample_name = map[int32]string{
		0: "Random",
	}
	Sample_value = map[string]int32{
		"Random": 0,
	}
)

Enum value maps for Sample.

View Source
var (
	UpdateStatus_name = map[int32]string{
		0: "UnknownUpdateStatus",
		1: "Acknowledged",
		2: "Completed",
		3: "ClockRejected",
	}
	UpdateStatus_value = map[string]int32{
		"UnknownUpdateStatus": 0,
		"Acknowledged":        1,
		"Completed":           2,
		"ClockRejected":       3,
	}
)

Enum value maps for UpdateStatus.

View Source
var Collections_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "qdrant.Collections",
	HandlerType: (*CollectionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _Collections_Get_Handler,
		},
		{
			MethodName: "List",
			Handler:    _Collections_List_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Collections_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Collections_Update_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Collections_Delete_Handler,
		},
		{
			MethodName: "UpdateAliases",
			Handler:    _Collections_UpdateAliases_Handler,
		},
		{
			MethodName: "ListCollectionAliases",
			Handler:    _Collections_ListCollectionAliases_Handler,
		},
		{
			MethodName: "ListAliases",
			Handler:    _Collections_ListAliases_Handler,
		},
		{
			MethodName: "CollectionClusterInfo",
			Handler:    _Collections_CollectionClusterInfo_Handler,
		},
		{
			MethodName: "CollectionExists",
			Handler:    _Collections_CollectionExists_Handler,
		},
		{
			MethodName: "UpdateCollectionClusterSetup",
			Handler:    _Collections_UpdateCollectionClusterSetup_Handler,
		},
		{
			MethodName: "CreateShardKey",
			Handler:    _Collections_CreateShardKey_Handler,
		},
		{
			MethodName: "DeleteShardKey",
			Handler:    _Collections_DeleteShardKey_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "collections_service.proto",
}

Collections_ServiceDesc is the grpc.ServiceDesc for Collections service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_collections_proto protoreflect.FileDescriptor
View Source
var File_collections_service_proto protoreflect.FileDescriptor
View Source
var File_json_with_int_proto protoreflect.FileDescriptor
View Source
var File_points_proto protoreflect.FileDescriptor
View Source
var File_points_service_proto protoreflect.FileDescriptor
View Source
var File_qdrant_common_proto protoreflect.FileDescriptor
View Source
var File_qdrant_proto protoreflect.FileDescriptor
View Source
var File_snapshots_service_proto protoreflect.FileDescriptor
View Source
var Points_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "qdrant.Points",
	HandlerType: (*PointsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Upsert",
			Handler:    _Points_Upsert_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Points_Delete_Handler,
		},
		{
			MethodName: "Get",
			Handler:    _Points_Get_Handler,
		},
		{
			MethodName: "UpdateVectors",
			Handler:    _Points_UpdateVectors_Handler,
		},
		{
			MethodName: "DeleteVectors",
			Handler:    _Points_DeleteVectors_Handler,
		},
		{
			MethodName: "SetPayload",
			Handler:    _Points_SetPayload_Handler,
		},
		{
			MethodName: "OverwritePayload",
			Handler:    _Points_OverwritePayload_Handler,
		},
		{
			MethodName: "DeletePayload",
			Handler:    _Points_DeletePayload_Handler,
		},
		{
			MethodName: "ClearPayload",
			Handler:    _Points_ClearPayload_Handler,
		},
		{
			MethodName: "CreateFieldIndex",
			Handler:    _Points_CreateFieldIndex_Handler,
		},
		{
			MethodName: "DeleteFieldIndex",
			Handler:    _Points_DeleteFieldIndex_Handler,
		},
		{
			MethodName: "Search",
			Handler:    _Points_Search_Handler,
		},
		{
			MethodName: "SearchBatch",
			Handler:    _Points_SearchBatch_Handler,
		},
		{
			MethodName: "SearchGroups",
			Handler:    _Points_SearchGroups_Handler,
		},
		{
			MethodName: "Scroll",
			Handler:    _Points_Scroll_Handler,
		},
		{
			MethodName: "Recommend",
			Handler:    _Points_Recommend_Handler,
		},
		{
			MethodName: "RecommendBatch",
			Handler:    _Points_RecommendBatch_Handler,
		},
		{
			MethodName: "RecommendGroups",
			Handler:    _Points_RecommendGroups_Handler,
		},
		{
			MethodName: "Discover",
			Handler:    _Points_Discover_Handler,
		},
		{
			MethodName: "DiscoverBatch",
			Handler:    _Points_DiscoverBatch_Handler,
		},
		{
			MethodName: "Count",
			Handler:    _Points_Count_Handler,
		},
		{
			MethodName: "UpdateBatch",
			Handler:    _Points_UpdateBatch_Handler,
		},
		{
			MethodName: "Query",
			Handler:    _Points_Query_Handler,
		},
		{
			MethodName: "QueryBatch",
			Handler:    _Points_QueryBatch_Handler,
		},
		{
			MethodName: "QueryGroups",
			Handler:    _Points_QueryGroups_Handler,
		},
		{
			MethodName: "Facet",
			Handler:    _Points_Facet_Handler,
		},
		{
			MethodName: "SearchMatrixPairs",
			Handler:    _Points_SearchMatrixPairs_Handler,
		},
		{
			MethodName: "SearchMatrixOffsets",
			Handler:    _Points_SearchMatrixOffsets_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "points_service.proto",
}

Points_ServiceDesc is the grpc.ServiceDesc for Points service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Qdrant_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "qdrant.Qdrant",
	HandlerType: (*QdrantServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "HealthCheck",
			Handler:    _Qdrant_HealthCheck_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "qdrant.proto",
}

Qdrant_ServiceDesc is the grpc.ServiceDesc for Qdrant service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Snapshots_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "qdrant.Snapshots",
	HandlerType: (*SnapshotsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Create",
			Handler:    _Snapshots_Create_Handler,
		},
		{
			MethodName: "List",
			Handler:    _Snapshots_List_Handler,
		},
		{
			MethodName: "Delete",
			Handler:    _Snapshots_Delete_Handler,
		},
		{
			MethodName: "CreateFull",
			Handler:    _Snapshots_CreateFull_Handler,
		},
		{
			MethodName: "ListFull",
			Handler:    _Snapshots_ListFull_Handler,
		},
		{
			MethodName: "DeleteFull",
			Handler:    _Snapshots_DeleteFull_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "snapshots_service.proto",
}

Snapshots_ServiceDesc is the grpc.ServiceDesc for Snapshots service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func IsCompatible

func IsCompatible(clientVersion, serverVersion string) bool

func NewValueMap

func NewValueMap(inputMap map[string]any) map[string]*Value

Converts a map of string to any to a map of string to *grpc.Value NOTE: This function panics if the conversion fails. Use TryValueMap() to have errors returned.

╔════════════════════════╤════════════════════════════════════════════╗
║ Go type                │ Conversion                                 ║
╠════════════════════════╪════════════════════════════════════════════╣
║ nil                    │ stored as NullValue                        ║
║ bool                   │ stored as BoolValue                        ║
║ int, int32, int64      │ stored as IntegerValue                     ║
║ uint, uint32, uint64   │ stored as IntegerValue                     ║
║ float32, float64       │ stored as DoubleValue                      ║
║ string                 │ stored as StringValue; must be valid UTF-8 ║
║ []byte                 │ stored as StringValue; base64-encoded      ║
║ map[string]interface{} │ stored as StructValue                      ║
║ []interface{}          │ stored as ListValue                        ║
╚════════════════════════╧════════════════════════════════════════════╝

func PtrOf

func PtrOf[T any](t T) *T

Creates a pointer to a value of any type.

func RegisterCollectionsServer

func RegisterCollectionsServer(s grpc.ServiceRegistrar, srv CollectionsServer)

func RegisterPointsServer

func RegisterPointsServer(s grpc.ServiceRegistrar, srv PointsServer)

func RegisterQdrantServer

func RegisterQdrantServer(s grpc.ServiceRegistrar, srv QdrantServer)

func RegisterSnapshotsServer

func RegisterSnapshotsServer(s grpc.ServiceRegistrar, srv SnapshotsServer)

func TryValueMap

func TryValueMap(inputMap map[string]any) (map[string]*Value, error)

Converts a map of string to any to a map of string to *grpc.Value Returns an error if the conversion fails.

Types

type AbortShardTransfer

type AbortShardTransfer struct {
	ShardId    uint32  `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	ToShardId  *uint32 `protobuf:"varint,4,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
	FromPeerId uint64  `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
	ToPeerId   uint64  `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*AbortShardTransfer) Descriptor deprecated

func (*AbortShardTransfer) Descriptor() ([]byte, []int)

Deprecated: Use AbortShardTransfer.ProtoReflect.Descriptor instead.

func (*AbortShardTransfer) GetFromPeerId

func (x *AbortShardTransfer) GetFromPeerId() uint64

func (*AbortShardTransfer) GetShardId

func (x *AbortShardTransfer) GetShardId() uint32

func (*AbortShardTransfer) GetToPeerId

func (x *AbortShardTransfer) GetToPeerId() uint64

func (*AbortShardTransfer) GetToShardId

func (x *AbortShardTransfer) GetToShardId() uint32

func (*AbortShardTransfer) ProtoMessage

func (*AbortShardTransfer) ProtoMessage()

func (*AbortShardTransfer) ProtoReflect

func (x *AbortShardTransfer) ProtoReflect() protoreflect.Message

func (*AbortShardTransfer) Reset

func (x *AbortShardTransfer) Reset()

func (*AbortShardTransfer) String

func (x *AbortShardTransfer) String() string

type AcornSearchParams

type AcornSearchParams struct {

	// If true, then ACORN may be used for the HNSW search based on filters
	// selectivity.
	//
	// Improves search recall for searches with multiple low-selectivity
	// payload filters, at cost of performance.
	Enable *bool `protobuf:"varint,1,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
	// Maximum selectivity of filters to enable ACORN.
	//
	// If estimated filters selectivity is higher than this value,
	// ACORN will not be used. Selectivity is estimated as:
	// `estimated number of points satisfying the filters / total number of points`.
	//
	// 0.0 for never, 1.0 for always. Default is 0.4.
	MaxSelectivity *float64 `protobuf:"fixed64,2,opt,name=max_selectivity,json=maxSelectivity,proto3,oneof" json:"max_selectivity,omitempty"`
	// contains filtered or unexported fields
}

func (*AcornSearchParams) Descriptor deprecated

func (*AcornSearchParams) Descriptor() ([]byte, []int)

Deprecated: Use AcornSearchParams.ProtoReflect.Descriptor instead.

func (*AcornSearchParams) GetEnable

func (x *AcornSearchParams) GetEnable() bool

func (*AcornSearchParams) GetMaxSelectivity

func (x *AcornSearchParams) GetMaxSelectivity() float64

func (*AcornSearchParams) ProtoMessage

func (*AcornSearchParams) ProtoMessage()

func (*AcornSearchParams) ProtoReflect

func (x *AcornSearchParams) ProtoReflect() protoreflect.Message

func (*AcornSearchParams) Reset

func (x *AcornSearchParams) Reset()

func (*AcornSearchParams) String

func (x *AcornSearchParams) String() string

type AliasDescription

type AliasDescription struct {
	AliasName      string `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`                // Name of the alias
	CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	// contains filtered or unexported fields
}

func (*AliasDescription) Descriptor deprecated

func (*AliasDescription) Descriptor() ([]byte, []int)

Deprecated: Use AliasDescription.ProtoReflect.Descriptor instead.

func (*AliasDescription) GetAliasName

func (x *AliasDescription) GetAliasName() string

func (*AliasDescription) GetCollectionName

func (x *AliasDescription) GetCollectionName() string

func (*AliasDescription) ProtoMessage

func (*AliasDescription) ProtoMessage()

func (*AliasDescription) ProtoReflect

func (x *AliasDescription) ProtoReflect() protoreflect.Message

func (*AliasDescription) Reset

func (x *AliasDescription) Reset()

func (*AliasDescription) String

func (x *AliasDescription) String() string

type AliasOperations

type AliasOperations struct {

	// Types that are assignable to Action:
	//
	//	*AliasOperations_CreateAlias
	//	*AliasOperations_RenameAlias
	//	*AliasOperations_DeleteAlias
	Action isAliasOperations_Action `protobuf_oneof:"action"`
	// contains filtered or unexported fields
}

func NewAlias

func NewAlias(aliasName, collectionName string) *AliasOperations

Creates an *AliasOperations instance to create an alias. This is an alias for NewAliasCreate().

func NewAliasCreate

func NewAliasCreate(aliasName, collectionName string) *AliasOperations

Creates an *AliasOperations instance to create an alias.

func NewAliasDelete

func NewAliasDelete(aliasName string) *AliasOperations

Creates an *AliasOperations instance to delete an alias.

func NewAliasRename

func NewAliasRename(oldAliasName, newAliasName string) *AliasOperations

Creates an *AliasOperations instance to rename an alias.

func (*AliasOperations) Descriptor deprecated

func (*AliasOperations) Descriptor() ([]byte, []int)

Deprecated: Use AliasOperations.ProtoReflect.Descriptor instead.

func (*AliasOperations) GetAction

func (m *AliasOperations) GetAction() isAliasOperations_Action

func (*AliasOperations) GetCreateAlias

func (x *AliasOperations) GetCreateAlias() *CreateAlias

func (*AliasOperations) GetDeleteAlias

func (x *AliasOperations) GetDeleteAlias() *DeleteAlias

func (*AliasOperations) GetRenameAlias

func (x *AliasOperations) GetRenameAlias() *RenameAlias

func (*AliasOperations) ProtoMessage

func (*AliasOperations) ProtoMessage()

func (*AliasOperations) ProtoReflect

func (x *AliasOperations) ProtoReflect() protoreflect.Message

func (*AliasOperations) Reset

func (x *AliasOperations) Reset()

func (*AliasOperations) String

func (x *AliasOperations) String() string

type AliasOperations_CreateAlias

type AliasOperations_CreateAlias struct {
	CreateAlias *CreateAlias `protobuf:"bytes,1,opt,name=create_alias,json=createAlias,proto3,oneof"`
}

type AliasOperations_DeleteAlias

type AliasOperations_DeleteAlias struct {
	DeleteAlias *DeleteAlias `protobuf:"bytes,3,opt,name=delete_alias,json=deleteAlias,proto3,oneof"`
}

type AliasOperations_RenameAlias

type AliasOperations_RenameAlias struct {
	RenameAlias *RenameAlias `protobuf:"bytes,2,opt,name=rename_alias,json=renameAlias,proto3,oneof"`
}

type BatchResult

type BatchResult struct {
	Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*BatchResult) Descriptor deprecated

func (*BatchResult) Descriptor() ([]byte, []int)

Deprecated: Use BatchResult.ProtoReflect.Descriptor instead.

func (*BatchResult) GetResult

func (x *BatchResult) GetResult() []*ScoredPoint

func (*BatchResult) ProtoMessage

func (*BatchResult) ProtoMessage()

func (*BatchResult) ProtoReflect

func (x *BatchResult) ProtoReflect() protoreflect.Message

func (*BatchResult) Reset

func (x *BatchResult) Reset()

func (*BatchResult) String

func (x *BatchResult) String() string

type BinaryQuantization

type BinaryQuantization struct {
	AlwaysRam *bool                       `protobuf:"varint,1,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"`                     // If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
	Encoding  *BinaryQuantizationEncoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=qdrant.BinaryQuantizationEncoding,oneof" json:"encoding,omitempty"` // Binary quantization encoding method
	// Asymmetric quantization configuration allows a query to have different quantization than stored vectors.
	// It can increase the accuracy of search at the cost of performance.
	QueryEncoding *BinaryQuantizationQueryEncoding `protobuf:"bytes,3,opt,name=query_encoding,json=queryEncoding,proto3,oneof" json:"query_encoding,omitempty"`
	// contains filtered or unexported fields
}

func (*BinaryQuantization) Descriptor deprecated

func (*BinaryQuantization) Descriptor() ([]byte, []int)

Deprecated: Use BinaryQuantization.ProtoReflect.Descriptor instead.

func (*BinaryQuantization) GetAlwaysRam

func (x *BinaryQuantization) GetAlwaysRam() bool

func (*BinaryQuantization) GetEncoding

func (*BinaryQuantization) GetQueryEncoding

func (x *BinaryQuantization) GetQueryEncoding() *BinaryQuantizationQueryEncoding

func (*BinaryQuantization) ProtoMessage

func (*BinaryQuantization) ProtoMessage()

func (*BinaryQuantization) ProtoReflect

func (x *BinaryQuantization) ProtoReflect() protoreflect.Message

func (*BinaryQuantization) Reset

func (x *BinaryQuantization) Reset()

func (*BinaryQuantization) String

func (x *BinaryQuantization) String() string

type BinaryQuantizationEncoding

type BinaryQuantizationEncoding int32
const (
	BinaryQuantizationEncoding_OneBit         BinaryQuantizationEncoding = 0
	BinaryQuantizationEncoding_TwoBits        BinaryQuantizationEncoding = 1
	BinaryQuantizationEncoding_OneAndHalfBits BinaryQuantizationEncoding = 2
)

func (BinaryQuantizationEncoding) Descriptor

func (BinaryQuantizationEncoding) Enum

func (BinaryQuantizationEncoding) EnumDescriptor deprecated

func (BinaryQuantizationEncoding) EnumDescriptor() ([]byte, []int)

Deprecated: Use BinaryQuantizationEncoding.Descriptor instead.

func (BinaryQuantizationEncoding) Number

func (BinaryQuantizationEncoding) String

func (BinaryQuantizationEncoding) Type

type BinaryQuantizationQueryEncoding

type BinaryQuantizationQueryEncoding struct {

	// Types that are assignable to Variant:
	//
	//	*BinaryQuantizationQueryEncoding_Setting_
	Variant isBinaryQuantizationQueryEncoding_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

func NewBinaryQuantizationQueryEncodingSetting

func NewBinaryQuantizationQueryEncodingSetting(setting BinaryQuantizationQueryEncoding_Setting) *BinaryQuantizationQueryEncoding

Creates a *BinaryQuantizationQueryEncoding instance with a specific setting.

func (*BinaryQuantizationQueryEncoding) Descriptor deprecated

func (*BinaryQuantizationQueryEncoding) Descriptor() ([]byte, []int)

Deprecated: Use BinaryQuantizationQueryEncoding.ProtoReflect.Descriptor instead.

func (*BinaryQuantizationQueryEncoding) GetSetting

func (*BinaryQuantizationQueryEncoding) GetVariant

func (m *BinaryQuantizationQueryEncoding) GetVariant() isBinaryQuantizationQueryEncoding_Variant

func (*BinaryQuantizationQueryEncoding) ProtoMessage

func (*BinaryQuantizationQueryEncoding) ProtoMessage()

func (*BinaryQuantizationQueryEncoding) ProtoReflect

func (*BinaryQuantizationQueryEncoding) Reset

func (*BinaryQuantizationQueryEncoding) String

type BinaryQuantizationQueryEncoding_Setting

type BinaryQuantizationQueryEncoding_Setting int32
const (
	BinaryQuantizationQueryEncoding_Default     BinaryQuantizationQueryEncoding_Setting = 0
	BinaryQuantizationQueryEncoding_Binary      BinaryQuantizationQueryEncoding_Setting = 1
	BinaryQuantizationQueryEncoding_Scalar4Bits BinaryQuantizationQueryEncoding_Setting = 2
	BinaryQuantizationQueryEncoding_Scalar8Bits BinaryQuantizationQueryEncoding_Setting = 3
)

func (BinaryQuantizationQueryEncoding_Setting) Descriptor

func (BinaryQuantizationQueryEncoding_Setting) Enum

func (BinaryQuantizationQueryEncoding_Setting) EnumDescriptor deprecated

func (BinaryQuantizationQueryEncoding_Setting) EnumDescriptor() ([]byte, []int)

Deprecated: Use BinaryQuantizationQueryEncoding_Setting.Descriptor instead.

func (BinaryQuantizationQueryEncoding_Setting) Number

func (BinaryQuantizationQueryEncoding_Setting) String

func (BinaryQuantizationQueryEncoding_Setting) Type

type BinaryQuantizationQueryEncoding_Setting_

type BinaryQuantizationQueryEncoding_Setting_ struct {
	Setting BinaryQuantizationQueryEncoding_Setting `protobuf:"varint,4,opt,name=setting,proto3,enum=qdrant.BinaryQuantizationQueryEncoding_Setting,oneof"`
}

type BoolIndexParams

type BoolIndexParams struct {
	OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
	// contains filtered or unexported fields
}

func (*BoolIndexParams) Descriptor deprecated

func (*BoolIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use BoolIndexParams.ProtoReflect.Descriptor instead.

func (*BoolIndexParams) GetOnDisk

func (x *BoolIndexParams) GetOnDisk() bool

func (*BoolIndexParams) ProtoMessage

func (*BoolIndexParams) ProtoMessage()

func (*BoolIndexParams) ProtoReflect

func (x *BoolIndexParams) ProtoReflect() protoreflect.Message

func (*BoolIndexParams) Reset

func (x *BoolIndexParams) Reset()

func (*BoolIndexParams) String

func (x *BoolIndexParams) String() string

type ChangeAliases

type ChangeAliases struct {
	Actions []*AliasOperations `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`        // List of actions
	Timeout *uint64            `protobuf:"varint,2,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
	// contains filtered or unexported fields
}

func (*ChangeAliases) Descriptor deprecated

func (*ChangeAliases) Descriptor() ([]byte, []int)

Deprecated: Use ChangeAliases.ProtoReflect.Descriptor instead.

func (*ChangeAliases) GetActions

func (x *ChangeAliases) GetActions() []*AliasOperations

func (*ChangeAliases) GetTimeout

func (x *ChangeAliases) GetTimeout() uint64

func (*ChangeAliases) ProtoMessage

func (*ChangeAliases) ProtoMessage()

func (*ChangeAliases) ProtoReflect

func (x *ChangeAliases) ProtoReflect() protoreflect.Message

func (*ChangeAliases) Reset

func (x *ChangeAliases) Reset()

func (*ChangeAliases) String

func (x *ChangeAliases) String() string

type ClearPayloadPoints

type ClearPayloadPoints struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // name of the collection
	Wait             *bool             `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                                  // Wait until the changes have been applied?
	Points           *PointsSelector   `protobuf:"bytes,3,opt,name=points,proto3" json:"points,omitempty"`                                                     // Affected points
	Ordering         *WriteOrdering    `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                                           // Write ordering guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	// contains filtered or unexported fields
}

func (*ClearPayloadPoints) Descriptor deprecated

func (*ClearPayloadPoints) Descriptor() ([]byte, []int)

Deprecated: Use ClearPayloadPoints.ProtoReflect.Descriptor instead.

func (*ClearPayloadPoints) GetCollectionName

func (x *ClearPayloadPoints) GetCollectionName() string

func (*ClearPayloadPoints) GetOrdering

func (x *ClearPayloadPoints) GetOrdering() *WriteOrdering

func (*ClearPayloadPoints) GetPoints

func (x *ClearPayloadPoints) GetPoints() *PointsSelector

func (*ClearPayloadPoints) GetShardKeySelector

func (x *ClearPayloadPoints) GetShardKeySelector() *ShardKeySelector

func (*ClearPayloadPoints) GetWait

func (x *ClearPayloadPoints) GetWait() bool

func (*ClearPayloadPoints) ProtoMessage

func (*ClearPayloadPoints) ProtoMessage()

func (*ClearPayloadPoints) ProtoReflect

func (x *ClearPayloadPoints) ProtoReflect() protoreflect.Message

func (*ClearPayloadPoints) Reset

func (x *ClearPayloadPoints) Reset()

func (*ClearPayloadPoints) String

func (x *ClearPayloadPoints) String() string

type Client

type Client struct {
	// contains filtered or unexported fields
}

Client is a high-level client for Qdrant. It can manage a single connection or a pool of connections, chosen by setting PoolSize in the Config.

func DefaultClient

func DefaultClient() (*Client, error)

Instantiates a new client with the default configuration. Connects to localhost:6334 with TLS disabled.

func NewClient

func NewClient(config *Config) (*Client, error)

NewClient creates a new Qdrant client. It checks Config.PoolSize to determine whether to create a single client or a pool of clients. If PoolSize > 1, requests are distributed across the connections in a round-robin fashion.

func (*Client) ClearPayload

func (c *Client) ClearPayload(ctx context.Context, request *ClearPayloadPoints) (*UpdateResult, error)

Removes all payload fields from points in a collection.

Parameters:

  • ctx: The context for the request.
  • request: The ClearPayloadPoints request specifying which points to clear.

Returns:

  • *UpdateResult: The result of the clear operation.
  • error: An error if the operation fails.

func (*Client) Close

func (c *Client) Close() error

Close tears down all underlying connections.

func (*Client) CollectionExists

func (c *Client) CollectionExists(ctx context.Context, collectionName string) (bool, error)

Checks the existence of a collection.

Parameters:

  • ctx: The context for the request.
  • collectionName: The name of the collection to check.

Returns:

  • bool: True if the collection exists, false otherwise.
  • error: An error if the operation fails.

func (*Client) Count

func (c *Client) Count(ctx context.Context, request *CountPoints) (uint64, error)

Returns the number of points in a collection with given filtering conditions. Gets the total count if no filter is provided.

Parameters:

  • ctx: The context for the request.
  • request: The CountPoints request containing optional filtering conditions.

Returns:

  • uint64: The count of points matching the conditions.
  • error: An error if the operation fails.

func (*Client) CreateAlias

func (c *Client) CreateAlias(ctx context.Context, aliasName, collectionName string) error

Creates an alias for a collection.

Parameters:

  • ctx: The context for the request.
  • aliasName: The name of the alias to create.
  • collectionName: The name of the collection to alias.

Returns:

  • error: An error if the operation fails.

func (*Client) CreateCollection

func (c *Client) CreateCollection(ctx context.Context, request *CreateCollection) error

Creates a new collection with the given parameters.

Parameters:

  • ctx: The context for the request.
  • request: The CreateCollection request containing collection parameters.

Returns:

  • error: An error if the operation fails.

func (*Client) CreateFieldIndex

func (c *Client) CreateFieldIndex(ctx context.Context, request *CreateFieldIndexCollection) (*UpdateResult, error)

Creates an index for a payload field.

Parameters:

  • ctx: The context for the request.
  • request: The CreateFieldIndexCollection request specifying the field to index.

Returns:

  • *UpdateResult: The result of the index creation operation.
  • error: An error if the operation fails.

func (*Client) CreateFullSnapshot

func (c *Client) CreateFullSnapshot(ctx context.Context) (*SnapshotDescription, error)

Creates a snapshot of the entire storage, including all collections. This operation is useful for creating full backups of the Qdrant instance.

Parameters:

  • ctx: The context for the request

Returns:

  • *SnapshotDescription: Description of the created full snapshot
  • error: Any error encountered during the full snapshot creation

func (*Client) CreateShardKey

func (c *Client) CreateShardKey(ctx context.Context, collectionName string, request *CreateShardKey) error

Creates a shard key for a collection.

Parameters:

  • ctx: The context for the request.
  • collectionName: The name of the collection to create a shard key for.
  • request: The CreateShardKey request containing shard key parameters.

Returns:

  • error: An error if the operation fails.

func (*Client) CreateSnapshot

func (c *Client) CreateSnapshot(ctx context.Context, collection string) (*SnapshotDescription, error)

Creates a snapshot of a specific collection. Snapshots are read-only copies of the collection data, which can be used for backup and restore purposes. The snapshot is created asynchronously and does not block the collection usage.

Parameters:

  • ctx: The context for the request
  • collection: The name of the collection to create a snapshot for

Returns:

  • *SnapshotDescription: Description of the created snapshot
  • error: Any error encountered during the snapshot creation

func (*Client) Delete

func (c *Client) Delete(ctx context.Context, request *DeletePoints) (*UpdateResult, error)

Removes points from a collection by IDs or payload filters.

Parameters:

  • ctx: The context for the request.
  • request: The DeletePoints request specifying which points to delete.

Returns:

  • *UpdateResult: The result of the delete operation.
  • error: An error if the operation fails.

func (*Client) DeleteAlias

func (c *Client) DeleteAlias(ctx context.Context, aliasName string) error

Deletes an alias.

Parameters:

  • ctx: The context for the request.
  • aliasName: The name of the alias to delete.

Returns:

  • error: An error if the operation fails.

func (*Client) DeleteCollection

func (c *Client) DeleteCollection(ctx context.Context, collectionName string) error

Drops a collection and all associated data.

Parameters:

  • ctx: The context for the request.
  • collectionName: The name of the collection to delete.

Returns:

  • error: An error if the operation fails.

func (*Client) DeleteFieldIndex

func (c *Client) DeleteFieldIndex(ctx context.Context, request *DeleteFieldIndexCollection) (*UpdateResult, error)

Removes an index for a payload field.

Parameters:

  • ctx: The context for the request.
  • request: The DeleteFieldIndexCollection request specifying the field index to delete.

Returns:

  • *UpdateResult: The result of the index deletion operation.
  • error: An error if the operation fails.

func (*Client) DeleteFullSnapshot

func (c *Client) DeleteFullSnapshot(ctx context.Context, snapshot string) error

Removes a specific full snapshot of the storage.

Parameters:

  • ctx: The context for the request
  • snapshot: The name of the full snapshot to delete

Returns:

  • error: Any error encountered while deleting the full snapshot

func (*Client) DeletePayload

func (c *Client) DeletePayload(ctx context.Context, request *DeletePayloadPoints) (*UpdateResult, error)

Removes payload fields from points in a collection.

Parameters:

  • ctx: The context for the request.
  • request: The DeletePayloadPoints request specifying which payload fields to delete.

Returns:

  • *UpdateResult: The result of the delete operation.
  • error: An error if the operation fails.

func (*Client) DeleteShardKey

func (c *Client) DeleteShardKey(ctx context.Context, collectionName string, request *DeleteShardKey) error

Deletes a shard key for a collection.

Parameters:

  • ctx: The context for the request.
  • collectionName: The name of the collection to delete a shard key from.
  • request: The DeleteShardKey request containing shard key parameters.

Returns:

  • error: An error if the operation fails.

func (*Client) DeleteSnapshot

func (c *Client) DeleteSnapshot(ctx context.Context, collection string, snapshot string) error

Removes a specific snapshot of a collection.

Parameters:

  • ctx: The context for the request
  • collection: The name of the collection the snapshot belongs to
  • snapshot: The name of the snapshot to delete

Returns:

  • error: Any error encountered while deleting the snapshot

func (*Client) DeleteVectors

func (c *Client) DeleteVectors(ctx context.Context, request *DeletePointVectors) (*UpdateResult, error)

Removes vectors from points in a collection.

Parameters:

  • ctx: The context for the request.
  • request: The DeletePointVectors request specifying which vectors to delete.

Returns:

  • *UpdateResult: The result of the delete operation.
  • error: An error if the operation fails.

func (*Client) Facet

func (c *Client) Facet(ctx context.Context, request *FacetCounts) ([]*FacetHit, error)

Facets the points that would match a filter, with respect to a payload field.

Parameters:

  • ctx: The context for the request.
  • request: The FacetCounts request containing the facet parameters.

Returns:

  • []*FacetHit: A slice of facet hits matching the query. Each hit contains the value and the count for this value

func (*Client) Get

func (c *Client) Get(ctx context.Context, request *GetPoints) ([]*RetrievedPoint, error)

Retrieves points from a collection by IDs.

Parameters:

  • ctx: The context for the request.
  • request: The GetPoints request specifying which points to retrieve.

Returns:

  • []*RetrievedPoint: A slice of retrieved points.
  • error: An error if the operation fails.

func (*Client) GetCollectionClusterInfo

func (c *Client) GetCollectionClusterInfo(ctx context.Context, collectionName string) (*CollectionClusterInfoResponse, error)

Get cluster information for a collection.

Parameters:

  • ctx: The context for the request.
  • collectionName: The name of the collection.

Returns:

  • *CollectionClusterInfoResponse: Detailed information about the collection's cluster.
  • error: An error if the operation fails.

func (*Client) GetCollectionInfo

func (c *Client) GetCollectionInfo(ctx context.Context, collectionName string) (*CollectionInfo, error)

Retrieves detailed information about a specified existing collection.

Parameters:

  • ctx: The context for the request.
  • collectionName: The name of the collection to retrieve information for.

Returns:

  • *CollectionInfo: Detailed information about the collection.
  • error: An error if the operation fails.

func (*Client) GetCollectionsClient

func (c *Client) GetCollectionsClient() CollectionsClient

Get the low-level client for the collections gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/collections_service.proto

func (*Client) GetConnection

func (c *Client) GetConnection() *grpc.ClientConn

GetConnection returns one of the underlying gRPC connections from the pool. Useful for debugging or advanced use cases.

func (*Client) GetGrpcClient

func (c *Client) GetGrpcClient() *GrpcClient

Get the underlying gRPC client. In case of a pool, it returns one of the clients in a round-robin fashion.

func (*Client) GetPointsClient

func (c *Client) GetPointsClient() PointsClient

Get the low-level client for the points gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/points_service.proto

func (*Client) GetQdrantClient

func (c *Client) GetQdrantClient() QdrantClient

Get the low-level client for the Qdrant gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/qdrant.proto

func (*Client) GetSnapshotsClient

func (c *Client) GetSnapshotsClient() SnapshotsClient

Get the low-level client for the snapshots gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/snapshots_service.proto

func (*Client) HealthCheck

func (c *Client) HealthCheck(ctx context.Context) (*HealthCheckReply, error)

Check liveliness of the service.

func (*Client) ListAliases

func (c *Client) ListAliases(ctx context.Context) ([]*AliasDescription, error)

Lists all aliases.

Parameters:

  • ctx: The context for the request.

Returns:

  • []*AliasDescription: A slice of AliasDescription objects.
  • error: An error if the operation fails.

func (*Client) ListCollectionAliases

func (c *Client) ListCollectionAliases(ctx context.Context, collectionName string) ([]string, error)

Lists all aliases for a collection.

Parameters:

  • ctx: The context for the request.
  • collectionName: The name of the collection to list aliases for.

Returns:

  • []string: A slice of alias names.
  • error: An error if the operation fails.

func (*Client) ListCollections

func (c *Client) ListCollections(ctx context.Context) ([]string, error)

Retrieves the names of all existing collections.

Parameters:

  • ctx: The context for the request.

Returns:

  • []string: A slice of collection names.
  • error: An error if the operation fails.

func (*Client) ListFullSnapshots

func (c *Client) ListFullSnapshots(ctx context.Context) ([]*SnapshotDescription, error)

ListFullSnapshots retrieves a list of all full snapshots of the storage.

Parameters:

  • ctx: The context for the request

Returns:

  • []*SnapshotDescription: A slice of full snapshot descriptions
  • error: Any error encountered while listing full snapshots

func (*Client) ListSnapshots

func (c *Client) ListSnapshots(ctx context.Context, collection string) ([]*SnapshotDescription, error)

Retrieves a list of all snapshots for a specific collection.

Parameters:

  • ctx: The context for the request
  • collection: The name of the collection to list snapshots for

Returns:

  • []*SnapshotDescription: A slice of snapshot descriptions
  • error: Any error encountered while listing snapshots

func (*Client) OverwritePayload

func (c *Client) OverwritePayload(ctx context.Context, request *SetPayloadPoints) (*UpdateResult, error)

Overwrites the entire payload for points in a collection.

Parameters:

  • ctx: The context for the request.
  • request: The SetPayloadPoints request containing the payload to overwrite.

Returns:

  • *UpdateResult: The result of the overwrite operation.
  • error: An error if the operation fails.

func (*Client) Query

func (c *Client) Query(ctx context.Context, request *QueryPoints) ([]*ScoredPoint, error)

Performs a universal query on points. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.

Parameters:

  • ctx: The context for the request.
  • request: The QueryPoints request containing the query parameters.

Returns:

  • []*ScoredPoint: A slice of scored points matching the query.
  • error: An error if the operation fails.

func (*Client) QueryBatch

func (c *Client) QueryBatch(ctx context.Context, request *QueryBatchPoints) ([]*BatchResult, error)

Performs multiple universal queries on points in a batch. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.

Parameters:

  • ctx: The context for the request.
  • request: The QueryBatchPoints request containing multiple query parameters.

Returns:

  • []*BatchResult: A slice of batch results for each query.
  • error: An error if the operation fails.

func (*Client) QueryGroups

func (c *Client) QueryGroups(ctx context.Context, request *QueryPointGroups) ([]*PointGroup, error)

Performs a universal query on points grouped by a payload field. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.

Parameters:

  • ctx: The context for the request.
  • request: The QueryPointGroups request containing the query parameters.

Returns:

  • []*PointGroup: A slice of point groups matching the query.
  • error: An error if the operation fails.

func (*Client) RenameAlias

func (c *Client) RenameAlias(ctx context.Context, oldAliasName, newAliasName string) error

Renames an alias.

Parameters:

  • ctx: The context for the request.
  • oldAliasName: The current name of the alias.
  • newAliasName: The new name for the alias.

Returns:

  • error: An error if the operation fails.

func (*Client) Scroll

func (c *Client) Scroll(ctx context.Context, request *ScrollPoints) ([]*RetrievedPoint, error)

Iterates over all or filtered points in a collection.

Parameters:

  • ctx: The context for the request.
  • request: The ScrollPoints request specifying the scroll parameters.

Returns:

  • []*RetrievedPoint: A slice of retrieved points.
  • error: An error if the operation fails.

func (*Client) ScrollAndOffset

func (c *Client) ScrollAndOffset(ctx context.Context, request *ScrollPoints) ([]*RetrievedPoint, *PointId, error)

Iterates over all or filtered points in a collection with offset.

Parameters:

  • ctx: The context for the request.
  • request: The ScrollPoints request specifying the scroll parameters.

Returns:

  • []*RetrievedPoint: A slice of retrieved points.
  • *PointId: The next page offset for pagination.
  • error: An error if the operation fails.

func (*Client) SearchMatrixOffsets

func (c *Client) SearchMatrixOffsets(ctx context.Context, request *SearchMatrixPoints) (*SearchMatrixOffsets, error)

Calculates the distances between a random sample of points.

Parameters:

  • ctx: The context for the request.
  • request: The SearchMatrixPoints request containing the sample size and other parameters.

Returns:

  • *SearchMatrixOffsets: Parallel lists of offsets within an id list, and the distance between them.

func (*Client) SearchMatrixPairs

func (c *Client) SearchMatrixPairs(ctx context.Context, request *SearchMatrixPoints) (*SearchMatrixPairs, error)

Calculates the distances between a random sample of points.

Parameters:

  • ctx: The context for the request.
  • request: The SearchMatrixPoints request containing the sample size and other parameters.

Returns:

  • *SearchMatrixPairs: Pairwise representation of distances.

func (*Client) SetPayload

func (c *Client) SetPayload(ctx context.Context, request *SetPayloadPoints) (*UpdateResult, error)

Sets payload fields for points in a collection. Can be used to add new payload fields or update existing ones.

Parameters:

  • ctx: The context for the request.
  • request: The SetPayloadPoints request containing the payload to set.

Returns:

  • *UpdateResult: The result of the set operation.
  • error: An error if the operation fails.

func (*Client) UpdateAliases

func (c *Client) UpdateAliases(ctx context.Context, actions []*AliasOperations) error

Updates aliases.

Parameters:

  • ctx: The context for the request.
  • actions: A slice of AliasOperations to perform.

Returns:

  • error: An error if the operation fails.

func (*Client) UpdateBatch

func (c *Client) UpdateBatch(ctx context.Context, request *UpdateBatchPoints) ([]*UpdateResult, error)

Performs multiple update operations in one request.

Parameters:

  • ctx: The context for the request.
  • request: The UpdateBatchPoints request containing multiple update operations.

Returns:

  • []*UpdateResult: A slice of results for each update operation.
  • error: An error if the operation fails.

func (*Client) UpdateClusterCollectionSetup

func (c *Client) UpdateClusterCollectionSetup(ctx context.Context, request *UpdateCollectionClusterSetupRequest) error

Update cluster setup for a collection.

Parameters:

  • ctx: The context for the request.
  • request: The update to perform on the cluster setup.

Returns:

  • error: An error if the operation fails.

func (*Client) UpdateCollection

func (c *Client) UpdateCollection(ctx context.Context, request *UpdateCollection) error

Updates parameters of an existing collection.

Parameters:

  • ctx: The context for the request.
  • request: The UpdateCollection request containing updated parameters.

Returns:

  • error: An error if the operation fails.

func (*Client) UpdateVectors

func (c *Client) UpdateVectors(ctx context.Context, request *UpdatePointVectors) (*UpdateResult, error)

Updates vectors for points in a collection.

Parameters:

  • ctx: The context for the request.
  • request: The UpdatePointVectors request containing the vectors to update.

Returns:

  • *UpdateResult: The result of the update operation.
  • error: An error if the operation fails.

func (*Client) Upsert

func (c *Client) Upsert(ctx context.Context, request *UpsertPoints) (*UpdateResult, error)

Performs insert + updates on points. If a point with a given ID already exists, it will be overwritten.

Parameters:

  • ctx: The context for the request.
  • request: The UpsertPoints request containing the points to upsert.

Returns:

  • *UpdateResult: The result of the upsert operation.
  • error: An error if the operation fails.

type CollectionClusterInfoRequest

type CollectionClusterInfoRequest struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	// contains filtered or unexported fields
}

func (*CollectionClusterInfoRequest) Descriptor deprecated

func (*CollectionClusterInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use CollectionClusterInfoRequest.ProtoReflect.Descriptor instead.

func (*CollectionClusterInfoRequest) GetCollectionName

func (x *CollectionClusterInfoRequest) GetCollectionName() string

func (*CollectionClusterInfoRequest) ProtoMessage

func (*CollectionClusterInfoRequest) ProtoMessage()

func (*CollectionClusterInfoRequest) ProtoReflect

func (*CollectionClusterInfoRequest) Reset

func (x *CollectionClusterInfoRequest) Reset()

func (*CollectionClusterInfoRequest) String

type CollectionClusterInfoResponse

type CollectionClusterInfoResponse struct {
	PeerId               uint64               `protobuf:"varint,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`                                          // ID of this peer
	ShardCount           uint64               `protobuf:"varint,2,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`                              // Total number of shards
	LocalShards          []*LocalShardInfo    `protobuf:"bytes,3,rep,name=local_shards,json=localShards,proto3" json:"local_shards,omitempty"`                            // Local shards
	RemoteShards         []*RemoteShardInfo   `protobuf:"bytes,4,rep,name=remote_shards,json=remoteShards,proto3" json:"remote_shards,omitempty"`                         // Remote shards
	ShardTransfers       []*ShardTransferInfo `protobuf:"bytes,5,rep,name=shard_transfers,json=shardTransfers,proto3" json:"shard_transfers,omitempty"`                   // Shard transfers
	ReshardingOperations []*ReshardingInfo    `protobuf:"bytes,6,rep,name=resharding_operations,json=reshardingOperations,proto3" json:"resharding_operations,omitempty"` // Resharding operations
	// contains filtered or unexported fields
}

func (*CollectionClusterInfoResponse) Descriptor deprecated

func (*CollectionClusterInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use CollectionClusterInfoResponse.ProtoReflect.Descriptor instead.

func (*CollectionClusterInfoResponse) GetLocalShards

func (x *CollectionClusterInfoResponse) GetLocalShards() []*LocalShardInfo

func (*CollectionClusterInfoResponse) GetPeerId

func (x *CollectionClusterInfoResponse) GetPeerId() uint64

func (*CollectionClusterInfoResponse) GetRemoteShards

func (x *CollectionClusterInfoResponse) GetRemoteShards() []*RemoteShardInfo

func (*CollectionClusterInfoResponse) GetReshardingOperations

func (x *CollectionClusterInfoResponse) GetReshardingOperations() []*ReshardingInfo

func (*CollectionClusterInfoResponse) GetShardCount

func (x *CollectionClusterInfoResponse) GetShardCount() uint64

func (*CollectionClusterInfoResponse) GetShardTransfers

func (x *CollectionClusterInfoResponse) GetShardTransfers() []*ShardTransferInfo

func (*CollectionClusterInfoResponse) ProtoMessage

func (*CollectionClusterInfoResponse) ProtoMessage()

func (*CollectionClusterInfoResponse) ProtoReflect

func (*CollectionClusterInfoResponse) Reset

func (x *CollectionClusterInfoResponse) Reset()

func (*CollectionClusterInfoResponse) String

type CollectionConfig

type CollectionConfig struct {
	Params             *CollectionParams     `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`                                                         // Collection parameters
	HnswConfig         *HnswConfigDiff       `protobuf:"bytes,2,opt,name=hnsw_config,json=hnswConfig,proto3" json:"hnsw_config,omitempty"`                               // Configuration of vector index
	OptimizerConfig    *OptimizersConfigDiff `protobuf:"bytes,3,opt,name=optimizer_config,json=optimizerConfig,proto3" json:"optimizer_config,omitempty"`                // Configuration of the optimizers
	WalConfig          *WalConfigDiff        `protobuf:"bytes,4,opt,name=wal_config,json=walConfig,proto3" json:"wal_config,omitempty"`                                  // Configuration of the Write-Ahead-Log
	QuantizationConfig *QuantizationConfig   `protobuf:"bytes,5,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Configuration of the vector quantization
	StrictModeConfig   *StrictModeConfig     `protobuf:"bytes,6,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"`     // Configuration of strict mode.
	Metadata           map[string]*Value     ``                                                                                                                          // Arbitrary JSON metadata for the collection
	/* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CollectionConfig) Descriptor deprecated

func (*CollectionConfig) Descriptor() ([]byte, []int)

Deprecated: Use CollectionConfig.ProtoReflect.Descriptor instead.

func (*CollectionConfig) GetHnswConfig

func (x *CollectionConfig) GetHnswConfig() *HnswConfigDiff

func (*CollectionConfig) GetMetadata

func (x *CollectionConfig) GetMetadata() map[string]*Value

func (*CollectionConfig) GetOptimizerConfig

func (x *CollectionConfig) GetOptimizerConfig() *OptimizersConfigDiff

func (*CollectionConfig) GetParams

func (x *CollectionConfig) GetParams() *CollectionParams

func (*CollectionConfig) GetQuantizationConfig

func (x *CollectionConfig) GetQuantizationConfig() *QuantizationConfig

func (*CollectionConfig) GetStrictModeConfig

func (x *CollectionConfig) GetStrictModeConfig() *StrictModeConfig

func (*CollectionConfig) GetWalConfig

func (x *CollectionConfig) GetWalConfig() *WalConfigDiff

func (*CollectionConfig) ProtoMessage

func (*CollectionConfig) ProtoMessage()

func (*CollectionConfig) ProtoReflect

func (x *CollectionConfig) ProtoReflect() protoreflect.Message

func (*CollectionConfig) Reset

func (x *CollectionConfig) Reset()

func (*CollectionConfig) String

func (x *CollectionConfig) String() string

type CollectionDescription

type CollectionDescription struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the collection
	// contains filtered or unexported fields
}

func (*CollectionDescription) Descriptor deprecated

func (*CollectionDescription) Descriptor() ([]byte, []int)

Deprecated: Use CollectionDescription.ProtoReflect.Descriptor instead.

func (*CollectionDescription) GetName

func (x *CollectionDescription) GetName() string

func (*CollectionDescription) ProtoMessage

func (*CollectionDescription) ProtoMessage()

func (*CollectionDescription) ProtoReflect

func (x *CollectionDescription) ProtoReflect() protoreflect.Message

func (*CollectionDescription) Reset

func (x *CollectionDescription) Reset()

func (*CollectionDescription) String

func (x *CollectionDescription) String() string

type CollectionExists

type CollectionExists struct {
	Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectionExists) Descriptor deprecated

func (*CollectionExists) Descriptor() ([]byte, []int)

Deprecated: Use CollectionExists.ProtoReflect.Descriptor instead.

func (*CollectionExists) GetExists

func (x *CollectionExists) GetExists() bool

func (*CollectionExists) ProtoMessage

func (*CollectionExists) ProtoMessage()

func (*CollectionExists) ProtoReflect

func (x *CollectionExists) ProtoReflect() protoreflect.Message

func (*CollectionExists) Reset

func (x *CollectionExists) Reset()

func (*CollectionExists) String

func (x *CollectionExists) String() string

type CollectionExistsRequest

type CollectionExistsRequest struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectionExistsRequest) Descriptor deprecated

func (*CollectionExistsRequest) Descriptor() ([]byte, []int)

Deprecated: Use CollectionExistsRequest.ProtoReflect.Descriptor instead.

func (*CollectionExistsRequest) GetCollectionName

func (x *CollectionExistsRequest) GetCollectionName() string

func (*CollectionExistsRequest) ProtoMessage

func (*CollectionExistsRequest) ProtoMessage()

func (*CollectionExistsRequest) ProtoReflect

func (x *CollectionExistsRequest) ProtoReflect() protoreflect.Message

func (*CollectionExistsRequest) Reset

func (x *CollectionExistsRequest) Reset()

func (*CollectionExistsRequest) String

func (x *CollectionExistsRequest) String() string

type CollectionExistsResponse

type CollectionExistsResponse struct {
	Result *CollectionExists `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64           `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	// contains filtered or unexported fields
}

func (*CollectionExistsResponse) Descriptor deprecated

func (*CollectionExistsResponse) Descriptor() ([]byte, []int)

Deprecated: Use CollectionExistsResponse.ProtoReflect.Descriptor instead.

func (*CollectionExistsResponse) GetResult

func (*CollectionExistsResponse) GetTime

func (x *CollectionExistsResponse) GetTime() float64

func (*CollectionExistsResponse) ProtoMessage

func (*CollectionExistsResponse) ProtoMessage()

func (*CollectionExistsResponse) ProtoReflect

func (x *CollectionExistsResponse) ProtoReflect() protoreflect.Message

func (*CollectionExistsResponse) Reset

func (x *CollectionExistsResponse) Reset()

func (*CollectionExistsResponse) String

func (x *CollectionExistsResponse) String() string

type CollectionInfo

type CollectionInfo struct {
	Status          CollectionStatus              `protobuf:"varint,1,opt,name=status,proto3,enum=qdrant.CollectionStatus" json:"status,omitempty"`            // operating condition of the collection
	OptimizerStatus *OptimizerStatus              `protobuf:"bytes,2,opt,name=optimizer_status,json=optimizerStatus,proto3" json:"optimizer_status,omitempty"` // status of collection optimizers
	SegmentsCount   uint64                        `protobuf:"varint,4,opt,name=segments_count,json=segmentsCount,proto3" json:"segments_count,omitempty"`      // Number of independent segments
	Config          *CollectionConfig             `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"`                                          // Configuration
	PayloadSchema   map[string]*PayloadSchemaInfo ``                                                                                                           // Collection data types
	/* 188-byte string literal not displayed */
	PointsCount         *uint64 `protobuf:"varint,9,opt,name=points_count,json=pointsCount,proto3,oneof" json:"points_count,omitempty"` // Approximate number of points in the collection
	IndexedVectorsCount *uint64 ``                                                                                                      // Approximate number of indexed vectors in the collection.
	/* 128-byte string literal not displayed */
	Warnings []*CollectionWarning `protobuf:"bytes,11,rep,name=warnings,proto3" json:"warnings,omitempty"` // Warnings related to the collection
	// contains filtered or unexported fields
}

func (*CollectionInfo) Descriptor deprecated

func (*CollectionInfo) Descriptor() ([]byte, []int)

Deprecated: Use CollectionInfo.ProtoReflect.Descriptor instead.

func (*CollectionInfo) GetConfig

func (x *CollectionInfo) GetConfig() *CollectionConfig

func (*CollectionInfo) GetIndexedVectorsCount

func (x *CollectionInfo) GetIndexedVectorsCount() uint64

func (*CollectionInfo) GetOptimizerStatus

func (x *CollectionInfo) GetOptimizerStatus() *OptimizerStatus

func (*CollectionInfo) GetPayloadSchema

func (x *CollectionInfo) GetPayloadSchema() map[string]*PayloadSchemaInfo

func (*CollectionInfo) GetPointsCount

func (x *CollectionInfo) GetPointsCount() uint64

func (*CollectionInfo) GetSegmentsCount

func (x *CollectionInfo) GetSegmentsCount() uint64

func (*CollectionInfo) GetStatus

func (x *CollectionInfo) GetStatus() CollectionStatus

func (*CollectionInfo) GetWarnings

func (x *CollectionInfo) GetWarnings() []*CollectionWarning

func (*CollectionInfo) ProtoMessage

func (*CollectionInfo) ProtoMessage()

func (*CollectionInfo) ProtoReflect

func (x *CollectionInfo) ProtoReflect() protoreflect.Message

func (*CollectionInfo) Reset

func (x *CollectionInfo) Reset()

func (*CollectionInfo) String

func (x *CollectionInfo) String() string

type CollectionOperationResponse

type CollectionOperationResponse struct {
	Result bool    `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // if operation made changes
	Time   float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`    // Time spent to process
	// contains filtered or unexported fields
}

func (*CollectionOperationResponse) Descriptor deprecated

func (*CollectionOperationResponse) Descriptor() ([]byte, []int)

Deprecated: Use CollectionOperationResponse.ProtoReflect.Descriptor instead.

func (*CollectionOperationResponse) GetResult

func (x *CollectionOperationResponse) GetResult() bool

func (*CollectionOperationResponse) GetTime

func (x *CollectionOperationResponse) GetTime() float64

func (*CollectionOperationResponse) ProtoMessage

func (*CollectionOperationResponse) ProtoMessage()

func (*CollectionOperationResponse) ProtoReflect

func (*CollectionOperationResponse) Reset

func (x *CollectionOperationResponse) Reset()

func (*CollectionOperationResponse) String

func (x *CollectionOperationResponse) String() string

type CollectionParams

type CollectionParams struct {
	ShardNumber            uint32         `protobuf:"varint,3,opt,name=shard_number,json=shardNumber,proto3" json:"shard_number,omitempty"`                         // Number of shards in collection
	OnDiskPayload          bool           `protobuf:"varint,4,opt,name=on_disk_payload,json=onDiskPayload,proto3" json:"on_disk_payload,omitempty"`                 // If true - point's payload will not be stored in memory
	VectorsConfig          *VectorsConfig `protobuf:"bytes,5,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"`              // Configuration for vectors
	ReplicationFactor      *uint32        `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"` // Number of replicas of each shard that network tries to maintain
	WriteConsistencyFactor *uint32        ``                                                                                                                        // How many replicas should apply the operation for us to consider it successful
	/* 136-byte string literal not displayed */
	ReadFanOutFactor *uint32         `protobuf:"varint,8,opt,name=read_fan_out_factor,json=readFanOutFactor,proto3,oneof" json:"read_fan_out_factor,omitempty"` // Fan-out every read request to these many additional remote nodes (and return first available response)
	ShardingMethod   *ShardingMethod ``                                                                                                                         // Sharding method
	/* 137-byte string literal not displayed */
	SparseVectorsConfig *SparseVectorConfig `` // Configuration for sparse vectors
	/* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CollectionParams) Descriptor deprecated

func (*CollectionParams) Descriptor() ([]byte, []int)

Deprecated: Use CollectionParams.ProtoReflect.Descriptor instead.

func (*CollectionParams) GetOnDiskPayload

func (x *CollectionParams) GetOnDiskPayload() bool

func (*CollectionParams) GetReadFanOutFactor

func (x *CollectionParams) GetReadFanOutFactor() uint32

func (*CollectionParams) GetReplicationFactor

func (x *CollectionParams) GetReplicationFactor() uint32

func (*CollectionParams) GetShardNumber

func (x *CollectionParams) GetShardNumber() uint32

func (*CollectionParams) GetShardingMethod

func (x *CollectionParams) GetShardingMethod() ShardingMethod

func (*CollectionParams) GetSparseVectorsConfig

func (x *CollectionParams) GetSparseVectorsConfig() *SparseVectorConfig

func (*CollectionParams) GetVectorsConfig

func (x *CollectionParams) GetVectorsConfig() *VectorsConfig

func (*CollectionParams) GetWriteConsistencyFactor

func (x *CollectionParams) GetWriteConsistencyFactor() uint32

func (*CollectionParams) ProtoMessage

func (*CollectionParams) ProtoMessage()

func (*CollectionParams) ProtoReflect

func (x *CollectionParams) ProtoReflect() protoreflect.Message

func (*CollectionParams) Reset

func (x *CollectionParams) Reset()

func (*CollectionParams) String

func (x *CollectionParams) String() string

type CollectionParamsDiff

type CollectionParamsDiff struct {
	ReplicationFactor      *uint32 `protobuf:"varint,1,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"` // Number of replicas of each shard that network tries to maintain
	WriteConsistencyFactor *uint32 ``                                                                                                                        // How many replicas should apply the operation for us to consider it successful
	/* 136-byte string literal not displayed */
	OnDiskPayload    *bool   `protobuf:"varint,3,opt,name=on_disk_payload,json=onDiskPayload,proto3,oneof" json:"on_disk_payload,omitempty"`            // If true - point's payload will not be stored in memory
	ReadFanOutFactor *uint32 `protobuf:"varint,4,opt,name=read_fan_out_factor,json=readFanOutFactor,proto3,oneof" json:"read_fan_out_factor,omitempty"` // Fan-out every read request to these many additional remote nodes (and return first available response)
	// contains filtered or unexported fields
}

func (*CollectionParamsDiff) Descriptor deprecated

func (*CollectionParamsDiff) Descriptor() ([]byte, []int)

Deprecated: Use CollectionParamsDiff.ProtoReflect.Descriptor instead.

func (*CollectionParamsDiff) GetOnDiskPayload

func (x *CollectionParamsDiff) GetOnDiskPayload() bool

func (*CollectionParamsDiff) GetReadFanOutFactor

func (x *CollectionParamsDiff) GetReadFanOutFactor() uint32

func (*CollectionParamsDiff) GetReplicationFactor

func (x *CollectionParamsDiff) GetReplicationFactor() uint32

func (*CollectionParamsDiff) GetWriteConsistencyFactor

func (x *CollectionParamsDiff) GetWriteConsistencyFactor() uint32

func (*CollectionParamsDiff) ProtoMessage

func (*CollectionParamsDiff) ProtoMessage()

func (*CollectionParamsDiff) ProtoReflect

func (x *CollectionParamsDiff) ProtoReflect() protoreflect.Message

func (*CollectionParamsDiff) Reset

func (x *CollectionParamsDiff) Reset()

func (*CollectionParamsDiff) String

func (x *CollectionParamsDiff) String() string

type CollectionStatus

type CollectionStatus int32
const (
	CollectionStatus_UnknownCollectionStatus CollectionStatus = 0
	CollectionStatus_Green                   CollectionStatus = 1 // All segments are ready
	CollectionStatus_Yellow                  CollectionStatus = 2 // Optimization in process
	CollectionStatus_Red                     CollectionStatus = 3 // Something went wrong
	CollectionStatus_Grey                    CollectionStatus = 4 // Optimization is pending
)

func (CollectionStatus) Descriptor

func (CollectionStatus) Enum

func (CollectionStatus) EnumDescriptor deprecated

func (CollectionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use CollectionStatus.Descriptor instead.

func (CollectionStatus) Number

func (CollectionStatus) String

func (x CollectionStatus) String() string

func (CollectionStatus) Type

type CollectionWarning

type CollectionWarning struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*CollectionWarning) Descriptor deprecated

func (*CollectionWarning) Descriptor() ([]byte, []int)

Deprecated: Use CollectionWarning.ProtoReflect.Descriptor instead.

func (*CollectionWarning) GetMessage

func (x *CollectionWarning) GetMessage() string

func (*CollectionWarning) ProtoMessage

func (*CollectionWarning) ProtoMessage()

func (*CollectionWarning) ProtoReflect

func (x *CollectionWarning) ProtoReflect() protoreflect.Message

func (*CollectionWarning) Reset

func (x *CollectionWarning) Reset()

func (*CollectionWarning) String

func (x *CollectionWarning) String() string

type CollectionsClient

type CollectionsClient interface {
	// Get detailed information about specified existing collection
	Get(ctx context.Context, in *GetCollectionInfoRequest, opts ...grpc.CallOption) (*GetCollectionInfoResponse, error)
	// Get list name of all existing collections
	List(ctx context.Context, in *ListCollectionsRequest, opts ...grpc.CallOption) (*ListCollectionsResponse, error)
	// Create new collection with given parameters
	Create(ctx context.Context, in *CreateCollection, opts ...grpc.CallOption) (*CollectionOperationResponse, error)
	// Update parameters of the existing collection
	Update(ctx context.Context, in *UpdateCollection, opts ...grpc.CallOption) (*CollectionOperationResponse, error)
	// Drop collection and all associated data
	Delete(ctx context.Context, in *DeleteCollection, opts ...grpc.CallOption) (*CollectionOperationResponse, error)
	// Update Aliases of the existing collection
	UpdateAliases(ctx context.Context, in *ChangeAliases, opts ...grpc.CallOption) (*CollectionOperationResponse, error)
	// Get list of all aliases for a collection
	ListCollectionAliases(ctx context.Context, in *ListCollectionAliasesRequest, opts ...grpc.CallOption) (*ListAliasesResponse, error)
	// Get list of all aliases for all existing collections
	ListAliases(ctx context.Context, in *ListAliasesRequest, opts ...grpc.CallOption) (*ListAliasesResponse, error)
	// Get cluster information for a collection
	CollectionClusterInfo(ctx context.Context, in *CollectionClusterInfoRequest, opts ...grpc.CallOption) (*CollectionClusterInfoResponse, error)
	// Check the existence of a collection
	CollectionExists(ctx context.Context, in *CollectionExistsRequest, opts ...grpc.CallOption) (*CollectionExistsResponse, error)
	// Update cluster setup for a collection
	UpdateCollectionClusterSetup(ctx context.Context, in *UpdateCollectionClusterSetupRequest, opts ...grpc.CallOption) (*UpdateCollectionClusterSetupResponse, error)
	// Create shard key
	CreateShardKey(ctx context.Context, in *CreateShardKeyRequest, opts ...grpc.CallOption) (*CreateShardKeyResponse, error)
	// Delete shard key
	DeleteShardKey(ctx context.Context, in *DeleteShardKeyRequest, opts ...grpc.CallOption) (*DeleteShardKeyResponse, error)
}

CollectionsClient is the client API for Collections service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CollectionsServer

type CollectionsServer interface {
	// Get detailed information about specified existing collection
	Get(context.Context, *GetCollectionInfoRequest) (*GetCollectionInfoResponse, error)
	// Get list name of all existing collections
	List(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
	// Create new collection with given parameters
	Create(context.Context, *CreateCollection) (*CollectionOperationResponse, error)
	// Update parameters of the existing collection
	Update(context.Context, *UpdateCollection) (*CollectionOperationResponse, error)
	// Drop collection and all associated data
	Delete(context.Context, *DeleteCollection) (*CollectionOperationResponse, error)
	// Update Aliases of the existing collection
	UpdateAliases(context.Context, *ChangeAliases) (*CollectionOperationResponse, error)
	// Get list of all aliases for a collection
	ListCollectionAliases(context.Context, *ListCollectionAliasesRequest) (*ListAliasesResponse, error)
	// Get list of all aliases for all existing collections
	ListAliases(context.Context, *ListAliasesRequest) (*ListAliasesResponse, error)
	// Get cluster information for a collection
	CollectionClusterInfo(context.Context, *CollectionClusterInfoRequest) (*CollectionClusterInfoResponse, error)
	// Check the existence of a collection
	CollectionExists(context.Context, *CollectionExistsRequest) (*CollectionExistsResponse, error)
	// Update cluster setup for a collection
	UpdateCollectionClusterSetup(context.Context, *UpdateCollectionClusterSetupRequest) (*UpdateCollectionClusterSetupResponse, error)
	// Create shard key
	CreateShardKey(context.Context, *CreateShardKeyRequest) (*CreateShardKeyResponse, error)
	// Delete shard key
	DeleteShardKey(context.Context, *DeleteShardKeyRequest) (*DeleteShardKeyResponse, error)
	// contains filtered or unexported methods
}

CollectionsServer is the server API for Collections service. All implementations must embed UnimplementedCollectionsServer for forward compatibility.

type CompressionRatio

type CompressionRatio int32
const (
	CompressionRatio_x4  CompressionRatio = 0
	CompressionRatio_x8  CompressionRatio = 1
	CompressionRatio_x16 CompressionRatio = 2
	CompressionRatio_x32 CompressionRatio = 3
	CompressionRatio_x64 CompressionRatio = 4
)

func (CompressionRatio) Descriptor

func (CompressionRatio) Enum

func (CompressionRatio) EnumDescriptor deprecated

func (CompressionRatio) EnumDescriptor() ([]byte, []int)

Deprecated: Use CompressionRatio.Descriptor instead.

func (CompressionRatio) Number

func (CompressionRatio) String

func (x CompressionRatio) String() string

func (CompressionRatio) Type

type Condition

type Condition struct {

	// Types that are assignable to ConditionOneOf:
	//
	//	*Condition_Field
	//	*Condition_IsEmpty
	//	*Condition_HasId
	//	*Condition_Filter
	//	*Condition_IsNull
	//	*Condition_Nested
	//	*Condition_HasVector
	ConditionOneOf isCondition_ConditionOneOf `protobuf_oneof:"condition_one_of"`
	// contains filtered or unexported fields
}

func NewDatetimeRange

func NewDatetimeRange(field string, dateTimeRange *DatetimeRange) *Condition

Creates a condition that filters based on a datetime range. See: https://qdrant.tech/documentation/concepts/filtering/#datetime-range

func NewFilterAsCondition

func NewFilterAsCondition(filter *Filter) *Condition

Creates a condition from a filter. This is useful for creating complex nested conditions.

func NewGeoBoundingBox

func NewGeoBoundingBox(field string, topLeftLat, topLeftLon, bottomRightLat, bottomRightLon float64) *Condition

Creates a geo filter condition that matches points within a specified bounding box. See: https://qdrant.tech/documentation/concepts/filtering/#geo-bounding-box

func NewGeoPolygon

func NewGeoPolygon(field string, exterior *GeoLineString, interior ...*GeoLineString) *Condition

Creates a geo filter condition that matches points within a specified polygon. See: https://qdrant.tech/documentation/concepts/filtering/#geo-polygon

func NewGeoRadius

func NewGeoRadius(field string, lat, long float64, radius float32) *Condition

Creates a geo filter condition that matches points within a specified radius from a center point. See: https://qdrant.tech/documentation/concepts/filtering/#geo-radius

func NewHasID

func NewHasID(ids ...*PointId) *Condition

Creates a condition that checks if a point has any of the specified IDs. See: https://qdrant.tech/documentation/concepts/filtering/#has-id

func NewHasVector

func NewHasVector(vector string) *Condition

Creates a condition that checks if a point has the specified vector. See: https://qdrant.tech/documentation/concepts/filtering/#has-vector

func NewIsEmpty

func NewIsEmpty(field string) *Condition

Creates a condition that checks if a specified field is empty. See: https://qdrant.tech/documentation/concepts/filtering/#is-empty

func NewIsNull

func NewIsNull(field string) *Condition

Creates a condition that checks if a specified field is null. See: https://qdrant.tech/documentation/concepts/filtering/#is-null

func NewMatch

func NewMatch(field, keyword string) *Condition

Creates a condition that matches an exact keyword in a specified field. This is an alias for NewMatchKeyword(). See: https://qdrant.tech/documentation/concepts/filtering/#match

func NewMatchBool

func NewMatchBool(field string, value bool) *Condition

Creates a condition that matches a boolean value in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match

func NewMatchExcept

func NewMatchExcept(field string, keywords ...string) *Condition

Creates a condition that matches any value except the given keywords in a specified field. This is an alias for NewMatchExceptKeywords. See: https://qdrant.tech/documentation/concepts/filtering/#match-except

func NewMatchExceptInts

func NewMatchExceptInts(field string, values ...int64) *Condition

Creates a condition that matches any value except the given integer values in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match-except

func NewMatchExceptKeywords

func NewMatchExceptKeywords(field string, keywords ...string) *Condition

Creates a condition that matches any value except the given keywords in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match-except

func NewMatchInt

func NewMatchInt(field string, value int64) *Condition

Creates a condition that matches an integer value in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match

func NewMatchInts

func NewMatchInts(field string, values ...int64) *Condition

Creates a condition that matches any of the given integer values in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match-any

func NewMatchKeyword

func NewMatchKeyword(field, keyword string) *Condition

Creates a condition that matches an exact keyword in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match

func NewMatchKeywords

func NewMatchKeywords(field string, keywords ...string) *Condition

Creates a condition that matches any of the given keywords in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match-any

func NewMatchPhrase

func NewMatchPhrase(field, phrase string) *Condition

Creates a condition that matches a phrase.

func NewMatchText

func NewMatchText(field, text string) *Condition

Creates a condition to match a specific substring, token or phrase. Exact texts that will match the condition depend on full-text index configuration. See: https://qdrant.tech/documentation/concepts/filtering/#full-text-match

func NewMatchTextAny

func NewMatchTextAny(field, textAny string) *Condition

Creates a condition that matches any word in the text.

func NewNestedCondition

func NewNestedCondition(field string, conditon *Condition) *Condition

Creates a nested condition for filtering on nested fields. See: https://qdrant.tech/documentation/concepts/filtering/#nested

func NewNestedFilter

func NewNestedFilter(field string, filter *Filter) *Condition

Creates a nested filter for filtering on nested fields. See: https://qdrant.tech/documentation/concepts/filtering/#nested

func NewRange

func NewRange(field string, rangeVal *Range) *Condition

Creates a range condition for numeric or date fields. See: https://qdrant.tech/documentation/concepts/filtering/#range

func NewValuesCount

func NewValuesCount(field string, valuesCount *ValuesCount) *Condition

Creates a condition that filters based on the number of values in an array field. See: https://qdrant.tech/documentation/concepts/filtering/#values-count

func (*Condition) Descriptor deprecated

func (*Condition) Descriptor() ([]byte, []int)

Deprecated: Use Condition.ProtoReflect.Descriptor instead.

func (*Condition) GetConditionOneOf

func (m *Condition) GetConditionOneOf() isCondition_ConditionOneOf

func (*Condition) GetField

func (x *Condition) GetField() *FieldCondition

func (*Condition) GetFilter

func (x *Condition) GetFilter() *Filter

func (*Condition) GetHasId

func (x *Condition) GetHasId() *HasIdCondition

func (*Condition) GetHasVector

func (x *Condition) GetHasVector() *HasVectorCondition

func (*Condition) GetIsEmpty

func (x *Condition) GetIsEmpty() *IsEmptyCondition

func (*Condition) GetIsNull

func (x *Condition) GetIsNull() *IsNullCondition

func (*Condition) GetNested

func (x *Condition) GetNested() *NestedCondition

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) ProtoReflect

func (x *Condition) ProtoReflect() protoreflect.Message

func (*Condition) Reset

func (x *Condition) Reset()

func (*Condition) String

func (x *Condition) String() string

type Condition_Field

type Condition_Field struct {
	Field *FieldCondition `protobuf:"bytes,1,opt,name=field,proto3,oneof"`
}

type Condition_Filter

type Condition_Filter struct {
	Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3,oneof"`
}

type Condition_HasId

type Condition_HasId struct {
	HasId *HasIdCondition `protobuf:"bytes,3,opt,name=has_id,json=hasId,proto3,oneof"`
}

type Condition_HasVector

type Condition_HasVector struct {
	HasVector *HasVectorCondition `protobuf:"bytes,7,opt,name=has_vector,json=hasVector,proto3,oneof"`
}

type Condition_IsEmpty

type Condition_IsEmpty struct {
	IsEmpty *IsEmptyCondition `protobuf:"bytes,2,opt,name=is_empty,json=isEmpty,proto3,oneof"`
}

type Condition_IsNull

type Condition_IsNull struct {
	IsNull *IsNullCondition `protobuf:"bytes,5,opt,name=is_null,json=isNull,proto3,oneof"`
}

type Condition_Nested

type Condition_Nested struct {
	Nested *NestedCondition `protobuf:"bytes,6,opt,name=nested,proto3,oneof"`
}

type Config

type Config struct {
	// Hostname of the Qdrant server. Defaults to "localhost".
	Host string
	// gRPC port of the Qdrant server. Defaults to 6334.
	Port int
	// API key to use for authentication. Defaults to "".
	APIKey string
	// Whether to use TLS for the connection. Defaults to false.
	UseTLS bool
	// TLS configuration to use for the connection.
	// If not provided, uses default config with minimum TLS version set to 1.3
	TLSConfig *tls.Config
	// Additional gRPC options to use for the connection.
	GrpcOptions []grpc.DialOption
	// Whether to check compatibility between server's version and client's. Defaults to false.
	SkipCompatibilityCheck bool
	// PoolSize specifies the number of connections to create.
	// If 0, the default of 3 will be used.
	// If 1 a single connection is used (aka no pool).
	// If greater than 1, a pool of connections is created and requests are distributed in a round-robin fashion.
	PoolSize uint
	// KeepAliveTime specifies the duration after which if the client does not see any activity (in seconds),
	// it pings the server to check if the transport is still alive.
	// If 0, the default is 10 seconds.
	// If set to -1, keepalive is disabled.
	KeepAliveTime int
	// KeepAliveTimeout specifies the duration the client waits for a response from the server after
	// sending a ping (in seconds).
	// If the server does not respond within this timeout, the connection is closed.
	// If set to 0, defaults to 2 seconds.
	// This setting is only used if keepalive is active (see KeepAliveTime).
	KeepAliveTimeout uint
}

Configuration options for the client.

type ContextExamplePair

type ContextExamplePair struct {
	Positive *VectorExample `protobuf:"bytes,1,opt,name=positive,proto3" json:"positive,omitempty"`
	Negative *VectorExample `protobuf:"bytes,2,opt,name=negative,proto3" json:"negative,omitempty"`
	// contains filtered or unexported fields
}

func (*ContextExamplePair) Descriptor deprecated

func (*ContextExamplePair) Descriptor() ([]byte, []int)

Deprecated: Use ContextExamplePair.ProtoReflect.Descriptor instead.

func (*ContextExamplePair) GetNegative

func (x *ContextExamplePair) GetNegative() *VectorExample

func (*ContextExamplePair) GetPositive

func (x *ContextExamplePair) GetPositive() *VectorExample

func (*ContextExamplePair) ProtoMessage

func (*ContextExamplePair) ProtoMessage()

func (*ContextExamplePair) ProtoReflect

func (x *ContextExamplePair) ProtoReflect() protoreflect.Message

func (*ContextExamplePair) Reset

func (x *ContextExamplePair) Reset()

func (*ContextExamplePair) String

func (x *ContextExamplePair) String() string

type ContextInput

type ContextInput struct {
	Pairs []*ContextInputPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` // Search space will be constrained by these pairs of vectors
	// contains filtered or unexported fields
}

func (*ContextInput) Descriptor deprecated

func (*ContextInput) Descriptor() ([]byte, []int)

Deprecated: Use ContextInput.ProtoReflect.Descriptor instead.

func (*ContextInput) GetPairs

func (x *ContextInput) GetPairs() []*ContextInputPair

func (*ContextInput) ProtoMessage

func (*ContextInput) ProtoMessage()

func (*ContextInput) ProtoReflect

func (x *ContextInput) ProtoReflect() protoreflect.Message

func (*ContextInput) Reset

func (x *ContextInput) Reset()

func (*ContextInput) String

func (x *ContextInput) String() string

type ContextInputPair

type ContextInputPair struct {
	Positive *VectorInput `protobuf:"bytes,1,opt,name=positive,proto3" json:"positive,omitempty"` // A positive vector
	Negative *VectorInput `protobuf:"bytes,2,opt,name=negative,proto3" json:"negative,omitempty"` // Repel from this vector
	// contains filtered or unexported fields
}

func (*ContextInputPair) Descriptor deprecated

func (*ContextInputPair) Descriptor() ([]byte, []int)

Deprecated: Use ContextInputPair.ProtoReflect.Descriptor instead.

func (*ContextInputPair) GetNegative

func (x *ContextInputPair) GetNegative() *VectorInput

func (*ContextInputPair) GetPositive

func (x *ContextInputPair) GetPositive() *VectorInput

func (*ContextInputPair) ProtoMessage

func (*ContextInputPair) ProtoMessage()

func (*ContextInputPair) ProtoReflect

func (x *ContextInputPair) ProtoReflect() protoreflect.Message

func (*ContextInputPair) Reset

func (x *ContextInputPair) Reset()

func (*ContextInputPair) String

func (x *ContextInputPair) String() string

type CountPoints

type CountPoints struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // Name of the collection
	Filter           *Filter           `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`                                                     // Filter conditions - return only those points that satisfy the specified conditions
	Exact            *bool             `protobuf:"varint,3,opt,name=exact,proto3,oneof" json:"exact,omitempty"`                                                // If `true` - return exact count, if `false` - return approximate count
	ReadConsistency  *ReadConsistency  `protobuf:"bytes,4,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	Timeout          *uint64           `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	// contains filtered or unexported fields
}

func (*CountPoints) Descriptor deprecated

func (*CountPoints) Descriptor() ([]byte, []int)

Deprecated: Use CountPoints.ProtoReflect.Descriptor instead.

func (*CountPoints) GetCollectionName

func (x *CountPoints) GetCollectionName() string

func (*CountPoints) GetExact

func (x *CountPoints) GetExact() bool

func (*CountPoints) GetFilter

func (x *CountPoints) GetFilter() *Filter

func (*CountPoints) GetReadConsistency

func (x *CountPoints) GetReadConsistency() *ReadConsistency

func (*CountPoints) GetShardKeySelector

func (x *CountPoints) GetShardKeySelector() *ShardKeySelector

func (*CountPoints) GetTimeout

func (x *CountPoints) GetTimeout() uint64

func (*CountPoints) ProtoMessage

func (*CountPoints) ProtoMessage()

func (*CountPoints) ProtoReflect

func (x *CountPoints) ProtoReflect() protoreflect.Message

func (*CountPoints) Reset

func (x *CountPoints) Reset()

func (*CountPoints) String

func (x *CountPoints) String() string

type CountResponse

type CountResponse struct {
	Result *CountResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64      `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage       `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*CountResponse) Descriptor deprecated

func (*CountResponse) Descriptor() ([]byte, []int)

Deprecated: Use CountResponse.ProtoReflect.Descriptor instead.

func (*CountResponse) GetResult

func (x *CountResponse) GetResult() *CountResult

func (*CountResponse) GetTime

func (x *CountResponse) GetTime() float64

func (*CountResponse) GetUsage

func (x *CountResponse) GetUsage() *Usage

func (*CountResponse) ProtoMessage

func (*CountResponse) ProtoMessage()

func (*CountResponse) ProtoReflect

func (x *CountResponse) ProtoReflect() protoreflect.Message

func (*CountResponse) Reset

func (x *CountResponse) Reset()

func (*CountResponse) String

func (x *CountResponse) String() string

type CountResult

type CountResult struct {
	Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*CountResult) Descriptor deprecated

func (*CountResult) Descriptor() ([]byte, []int)

Deprecated: Use CountResult.ProtoReflect.Descriptor instead.

func (*CountResult) GetCount

func (x *CountResult) GetCount() uint64

func (*CountResult) ProtoMessage

func (*CountResult) ProtoMessage()

func (*CountResult) ProtoReflect

func (x *CountResult) ProtoReflect() protoreflect.Message

func (*CountResult) Reset

func (x *CountResult) Reset()

func (*CountResult) String

func (x *CountResult) String() string

type CreateAlias

type CreateAlias struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	AliasName      string `protobuf:"bytes,2,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`                // New name of the alias
	// contains filtered or unexported fields
}

func (*CreateAlias) Descriptor deprecated

func (*CreateAlias) Descriptor() ([]byte, []int)

Deprecated: Use CreateAlias.ProtoReflect.Descriptor instead.

func (*CreateAlias) GetAliasName

func (x *CreateAlias) GetAliasName() string

func (*CreateAlias) GetCollectionName

func (x *CreateAlias) GetCollectionName() string

func (*CreateAlias) ProtoMessage

func (*CreateAlias) ProtoMessage()

func (*CreateAlias) ProtoReflect

func (x *CreateAlias) ProtoReflect() protoreflect.Message

func (*CreateAlias) Reset

func (x *CreateAlias) Reset()

func (*CreateAlias) String

func (x *CreateAlias) String() string

type CreateCollection

type CreateCollection struct {
	CollectionName         string                `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                  // Name of the collection
	HnswConfig             *HnswConfigDiff       `protobuf:"bytes,4,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"`                        // Configuration of vector index
	WalConfig              *WalConfigDiff        `protobuf:"bytes,5,opt,name=wal_config,json=walConfig,proto3,oneof" json:"wal_config,omitempty"`                           // Configuration of the Write-Ahead-Log
	OptimizersConfig       *OptimizersConfigDiff `protobuf:"bytes,6,opt,name=optimizers_config,json=optimizersConfig,proto3,oneof" json:"optimizers_config,omitempty"`      // Configuration of the optimizers
	ShardNumber            *uint32               `protobuf:"varint,7,opt,name=shard_number,json=shardNumber,proto3,oneof" json:"shard_number,omitempty"`                    // Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1
	OnDiskPayload          *bool                 `protobuf:"varint,8,opt,name=on_disk_payload,json=onDiskPayload,proto3,oneof" json:"on_disk_payload,omitempty"`            // If true - point's payload will not be stored in memory
	Timeout                *uint64               `protobuf:"varint,9,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                               // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
	VectorsConfig          *VectorsConfig        `protobuf:"bytes,10,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"`              // Configuration for vectors
	ReplicationFactor      *uint32               `protobuf:"varint,11,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"` // Number of replicas of each shard that network tries to maintain, default = 1
	WriteConsistencyFactor *uint32               ``                                                                                                                         // How many replicas should apply the operation for us to consider it successful, default = 1
	/* 137-byte string literal not displayed */
	QuantizationConfig *QuantizationConfig `protobuf:"bytes,14,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Quantization configuration of vector
	ShardingMethod     *ShardingMethod     ``                                                                                                                           // Sharding method
	/* 138-byte string literal not displayed */
	SparseVectorsConfig *SparseVectorConfig `` // Configuration for sparse vectors
	/* 127-byte string literal not displayed */
	StrictModeConfig *StrictModeConfig `protobuf:"bytes,17,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"` // Configuration for strict mode
	Metadata         map[string]*Value ``                                                                                                                       // Arbitrary JSON metadata for the collection
	/* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateCollection) Descriptor deprecated

func (*CreateCollection) Descriptor() ([]byte, []int)

Deprecated: Use CreateCollection.ProtoReflect.Descriptor instead.

func (*CreateCollection) GetCollectionName

func (x *CreateCollection) GetCollectionName() string

func (*CreateCollection) GetHnswConfig

func (x *CreateCollection) GetHnswConfig() *HnswConfigDiff

func (*CreateCollection) GetMetadata

func (x *CreateCollection) GetMetadata() map[string]*Value

func (*CreateCollection) GetOnDiskPayload

func (x *CreateCollection) GetOnDiskPayload() bool

func (*CreateCollection) GetOptimizersConfig

func (x *CreateCollection) GetOptimizersConfig() *OptimizersConfigDiff

func (*CreateCollection) GetQuantizationConfig

func (x *CreateCollection) GetQuantizationConfig() *QuantizationConfig

func (*CreateCollection) GetReplicationFactor

func (x *CreateCollection) GetReplicationFactor() uint32

func (*CreateCollection) GetShardNumber

func (x *CreateCollection) GetShardNumber() uint32

func (*CreateCollection) GetShardingMethod

func (x *CreateCollection) GetShardingMethod() ShardingMethod

func (*CreateCollection) GetSparseVectorsConfig

func (x *CreateCollection) GetSparseVectorsConfig() *SparseVectorConfig

func (*CreateCollection) GetStrictModeConfig

func (x *CreateCollection) GetStrictModeConfig() *StrictModeConfig

func (*CreateCollection) GetTimeout

func (x *CreateCollection) GetTimeout() uint64

func (*CreateCollection) GetVectorsConfig

func (x *CreateCollection) GetVectorsConfig() *VectorsConfig

func (*CreateCollection) GetWalConfig

func (x *CreateCollection) GetWalConfig() *WalConfigDiff

func (*CreateCollection) GetWriteConsistencyFactor

func (x *CreateCollection) GetWriteConsistencyFactor() uint32

func (*CreateCollection) ProtoMessage

func (*CreateCollection) ProtoMessage()

func (*CreateCollection) ProtoReflect

func (x *CreateCollection) ProtoReflect() protoreflect.Message

func (*CreateCollection) Reset

func (x *CreateCollection) Reset()

func (*CreateCollection) String

func (x *CreateCollection) String() string

type CreateFieldIndexCollection

type CreateFieldIndexCollection struct {
	CollectionName   string              `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // name of the collection
	Wait             *bool               `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                                  // Wait until the changes have been applied?
	FieldName        string              `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`                              // Field name to index
	FieldType        *FieldType          `protobuf:"varint,4,opt,name=field_type,json=fieldType,proto3,enum=qdrant.FieldType,oneof" json:"field_type,omitempty"` // Field type.
	FieldIndexParams *PayloadIndexParams `protobuf:"bytes,5,opt,name=field_index_params,json=fieldIndexParams,proto3,oneof" json:"field_index_params,omitempty"` // Payload index params.
	Ordering         *WriteOrdering      `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                                           // Write ordering guarantees
	// contains filtered or unexported fields
}

func (*CreateFieldIndexCollection) Descriptor deprecated

func (*CreateFieldIndexCollection) Descriptor() ([]byte, []int)

Deprecated: Use CreateFieldIndexCollection.ProtoReflect.Descriptor instead.

func (*CreateFieldIndexCollection) GetCollectionName

func (x *CreateFieldIndexCollection) GetCollectionName() string

func (*CreateFieldIndexCollection) GetFieldIndexParams

func (x *CreateFieldIndexCollection) GetFieldIndexParams() *PayloadIndexParams

func (*CreateFieldIndexCollection) GetFieldName

func (x *CreateFieldIndexCollection) GetFieldName() string

func (*CreateFieldIndexCollection) GetFieldType

func (x *CreateFieldIndexCollection) GetFieldType() FieldType

func (*CreateFieldIndexCollection) GetOrdering

func (x *CreateFieldIndexCollection) GetOrdering() *WriteOrdering

func (*CreateFieldIndexCollection) GetWait

func (x *CreateFieldIndexCollection) GetWait() bool

func (*CreateFieldIndexCollection) ProtoMessage

func (*CreateFieldIndexCollection) ProtoMessage()

func (*CreateFieldIndexCollection) ProtoReflect

func (*CreateFieldIndexCollection) Reset

func (x *CreateFieldIndexCollection) Reset()

func (*CreateFieldIndexCollection) String

func (x *CreateFieldIndexCollection) String() string

type CreateFullSnapshotRequest

type CreateFullSnapshotRequest struct {
	// contains filtered or unexported fields
}

func (*CreateFullSnapshotRequest) Descriptor deprecated

func (*CreateFullSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateFullSnapshotRequest.ProtoReflect.Descriptor instead.

func (*CreateFullSnapshotRequest) ProtoMessage

func (*CreateFullSnapshotRequest) ProtoMessage()

func (*CreateFullSnapshotRequest) ProtoReflect

func (*CreateFullSnapshotRequest) Reset

func (x *CreateFullSnapshotRequest) Reset()

func (*CreateFullSnapshotRequest) String

func (x *CreateFullSnapshotRequest) String() string

type CreateShardKey

type CreateShardKey struct {
	ShardKey          *ShardKey     `protobuf:"bytes,1,opt,name=shard_key,json=shardKey,proto3" json:"shard_key,omitempty"`                                   // User-defined shard key
	ShardsNumber      *uint32       `protobuf:"varint,2,opt,name=shards_number,json=shardsNumber,proto3,oneof" json:"shards_number,omitempty"`                // Number of shards to create per shard key
	ReplicationFactor *uint32       `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"` // Number of replicas of each shard to create
	Placement         []uint64      `protobuf:"varint,4,rep,packed,name=placement,proto3" json:"placement,omitempty"`                                         // List of peer ids, allowed to create shards. If empty - all peers are allowed
	InitialState      *ReplicaState ``                                                                                                                        // Initial state of created replicas. Warning: use with care.
	/* 129-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CreateShardKey) Descriptor deprecated

func (*CreateShardKey) Descriptor() ([]byte, []int)

Deprecated: Use CreateShardKey.ProtoReflect.Descriptor instead.

func (*CreateShardKey) GetInitialState

func (x *CreateShardKey) GetInitialState() ReplicaState

func (*CreateShardKey) GetPlacement

func (x *CreateShardKey) GetPlacement() []uint64

func (*CreateShardKey) GetReplicationFactor

func (x *CreateShardKey) GetReplicationFactor() uint32

func (*CreateShardKey) GetShardKey

func (x *CreateShardKey) GetShardKey() *ShardKey

func (*CreateShardKey) GetShardsNumber

func (x *CreateShardKey) GetShardsNumber() uint32

func (*CreateShardKey) ProtoMessage

func (*CreateShardKey) ProtoMessage()

func (*CreateShardKey) ProtoReflect

func (x *CreateShardKey) ProtoReflect() protoreflect.Message

func (*CreateShardKey) Reset

func (x *CreateShardKey) Reset()

func (*CreateShardKey) String

func (x *CreateShardKey) String() string

type CreateShardKeyRequest

type CreateShardKeyRequest struct {
	CollectionName string          `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	Request        *CreateShardKey `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`                                     // Request to create shard key
	Timeout        *uint64         `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                              // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
	// contains filtered or unexported fields
}

func (*CreateShardKeyRequest) Descriptor deprecated

func (*CreateShardKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateShardKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateShardKeyRequest) GetCollectionName

func (x *CreateShardKeyRequest) GetCollectionName() string

func (*CreateShardKeyRequest) GetRequest

func (x *CreateShardKeyRequest) GetRequest() *CreateShardKey

func (*CreateShardKeyRequest) GetTimeout

func (x *CreateShardKeyRequest) GetTimeout() uint64

func (*CreateShardKeyRequest) ProtoMessage

func (*CreateShardKeyRequest) ProtoMessage()

func (*CreateShardKeyRequest) ProtoReflect

func (x *CreateShardKeyRequest) ProtoReflect() protoreflect.Message

func (*CreateShardKeyRequest) Reset

func (x *CreateShardKeyRequest) Reset()

func (*CreateShardKeyRequest) String

func (x *CreateShardKeyRequest) String() string

type CreateShardKeyResponse

type CreateShardKeyResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateShardKeyResponse) Descriptor deprecated

func (*CreateShardKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateShardKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateShardKeyResponse) GetResult

func (x *CreateShardKeyResponse) GetResult() bool

func (*CreateShardKeyResponse) ProtoMessage

func (*CreateShardKeyResponse) ProtoMessage()

func (*CreateShardKeyResponse) ProtoReflect

func (x *CreateShardKeyResponse) ProtoReflect() protoreflect.Message

func (*CreateShardKeyResponse) Reset

func (x *CreateShardKeyResponse) Reset()

func (*CreateShardKeyResponse) String

func (x *CreateShardKeyResponse) String() string

type CreateSnapshotRequest

type CreateSnapshotRequest struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	// contains filtered or unexported fields
}

func (*CreateSnapshotRequest) Descriptor deprecated

func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.

func (*CreateSnapshotRequest) GetCollectionName

func (x *CreateSnapshotRequest) GetCollectionName() string

func (*CreateSnapshotRequest) ProtoMessage

func (*CreateSnapshotRequest) ProtoMessage()

func (*CreateSnapshotRequest) ProtoReflect

func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message

func (*CreateSnapshotRequest) Reset

func (x *CreateSnapshotRequest) Reset()

func (*CreateSnapshotRequest) String

func (x *CreateSnapshotRequest) String() string

type CreateSnapshotResponse

type CreateSnapshotResponse struct {
	SnapshotDescription *SnapshotDescription `protobuf:"bytes,1,opt,name=snapshot_description,json=snapshotDescription,proto3" json:"snapshot_description,omitempty"`
	Time                float64              `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	// contains filtered or unexported fields
}

func (*CreateSnapshotResponse) Descriptor deprecated

func (*CreateSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateSnapshotResponse.ProtoReflect.Descriptor instead.

func (*CreateSnapshotResponse) GetSnapshotDescription

func (x *CreateSnapshotResponse) GetSnapshotDescription() *SnapshotDescription

func (*CreateSnapshotResponse) GetTime

func (x *CreateSnapshotResponse) GetTime() float64

func (*CreateSnapshotResponse) ProtoMessage

func (*CreateSnapshotResponse) ProtoMessage()

func (*CreateSnapshotResponse) ProtoReflect

func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message

func (*CreateSnapshotResponse) Reset

func (x *CreateSnapshotResponse) Reset()

func (*CreateSnapshotResponse) String

func (x *CreateSnapshotResponse) String() string

type Datatype

type Datatype int32
const (
	Datatype_Default Datatype = 0
	Datatype_Float32 Datatype = 1
	Datatype_Uint8   Datatype = 2
	Datatype_Float16 Datatype = 3
)

func (Datatype) Descriptor

func (Datatype) Descriptor() protoreflect.EnumDescriptor

func (Datatype) Enum

func (x Datatype) Enum() *Datatype

func (Datatype) EnumDescriptor deprecated

func (Datatype) EnumDescriptor() ([]byte, []int)

Deprecated: Use Datatype.Descriptor instead.

func (Datatype) Number

func (x Datatype) Number() protoreflect.EnumNumber

func (Datatype) String

func (x Datatype) String() string

func (Datatype) Type

type DatetimeIndexParams

type DatetimeIndexParams struct {
	OnDisk      *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`                // If true - store index on disk.
	IsPrincipal *bool `protobuf:"varint,2,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"` // 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.
	// contains filtered or unexported fields
}

func (*DatetimeIndexParams) Descriptor deprecated

func (*DatetimeIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use DatetimeIndexParams.ProtoReflect.Descriptor instead.

func (*DatetimeIndexParams) GetIsPrincipal

func (x *DatetimeIndexParams) GetIsPrincipal() bool

func (*DatetimeIndexParams) GetOnDisk

func (x *DatetimeIndexParams) GetOnDisk() bool

func (*DatetimeIndexParams) ProtoMessage

func (*DatetimeIndexParams) ProtoMessage()

func (*DatetimeIndexParams) ProtoReflect

func (x *DatetimeIndexParams) ProtoReflect() protoreflect.Message

func (*DatetimeIndexParams) Reset

func (x *DatetimeIndexParams) Reset()

func (*DatetimeIndexParams) String

func (x *DatetimeIndexParams) String() string

type DatetimeRange

type DatetimeRange struct {
	Lt  *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
	Gt  *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
	Gte *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
	Lte *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
	// contains filtered or unexported fields
}

func (*DatetimeRange) Descriptor deprecated

func (*DatetimeRange) Descriptor() ([]byte, []int)

Deprecated: Use DatetimeRange.ProtoReflect.Descriptor instead.

func (*DatetimeRange) GetGt

func (x *DatetimeRange) GetGt() *timestamppb.Timestamp

func (*DatetimeRange) GetGte

func (x *DatetimeRange) GetGte() *timestamppb.Timestamp

func (*DatetimeRange) GetLt

func (x *DatetimeRange) GetLt() *timestamppb.Timestamp

func (*DatetimeRange) GetLte

func (x *DatetimeRange) GetLte() *timestamppb.Timestamp

func (*DatetimeRange) ProtoMessage

func (*DatetimeRange) ProtoMessage()

func (*DatetimeRange) ProtoReflect

func (x *DatetimeRange) ProtoReflect() protoreflect.Message

func (*DatetimeRange) Reset

func (x *DatetimeRange) Reset()

func (*DatetimeRange) String

func (x *DatetimeRange) String() string

type DecayParamsExpression

type DecayParamsExpression struct {

	// The variable to decay
	X *Expression `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
	// The target value to start decaying from. Defaults to 0.
	Target *Expression `protobuf:"bytes,2,opt,name=target,proto3,oneof" json:"target,omitempty"`
	// The scale factor of the decay, in terms of `x`. Defaults to 1.0. Must be a non-zero positive number.
	Scale *float32 `protobuf:"fixed32,3,opt,name=scale,proto3,oneof" json:"scale,omitempty"`
	// The midpoint of the decay. Should be between 0 and 1. Defaults to 0.5. Output will be this value when `|x - target| == scale`.
	Midpoint *float32 `protobuf:"fixed32,4,opt,name=midpoint,proto3,oneof" json:"midpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*DecayParamsExpression) Descriptor deprecated

func (*DecayParamsExpression) Descriptor() ([]byte, []int)

Deprecated: Use DecayParamsExpression.ProtoReflect.Descriptor instead.

func (*DecayParamsExpression) GetMidpoint

func (x *DecayParamsExpression) GetMidpoint() float32

func (*DecayParamsExpression) GetScale

func (x *DecayParamsExpression) GetScale() float32

func (*DecayParamsExpression) GetTarget

func (x *DecayParamsExpression) GetTarget() *Expression

func (*DecayParamsExpression) GetX

func (x *DecayParamsExpression) GetX() *Expression

func (*DecayParamsExpression) ProtoMessage

func (*DecayParamsExpression) ProtoMessage()

func (*DecayParamsExpression) ProtoReflect

func (x *DecayParamsExpression) ProtoReflect() protoreflect.Message

func (*DecayParamsExpression) Reset

func (x *DecayParamsExpression) Reset()

func (*DecayParamsExpression) String

func (x *DecayParamsExpression) String() string

type DeleteAlias

type DeleteAlias struct {
	AliasName string `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"` // Name of the alias
	// contains filtered or unexported fields
}

func (*DeleteAlias) Descriptor deprecated

func (*DeleteAlias) Descriptor() ([]byte, []int)

Deprecated: Use DeleteAlias.ProtoReflect.Descriptor instead.

func (*DeleteAlias) GetAliasName

func (x *DeleteAlias) GetAliasName() string

func (*DeleteAlias) ProtoMessage

func (*DeleteAlias) ProtoMessage()

func (*DeleteAlias) ProtoReflect

func (x *DeleteAlias) ProtoReflect() protoreflect.Message

func (*DeleteAlias) Reset

func (x *DeleteAlias) Reset()

func (*DeleteAlias) String

func (x *DeleteAlias) String() string

type DeleteCollection

type DeleteCollection struct {
	CollectionName string  `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	Timeout        *uint64 `protobuf:"varint,2,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                              // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
	// contains filtered or unexported fields
}

func (*DeleteCollection) Descriptor deprecated

func (*DeleteCollection) Descriptor() ([]byte, []int)

Deprecated: Use DeleteCollection.ProtoReflect.Descriptor instead.

func (*DeleteCollection) GetCollectionName

func (x *DeleteCollection) GetCollectionName() string

func (*DeleteCollection) GetTimeout

func (x *DeleteCollection) GetTimeout() uint64

func (*DeleteCollection) ProtoMessage

func (*DeleteCollection) ProtoMessage()

func (*DeleteCollection) ProtoReflect

func (x *DeleteCollection) ProtoReflect() protoreflect.Message

func (*DeleteCollection) Reset

func (x *DeleteCollection) Reset()

func (*DeleteCollection) String

func (x *DeleteCollection) String() string

type DeleteFieldIndexCollection

type DeleteFieldIndexCollection struct {
	CollectionName string         `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
	Wait           *bool          `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                    // Wait until the changes have been applied?
	FieldName      string         `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`                // Field name to delete
	Ordering       *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                             // Write ordering guarantees
	// contains filtered or unexported fields
}

func (*DeleteFieldIndexCollection) Descriptor deprecated

func (*DeleteFieldIndexCollection) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFieldIndexCollection.ProtoReflect.Descriptor instead.

func (*DeleteFieldIndexCollection) GetCollectionName

func (x *DeleteFieldIndexCollection) GetCollectionName() string

func (*DeleteFieldIndexCollection) GetFieldName

func (x *DeleteFieldIndexCollection) GetFieldName() string

func (*DeleteFieldIndexCollection) GetOrdering

func (x *DeleteFieldIndexCollection) GetOrdering() *WriteOrdering

func (*DeleteFieldIndexCollection) GetWait

func (x *DeleteFieldIndexCollection) GetWait() bool

func (*DeleteFieldIndexCollection) ProtoMessage

func (*DeleteFieldIndexCollection) ProtoMessage()

func (*DeleteFieldIndexCollection) ProtoReflect

func (*DeleteFieldIndexCollection) Reset

func (x *DeleteFieldIndexCollection) Reset()

func (*DeleteFieldIndexCollection) String

func (x *DeleteFieldIndexCollection) String() string

type DeleteFullSnapshotRequest

type DeleteFullSnapshotRequest struct {
	SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"` // Name of the full snapshot
	// contains filtered or unexported fields
}

func (*DeleteFullSnapshotRequest) Descriptor deprecated

func (*DeleteFullSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteFullSnapshotRequest.ProtoReflect.Descriptor instead.

func (*DeleteFullSnapshotRequest) GetSnapshotName

func (x *DeleteFullSnapshotRequest) GetSnapshotName() string

func (*DeleteFullSnapshotRequest) ProtoMessage

func (*DeleteFullSnapshotRequest) ProtoMessage()

func (*DeleteFullSnapshotRequest) ProtoReflect

func (*DeleteFullSnapshotRequest) Reset

func (x *DeleteFullSnapshotRequest) Reset()

func (*DeleteFullSnapshotRequest) String

func (x *DeleteFullSnapshotRequest) String() string

type DeletePayloadPoints

type DeletePayloadPoints struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // name of the collection
	Wait             *bool             `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                                  // Wait until the changes have been applied?
	Keys             []string          `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`                                                         // List of keys to delete
	PointsSelector   *PointsSelector   `protobuf:"bytes,5,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`         // Affected points
	Ordering         *WriteOrdering    `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                                           // Write ordering guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	// contains filtered or unexported fields
}

func (*DeletePayloadPoints) Descriptor deprecated

func (*DeletePayloadPoints) Descriptor() ([]byte, []int)

Deprecated: Use DeletePayloadPoints.ProtoReflect.Descriptor instead.

func (*DeletePayloadPoints) GetCollectionName

func (x *DeletePayloadPoints) GetCollectionName() string

func (*DeletePayloadPoints) GetKeys

func (x *DeletePayloadPoints) GetKeys() []string

func (*DeletePayloadPoints) GetOrdering

func (x *DeletePayloadPoints) GetOrdering() *WriteOrdering

func (*DeletePayloadPoints) GetPointsSelector

func (x *DeletePayloadPoints) GetPointsSelector() *PointsSelector

func (*DeletePayloadPoints) GetShardKeySelector

func (x *DeletePayloadPoints) GetShardKeySelector() *ShardKeySelector

func (*DeletePayloadPoints) GetWait

func (x *DeletePayloadPoints) GetWait() bool

func (*DeletePayloadPoints) ProtoMessage

func (*DeletePayloadPoints) ProtoMessage()

func (*DeletePayloadPoints) ProtoReflect

func (x *DeletePayloadPoints) ProtoReflect() protoreflect.Message

func (*DeletePayloadPoints) Reset

func (x *DeletePayloadPoints) Reset()

func (*DeletePayloadPoints) String

func (x *DeletePayloadPoints) String() string

type DeletePointVectors

type DeletePointVectors struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // name of the collection
	Wait             *bool             `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                                  // Wait until the changes have been applied?
	PointsSelector   *PointsSelector   `protobuf:"bytes,3,opt,name=points_selector,json=pointsSelector,proto3" json:"points_selector,omitempty"`               // Affected points
	Vectors          *VectorsSelector  `protobuf:"bytes,4,opt,name=vectors,proto3" json:"vectors,omitempty"`                                                   // List of vector names to delete
	Ordering         *WriteOrdering    `protobuf:"bytes,5,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                                           // Write ordering guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,6,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	// contains filtered or unexported fields
}

func (*DeletePointVectors) Descriptor deprecated

func (*DeletePointVectors) Descriptor() ([]byte, []int)

Deprecated: Use DeletePointVectors.ProtoReflect.Descriptor instead.

func (*DeletePointVectors) GetCollectionName

func (x *DeletePointVectors) GetCollectionName() string

func (*DeletePointVectors) GetOrdering

func (x *DeletePointVectors) GetOrdering() *WriteOrdering

func (*DeletePointVectors) GetPointsSelector

func (x *DeletePointVectors) GetPointsSelector() *PointsSelector

func (*DeletePointVectors) GetShardKeySelector

func (x *DeletePointVectors) GetShardKeySelector() *ShardKeySelector

func (*DeletePointVectors) GetVectors

func (x *DeletePointVectors) GetVectors() *VectorsSelector

func (*DeletePointVectors) GetWait

func (x *DeletePointVectors) GetWait() bool

func (*DeletePointVectors) ProtoMessage

func (*DeletePointVectors) ProtoMessage()

func (*DeletePointVectors) ProtoReflect

func (x *DeletePointVectors) ProtoReflect() protoreflect.Message

func (*DeletePointVectors) Reset

func (x *DeletePointVectors) Reset()

func (*DeletePointVectors) String

func (x *DeletePointVectors) String() string

type DeletePoints

type DeletePoints struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // name of the collection
	Wait             *bool             `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                                  // Wait until the changes have been applied?
	Points           *PointsSelector   `protobuf:"bytes,3,opt,name=points,proto3" json:"points,omitempty"`                                                     // Affected points
	Ordering         *WriteOrdering    `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                                           // Write ordering guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	// contains filtered or unexported fields
}

func (*DeletePoints) Descriptor deprecated

func (*DeletePoints) Descriptor() ([]byte, []int)

Deprecated: Use DeletePoints.ProtoReflect.Descriptor instead.

func (*DeletePoints) GetCollectionName

func (x *DeletePoints) GetCollectionName() string

func (*DeletePoints) GetOrdering

func (x *DeletePoints) GetOrdering() *WriteOrdering

func (*DeletePoints) GetPoints

func (x *DeletePoints) GetPoints() *PointsSelector

func (*DeletePoints) GetShardKeySelector

func (x *DeletePoints) GetShardKeySelector() *ShardKeySelector

func (*DeletePoints) GetWait

func (x *DeletePoints) GetWait() bool

func (*DeletePoints) ProtoMessage

func (*DeletePoints) ProtoMessage()

func (*DeletePoints) ProtoReflect

func (x *DeletePoints) ProtoReflect() protoreflect.Message

func (*DeletePoints) Reset

func (x *DeletePoints) Reset()

func (*DeletePoints) String

func (x *DeletePoints) String() string

type DeleteShardKey

type DeleteShardKey struct {
	ShardKey *ShardKey `protobuf:"bytes,1,opt,name=shard_key,json=shardKey,proto3" json:"shard_key,omitempty"` // Shard key to delete
	// contains filtered or unexported fields
}

func (*DeleteShardKey) Descriptor deprecated

func (*DeleteShardKey) Descriptor() ([]byte, []int)

Deprecated: Use DeleteShardKey.ProtoReflect.Descriptor instead.

func (*DeleteShardKey) GetShardKey

func (x *DeleteShardKey) GetShardKey() *ShardKey

func (*DeleteShardKey) ProtoMessage

func (*DeleteShardKey) ProtoMessage()

func (*DeleteShardKey) ProtoReflect

func (x *DeleteShardKey) ProtoReflect() protoreflect.Message

func (*DeleteShardKey) Reset

func (x *DeleteShardKey) Reset()

func (*DeleteShardKey) String

func (x *DeleteShardKey) String() string

type DeleteShardKeyRequest

type DeleteShardKeyRequest struct {
	CollectionName string          `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	Request        *DeleteShardKey `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`                                     // Request to delete shard key
	Timeout        *uint64         `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                              // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
	// contains filtered or unexported fields
}

func (*DeleteShardKeyRequest) Descriptor deprecated

func (*DeleteShardKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteShardKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteShardKeyRequest) GetCollectionName

func (x *DeleteShardKeyRequest) GetCollectionName() string

func (*DeleteShardKeyRequest) GetRequest

func (x *DeleteShardKeyRequest) GetRequest() *DeleteShardKey

func (*DeleteShardKeyRequest) GetTimeout

func (x *DeleteShardKeyRequest) GetTimeout() uint64

func (*DeleteShardKeyRequest) ProtoMessage

func (*DeleteShardKeyRequest) ProtoMessage()

func (*DeleteShardKeyRequest) ProtoReflect

func (x *DeleteShardKeyRequest) ProtoReflect() protoreflect.Message

func (*DeleteShardKeyRequest) Reset

func (x *DeleteShardKeyRequest) Reset()

func (*DeleteShardKeyRequest) String

func (x *DeleteShardKeyRequest) String() string

type DeleteShardKeyResponse

type DeleteShardKeyResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteShardKeyResponse) Descriptor deprecated

func (*DeleteShardKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteShardKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteShardKeyResponse) GetResult

func (x *DeleteShardKeyResponse) GetResult() bool

func (*DeleteShardKeyResponse) ProtoMessage

func (*DeleteShardKeyResponse) ProtoMessage()

func (*DeleteShardKeyResponse) ProtoReflect

func (x *DeleteShardKeyResponse) ProtoReflect() protoreflect.Message

func (*DeleteShardKeyResponse) Reset

func (x *DeleteShardKeyResponse) Reset()

func (*DeleteShardKeyResponse) String

func (x *DeleteShardKeyResponse) String() string

type DeleteSnapshotRequest

type DeleteSnapshotRequest struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	SnapshotName   string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`       // Name of the collection snapshot
	// contains filtered or unexported fields
}

func (*DeleteSnapshotRequest) Descriptor deprecated

func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotRequest) GetCollectionName

func (x *DeleteSnapshotRequest) GetCollectionName() string

func (*DeleteSnapshotRequest) GetSnapshotName

func (x *DeleteSnapshotRequest) GetSnapshotName() string

func (*DeleteSnapshotRequest) ProtoMessage

func (*DeleteSnapshotRequest) ProtoMessage()

func (*DeleteSnapshotRequest) ProtoReflect

func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message

func (*DeleteSnapshotRequest) Reset

func (x *DeleteSnapshotRequest) Reset()

func (*DeleteSnapshotRequest) String

func (x *DeleteSnapshotRequest) String() string

type DeleteSnapshotResponse

type DeleteSnapshotResponse struct {
	Time float64 `protobuf:"fixed64,1,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	// contains filtered or unexported fields
}

func (*DeleteSnapshotResponse) Descriptor deprecated

func (*DeleteSnapshotResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteSnapshotResponse.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotResponse) GetTime

func (x *DeleteSnapshotResponse) GetTime() float64

func (*DeleteSnapshotResponse) ProtoMessage

func (*DeleteSnapshotResponse) ProtoMessage()

func (*DeleteSnapshotResponse) ProtoReflect

func (x *DeleteSnapshotResponse) ProtoReflect() protoreflect.Message

func (*DeleteSnapshotResponse) Reset

func (x *DeleteSnapshotResponse) Reset()

func (*DeleteSnapshotResponse) String

func (x *DeleteSnapshotResponse) String() string

type DenseVector

type DenseVector struct {
	Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*DenseVector) Descriptor deprecated

func (*DenseVector) Descriptor() ([]byte, []int)

Deprecated: Use DenseVector.ProtoReflect.Descriptor instead.

func (*DenseVector) GetData

func (x *DenseVector) GetData() []float32

func (*DenseVector) ProtoMessage

func (*DenseVector) ProtoMessage()

func (*DenseVector) ProtoReflect

func (x *DenseVector) ProtoReflect() protoreflect.Message

func (*DenseVector) Reset

func (x *DenseVector) Reset()

func (*DenseVector) String

func (x *DenseVector) String() string

type Direction

type Direction int32
const (
	Direction_Asc  Direction = 0
	Direction_Desc Direction = 1
)

func (Direction) Descriptor

func (Direction) Descriptor() protoreflect.EnumDescriptor

func (Direction) Enum

func (x Direction) Enum() *Direction

func (Direction) EnumDescriptor deprecated

func (Direction) EnumDescriptor() ([]byte, []int)

Deprecated: Use Direction.Descriptor instead.

func (Direction) Number

func (x Direction) Number() protoreflect.EnumNumber

func (Direction) String

func (x Direction) String() string

func (Direction) Type

type Disabled

type Disabled struct {
	// contains filtered or unexported fields
}

func (*Disabled) Descriptor deprecated

func (*Disabled) Descriptor() ([]byte, []int)

Deprecated: Use Disabled.ProtoReflect.Descriptor instead.

func (*Disabled) ProtoMessage

func (*Disabled) ProtoMessage()

func (*Disabled) ProtoReflect

func (x *Disabled) ProtoReflect() protoreflect.Message

func (*Disabled) Reset

func (x *Disabled) Reset()

func (*Disabled) String

func (x *Disabled) String() string

type DiscoverBatchPoints

type DiscoverBatchPoints struct {
	CollectionName  string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	DiscoverPoints  []*DiscoverPoints `protobuf:"bytes,2,rep,name=discover_points,json=discoverPoints,proto3" json:"discover_points,omitempty"`
	ReadConsistency *ReadConsistency  `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
	Timeout         *uint64           `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                       // If set, overrides global timeout setting for this request. Unit is seconds.
	// contains filtered or unexported fields
}

func (*DiscoverBatchPoints) Descriptor deprecated

func (*DiscoverBatchPoints) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverBatchPoints.ProtoReflect.Descriptor instead.

func (*DiscoverBatchPoints) GetCollectionName

func (x *DiscoverBatchPoints) GetCollectionName() string

func (*DiscoverBatchPoints) GetDiscoverPoints

func (x *DiscoverBatchPoints) GetDiscoverPoints() []*DiscoverPoints

func (*DiscoverBatchPoints) GetReadConsistency

func (x *DiscoverBatchPoints) GetReadConsistency() *ReadConsistency

func (*DiscoverBatchPoints) GetTimeout

func (x *DiscoverBatchPoints) GetTimeout() uint64

func (*DiscoverBatchPoints) ProtoMessage

func (*DiscoverBatchPoints) ProtoMessage()

func (*DiscoverBatchPoints) ProtoReflect

func (x *DiscoverBatchPoints) ProtoReflect() protoreflect.Message

func (*DiscoverBatchPoints) Reset

func (x *DiscoverBatchPoints) Reset()

func (*DiscoverBatchPoints) String

func (x *DiscoverBatchPoints) String() string

type DiscoverBatchResponse

type DiscoverBatchResponse struct {
	Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64        `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage         `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoverBatchResponse) Descriptor deprecated

func (*DiscoverBatchResponse) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverBatchResponse.ProtoReflect.Descriptor instead.

func (*DiscoverBatchResponse) GetResult

func (x *DiscoverBatchResponse) GetResult() []*BatchResult

func (*DiscoverBatchResponse) GetTime

func (x *DiscoverBatchResponse) GetTime() float64

func (*DiscoverBatchResponse) GetUsage

func (x *DiscoverBatchResponse) GetUsage() *Usage

func (*DiscoverBatchResponse) ProtoMessage

func (*DiscoverBatchResponse) ProtoMessage()

func (*DiscoverBatchResponse) ProtoReflect

func (x *DiscoverBatchResponse) ProtoReflect() protoreflect.Message

func (*DiscoverBatchResponse) Reset

func (x *DiscoverBatchResponse) Reset()

func (*DiscoverBatchResponse) String

func (x *DiscoverBatchResponse) String() string

type DiscoverInput

type DiscoverInput struct {
	Target  *VectorInput  `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`   // Use this as the primary search objective
	Context *ContextInput `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // Search space will be constrained by these pairs of vectors
	// contains filtered or unexported fields
}

func (*DiscoverInput) Descriptor deprecated

func (*DiscoverInput) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverInput.ProtoReflect.Descriptor instead.

func (*DiscoverInput) GetContext

func (x *DiscoverInput) GetContext() *ContextInput

func (*DiscoverInput) GetTarget

func (x *DiscoverInput) GetTarget() *VectorInput

func (*DiscoverInput) ProtoMessage

func (*DiscoverInput) ProtoMessage()

func (*DiscoverInput) ProtoReflect

func (x *DiscoverInput) ProtoReflect() protoreflect.Message

func (*DiscoverInput) Reset

func (x *DiscoverInput) Reset()

func (*DiscoverInput) String

func (x *DiscoverInput) String() string

type DiscoverPoints

type DiscoverPoints struct {
	CollectionName   string                `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                // name of the collection
	Target           *TargetVector         `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`                                                      // Use this as the primary search objective
	Context          []*ContextExamplePair `protobuf:"bytes,3,rep,name=context,proto3" json:"context,omitempty"`                                                    // Search will be constrained by these pairs of examples
	Filter           *Filter               `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`                                                      // Filter conditions - return only those points that satisfy the specified conditions
	Limit            uint64                `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`                                                       // Max number of result
	WithPayload      *WithPayloadSelector  `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`                         // Options for specifying which payload to include or not
	Params           *SearchParams         `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"`                                                      // Search config
	Offset           *uint64               `protobuf:"varint,8,opt,name=offset,proto3,oneof" json:"offset,omitempty"`                                               // Offset of the result
	Using            *string               `protobuf:"bytes,9,opt,name=using,proto3,oneof" json:"using,omitempty"`                                                  // Define which vector to use for recommendation, if not specified - default vector
	WithVectors      *WithVectorsSelector  `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                  // Options for specifying which vectors to include into response
	LookupFrom       *LookupLocation       `protobuf:"bytes,11,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`                     // Name of the collection to use for points lookup, if not specified - use current collection
	ReadConsistency  *ReadConsistency      `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	Timeout          *uint64               `protobuf:"varint,13,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	ShardKeySelector *ShardKeySelector     `protobuf:"bytes,14,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	// contains filtered or unexported fields
}

func (*DiscoverPoints) Descriptor deprecated

func (*DiscoverPoints) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverPoints.ProtoReflect.Descriptor instead.

func (*DiscoverPoints) GetCollectionName

func (x *DiscoverPoints) GetCollectionName() string

func (*DiscoverPoints) GetContext

func (x *DiscoverPoints) GetContext() []*ContextExamplePair

func (*DiscoverPoints) GetFilter

func (x *DiscoverPoints) GetFilter() *Filter

func (*DiscoverPoints) GetLimit

func (x *DiscoverPoints) GetLimit() uint64

func (*DiscoverPoints) GetLookupFrom

func (x *DiscoverPoints) GetLookupFrom() *LookupLocation

func (*DiscoverPoints) GetOffset

func (x *DiscoverPoints) GetOffset() uint64

func (*DiscoverPoints) GetParams

func (x *DiscoverPoints) GetParams() *SearchParams

func (*DiscoverPoints) GetReadConsistency

func (x *DiscoverPoints) GetReadConsistency() *ReadConsistency

func (*DiscoverPoints) GetShardKeySelector

func (x *DiscoverPoints) GetShardKeySelector() *ShardKeySelector

func (*DiscoverPoints) GetTarget

func (x *DiscoverPoints) GetTarget() *TargetVector

func (*DiscoverPoints) GetTimeout

func (x *DiscoverPoints) GetTimeout() uint64

func (*DiscoverPoints) GetUsing

func (x *DiscoverPoints) GetUsing() string

func (*DiscoverPoints) GetWithPayload

func (x *DiscoverPoints) GetWithPayload() *WithPayloadSelector

func (*DiscoverPoints) GetWithVectors

func (x *DiscoverPoints) GetWithVectors() *WithVectorsSelector

func (*DiscoverPoints) ProtoMessage

func (*DiscoverPoints) ProtoMessage()

func (*DiscoverPoints) ProtoReflect

func (x *DiscoverPoints) ProtoReflect() protoreflect.Message

func (*DiscoverPoints) Reset

func (x *DiscoverPoints) Reset()

func (*DiscoverPoints) String

func (x *DiscoverPoints) String() string

type DiscoverResponse

type DiscoverResponse struct {
	Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64        `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage         `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*DiscoverResponse) Descriptor deprecated

func (*DiscoverResponse) Descriptor() ([]byte, []int)

Deprecated: Use DiscoverResponse.ProtoReflect.Descriptor instead.

func (*DiscoverResponse) GetResult

func (x *DiscoverResponse) GetResult() []*ScoredPoint

func (*DiscoverResponse) GetTime

func (x *DiscoverResponse) GetTime() float64

func (*DiscoverResponse) GetUsage

func (x *DiscoverResponse) GetUsage() *Usage

func (*DiscoverResponse) ProtoMessage

func (*DiscoverResponse) ProtoMessage()

func (*DiscoverResponse) ProtoReflect

func (x *DiscoverResponse) ProtoReflect() protoreflect.Message

func (*DiscoverResponse) Reset

func (x *DiscoverResponse) Reset()

func (*DiscoverResponse) String

func (x *DiscoverResponse) String() string

type Distance

type Distance int32
const (
	Distance_UnknownDistance Distance = 0
	Distance_Cosine          Distance = 1
	Distance_Euclid          Distance = 2
	Distance_Dot             Distance = 3
	Distance_Manhattan       Distance = 4
)

func (Distance) Descriptor

func (Distance) Descriptor() protoreflect.EnumDescriptor

func (Distance) Enum

func (x Distance) Enum() *Distance

func (Distance) EnumDescriptor deprecated

func (Distance) EnumDescriptor() ([]byte, []int)

Deprecated: Use Distance.Descriptor instead.

func (Distance) Number

func (x Distance) Number() protoreflect.EnumNumber

func (Distance) String

func (x Distance) String() string

func (Distance) Type

type DivExpression

type DivExpression struct {
	Left          *Expression `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
	Right         *Expression `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"`
	ByZeroDefault *float32    `protobuf:"fixed32,3,opt,name=by_zero_default,json=byZeroDefault,proto3,oneof" json:"by_zero_default,omitempty"`
	// contains filtered or unexported fields
}

func (*DivExpression) Descriptor deprecated

func (*DivExpression) Descriptor() ([]byte, []int)

Deprecated: Use DivExpression.ProtoReflect.Descriptor instead.

func (*DivExpression) GetByZeroDefault

func (x *DivExpression) GetByZeroDefault() float32

func (*DivExpression) GetLeft

func (x *DivExpression) GetLeft() *Expression

func (*DivExpression) GetRight

func (x *DivExpression) GetRight() *Expression

func (*DivExpression) ProtoMessage

func (*DivExpression) ProtoMessage()

func (*DivExpression) ProtoReflect

func (x *DivExpression) ProtoReflect() protoreflect.Message

func (*DivExpression) Reset

func (x *DivExpression) Reset()

func (*DivExpression) String

func (x *DivExpression) String() string

type Document

type Document struct {
	Text    string            `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`   // Text of the document
	Model   string            `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // Model name
	Options map[string]*Value ``                                                                // Model options
	/* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Document) Descriptor deprecated

func (*Document) Descriptor() ([]byte, []int)

Deprecated: Use Document.ProtoReflect.Descriptor instead.

func (*Document) GetModel

func (x *Document) GetModel() string

func (*Document) GetOptions

func (x *Document) GetOptions() map[string]*Value

func (*Document) GetText

func (x *Document) GetText() string

func (*Document) ProtoMessage

func (*Document) ProtoMessage()

func (*Document) ProtoReflect

func (x *Document) ProtoReflect() protoreflect.Message

func (*Document) Reset

func (x *Document) Reset()

func (*Document) String

func (x *Document) String() string

type Expression

type Expression struct {

	// Types that are assignable to Variant:
	//
	//	*Expression_Constant
	//	*Expression_Variable
	//	*Expression_Condition
	//	*Expression_GeoDistance
	//	*Expression_Datetime
	//	*Expression_DatetimeKey
	//	*Expression_Mult
	//	*Expression_Sum
	//	*Expression_Div
	//	*Expression_Neg
	//	*Expression_Abs
	//	*Expression_Sqrt
	//	*Expression_Pow
	//	*Expression_Exp
	//	*Expression_Log10
	//	*Expression_Ln
	//	*Expression_ExpDecay
	//	*Expression_GaussDecay
	//	*Expression_LinDecay
	Variant isExpression_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

func NewExpressionAbs

func NewExpressionAbs(abs *Expression) *Expression

Creates a *Expression instance for absolute value.

func NewExpressionCondition

func NewExpressionCondition(condition *Condition) *Expression

Creates a *Expression instance from a *Condition. If true, becomes 1.0; otherwise 0.0.

func NewExpressionConstant

func NewExpressionConstant(constant float32) *Expression

Creates a *Expression instance from a constant.

func NewExpressionDatetime

func NewExpressionDatetime(datetime string) *Expression

Creates a *Expression instance from a datetime constant string.

func NewExpressionDatetimeKey

func NewExpressionDatetimeKey(datetimeKey string) *Expression

Creates a *Expression instance from a datetime key in the payload.

func NewExpressionDiv

func NewExpressionDiv(div *DivExpression) *Expression

Creates a *Expression instance for division.

func NewExpressionExp

func NewExpressionExp(exp *Expression) *Expression

Creates a *Expression instance for exponential.

func NewExpressionExpDecay

func NewExpressionExpDecay(expDecay *DecayParamsExpression) *Expression

Creates a *Expression instance for exponential decay.

func NewExpressionGaussDecay

func NewExpressionGaussDecay(gaussDecay *DecayParamsExpression) *Expression

Creates a *Expression instance for Gaussian decay.

func NewExpressionGeoDistance

func NewExpressionGeoDistance(geoDistance *GeoDistance) *Expression

Creates a *Expression instance from a *GeoDistance.

func NewExpressionLinDecay

func NewExpressionLinDecay(linDecay *DecayParamsExpression) *Expression

Creates a *Expression instance for linear decay.

func NewExpressionLn

func NewExpressionLn(ln *Expression) *Expression

Creates a *Expression instance for natural logarithm.

func NewExpressionLog10

func NewExpressionLog10(log10 *Expression) *Expression

Creates a *Expression instance for base-10 logarithm.

func NewExpressionMult

func NewExpressionMult(mult *MultExpression) *Expression

Creates a *Expression instance for multiplication.

func NewExpressionNeg

func NewExpressionNeg(neg *Expression) *Expression

Creates a *Expression instance to negate a value.

func NewExpressionPow

func NewExpressionPow(pow *PowExpression) *Expression

Creates a *Expression instance for power expression.

func NewExpressionSqrt

func NewExpressionSqrt(sqrt *Expression) *Expression

Creates a *Expression instance for square root.

func NewExpressionSum

func NewExpressionSum(sum *SumExpression) *Expression

Creates a *Expression instance for summation.

func NewExpressionVariable

func NewExpressionVariable(variable string) *Expression

Creates a *Expression instance from a variable (payload key or score reference).

func (*Expression) Descriptor deprecated

func (*Expression) Descriptor() ([]byte, []int)

Deprecated: Use Expression.ProtoReflect.Descriptor instead.

func (*Expression) GetAbs

func (x *Expression) GetAbs() *Expression

func (*Expression) GetCondition

func (x *Expression) GetCondition() *Condition

func (*Expression) GetConstant

func (x *Expression) GetConstant() float32

func (*Expression) GetDatetime

func (x *Expression) GetDatetime() string

func (*Expression) GetDatetimeKey

func (x *Expression) GetDatetimeKey() string

func (*Expression) GetDiv

func (x *Expression) GetDiv() *DivExpression

func (*Expression) GetExp

func (x *Expression) GetExp() *Expression

func (*Expression) GetExpDecay

func (x *Expression) GetExpDecay() *DecayParamsExpression

func (*Expression) GetGaussDecay

func (x *Expression) GetGaussDecay() *DecayParamsExpression

func (*Expression) GetGeoDistance

func (x *Expression) GetGeoDistance() *GeoDistance

func (*Expression) GetLinDecay

func (x *Expression) GetLinDecay() *DecayParamsExpression

func (*Expression) GetLn

func (x *Expression) GetLn() *Expression

func (*Expression) GetLog10

func (x *Expression) GetLog10() *Expression

func (*Expression) GetMult

func (x *Expression) GetMult() *MultExpression

func (*Expression) GetNeg

func (x *Expression) GetNeg() *Expression

func (*Expression) GetPow

func (x *Expression) GetPow() *PowExpression

func (*Expression) GetSqrt

func (x *Expression) GetSqrt() *Expression

func (*Expression) GetSum

func (x *Expression) GetSum() *SumExpression

func (*Expression) GetVariable

func (x *Expression) GetVariable() string

func (*Expression) GetVariant

func (m *Expression) GetVariant() isExpression_Variant

func (*Expression) ProtoMessage

func (*Expression) ProtoMessage()

func (*Expression) ProtoReflect

func (x *Expression) ProtoReflect() protoreflect.Message

func (*Expression) Reset

func (x *Expression) Reset()

func (*Expression) String

func (x *Expression) String() string

type Expression_Abs

type Expression_Abs struct {
	Abs *Expression `protobuf:"bytes,11,opt,name=abs,proto3,oneof"` // Absolute value
}

type Expression_Condition

type Expression_Condition struct {
	Condition *Condition `protobuf:"bytes,3,opt,name=condition,proto3,oneof"` // Payload condition. If true, becomes 1.0; otherwise 0.0
}

type Expression_Constant

type Expression_Constant struct {
	Constant float32 `protobuf:"fixed32,1,opt,name=constant,proto3,oneof"`
}

type Expression_Datetime

type Expression_Datetime struct {
	Datetime string `protobuf:"bytes,5,opt,name=datetime,proto3,oneof"` // Date-time constant
}

type Expression_DatetimeKey

type Expression_DatetimeKey struct {
	DatetimeKey string `protobuf:"bytes,6,opt,name=datetime_key,json=datetimeKey,proto3,oneof"` // Payload key with date-time values
}

type Expression_Div

type Expression_Div struct {
	Div *DivExpression `protobuf:"bytes,9,opt,name=div,proto3,oneof"` // Divide
}

type Expression_Exp

type Expression_Exp struct {
	Exp *Expression `protobuf:"bytes,14,opt,name=exp,proto3,oneof"` // Exponential
}

type Expression_ExpDecay

type Expression_ExpDecay struct {
	ExpDecay *DecayParamsExpression `protobuf:"bytes,17,opt,name=exp_decay,json=expDecay,proto3,oneof"` // Exponential decay
}

type Expression_GaussDecay

type Expression_GaussDecay struct {
	GaussDecay *DecayParamsExpression `protobuf:"bytes,18,opt,name=gauss_decay,json=gaussDecay,proto3,oneof"` // Gaussian decay
}

type Expression_GeoDistance

type Expression_GeoDistance struct {
	GeoDistance *GeoDistance `protobuf:"bytes,4,opt,name=geo_distance,json=geoDistance,proto3,oneof"` // Geographic distance in meters
}

type Expression_LinDecay

type Expression_LinDecay struct {
	LinDecay *DecayParamsExpression `protobuf:"bytes,19,opt,name=lin_decay,json=linDecay,proto3,oneof"` // Linear decay
}

type Expression_Ln

type Expression_Ln struct {
	Ln *Expression `protobuf:"bytes,16,opt,name=ln,proto3,oneof"` // Natural logarithm
}

type Expression_Log10

type Expression_Log10 struct {
	Log10 *Expression `protobuf:"bytes,15,opt,name=log10,proto3,oneof"` // Logarithm
}

type Expression_Mult

type Expression_Mult struct {
	Mult *MultExpression `protobuf:"bytes,7,opt,name=mult,proto3,oneof"` // Multiply
}

type Expression_Neg

type Expression_Neg struct {
	Neg *Expression `protobuf:"bytes,10,opt,name=neg,proto3,oneof"` // Negate
}

type Expression_Pow

type Expression_Pow struct {
	Pow *PowExpression `protobuf:"bytes,13,opt,name=pow,proto3,oneof"` // Power
}

type Expression_Sqrt

type Expression_Sqrt struct {
	Sqrt *Expression `protobuf:"bytes,12,opt,name=sqrt,proto3,oneof"` // Square root
}

type Expression_Sum

type Expression_Sum struct {
	Sum *SumExpression `protobuf:"bytes,8,opt,name=sum,proto3,oneof"` // Sum
}

type Expression_Variable

type Expression_Variable struct {
	Variable string `protobuf:"bytes,2,opt,name=variable,proto3,oneof"` // Payload key or reference to score.
}

type FacetCounts

type FacetCounts struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // Name of the collection
	Key              string            `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                                           // Payload key of the facet
	Filter           *Filter           `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"`                                               // Filter conditions - return only those points that satisfy the specified conditions.
	Limit            *uint64           `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"`                                                // Max number of facets. Default is 10.
	Exact            *bool             `protobuf:"varint,5,opt,name=exact,proto3,oneof" json:"exact,omitempty"`                                                // If true, return exact counts, slower but useful for debugging purposes. Default is false.
	Timeout          *uint64           `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	ReadConsistency  *ReadConsistency  `protobuf:"bytes,7,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,8,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	// contains filtered or unexported fields
}

func (*FacetCounts) Descriptor deprecated

func (*FacetCounts) Descriptor() ([]byte, []int)

Deprecated: Use FacetCounts.ProtoReflect.Descriptor instead.

func (*FacetCounts) GetCollectionName

func (x *FacetCounts) GetCollectionName() string

func (*FacetCounts) GetExact

func (x *FacetCounts) GetExact() bool

func (*FacetCounts) GetFilter

func (x *FacetCounts) GetFilter() *Filter

func (*FacetCounts) GetKey

func (x *FacetCounts) GetKey() string

func (*FacetCounts) GetLimit

func (x *FacetCounts) GetLimit() uint64

func (*FacetCounts) GetReadConsistency

func (x *FacetCounts) GetReadConsistency() *ReadConsistency

func (*FacetCounts) GetShardKeySelector

func (x *FacetCounts) GetShardKeySelector() *ShardKeySelector

func (*FacetCounts) GetTimeout

func (x *FacetCounts) GetTimeout() uint64

func (*FacetCounts) ProtoMessage

func (*FacetCounts) ProtoMessage()

func (*FacetCounts) ProtoReflect

func (x *FacetCounts) ProtoReflect() protoreflect.Message

func (*FacetCounts) Reset

func (x *FacetCounts) Reset()

func (*FacetCounts) String

func (x *FacetCounts) String() string

type FacetHit

type FacetHit struct {
	Value *FacetValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`  // Value from the facet
	Count uint64      `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // Number of points with this value
	// contains filtered or unexported fields
}

func (*FacetHit) Descriptor deprecated

func (*FacetHit) Descriptor() ([]byte, []int)

Deprecated: Use FacetHit.ProtoReflect.Descriptor instead.

func (*FacetHit) GetCount

func (x *FacetHit) GetCount() uint64

func (*FacetHit) GetValue

func (x *FacetHit) GetValue() *FacetValue

func (*FacetHit) ProtoMessage

func (*FacetHit) ProtoMessage()

func (*FacetHit) ProtoReflect

func (x *FacetHit) ProtoReflect() protoreflect.Message

func (*FacetHit) Reset

func (x *FacetHit) Reset()

func (*FacetHit) String

func (x *FacetHit) String() string

type FacetResponse

type FacetResponse struct {
	Hits  []*FacetHit `protobuf:"bytes,1,rep,name=hits,proto3" json:"hits,omitempty"`
	Time  float64     `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage *Usage      `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*FacetResponse) Descriptor deprecated

func (*FacetResponse) Descriptor() ([]byte, []int)

Deprecated: Use FacetResponse.ProtoReflect.Descriptor instead.

func (*FacetResponse) GetHits

func (x *FacetResponse) GetHits() []*FacetHit

func (*FacetResponse) GetTime

func (x *FacetResponse) GetTime() float64

func (*FacetResponse) GetUsage

func (x *FacetResponse) GetUsage() *Usage

func (*FacetResponse) ProtoMessage

func (*FacetResponse) ProtoMessage()

func (*FacetResponse) ProtoReflect

func (x *FacetResponse) ProtoReflect() protoreflect.Message

func (*FacetResponse) Reset

func (x *FacetResponse) Reset()

func (*FacetResponse) String

func (x *FacetResponse) String() string

type FacetValue

type FacetValue struct {

	// Types that are assignable to Variant:
	//
	//	*FacetValue_StringValue
	//	*FacetValue_IntegerValue
	//	*FacetValue_BoolValue
	Variant isFacetValue_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

func NewFacetValue

func NewFacetValue(value string) *FacetValue

Creates a *FacetValue instance from a string.

func (*FacetValue) Descriptor deprecated

func (*FacetValue) Descriptor() ([]byte, []int)

Deprecated: Use FacetValue.ProtoReflect.Descriptor instead.

func (*FacetValue) GetBoolValue

func (x *FacetValue) GetBoolValue() bool

func (*FacetValue) GetIntegerValue

func (x *FacetValue) GetIntegerValue() int64

func (*FacetValue) GetStringValue

func (x *FacetValue) GetStringValue() string

func (*FacetValue) GetVariant

func (m *FacetValue) GetVariant() isFacetValue_Variant

func (*FacetValue) ProtoMessage

func (*FacetValue) ProtoMessage()

func (*FacetValue) ProtoReflect

func (x *FacetValue) ProtoReflect() protoreflect.Message

func (*FacetValue) Reset

func (x *FacetValue) Reset()

func (*FacetValue) String

func (x *FacetValue) String() string

type FacetValue_BoolValue

type FacetValue_BoolValue struct {
	BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"` // Boolean value from the facet
}

type FacetValue_IntegerValue

type FacetValue_IntegerValue struct {
	IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"` // Integer value from the facet
}

type FacetValue_StringValue

type FacetValue_StringValue struct {
	StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` // String value from the facet
}

type FieldCondition

type FieldCondition struct {
	Key            string          `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Match          *Match          `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`                                           // Check if point has field with a given value
	Range          *Range          `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`                                           // Check if points value lies in a given range
	GeoBoundingBox *GeoBoundingBox `protobuf:"bytes,4,opt,name=geo_bounding_box,json=geoBoundingBox,proto3" json:"geo_bounding_box,omitempty"` // Check if points geolocation lies in a given area
	GeoRadius      *GeoRadius      `protobuf:"bytes,5,opt,name=geo_radius,json=geoRadius,proto3" json:"geo_radius,omitempty"`                  // Check if geo point is within a given radius
	ValuesCount    *ValuesCount    `protobuf:"bytes,6,opt,name=values_count,json=valuesCount,proto3" json:"values_count,omitempty"`            // Check number of values for a specific field
	GeoPolygon     *GeoPolygon     `protobuf:"bytes,7,opt,name=geo_polygon,json=geoPolygon,proto3" json:"geo_polygon,omitempty"`               // Check if geo point is within a given polygon
	DatetimeRange  *DatetimeRange  `protobuf:"bytes,8,opt,name=datetime_range,json=datetimeRange,proto3" json:"datetime_range,omitempty"`      // Check if datetime is within a given range
	IsEmpty        *bool           `protobuf:"varint,9,opt,name=is_empty,json=isEmpty,proto3,oneof" json:"is_empty,omitempty"`                 // Check if field is empty
	IsNull         *bool           `protobuf:"varint,10,opt,name=is_null,json=isNull,proto3,oneof" json:"is_null,omitempty"`                   // Check if field is null
	// contains filtered or unexported fields
}

func (*FieldCondition) Descriptor deprecated

func (*FieldCondition) Descriptor() ([]byte, []int)

Deprecated: Use FieldCondition.ProtoReflect.Descriptor instead.

func (*FieldCondition) GetDatetimeRange

func (x *FieldCondition) GetDatetimeRange() *DatetimeRange

func (*FieldCondition) GetGeoBoundingBox

func (x *FieldCondition) GetGeoBoundingBox() *GeoBoundingBox

func (*FieldCondition) GetGeoPolygon

func (x *FieldCondition) GetGeoPolygon() *GeoPolygon

func (*FieldCondition) GetGeoRadius

func (x *FieldCondition) GetGeoRadius() *GeoRadius

func (*FieldCondition) GetIsEmpty

func (x *FieldCondition) GetIsEmpty() bool

func (*FieldCondition) GetIsNull

func (x *FieldCondition) GetIsNull() bool

func (*FieldCondition) GetKey

func (x *FieldCondition) GetKey() string

func (*FieldCondition) GetMatch

func (x *FieldCondition) GetMatch() *Match

func (*FieldCondition) GetRange

func (x *FieldCondition) GetRange() *Range

func (*FieldCondition) GetValuesCount

func (x *FieldCondition) GetValuesCount() *ValuesCount

func (*FieldCondition) ProtoMessage

func (*FieldCondition) ProtoMessage()

func (*FieldCondition) ProtoReflect

func (x *FieldCondition) ProtoReflect() protoreflect.Message

func (*FieldCondition) Reset

func (x *FieldCondition) Reset()

func (*FieldCondition) String

func (x *FieldCondition) String() string

type FieldType

type FieldType int32
const (
	FieldType_FieldTypeKeyword  FieldType = 0
	FieldType_FieldTypeInteger  FieldType = 1
	FieldType_FieldTypeFloat    FieldType = 2
	FieldType_FieldTypeGeo      FieldType = 3
	FieldType_FieldTypeText     FieldType = 4
	FieldType_FieldTypeBool     FieldType = 5
	FieldType_FieldTypeDatetime FieldType = 6
	FieldType_FieldTypeUuid     FieldType = 7
)

func (FieldType) Descriptor

func (FieldType) Descriptor() protoreflect.EnumDescriptor

func (FieldType) Enum

func (x FieldType) Enum() *FieldType

func (FieldType) EnumDescriptor deprecated

func (FieldType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FieldType.Descriptor instead.

func (FieldType) Number

func (x FieldType) Number() protoreflect.EnumNumber

func (FieldType) String

func (x FieldType) String() string

func (FieldType) Type

type Filter

type Filter struct {
	Should    []*Condition `protobuf:"bytes,1,rep,name=should,proto3" json:"should,omitempty"`                              // At least one of those conditions should match
	Must      []*Condition `protobuf:"bytes,2,rep,name=must,proto3" json:"must,omitempty"`                                  // All conditions must match
	MustNot   []*Condition `protobuf:"bytes,3,rep,name=must_not,json=mustNot,proto3" json:"must_not,omitempty"`             // All conditions must NOT match
	MinShould *MinShould   `protobuf:"bytes,4,opt,name=min_should,json=minShould,proto3,oneof" json:"min_should,omitempty"` // At least minimum amount of given conditions should match
	// contains filtered or unexported fields
}

func (*Filter) Descriptor deprecated

func (*Filter) Descriptor() ([]byte, []int)

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetMinShould

func (x *Filter) GetMinShould() *MinShould

func (*Filter) GetMust

func (x *Filter) GetMust() []*Condition

func (*Filter) GetMustNot

func (x *Filter) GetMustNot() []*Condition

func (*Filter) GetShould

func (x *Filter) GetShould() []*Condition

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

func (x *Filter) ProtoReflect() protoreflect.Message

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type FloatIndexParams

type FloatIndexParams struct {
	OnDisk      *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`                // If true - store index on disk.
	IsPrincipal *bool `protobuf:"varint,2,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"` // 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.
	// contains filtered or unexported fields
}

func (*FloatIndexParams) Descriptor deprecated

func (*FloatIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use FloatIndexParams.ProtoReflect.Descriptor instead.

func (*FloatIndexParams) GetIsPrincipal

func (x *FloatIndexParams) GetIsPrincipal() bool

func (*FloatIndexParams) GetOnDisk

func (x *FloatIndexParams) GetOnDisk() bool

func (*FloatIndexParams) ProtoMessage

func (*FloatIndexParams) ProtoMessage()

func (*FloatIndexParams) ProtoReflect

func (x *FloatIndexParams) ProtoReflect() protoreflect.Message

func (*FloatIndexParams) Reset

func (x *FloatIndexParams) Reset()

func (*FloatIndexParams) String

func (x *FloatIndexParams) String() string

type Formula

type Formula struct {
	Expression *Expression       `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
	Defaults   map[string]*Value `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Formula) Descriptor deprecated

func (*Formula) Descriptor() ([]byte, []int)

Deprecated: Use Formula.ProtoReflect.Descriptor instead.

func (*Formula) GetDefaults

func (x *Formula) GetDefaults() map[string]*Value

func (*Formula) GetExpression

func (x *Formula) GetExpression() *Expression

func (*Formula) ProtoMessage

func (*Formula) ProtoMessage()

func (*Formula) ProtoReflect

func (x *Formula) ProtoReflect() protoreflect.Message

func (*Formula) Reset

func (x *Formula) Reset()

func (*Formula) String

func (x *Formula) String() string

type Fusion

type Fusion int32
const (
	Fusion_RRF  Fusion = 0 // Reciprocal Rank Fusion (with default parameters)
	Fusion_DBSF Fusion = 1 // Distribution-Based Score Fusion
)

func (Fusion) Descriptor

func (Fusion) Descriptor() protoreflect.EnumDescriptor

func (Fusion) Enum

func (x Fusion) Enum() *Fusion

func (Fusion) EnumDescriptor deprecated

func (Fusion) EnumDescriptor() ([]byte, []int)

Deprecated: Use Fusion.Descriptor instead.

func (Fusion) Number

func (x Fusion) Number() protoreflect.EnumNumber

func (Fusion) String

func (x Fusion) String() string

func (Fusion) Type

func (Fusion) Type() protoreflect.EnumType

type GeoBoundingBox

type GeoBoundingBox struct {
	TopLeft     *GeoPoint `protobuf:"bytes,1,opt,name=top_left,json=topLeft,proto3" json:"top_left,omitempty"`             // north-west corner
	BottomRight *GeoPoint `protobuf:"bytes,2,opt,name=bottom_right,json=bottomRight,proto3" json:"bottom_right,omitempty"` // south-east corner
	// contains filtered or unexported fields
}

func (*GeoBoundingBox) Descriptor deprecated

func (*GeoBoundingBox) Descriptor() ([]byte, []int)

Deprecated: Use GeoBoundingBox.ProtoReflect.Descriptor instead.

func (*GeoBoundingBox) GetBottomRight

func (x *GeoBoundingBox) GetBottomRight() *GeoPoint

func (*GeoBoundingBox) GetTopLeft

func (x *GeoBoundingBox) GetTopLeft() *GeoPoint

func (*GeoBoundingBox) ProtoMessage

func (*GeoBoundingBox) ProtoMessage()

func (*GeoBoundingBox) ProtoReflect

func (x *GeoBoundingBox) ProtoReflect() protoreflect.Message

func (*GeoBoundingBox) Reset

func (x *GeoBoundingBox) Reset()

func (*GeoBoundingBox) String

func (x *GeoBoundingBox) String() string

type GeoDistance

type GeoDistance struct {
	Origin *GeoPoint `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
	To     string    `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
	// contains filtered or unexported fields
}

func (*GeoDistance) Descriptor deprecated

func (*GeoDistance) Descriptor() ([]byte, []int)

Deprecated: Use GeoDistance.ProtoReflect.Descriptor instead.

func (*GeoDistance) GetOrigin

func (x *GeoDistance) GetOrigin() *GeoPoint

func (*GeoDistance) GetTo

func (x *GeoDistance) GetTo() string

func (*GeoDistance) ProtoMessage

func (*GeoDistance) ProtoMessage()

func (*GeoDistance) ProtoReflect

func (x *GeoDistance) ProtoReflect() protoreflect.Message

func (*GeoDistance) Reset

func (x *GeoDistance) Reset()

func (*GeoDistance) String

func (x *GeoDistance) String() string

type GeoIndexParams

type GeoIndexParams struct {
	OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
	// contains filtered or unexported fields
}

func (*GeoIndexParams) Descriptor deprecated

func (*GeoIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use GeoIndexParams.ProtoReflect.Descriptor instead.

func (*GeoIndexParams) GetOnDisk

func (x *GeoIndexParams) GetOnDisk() bool

func (*GeoIndexParams) ProtoMessage

func (*GeoIndexParams) ProtoMessage()

func (*GeoIndexParams) ProtoReflect

func (x *GeoIndexParams) ProtoReflect() protoreflect.Message

func (*GeoIndexParams) Reset

func (x *GeoIndexParams) Reset()

func (*GeoIndexParams) String

func (x *GeoIndexParams) String() string

type GeoLineString

type GeoLineString struct {
	Points []*GeoPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` // Ordered sequence of GeoPoints representing the line
	// contains filtered or unexported fields
}

func (*GeoLineString) Descriptor deprecated

func (*GeoLineString) Descriptor() ([]byte, []int)

Deprecated: Use GeoLineString.ProtoReflect.Descriptor instead.

func (*GeoLineString) GetPoints

func (x *GeoLineString) GetPoints() []*GeoPoint

func (*GeoLineString) ProtoMessage

func (*GeoLineString) ProtoMessage()

func (*GeoLineString) ProtoReflect

func (x *GeoLineString) ProtoReflect() protoreflect.Message

func (*GeoLineString) Reset

func (x *GeoLineString) Reset()

func (*GeoLineString) String

func (x *GeoLineString) String() string

type GeoPoint

type GeoPoint struct {
	Lon float64 `protobuf:"fixed64,1,opt,name=lon,proto3" json:"lon,omitempty"`
	Lat float64 `protobuf:"fixed64,2,opt,name=lat,proto3" json:"lat,omitempty"`
	// contains filtered or unexported fields
}

func (*GeoPoint) Descriptor deprecated

func (*GeoPoint) Descriptor() ([]byte, []int)

Deprecated: Use GeoPoint.ProtoReflect.Descriptor instead.

func (*GeoPoint) GetLat

func (x *GeoPoint) GetLat() float64

func (*GeoPoint) GetLon

func (x *GeoPoint) GetLon() float64

func (*GeoPoint) ProtoMessage

func (*GeoPoint) ProtoMessage()

func (*GeoPoint) ProtoReflect

func (x *GeoPoint) ProtoReflect() protoreflect.Message

func (*GeoPoint) Reset

func (x *GeoPoint) Reset()

func (*GeoPoint) String

func (x *GeoPoint) String() string

type GeoPolygon

type GeoPolygon struct {
	Exterior  *GeoLineString   `protobuf:"bytes,1,opt,name=exterior,proto3" json:"exterior,omitempty"`   // The exterior line bounds the surface
	Interiors []*GeoLineString `protobuf:"bytes,2,rep,name=interiors,proto3" json:"interiors,omitempty"` // Interior lines (if present) bound holes within the surface
	// contains filtered or unexported fields
}

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.

func (*GeoPolygon) Descriptor deprecated

func (*GeoPolygon) Descriptor() ([]byte, []int)

Deprecated: Use GeoPolygon.ProtoReflect.Descriptor instead.

func (*GeoPolygon) GetExterior

func (x *GeoPolygon) GetExterior() *GeoLineString

func (*GeoPolygon) GetInteriors

func (x *GeoPolygon) GetInteriors() []*GeoLineString

func (*GeoPolygon) ProtoMessage

func (*GeoPolygon) ProtoMessage()

func (*GeoPolygon) ProtoReflect

func (x *GeoPolygon) ProtoReflect() protoreflect.Message

func (*GeoPolygon) Reset

func (x *GeoPolygon) Reset()

func (*GeoPolygon) String

func (x *GeoPolygon) String() string

type GeoRadius

type GeoRadius struct {
	Center *GeoPoint `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"`   // Center of the circle
	Radius float32   `protobuf:"fixed32,2,opt,name=radius,proto3" json:"radius,omitempty"` // In meters
	// contains filtered or unexported fields
}

func (*GeoRadius) Descriptor deprecated

func (*GeoRadius) Descriptor() ([]byte, []int)

Deprecated: Use GeoRadius.ProtoReflect.Descriptor instead.

func (*GeoRadius) GetCenter

func (x *GeoRadius) GetCenter() *GeoPoint

func (*GeoRadius) GetRadius

func (x *GeoRadius) GetRadius() float32

func (*GeoRadius) ProtoMessage

func (*GeoRadius) ProtoMessage()

func (*GeoRadius) ProtoReflect

func (x *GeoRadius) ProtoReflect() protoreflect.Message

func (*GeoRadius) Reset

func (x *GeoRadius) Reset()

func (*GeoRadius) String

func (x *GeoRadius) String() string

type GetCollectionInfoRequest

type GetCollectionInfoRequest struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	// contains filtered or unexported fields
}

func (*GetCollectionInfoRequest) Descriptor deprecated

func (*GetCollectionInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCollectionInfoRequest.ProtoReflect.Descriptor instead.

func (*GetCollectionInfoRequest) GetCollectionName

func (x *GetCollectionInfoRequest) GetCollectionName() string

func (*GetCollectionInfoRequest) ProtoMessage

func (*GetCollectionInfoRequest) ProtoMessage()

func (*GetCollectionInfoRequest) ProtoReflect

func (x *GetCollectionInfoRequest) ProtoReflect() protoreflect.Message

func (*GetCollectionInfoRequest) Reset

func (x *GetCollectionInfoRequest) Reset()

func (*GetCollectionInfoRequest) String

func (x *GetCollectionInfoRequest) String() string

type GetCollectionInfoResponse

type GetCollectionInfoResponse struct {
	Result *CollectionInfo `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64         `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	// contains filtered or unexported fields
}

func (*GetCollectionInfoResponse) Descriptor deprecated

func (*GetCollectionInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCollectionInfoResponse.ProtoReflect.Descriptor instead.

func (*GetCollectionInfoResponse) GetResult

func (x *GetCollectionInfoResponse) GetResult() *CollectionInfo

func (*GetCollectionInfoResponse) GetTime

func (x *GetCollectionInfoResponse) GetTime() float64

func (*GetCollectionInfoResponse) ProtoMessage

func (*GetCollectionInfoResponse) ProtoMessage()

func (*GetCollectionInfoResponse) ProtoReflect

func (*GetCollectionInfoResponse) Reset

func (x *GetCollectionInfoResponse) Reset()

func (*GetCollectionInfoResponse) String

func (x *GetCollectionInfoResponse) String() string

type GetPoints

type GetPoints struct {
	CollectionName   string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // name of the collection
	Ids              []*PointId           `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`                                                           // List of points to retrieve
	WithPayload      *WithPayloadSelector `protobuf:"bytes,4,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`                        // Options for specifying which payload to include or not
	WithVectors      *WithVectorsSelector `protobuf:"bytes,5,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                  // Options for specifying which vectors to include into response
	ReadConsistency  *ReadConsistency     `protobuf:"bytes,6,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	ShardKeySelector *ShardKeySelector    `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	Timeout          *uint64              `protobuf:"varint,8,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	// contains filtered or unexported fields
}

func (*GetPoints) Descriptor deprecated

func (*GetPoints) Descriptor() ([]byte, []int)

Deprecated: Use GetPoints.ProtoReflect.Descriptor instead.

func (*GetPoints) GetCollectionName

func (x *GetPoints) GetCollectionName() string

func (*GetPoints) GetIds

func (x *GetPoints) GetIds() []*PointId

func (*GetPoints) GetReadConsistency

func (x *GetPoints) GetReadConsistency() *ReadConsistency

func (*GetPoints) GetShardKeySelector

func (x *GetPoints) GetShardKeySelector() *ShardKeySelector

func (*GetPoints) GetTimeout

func (x *GetPoints) GetTimeout() uint64

func (*GetPoints) GetWithPayload

func (x *GetPoints) GetWithPayload() *WithPayloadSelector

func (*GetPoints) GetWithVectors

func (x *GetPoints) GetWithVectors() *WithVectorsSelector

func (*GetPoints) ProtoMessage

func (*GetPoints) ProtoMessage()

func (*GetPoints) ProtoReflect

func (x *GetPoints) ProtoReflect() protoreflect.Message

func (*GetPoints) Reset

func (x *GetPoints) Reset()

func (*GetPoints) String

func (x *GetPoints) String() string

type GetResponse

type GetResponse struct {
	Result []*RetrievedPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64           `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage            `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*GetResponse) Descriptor deprecated

func (*GetResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.

func (*GetResponse) GetResult

func (x *GetResponse) GetResult() []*RetrievedPoint

func (*GetResponse) GetTime

func (x *GetResponse) GetTime() float64

func (*GetResponse) GetUsage

func (x *GetResponse) GetUsage() *Usage

func (*GetResponse) ProtoMessage

func (*GetResponse) ProtoMessage()

func (*GetResponse) ProtoReflect

func (x *GetResponse) ProtoReflect() protoreflect.Message

func (*GetResponse) Reset

func (x *GetResponse) Reset()

func (*GetResponse) String

func (x *GetResponse) String() string

type GroupId

type GroupId struct {

	// Types that are assignable to Kind:
	//
	//	*GroupId_UnsignedValue
	//	*GroupId_IntegerValue
	//	*GroupId_StringValue
	Kind isGroupId_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

func NewGroupIDInt

func NewGroupIDInt(value int64) *GroupId

Creates a *GroupId instance from an integer.

func NewGroupIDString

func NewGroupIDString(value string) *GroupId

Creates a *GroupId instance from a string.

func NewGroupIDUnsigned

func NewGroupIDUnsigned(value uint64) *GroupId

Creates a *OrderValue instance from an unsigned integer.

func (*GroupId) Descriptor deprecated

func (*GroupId) Descriptor() ([]byte, []int)

Deprecated: Use GroupId.ProtoReflect.Descriptor instead.

func (*GroupId) GetIntegerValue

func (x *GroupId) GetIntegerValue() int64

func (*GroupId) GetKind

func (m *GroupId) GetKind() isGroupId_Kind

func (*GroupId) GetStringValue

func (x *GroupId) GetStringValue() string

func (*GroupId) GetUnsignedValue

func (x *GroupId) GetUnsignedValue() uint64

func (*GroupId) ProtoMessage

func (*GroupId) ProtoMessage()

func (*GroupId) ProtoReflect

func (x *GroupId) ProtoReflect() protoreflect.Message

func (*GroupId) Reset

func (x *GroupId) Reset()

func (*GroupId) String

func (x *GroupId) String() string

type GroupId_IntegerValue

type GroupId_IntegerValue struct {
	// Represents an integer value
	IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
}

type GroupId_StringValue

type GroupId_StringValue struct {
	// Represents a string value.
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type GroupId_UnsignedValue

type GroupId_UnsignedValue struct {
	// Represents a double value.
	UnsignedValue uint64 `protobuf:"varint,1,opt,name=unsigned_value,json=unsignedValue,proto3,oneof"`
}

type GroupsResult

type GroupsResult struct {
	Groups []*PointGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // Groups
	// contains filtered or unexported fields
}

func (*GroupsResult) Descriptor deprecated

func (*GroupsResult) Descriptor() ([]byte, []int)

Deprecated: Use GroupsResult.ProtoReflect.Descriptor instead.

func (*GroupsResult) GetGroups

func (x *GroupsResult) GetGroups() []*PointGroup

func (*GroupsResult) ProtoMessage

func (*GroupsResult) ProtoMessage()

func (*GroupsResult) ProtoReflect

func (x *GroupsResult) ProtoReflect() protoreflect.Message

func (*GroupsResult) Reset

func (x *GroupsResult) Reset()

func (*GroupsResult) String

func (x *GroupsResult) String() string

type GrpcClient

type GrpcClient struct {
	// contains filtered or unexported fields
}

Lower level client for Qdrant gRPC API.

func NewDefaultGrpcClient

func NewDefaultGrpcClient() (*GrpcClient, error)

Create a new gRPC client with default configuration.

func NewGrpcClient

func NewGrpcClient(config *Config) (*GrpcClient, error)

Create a new gRPC client with custom configuration.

func NewGrpcClientFromConn

func NewGrpcClientFromConn(conn *grpc.ClientConn) *GrpcClient

Create a new gRPC client from existing connection.

func (*GrpcClient) Close

func (c *GrpcClient) Close() error

Tears down the *grpc.ClientConn and all underlying connections.

func (*GrpcClient) Collections

func (c *GrpcClient) Collections() CollectionsClient

Get the Points service interface.

func (*GrpcClient) Conn

func (c *GrpcClient) Conn() *grpc.ClientConn

Get the underlying gRPC connection.

func (*GrpcClient) Points

func (c *GrpcClient) Points() PointsClient

Get the Collections service interface.

func (*GrpcClient) Qdrant

func (c *GrpcClient) Qdrant() QdrantClient

Get the Qdrant service interface.

func (*GrpcClient) Snapshots

func (c *GrpcClient) Snapshots() SnapshotsClient

Get the Snapshots service interface.

type HardwareUsage

type HardwareUsage struct {
	Cpu                 uint64 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
	PayloadIoRead       uint64 `protobuf:"varint,2,opt,name=payload_io_read,json=payloadIoRead,proto3" json:"payload_io_read,omitempty"`
	PayloadIoWrite      uint64 `protobuf:"varint,3,opt,name=payload_io_write,json=payloadIoWrite,proto3" json:"payload_io_write,omitempty"`
	PayloadIndexIoRead  uint64 `protobuf:"varint,4,opt,name=payload_index_io_read,json=payloadIndexIoRead,proto3" json:"payload_index_io_read,omitempty"`
	PayloadIndexIoWrite uint64 `protobuf:"varint,5,opt,name=payload_index_io_write,json=payloadIndexIoWrite,proto3" json:"payload_index_io_write,omitempty"`
	VectorIoRead        uint64 `protobuf:"varint,6,opt,name=vector_io_read,json=vectorIoRead,proto3" json:"vector_io_read,omitempty"`
	VectorIoWrite       uint64 `protobuf:"varint,7,opt,name=vector_io_write,json=vectorIoWrite,proto3" json:"vector_io_write,omitempty"`
	// contains filtered or unexported fields
}

func (*HardwareUsage) Descriptor deprecated

func (*HardwareUsage) Descriptor() ([]byte, []int)

Deprecated: Use HardwareUsage.ProtoReflect.Descriptor instead.

func (*HardwareUsage) GetCpu

func (x *HardwareUsage) GetCpu() uint64

func (*HardwareUsage) GetPayloadIndexIoRead

func (x *HardwareUsage) GetPayloadIndexIoRead() uint64

func (*HardwareUsage) GetPayloadIndexIoWrite

func (x *HardwareUsage) GetPayloadIndexIoWrite() uint64

func (*HardwareUsage) GetPayloadIoRead

func (x *HardwareUsage) GetPayloadIoRead() uint64

func (*HardwareUsage) GetPayloadIoWrite

func (x *HardwareUsage) GetPayloadIoWrite() uint64

func (*HardwareUsage) GetVectorIoRead

func (x *HardwareUsage) GetVectorIoRead() uint64

func (*HardwareUsage) GetVectorIoWrite

func (x *HardwareUsage) GetVectorIoWrite() uint64

func (*HardwareUsage) ProtoMessage

func (*HardwareUsage) ProtoMessage()

func (*HardwareUsage) ProtoReflect

func (x *HardwareUsage) ProtoReflect() protoreflect.Message

func (*HardwareUsage) Reset

func (x *HardwareUsage) Reset()

func (*HardwareUsage) String

func (x *HardwareUsage) String() string

type HasIdCondition

type HasIdCondition struct {
	HasId []*PointId `protobuf:"bytes,1,rep,name=has_id,json=hasId,proto3" json:"has_id,omitempty"`
	// contains filtered or unexported fields
}

func (*HasIdCondition) Descriptor deprecated

func (*HasIdCondition) Descriptor() ([]byte, []int)

Deprecated: Use HasIdCondition.ProtoReflect.Descriptor instead.

func (*HasIdCondition) GetHasId

func (x *HasIdCondition) GetHasId() []*PointId

func (*HasIdCondition) ProtoMessage

func (*HasIdCondition) ProtoMessage()

func (*HasIdCondition) ProtoReflect

func (x *HasIdCondition) ProtoReflect() protoreflect.Message

func (*HasIdCondition) Reset

func (x *HasIdCondition) Reset()

func (*HasIdCondition) String

func (x *HasIdCondition) String() string

type HasVectorCondition

type HasVectorCondition struct {
	HasVector string `protobuf:"bytes,1,opt,name=has_vector,json=hasVector,proto3" json:"has_vector,omitempty"`
	// contains filtered or unexported fields
}

func (*HasVectorCondition) Descriptor deprecated

func (*HasVectorCondition) Descriptor() ([]byte, []int)

Deprecated: Use HasVectorCondition.ProtoReflect.Descriptor instead.

func (*HasVectorCondition) GetHasVector

func (x *HasVectorCondition) GetHasVector() string

func (*HasVectorCondition) ProtoMessage

func (*HasVectorCondition) ProtoMessage()

func (*HasVectorCondition) ProtoReflect

func (x *HasVectorCondition) ProtoReflect() protoreflect.Message

func (*HasVectorCondition) Reset

func (x *HasVectorCondition) Reset()

func (*HasVectorCondition) String

func (x *HasVectorCondition) String() string

type HealthCheckReply

type HealthCheckReply struct {
	Title   string  `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	Version string  `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	Commit  *string `protobuf:"bytes,3,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
	// contains filtered or unexported fields
}

func (*HealthCheckReply) Descriptor deprecated

func (*HealthCheckReply) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheckReply.ProtoReflect.Descriptor instead.

func (*HealthCheckReply) GetCommit

func (x *HealthCheckReply) GetCommit() string

func (*HealthCheckReply) GetTitle

func (x *HealthCheckReply) GetTitle() string

func (*HealthCheckReply) GetVersion

func (x *HealthCheckReply) GetVersion() string

func (*HealthCheckReply) ProtoMessage

func (*HealthCheckReply) ProtoMessage()

func (*HealthCheckReply) ProtoReflect

func (x *HealthCheckReply) ProtoReflect() protoreflect.Message

func (*HealthCheckReply) Reset

func (x *HealthCheckReply) Reset()

func (*HealthCheckReply) String

func (x *HealthCheckReply) String() string

type HealthCheckRequest

type HealthCheckRequest struct {
	// contains filtered or unexported fields
}

func (*HealthCheckRequest) Descriptor deprecated

func (*HealthCheckRequest) Descriptor() ([]byte, []int)

Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) ProtoReflect

func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message

func (*HealthCheckRequest) Reset

func (x *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (x *HealthCheckRequest) String() string

type HnswConfigDiff

type HnswConfigDiff struct {

	// Number of edges per node in the index graph. Larger the value - more accurate the search, more space required.
	M *uint64 `protobuf:"varint,1,opt,name=m,proto3,oneof" json:"m,omitempty"`
	// Number of neighbours to consider during the index building. Larger the value - more accurate the search, more time required to build the index.
	EfConstruct *uint64 `protobuf:"varint,2,opt,name=ef_construct,json=efConstruct,proto3,oneof" json:"ef_construct,omitempty"`
	// Minimal size threshold (in KiloBytes) below which full-scan is preferred over HNSW search.
	// This measures the total size of vectors being queried against.
	// When the maximum estimated amount of points that a condition satisfies is smaller than
	// `full_scan_threshold`, the query planner will use full-scan search instead of HNSW index
	// traversal for better performance.
	// Note: 1Kb = 1 vector of size 256
	FullScanThreshold *uint64 `protobuf:"varint,3,opt,name=full_scan_threshold,json=fullScanThreshold,proto3,oneof" json:"full_scan_threshold,omitempty"`
	// 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.
	MaxIndexingThreads *uint64 `protobuf:"varint,4,opt,name=max_indexing_threads,json=maxIndexingThreads,proto3,oneof" json:"max_indexing_threads,omitempty"`
	// Store HNSW index on disk. If set to false, the index will be stored in RAM.
	OnDisk *bool `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
	// Number of additional payload-aware links per node in the index graph. If not set - regular M parameter will be used.
	PayloadM *uint64 `protobuf:"varint,6,opt,name=payload_m,json=payloadM,proto3,oneof" json:"payload_m,omitempty"`
	// Store copies of original and quantized vectors within the HNSW index file. Default: false.
	// Enabling this option will trade the search speed for disk usage by reducing amount of
	// random seeks during the search.
	// Requires quantized vectors to be enabled. Multi-vectors are not supported.
	InlineStorage *bool `protobuf:"varint,7,opt,name=inline_storage,json=inlineStorage,proto3,oneof" json:"inline_storage,omitempty"`
	// contains filtered or unexported fields
}

func (*HnswConfigDiff) Descriptor deprecated

func (*HnswConfigDiff) Descriptor() ([]byte, []int)

Deprecated: Use HnswConfigDiff.ProtoReflect.Descriptor instead.

func (*HnswConfigDiff) GetEfConstruct

func (x *HnswConfigDiff) GetEfConstruct() uint64

func (*HnswConfigDiff) GetFullScanThreshold

func (x *HnswConfigDiff) GetFullScanThreshold() uint64

func (*HnswConfigDiff) GetInlineStorage

func (x *HnswConfigDiff) GetInlineStorage() bool

func (*HnswConfigDiff) GetM

func (x *HnswConfigDiff) GetM() uint64

func (*HnswConfigDiff) GetMaxIndexingThreads

func (x *HnswConfigDiff) GetMaxIndexingThreads() uint64

func (*HnswConfigDiff) GetOnDisk

func (x *HnswConfigDiff) GetOnDisk() bool

func (*HnswConfigDiff) GetPayloadM

func (x *HnswConfigDiff) GetPayloadM() uint64

func (*HnswConfigDiff) ProtoMessage

func (*HnswConfigDiff) ProtoMessage()

func (*HnswConfigDiff) ProtoReflect

func (x *HnswConfigDiff) ProtoReflect() protoreflect.Message

func (*HnswConfigDiff) Reset

func (x *HnswConfigDiff) Reset()

func (*HnswConfigDiff) String

func (x *HnswConfigDiff) String() string

type Image

type Image struct {
	Image   *Value            `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Image data, either base64 encoded or URL
	Model   string            `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // Model name
	Options map[string]*Value ``                                                                // Model options
	/* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Image) Descriptor deprecated

func (*Image) Descriptor() ([]byte, []int)

Deprecated: Use Image.ProtoReflect.Descriptor instead.

func (*Image) GetImage

func (x *Image) GetImage() *Value

func (*Image) GetModel

func (x *Image) GetModel() string

func (*Image) GetOptions

func (x *Image) GetOptions() map[string]*Value

func (*Image) ProtoMessage

func (*Image) ProtoMessage()

func (*Image) ProtoReflect

func (x *Image) ProtoReflect() protoreflect.Message

func (*Image) Reset

func (x *Image) Reset()

func (*Image) String

func (x *Image) String() string

type InferenceObject

type InferenceObject struct {
	Object  *Value            `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` // Object to infer
	Model   string            `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`   // Model name
	Options map[string]*Value ``                                                                  // Model options
	/* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InferenceObject) Descriptor deprecated

func (*InferenceObject) Descriptor() ([]byte, []int)

Deprecated: Use InferenceObject.ProtoReflect.Descriptor instead.

func (*InferenceObject) GetModel

func (x *InferenceObject) GetModel() string

func (*InferenceObject) GetObject

func (x *InferenceObject) GetObject() *Value

func (*InferenceObject) GetOptions

func (x *InferenceObject) GetOptions() map[string]*Value

func (*InferenceObject) ProtoMessage

func (*InferenceObject) ProtoMessage()

func (*InferenceObject) ProtoReflect

func (x *InferenceObject) ProtoReflect() protoreflect.Message

func (*InferenceObject) Reset

func (x *InferenceObject) Reset()

func (*InferenceObject) String

func (x *InferenceObject) String() string

type InferenceUsage

type InferenceUsage struct {
	Models map[string]*ModelUsage `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*InferenceUsage) Descriptor deprecated

func (*InferenceUsage) Descriptor() ([]byte, []int)

Deprecated: Use InferenceUsage.ProtoReflect.Descriptor instead.

func (*InferenceUsage) GetModels

func (x *InferenceUsage) GetModels() map[string]*ModelUsage

func (*InferenceUsage) ProtoMessage

func (*InferenceUsage) ProtoMessage()

func (*InferenceUsage) ProtoReflect

func (x *InferenceUsage) ProtoReflect() protoreflect.Message

func (*InferenceUsage) Reset

func (x *InferenceUsage) Reset()

func (*InferenceUsage) String

func (x *InferenceUsage) String() string

type IntegerIndexParams

type IntegerIndexParams struct {
	Lookup      *bool `protobuf:"varint,1,opt,name=lookup,proto3,oneof" json:"lookup,omitempty"`                              // If true - support direct lookups. Default is true.
	Range       *bool `protobuf:"varint,2,opt,name=range,proto3,oneof" json:"range,omitempty"`                                // If true - support ranges filters. Default is true.
	IsPrincipal *bool `protobuf:"varint,3,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"` // 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. Default is false.
	OnDisk      *bool `protobuf:"varint,4,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`                // If true - store index on disk. Default is false.
	// contains filtered or unexported fields
}

func (*IntegerIndexParams) Descriptor deprecated

func (*IntegerIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use IntegerIndexParams.ProtoReflect.Descriptor instead.

func (*IntegerIndexParams) GetIsPrincipal

func (x *IntegerIndexParams) GetIsPrincipal() bool

func (*IntegerIndexParams) GetLookup

func (x *IntegerIndexParams) GetLookup() bool

func (*IntegerIndexParams) GetOnDisk

func (x *IntegerIndexParams) GetOnDisk() bool

func (*IntegerIndexParams) GetRange

func (x *IntegerIndexParams) GetRange() bool

func (*IntegerIndexParams) ProtoMessage

func (*IntegerIndexParams) ProtoMessage()

func (*IntegerIndexParams) ProtoReflect

func (x *IntegerIndexParams) ProtoReflect() protoreflect.Message

func (*IntegerIndexParams) Reset

func (x *IntegerIndexParams) Reset()

func (*IntegerIndexParams) String

func (x *IntegerIndexParams) String() string

type IsEmptyCondition

type IsEmptyCondition struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*IsEmptyCondition) Descriptor deprecated

func (*IsEmptyCondition) Descriptor() ([]byte, []int)

Deprecated: Use IsEmptyCondition.ProtoReflect.Descriptor instead.

func (*IsEmptyCondition) GetKey

func (x *IsEmptyCondition) GetKey() string

func (*IsEmptyCondition) ProtoMessage

func (*IsEmptyCondition) ProtoMessage()

func (*IsEmptyCondition) ProtoReflect

func (x *IsEmptyCondition) ProtoReflect() protoreflect.Message

func (*IsEmptyCondition) Reset

func (x *IsEmptyCondition) Reset()

func (*IsEmptyCondition) String

func (x *IsEmptyCondition) String() string

type IsNullCondition

type IsNullCondition struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*IsNullCondition) Descriptor deprecated

func (*IsNullCondition) Descriptor() ([]byte, []int)

Deprecated: Use IsNullCondition.ProtoReflect.Descriptor instead.

func (*IsNullCondition) GetKey

func (x *IsNullCondition) GetKey() string

func (*IsNullCondition) ProtoMessage

func (*IsNullCondition) ProtoMessage()

func (*IsNullCondition) ProtoReflect

func (x *IsNullCondition) ProtoReflect() protoreflect.Message

func (*IsNullCondition) Reset

func (x *IsNullCondition) Reset()

func (*IsNullCondition) String

func (x *IsNullCondition) String() string

type KeywordIndexParams

type KeywordIndexParams struct {
	IsTenant *bool `protobuf:"varint,1,opt,name=is_tenant,json=isTenant,proto3,oneof" json:"is_tenant,omitempty"` // If true - used for tenant optimization.
	OnDisk   *bool `protobuf:"varint,2,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`       // If true - store index on disk.
	// contains filtered or unexported fields
}

func (*KeywordIndexParams) Descriptor deprecated

func (*KeywordIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use KeywordIndexParams.ProtoReflect.Descriptor instead.

func (*KeywordIndexParams) GetIsTenant

func (x *KeywordIndexParams) GetIsTenant() bool

func (*KeywordIndexParams) GetOnDisk

func (x *KeywordIndexParams) GetOnDisk() bool

func (*KeywordIndexParams) ProtoMessage

func (*KeywordIndexParams) ProtoMessage()

func (*KeywordIndexParams) ProtoReflect

func (x *KeywordIndexParams) ProtoReflect() protoreflect.Message

func (*KeywordIndexParams) Reset

func (x *KeywordIndexParams) Reset()

func (*KeywordIndexParams) String

func (x *KeywordIndexParams) String() string

type ListAliasesRequest

type ListAliasesRequest struct {
	// contains filtered or unexported fields
}

func (*ListAliasesRequest) Descriptor deprecated

func (*ListAliasesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAliasesRequest.ProtoReflect.Descriptor instead.

func (*ListAliasesRequest) ProtoMessage

func (*ListAliasesRequest) ProtoMessage()

func (*ListAliasesRequest) ProtoReflect

func (x *ListAliasesRequest) ProtoReflect() protoreflect.Message

func (*ListAliasesRequest) Reset

func (x *ListAliasesRequest) Reset()

func (*ListAliasesRequest) String

func (x *ListAliasesRequest) String() string

type ListAliasesResponse

type ListAliasesResponse struct {
	Aliases []*AliasDescription `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"`
	Time    float64             `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	// contains filtered or unexported fields
}

func (*ListAliasesResponse) Descriptor deprecated

func (*ListAliasesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAliasesResponse.ProtoReflect.Descriptor instead.

func (*ListAliasesResponse) GetAliases

func (x *ListAliasesResponse) GetAliases() []*AliasDescription

func (*ListAliasesResponse) GetTime

func (x *ListAliasesResponse) GetTime() float64

func (*ListAliasesResponse) ProtoMessage

func (*ListAliasesResponse) ProtoMessage()

func (*ListAliasesResponse) ProtoReflect

func (x *ListAliasesResponse) ProtoReflect() protoreflect.Message

func (*ListAliasesResponse) Reset

func (x *ListAliasesResponse) Reset()

func (*ListAliasesResponse) String

func (x *ListAliasesResponse) String() string

type ListCollectionAliasesRequest

type ListCollectionAliasesRequest struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	// contains filtered or unexported fields
}

func (*ListCollectionAliasesRequest) Descriptor deprecated

func (*ListCollectionAliasesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectionAliasesRequest.ProtoReflect.Descriptor instead.

func (*ListCollectionAliasesRequest) GetCollectionName

func (x *ListCollectionAliasesRequest) GetCollectionName() string

func (*ListCollectionAliasesRequest) ProtoMessage

func (*ListCollectionAliasesRequest) ProtoMessage()

func (*ListCollectionAliasesRequest) ProtoReflect

func (*ListCollectionAliasesRequest) Reset

func (x *ListCollectionAliasesRequest) Reset()

func (*ListCollectionAliasesRequest) String

type ListCollectionsRequest

type ListCollectionsRequest struct {
	// contains filtered or unexported fields
}

func (*ListCollectionsRequest) Descriptor deprecated

func (*ListCollectionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectionsRequest.ProtoReflect.Descriptor instead.

func (*ListCollectionsRequest) ProtoMessage

func (*ListCollectionsRequest) ProtoMessage()

func (*ListCollectionsRequest) ProtoReflect

func (x *ListCollectionsRequest) ProtoReflect() protoreflect.Message

func (*ListCollectionsRequest) Reset

func (x *ListCollectionsRequest) Reset()

func (*ListCollectionsRequest) String

func (x *ListCollectionsRequest) String() string

type ListCollectionsResponse

type ListCollectionsResponse struct {
	Collections []*CollectionDescription `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
	Time        float64                  `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	// contains filtered or unexported fields
}

func (*ListCollectionsResponse) Descriptor deprecated

func (*ListCollectionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListCollectionsResponse.ProtoReflect.Descriptor instead.

func (*ListCollectionsResponse) GetCollections

func (x *ListCollectionsResponse) GetCollections() []*CollectionDescription

func (*ListCollectionsResponse) GetTime

func (x *ListCollectionsResponse) GetTime() float64

func (*ListCollectionsResponse) ProtoMessage

func (*ListCollectionsResponse) ProtoMessage()

func (*ListCollectionsResponse) ProtoReflect

func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message

func (*ListCollectionsResponse) Reset

func (x *ListCollectionsResponse) Reset()

func (*ListCollectionsResponse) String

func (x *ListCollectionsResponse) String() string

type ListFullSnapshotsRequest

type ListFullSnapshotsRequest struct {
	// contains filtered or unexported fields
}

func (*ListFullSnapshotsRequest) Descriptor deprecated

func (*ListFullSnapshotsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListFullSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListFullSnapshotsRequest) ProtoMessage

func (*ListFullSnapshotsRequest) ProtoMessage()

func (*ListFullSnapshotsRequest) ProtoReflect

func (x *ListFullSnapshotsRequest) ProtoReflect() protoreflect.Message

func (*ListFullSnapshotsRequest) Reset

func (x *ListFullSnapshotsRequest) Reset()

func (*ListFullSnapshotsRequest) String

func (x *ListFullSnapshotsRequest) String() string

type ListSnapshotsRequest

type ListSnapshotsRequest struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	// contains filtered or unexported fields
}

func (*ListSnapshotsRequest) Descriptor deprecated

func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListSnapshotsRequest) GetCollectionName

func (x *ListSnapshotsRequest) GetCollectionName() string

func (*ListSnapshotsRequest) ProtoMessage

func (*ListSnapshotsRequest) ProtoMessage()

func (*ListSnapshotsRequest) ProtoReflect

func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Message

func (*ListSnapshotsRequest) Reset

func (x *ListSnapshotsRequest) Reset()

func (*ListSnapshotsRequest) String

func (x *ListSnapshotsRequest) String() string

type ListSnapshotsResponse

type ListSnapshotsResponse struct {
	SnapshotDescriptions []*SnapshotDescription `protobuf:"bytes,1,rep,name=snapshot_descriptions,json=snapshotDescriptions,proto3" json:"snapshot_descriptions,omitempty"`
	Time                 float64                `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	// contains filtered or unexported fields
}

func (*ListSnapshotsResponse) Descriptor deprecated

func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListSnapshotsResponse.ProtoReflect.Descriptor instead.

func (*ListSnapshotsResponse) GetSnapshotDescriptions

func (x *ListSnapshotsResponse) GetSnapshotDescriptions() []*SnapshotDescription

func (*ListSnapshotsResponse) GetTime

func (x *ListSnapshotsResponse) GetTime() float64

func (*ListSnapshotsResponse) ProtoMessage

func (*ListSnapshotsResponse) ProtoMessage()

func (*ListSnapshotsResponse) ProtoReflect

func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message

func (*ListSnapshotsResponse) Reset

func (x *ListSnapshotsResponse) Reset()

func (*ListSnapshotsResponse) String

func (x *ListSnapshotsResponse) String() string

type ListValue

type ListValue struct {

	// Repeated field of dynamically typed values.
	Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
	// contains filtered or unexported fields
}

`ListValue` is a wrapper around a repeated field of values.

The JSON representation for `ListValue` is a JSON array.

func NewListValue

func NewListValue(v []interface{}) (*ListValue, error)

Constructs a ListValue from a general-purpose Go slice. The slice elements are converted using NewValue().

func (*ListValue) Descriptor deprecated

func (*ListValue) Descriptor() ([]byte, []int)

Deprecated: Use ListValue.ProtoReflect.Descriptor instead.

func (*ListValue) GetValues

func (x *ListValue) GetValues() []*Value

func (*ListValue) ProtoMessage

func (*ListValue) ProtoMessage()

func (*ListValue) ProtoReflect

func (x *ListValue) ProtoReflect() protoreflect.Message

func (*ListValue) Reset

func (x *ListValue) Reset()

func (*ListValue) String

func (x *ListValue) String() string

type LocalShardInfo

type LocalShardInfo struct {
	ShardId     uint32       `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`             // Local shard id
	PointsCount uint64       `protobuf:"varint,2,opt,name=points_count,json=pointsCount,proto3" json:"points_count,omitempty"` // Number of points in the shard
	State       ReplicaState `protobuf:"varint,3,opt,name=state,proto3,enum=qdrant.ReplicaState" json:"state,omitempty"`       // Is replica active
	ShardKey    *ShardKey    `protobuf:"bytes,4,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`     // User-defined shard key
	// contains filtered or unexported fields
}

func (*LocalShardInfo) Descriptor deprecated

func (*LocalShardInfo) Descriptor() ([]byte, []int)

Deprecated: Use LocalShardInfo.ProtoReflect.Descriptor instead.

func (*LocalShardInfo) GetPointsCount

func (x *LocalShardInfo) GetPointsCount() uint64

func (*LocalShardInfo) GetShardId

func (x *LocalShardInfo) GetShardId() uint32

func (*LocalShardInfo) GetShardKey

func (x *LocalShardInfo) GetShardKey() *ShardKey

func (*LocalShardInfo) GetState

func (x *LocalShardInfo) GetState() ReplicaState

func (*LocalShardInfo) ProtoMessage

func (*LocalShardInfo) ProtoMessage()

func (*LocalShardInfo) ProtoReflect

func (x *LocalShardInfo) ProtoReflect() protoreflect.Message

func (*LocalShardInfo) Reset

func (x *LocalShardInfo) Reset()

func (*LocalShardInfo) String

func (x *LocalShardInfo) String() string

type LookupLocation

type LookupLocation struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	VectorName       *string           `protobuf:"bytes,2,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"`                     // Which vector to use for search, if not specified - use default vector
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	// contains filtered or unexported fields
}

func (*LookupLocation) Descriptor deprecated

func (*LookupLocation) Descriptor() ([]byte, []int)

Deprecated: Use LookupLocation.ProtoReflect.Descriptor instead.

func (*LookupLocation) GetCollectionName

func (x *LookupLocation) GetCollectionName() string

func (*LookupLocation) GetShardKeySelector

func (x *LookupLocation) GetShardKeySelector() *ShardKeySelector

func (*LookupLocation) GetVectorName

func (x *LookupLocation) GetVectorName() string

func (*LookupLocation) ProtoMessage

func (*LookupLocation) ProtoMessage()

func (*LookupLocation) ProtoReflect

func (x *LookupLocation) ProtoReflect() protoreflect.Message

func (*LookupLocation) Reset

func (x *LookupLocation) Reset()

func (*LookupLocation) String

func (x *LookupLocation) String() string

type Match

type Match struct {

	// Types that are assignable to MatchValue:
	//
	//	*Match_Keyword
	//	*Match_Integer
	//	*Match_Boolean
	//	*Match_Text
	//	*Match_Keywords
	//	*Match_Integers
	//	*Match_ExceptIntegers
	//	*Match_ExceptKeywords
	//	*Match_Phrase
	//	*Match_TextAny
	MatchValue isMatch_MatchValue `protobuf_oneof:"match_value"`
	// contains filtered or unexported fields
}

func (*Match) Descriptor deprecated

func (*Match) Descriptor() ([]byte, []int)

Deprecated: Use Match.ProtoReflect.Descriptor instead.

func (*Match) GetBoolean

func (x *Match) GetBoolean() bool

func (*Match) GetExceptIntegers

func (x *Match) GetExceptIntegers() *RepeatedIntegers

func (*Match) GetExceptKeywords

func (x *Match) GetExceptKeywords() *RepeatedStrings

func (*Match) GetInteger

func (x *Match) GetInteger() int64

func (*Match) GetIntegers

func (x *Match) GetIntegers() *RepeatedIntegers

func (*Match) GetKeyword

func (x *Match) GetKeyword() string

func (*Match) GetKeywords

func (x *Match) GetKeywords() *RepeatedStrings

func (*Match) GetMatchValue

func (m *Match) GetMatchValue() isMatch_MatchValue

func (*Match) GetPhrase

func (x *Match) GetPhrase() string

func (*Match) GetText

func (x *Match) GetText() string

func (*Match) GetTextAny

func (x *Match) GetTextAny() string

func (*Match) ProtoMessage

func (*Match) ProtoMessage()

func (*Match) ProtoReflect

func (x *Match) ProtoReflect() protoreflect.Message

func (*Match) Reset

func (x *Match) Reset()

func (*Match) String

func (x *Match) String() string

type Match_Boolean

type Match_Boolean struct {
	Boolean bool `protobuf:"varint,3,opt,name=boolean,proto3,oneof"` // Match boolean
}

type Match_ExceptIntegers

type Match_ExceptIntegers struct {
	ExceptIntegers *RepeatedIntegers `protobuf:"bytes,7,opt,name=except_integers,json=exceptIntegers,proto3,oneof"` // Match any other value except those integers
}

type Match_ExceptKeywords

type Match_ExceptKeywords struct {
	ExceptKeywords *RepeatedStrings `protobuf:"bytes,8,opt,name=except_keywords,json=exceptKeywords,proto3,oneof"` // Match any other value except those keywords
}

type Match_Integer

type Match_Integer struct {
	Integer int64 `protobuf:"varint,2,opt,name=integer,proto3,oneof"` // Match integer
}

type Match_Integers

type Match_Integers struct {
	Integers *RepeatedIntegers `protobuf:"bytes,6,opt,name=integers,proto3,oneof"` // Match multiple integers
}

type Match_Keyword

type Match_Keyword struct {
	Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3,oneof"` // Match string keyword
}

type Match_Keywords

type Match_Keywords struct {
	Keywords *RepeatedStrings `protobuf:"bytes,5,opt,name=keywords,proto3,oneof"` // Match multiple keywords
}

type Match_Phrase

type Match_Phrase struct {
	Phrase string `protobuf:"bytes,9,opt,name=phrase,proto3,oneof"` // Match phrase text
}

type Match_Text

type Match_Text struct {
	Text string `protobuf:"bytes,4,opt,name=text,proto3,oneof"` // Match text
}

type Match_TextAny

type Match_TextAny struct {
	TextAny string `protobuf:"bytes,10,opt,name=text_any,json=textAny,proto3,oneof"` // Match any word in the text
}

type MaxOptimizationThreads

type MaxOptimizationThreads struct {

	// Types that are assignable to Variant:
	//
	//	*MaxOptimizationThreads_Value
	//	*MaxOptimizationThreads_Setting_
	Variant isMaxOptimizationThreads_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

func NewMaxOptimizationThreads

func NewMaxOptimizationThreads(value uint64) *MaxOptimizationThreads

Creates a *MaxOptimizationThreads instance from the number of specified threads.

func NewMaxOptimizationThreadsSetting

func NewMaxOptimizationThreadsSetting(setting MaxOptimizationThreads_Setting) *MaxOptimizationThreads

Creates a *MaxOptimizationThreads instance from the specified settings.

func (*MaxOptimizationThreads) Descriptor deprecated

func (*MaxOptimizationThreads) Descriptor() ([]byte, []int)

Deprecated: Use MaxOptimizationThreads.ProtoReflect.Descriptor instead.

func (*MaxOptimizationThreads) GetSetting

func (*MaxOptimizationThreads) GetValue

func (x *MaxOptimizationThreads) GetValue() uint64

func (*MaxOptimizationThreads) GetVariant

func (m *MaxOptimizationThreads) GetVariant() isMaxOptimizationThreads_Variant

func (*MaxOptimizationThreads) ProtoMessage

func (*MaxOptimizationThreads) ProtoMessage()

func (*MaxOptimizationThreads) ProtoReflect

func (x *MaxOptimizationThreads) ProtoReflect() protoreflect.Message

func (*MaxOptimizationThreads) Reset

func (x *MaxOptimizationThreads) Reset()

func (*MaxOptimizationThreads) String

func (x *MaxOptimizationThreads) String() string

type MaxOptimizationThreads_Setting

type MaxOptimizationThreads_Setting int32
const (
	MaxOptimizationThreads_Auto MaxOptimizationThreads_Setting = 0
)

func (MaxOptimizationThreads_Setting) Descriptor

func (MaxOptimizationThreads_Setting) Enum

func (MaxOptimizationThreads_Setting) EnumDescriptor deprecated

func (MaxOptimizationThreads_Setting) EnumDescriptor() ([]byte, []int)

Deprecated: Use MaxOptimizationThreads_Setting.Descriptor instead.

func (MaxOptimizationThreads_Setting) Number

func (MaxOptimizationThreads_Setting) String

func (MaxOptimizationThreads_Setting) Type

type MaxOptimizationThreads_Setting_

type MaxOptimizationThreads_Setting_ struct {
	Setting MaxOptimizationThreads_Setting `protobuf:"varint,2,opt,name=setting,proto3,enum=qdrant.MaxOptimizationThreads_Setting,oneof"`
}

type MaxOptimizationThreads_Value

type MaxOptimizationThreads_Value struct {
	Value uint64 `protobuf:"varint,1,opt,name=value,proto3,oneof"`
}

type MinShould

type MinShould struct {
	Conditions []*Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
	MinCount   uint64       `protobuf:"varint,2,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
	// contains filtered or unexported fields
}

func (*MinShould) Descriptor deprecated

func (*MinShould) Descriptor() ([]byte, []int)

Deprecated: Use MinShould.ProtoReflect.Descriptor instead.

func (*MinShould) GetConditions

func (x *MinShould) GetConditions() []*Condition

func (*MinShould) GetMinCount

func (x *MinShould) GetMinCount() uint64

func (*MinShould) ProtoMessage

func (*MinShould) ProtoMessage()

func (*MinShould) ProtoReflect

func (x *MinShould) ProtoReflect() protoreflect.Message

func (*MinShould) Reset

func (x *MinShould) Reset()

func (*MinShould) String

func (x *MinShould) String() string

type Mmr

type Mmr struct {

	// Tunable parameter for the MMR algorithm.
	// Determines the balance between diversity and relevance.
	//
	// A higher value favors diversity (dissimilarity to selected results),
	// while a lower value favors relevance (similarity to the query vector).
	//
	// Must be in the range [0, 1].
	// Default value is 0.5.
	Diversity *float32 `protobuf:"fixed32,2,opt,name=diversity,proto3,oneof" json:"diversity,omitempty"`
	// The maximum number of candidates to consider for re-ranking.
	//
	// If not specified, the `limit` value is used.
	CandidatesLimit *uint32 `protobuf:"varint,3,opt,name=candidates_limit,json=candidatesLimit,proto3,oneof" json:"candidates_limit,omitempty"`
	// contains filtered or unexported fields
}

Maximal Marginal Relevance (MMR) algorithm for re-ranking the points.

func (*Mmr) Descriptor deprecated

func (*Mmr) Descriptor() ([]byte, []int)

Deprecated: Use Mmr.ProtoReflect.Descriptor instead.

func (*Mmr) GetCandidatesLimit

func (x *Mmr) GetCandidatesLimit() uint32

func (*Mmr) GetDiversity

func (x *Mmr) GetDiversity() float32

func (*Mmr) ProtoMessage

func (*Mmr) ProtoMessage()

func (*Mmr) ProtoReflect

func (x *Mmr) ProtoReflect() protoreflect.Message

func (*Mmr) Reset

func (x *Mmr) Reset()

func (*Mmr) String

func (x *Mmr) String() string

type ModelUsage

type ModelUsage struct {
	Tokens uint64 `protobuf:"varint,1,opt,name=tokens,proto3" json:"tokens,omitempty"`
	// contains filtered or unexported fields
}

func (*ModelUsage) Descriptor deprecated

func (*ModelUsage) Descriptor() ([]byte, []int)

Deprecated: Use ModelUsage.ProtoReflect.Descriptor instead.

func (*ModelUsage) GetTokens

func (x *ModelUsage) GetTokens() uint64

func (*ModelUsage) ProtoMessage

func (*ModelUsage) ProtoMessage()

func (*ModelUsage) ProtoReflect

func (x *ModelUsage) ProtoReflect() protoreflect.Message

func (*ModelUsage) Reset

func (x *ModelUsage) Reset()

func (*ModelUsage) String

func (x *ModelUsage) String() string

type Modifier

type Modifier int32
const (
	Modifier_None Modifier = 0
	Modifier_Idf  Modifier = 1 // Apply Inverse Document Frequency
)

func (Modifier) Descriptor

func (Modifier) Descriptor() protoreflect.EnumDescriptor

func (Modifier) Enum

func (x Modifier) Enum() *Modifier

func (Modifier) EnumDescriptor deprecated

func (Modifier) EnumDescriptor() ([]byte, []int)

Deprecated: Use Modifier.Descriptor instead.

func (Modifier) Number

func (x Modifier) Number() protoreflect.EnumNumber

func (Modifier) String

func (x Modifier) String() string

func (Modifier) Type

type MoveShard

type MoveShard struct {
	ShardId    uint32               `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	ToShardId  *uint32              `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
	FromPeerId uint64               `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
	ToPeerId   uint64               `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
	Method     *ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod,oneof" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*MoveShard) Descriptor deprecated

func (*MoveShard) Descriptor() ([]byte, []int)

Deprecated: Use MoveShard.ProtoReflect.Descriptor instead.

func (*MoveShard) GetFromPeerId

func (x *MoveShard) GetFromPeerId() uint64

func (*MoveShard) GetMethod

func (x *MoveShard) GetMethod() ShardTransferMethod

func (*MoveShard) GetShardId

func (x *MoveShard) GetShardId() uint32

func (*MoveShard) GetToPeerId

func (x *MoveShard) GetToPeerId() uint64

func (*MoveShard) GetToShardId

func (x *MoveShard) GetToShardId() uint32

func (*MoveShard) ProtoMessage

func (*MoveShard) ProtoMessage()

func (*MoveShard) ProtoReflect

func (x *MoveShard) ProtoReflect() protoreflect.Message

func (*MoveShard) Reset

func (x *MoveShard) Reset()

func (*MoveShard) String

func (x *MoveShard) String() string

type MultExpression

type MultExpression struct {
	Mult []*Expression `protobuf:"bytes,1,rep,name=mult,proto3" json:"mult,omitempty"`
	// contains filtered or unexported fields
}

func (*MultExpression) Descriptor deprecated

func (*MultExpression) Descriptor() ([]byte, []int)

Deprecated: Use MultExpression.ProtoReflect.Descriptor instead.

func (*MultExpression) GetMult

func (x *MultExpression) GetMult() []*Expression

func (*MultExpression) ProtoMessage

func (*MultExpression) ProtoMessage()

func (*MultExpression) ProtoReflect

func (x *MultExpression) ProtoReflect() protoreflect.Message

func (*MultExpression) Reset

func (x *MultExpression) Reset()

func (*MultExpression) String

func (x *MultExpression) String() string

type MultiDenseVector

type MultiDenseVector struct {
	Vectors []*DenseVector `protobuf:"bytes,1,rep,name=vectors,proto3" json:"vectors,omitempty"`
	// contains filtered or unexported fields
}

func (*MultiDenseVector) Descriptor deprecated

func (*MultiDenseVector) Descriptor() ([]byte, []int)

Deprecated: Use MultiDenseVector.ProtoReflect.Descriptor instead.

func (*MultiDenseVector) GetVectors

func (x *MultiDenseVector) GetVectors() []*DenseVector

func (*MultiDenseVector) ProtoMessage

func (*MultiDenseVector) ProtoMessage()

func (*MultiDenseVector) ProtoReflect

func (x *MultiDenseVector) ProtoReflect() protoreflect.Message

func (*MultiDenseVector) Reset

func (x *MultiDenseVector) Reset()

func (*MultiDenseVector) String

func (x *MultiDenseVector) String() string

type MultiVectorComparator

type MultiVectorComparator int32
const (
	MultiVectorComparator_MaxSim MultiVectorComparator = 0
)

func (MultiVectorComparator) Descriptor

func (MultiVectorComparator) Enum

func (MultiVectorComparator) EnumDescriptor deprecated

func (MultiVectorComparator) EnumDescriptor() ([]byte, []int)

Deprecated: Use MultiVectorComparator.Descriptor instead.

func (MultiVectorComparator) Number

func (MultiVectorComparator) String

func (x MultiVectorComparator) String() string

func (MultiVectorComparator) Type

type MultiVectorConfig

type MultiVectorConfig struct {
	Comparator MultiVectorComparator `protobuf:"varint,1,opt,name=comparator,proto3,enum=qdrant.MultiVectorComparator" json:"comparator,omitempty"` // Comparator for multi-vector search
	// contains filtered or unexported fields
}

func (*MultiVectorConfig) Descriptor deprecated

func (*MultiVectorConfig) Descriptor() ([]byte, []int)

Deprecated: Use MultiVectorConfig.ProtoReflect.Descriptor instead.

func (*MultiVectorConfig) GetComparator

func (x *MultiVectorConfig) GetComparator() MultiVectorComparator

func (*MultiVectorConfig) ProtoMessage

func (*MultiVectorConfig) ProtoMessage()

func (*MultiVectorConfig) ProtoReflect

func (x *MultiVectorConfig) ProtoReflect() protoreflect.Message

func (*MultiVectorConfig) Reset

func (x *MultiVectorConfig) Reset()

func (*MultiVectorConfig) String

func (x *MultiVectorConfig) String() string

type NamedVectors

type NamedVectors struct {
	Vectors map[string]*Vector `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NamedVectors) Descriptor deprecated

func (*NamedVectors) Descriptor() ([]byte, []int)

Deprecated: Use NamedVectors.ProtoReflect.Descriptor instead.

func (*NamedVectors) GetVectors

func (x *NamedVectors) GetVectors() map[string]*Vector

func (*NamedVectors) ProtoMessage

func (*NamedVectors) ProtoMessage()

func (*NamedVectors) ProtoReflect

func (x *NamedVectors) ProtoReflect() protoreflect.Message

func (*NamedVectors) Reset

func (x *NamedVectors) Reset()

func (*NamedVectors) String

func (x *NamedVectors) String() string

type NamedVectorsOutput

type NamedVectorsOutput struct {
	Vectors map[string]*VectorOutput `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*NamedVectorsOutput) Descriptor deprecated

func (*NamedVectorsOutput) Descriptor() ([]byte, []int)

Deprecated: Use NamedVectorsOutput.ProtoReflect.Descriptor instead.

func (*NamedVectorsOutput) GetVectors

func (x *NamedVectorsOutput) GetVectors() map[string]*VectorOutput

func (*NamedVectorsOutput) ProtoMessage

func (*NamedVectorsOutput) ProtoMessage()

func (*NamedVectorsOutput) ProtoReflect

func (x *NamedVectorsOutput) ProtoReflect() protoreflect.Message

func (*NamedVectorsOutput) Reset

func (x *NamedVectorsOutput) Reset()

func (*NamedVectorsOutput) String

func (x *NamedVectorsOutput) String() string

type NearestInputWithMmr

type NearestInputWithMmr struct {

	// The vector to search for nearest neighbors.
	Nearest *VectorInput `protobuf:"bytes,1,opt,name=nearest,proto3" json:"nearest,omitempty"`
	// Perform MMR (Maximal Marginal Relevance) reranking after search,
	// using the same vector in this query to calculate relevance.
	Mmr *Mmr `protobuf:"bytes,2,opt,name=mmr,proto3" json:"mmr,omitempty"`
	// contains filtered or unexported fields
}

func (*NearestInputWithMmr) Descriptor deprecated

func (*NearestInputWithMmr) Descriptor() ([]byte, []int)

Deprecated: Use NearestInputWithMmr.ProtoReflect.Descriptor instead.

func (*NearestInputWithMmr) GetMmr

func (x *NearestInputWithMmr) GetMmr() *Mmr

func (*NearestInputWithMmr) GetNearest

func (x *NearestInputWithMmr) GetNearest() *VectorInput

func (*NearestInputWithMmr) ProtoMessage

func (*NearestInputWithMmr) ProtoMessage()

func (*NearestInputWithMmr) ProtoReflect

func (x *NearestInputWithMmr) ProtoReflect() protoreflect.Message

func (*NearestInputWithMmr) Reset

func (x *NearestInputWithMmr) Reset()

func (*NearestInputWithMmr) String

func (x *NearestInputWithMmr) String() string

type NestedCondition

type NestedCondition struct {
	Key    string  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`       // Path to nested object
	Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Filter condition
	// contains filtered or unexported fields
}

func (*NestedCondition) Descriptor deprecated

func (*NestedCondition) Descriptor() ([]byte, []int)

Deprecated: Use NestedCondition.ProtoReflect.Descriptor instead.

func (*NestedCondition) GetFilter

func (x *NestedCondition) GetFilter() *Filter

func (*NestedCondition) GetKey

func (x *NestedCondition) GetKey() string

func (*NestedCondition) ProtoMessage

func (*NestedCondition) ProtoMessage()

func (*NestedCondition) ProtoReflect

func (x *NestedCondition) ProtoReflect() protoreflect.Message

func (*NestedCondition) Reset

func (x *NestedCondition) Reset()

func (*NestedCondition) String

func (x *NestedCondition) String() string

type NullValue

type NullValue int32

`NullValue` is a singleton enumeration to represent the null value for the `Value` type union.

The JSON representation for `NullValue` is JSON `null`.
const (
	// Null value.
	NullValue_NULL_VALUE NullValue = 0
)

func (NullValue) Descriptor

func (NullValue) Descriptor() protoreflect.EnumDescriptor

func (NullValue) Enum

func (x NullValue) Enum() *NullValue

func (NullValue) EnumDescriptor deprecated

func (NullValue) EnumDescriptor() ([]byte, []int)

Deprecated: Use NullValue.Descriptor instead.

func (NullValue) Number

func (x NullValue) Number() protoreflect.EnumNumber

func (NullValue) String

func (x NullValue) String() string

func (NullValue) Type

type OptimizerStatus

type OptimizerStatus struct {
	Ok    bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*OptimizerStatus) Descriptor deprecated

func (*OptimizerStatus) Descriptor() ([]byte, []int)

Deprecated: Use OptimizerStatus.ProtoReflect.Descriptor instead.

func (*OptimizerStatus) GetError

func (x *OptimizerStatus) GetError() string

func (*OptimizerStatus) GetOk

func (x *OptimizerStatus) GetOk() bool

func (*OptimizerStatus) ProtoMessage

func (*OptimizerStatus) ProtoMessage()

func (*OptimizerStatus) ProtoReflect

func (x *OptimizerStatus) ProtoReflect() protoreflect.Message

func (*OptimizerStatus) Reset

func (x *OptimizerStatus) Reset()

func (*OptimizerStatus) String

func (x *OptimizerStatus) String() string

type OptimizersConfigDiff

type OptimizersConfigDiff struct {

	// The minimal fraction of deleted vectors in a segment, required to perform segment optimization
	DeletedThreshold *float64 `protobuf:"fixed64,1,opt,name=deleted_threshold,json=deletedThreshold,proto3,oneof" json:"deleted_threshold,omitempty"`
	// The minimal number of vectors in a segment, required to perform segment optimization
	VacuumMinVectorNumber *uint64 `` /* 135-byte string literal not displayed */
	// 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.
	DefaultSegmentNumber *uint64 `` /* 130-byte string literal not displayed */
	// Deprecated:
	//
	// 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.
	MaxSegmentSize *uint64 `protobuf:"varint,4,opt,name=max_segment_size,json=maxSegmentSize,proto3,oneof" json:"max_segment_size,omitempty"`
	// Maximum size (in kilobytes) of vectors to store in-memory per segment.
	// Segments larger than this threshold will be stored as read-only memmapped 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
	MemmapThreshold *uint64 `protobuf:"varint,5,opt,name=memmap_threshold,json=memmapThreshold,proto3,oneof" json:"memmap_threshold,omitempty"`
	// 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.
	IndexingThreshold *uint64 `protobuf:"varint,6,opt,name=indexing_threshold,json=indexingThreshold,proto3,oneof" json:"indexing_threshold,omitempty"`
	// Interval between forced flushes.
	FlushIntervalSec *uint64 `protobuf:"varint,7,opt,name=flush_interval_sec,json=flushIntervalSec,proto3,oneof" json:"flush_interval_sec,omitempty"`
	// Deprecated in favor of `max_optimization_threads`
	DeprecatedMaxOptimizationThreads *uint64 `` /* 168-byte string literal not displayed */
	// 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 "auto" - have no limit and choose dynamically to saturate CPU.
	// If 0 - no optimization threads, optimizations will be disabled.
	MaxOptimizationThreads *MaxOptimizationThreads `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*OptimizersConfigDiff) Descriptor deprecated

func (*OptimizersConfigDiff) Descriptor() ([]byte, []int)

Deprecated: Use OptimizersConfigDiff.ProtoReflect.Descriptor instead.

func (*OptimizersConfigDiff) GetDefaultSegmentNumber

func (x *OptimizersConfigDiff) GetDefaultSegmentNumber() uint64

func (*OptimizersConfigDiff) GetDeletedThreshold

func (x *OptimizersConfigDiff) GetDeletedThreshold() float64

func (*OptimizersConfigDiff) GetDeprecatedMaxOptimizationThreads

func (x *OptimizersConfigDiff) GetDeprecatedMaxOptimizationThreads() uint64

func (*OptimizersConfigDiff) GetFlushIntervalSec

func (x *OptimizersConfigDiff) GetFlushIntervalSec() uint64

func (*OptimizersConfigDiff) GetIndexingThreshold

func (x *OptimizersConfigDiff) GetIndexingThreshold() uint64

func (*OptimizersConfigDiff) GetMaxOptimizationThreads

func (x *OptimizersConfigDiff) GetMaxOptimizationThreads() *MaxOptimizationThreads

func (*OptimizersConfigDiff) GetMaxSegmentSize

func (x *OptimizersConfigDiff) GetMaxSegmentSize() uint64

func (*OptimizersConfigDiff) GetMemmapThreshold

func (x *OptimizersConfigDiff) GetMemmapThreshold() uint64

func (*OptimizersConfigDiff) GetVacuumMinVectorNumber

func (x *OptimizersConfigDiff) GetVacuumMinVectorNumber() uint64

func (*OptimizersConfigDiff) ProtoMessage

func (*OptimizersConfigDiff) ProtoMessage()

func (*OptimizersConfigDiff) ProtoReflect

func (x *OptimizersConfigDiff) ProtoReflect() protoreflect.Message

func (*OptimizersConfigDiff) Reset

func (x *OptimizersConfigDiff) Reset()

func (*OptimizersConfigDiff) String

func (x *OptimizersConfigDiff) String() string

type OrderBy

type OrderBy struct {
	Key       string     `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`                                          // Payload key to order by
	Direction *Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=qdrant.Direction,oneof" json:"direction,omitempty"` // Ascending or descending order
	StartFrom *StartFrom `protobuf:"bytes,3,opt,name=start_from,json=startFrom,proto3,oneof" json:"start_from,omitempty"`       // Start from this value
	// contains filtered or unexported fields
}

func (*OrderBy) Descriptor deprecated

func (*OrderBy) Descriptor() ([]byte, []int)

Deprecated: Use OrderBy.ProtoReflect.Descriptor instead.

func (*OrderBy) GetDirection

func (x *OrderBy) GetDirection() Direction

func (*OrderBy) GetKey

func (x *OrderBy) GetKey() string

func (*OrderBy) GetStartFrom

func (x *OrderBy) GetStartFrom() *StartFrom

func (*OrderBy) ProtoMessage

func (*OrderBy) ProtoMessage()

func (*OrderBy) ProtoReflect

func (x *OrderBy) ProtoReflect() protoreflect.Message

func (*OrderBy) Reset

func (x *OrderBy) Reset()

func (*OrderBy) String

func (x *OrderBy) String() string

type OrderValue

type OrderValue struct {

	// Types that are assignable to Variant:
	//
	//	*OrderValue_Int
	//	*OrderValue_Float
	Variant isOrderValue_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

func NewOrderValueFloat

func NewOrderValueFloat(value float64) *OrderValue

Creates a *OrderValue instance from a float.

func NewOrderValueInt

func NewOrderValueInt(value int64) *OrderValue

Creates a *OrderValue instance from an integer.

func (*OrderValue) Descriptor deprecated

func (*OrderValue) Descriptor() ([]byte, []int)

Deprecated: Use OrderValue.ProtoReflect.Descriptor instead.

func (*OrderValue) GetFloat

func (x *OrderValue) GetFloat() float64

func (*OrderValue) GetInt

func (x *OrderValue) GetInt() int64

func (*OrderValue) GetVariant

func (m *OrderValue) GetVariant() isOrderValue_Variant

func (*OrderValue) ProtoMessage

func (*OrderValue) ProtoMessage()

func (*OrderValue) ProtoReflect

func (x *OrderValue) ProtoReflect() protoreflect.Message

func (*OrderValue) Reset

func (x *OrderValue) Reset()

func (*OrderValue) String

func (x *OrderValue) String() string

type OrderValue_Float

type OrderValue_Float struct {
	Float float64 `protobuf:"fixed64,2,opt,name=float,proto3,oneof"`
}

type OrderValue_Int

type OrderValue_Int struct {
	Int int64 `protobuf:"varint,1,opt,name=int,proto3,oneof"`
}

type PayloadExcludeSelector

type PayloadExcludeSelector struct {
	Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // List of payload keys to exclude from the result
	// contains filtered or unexported fields
}

func (*PayloadExcludeSelector) Descriptor deprecated

func (*PayloadExcludeSelector) Descriptor() ([]byte, []int)

Deprecated: Use PayloadExcludeSelector.ProtoReflect.Descriptor instead.

func (*PayloadExcludeSelector) GetFields

func (x *PayloadExcludeSelector) GetFields() []string

func (*PayloadExcludeSelector) ProtoMessage

func (*PayloadExcludeSelector) ProtoMessage()

func (*PayloadExcludeSelector) ProtoReflect

func (x *PayloadExcludeSelector) ProtoReflect() protoreflect.Message

func (*PayloadExcludeSelector) Reset

func (x *PayloadExcludeSelector) Reset()

func (*PayloadExcludeSelector) String

func (x *PayloadExcludeSelector) String() string

type PayloadIncludeSelector

type PayloadIncludeSelector struct {
	Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // List of payload keys to include into result
	// contains filtered or unexported fields
}

func (*PayloadIncludeSelector) Descriptor deprecated

func (*PayloadIncludeSelector) Descriptor() ([]byte, []int)

Deprecated: Use PayloadIncludeSelector.ProtoReflect.Descriptor instead.

func (*PayloadIncludeSelector) GetFields

func (x *PayloadIncludeSelector) GetFields() []string

func (*PayloadIncludeSelector) ProtoMessage

func (*PayloadIncludeSelector) ProtoMessage()

func (*PayloadIncludeSelector) ProtoReflect

func (x *PayloadIncludeSelector) ProtoReflect() protoreflect.Message

func (*PayloadIncludeSelector) Reset

func (x *PayloadIncludeSelector) Reset()

func (*PayloadIncludeSelector) String

func (x *PayloadIncludeSelector) String() string

type PayloadIndexParams

type PayloadIndexParams struct {

	// Types that are assignable to IndexParams:
	//
	//	*PayloadIndexParams_KeywordIndexParams
	//	*PayloadIndexParams_IntegerIndexParams
	//	*PayloadIndexParams_FloatIndexParams
	//	*PayloadIndexParams_GeoIndexParams
	//	*PayloadIndexParams_TextIndexParams
	//	*PayloadIndexParams_BoolIndexParams
	//	*PayloadIndexParams_DatetimeIndexParams
	//	*PayloadIndexParams_UuidIndexParams
	IndexParams isPayloadIndexParams_IndexParams `protobuf_oneof:"index_params"`
	// contains filtered or unexported fields
}

func NewPayloadIndexParams

func NewPayloadIndexParams(params *KeywordIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *KeywordIndexParams. This is an alias for NewPayloadIndexParamsKeyword().

func NewPayloadIndexParamsBool

func NewPayloadIndexParamsBool(params *BoolIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *BoolIndexParams.

func NewPayloadIndexParamsDatetime

func NewPayloadIndexParamsDatetime(params *DatetimeIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *DatetimeIndexParams.

func NewPayloadIndexParamsFloat

func NewPayloadIndexParamsFloat(params *FloatIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *FloatIndexParams.

func NewPayloadIndexParamsGeo

func NewPayloadIndexParamsGeo(params *GeoIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *GeoIndexParams.

func NewPayloadIndexParamsInt

func NewPayloadIndexParamsInt(params *IntegerIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *IntegerIndexParams.

func NewPayloadIndexParamsKeyword

func NewPayloadIndexParamsKeyword(params *KeywordIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *KeywordIndexParams.

func NewPayloadIndexParamsText

func NewPayloadIndexParamsText(params *TextIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *TextIndexParams.

func NewPayloadIndexParamsUUID

func NewPayloadIndexParamsUUID(params *UuidIndexParams) *PayloadIndexParams

Creates a *PayloadIndexParams instance from *UuidIndexParams.

func (*PayloadIndexParams) Descriptor deprecated

func (*PayloadIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use PayloadIndexParams.ProtoReflect.Descriptor instead.

func (*PayloadIndexParams) GetBoolIndexParams

func (x *PayloadIndexParams) GetBoolIndexParams() *BoolIndexParams

func (*PayloadIndexParams) GetDatetimeIndexParams

func (x *PayloadIndexParams) GetDatetimeIndexParams() *DatetimeIndexParams

func (*PayloadIndexParams) GetFloatIndexParams

func (x *PayloadIndexParams) GetFloatIndexParams() *FloatIndexParams

func (*PayloadIndexParams) GetGeoIndexParams

func (x *PayloadIndexParams) GetGeoIndexParams() *GeoIndexParams

func (*PayloadIndexParams) GetIndexParams

func (m *PayloadIndexParams) GetIndexParams() isPayloadIndexParams_IndexParams

func (*PayloadIndexParams) GetIntegerIndexParams

func (x *PayloadIndexParams) GetIntegerIndexParams() *IntegerIndexParams

func (*PayloadIndexParams) GetKeywordIndexParams

func (x *PayloadIndexParams) GetKeywordIndexParams() *KeywordIndexParams

func (*PayloadIndexParams) GetTextIndexParams

func (x *PayloadIndexParams) GetTextIndexParams() *TextIndexParams

func (*PayloadIndexParams) GetUuidIndexParams

func (x *PayloadIndexParams) GetUuidIndexParams() *UuidIndexParams

func (*PayloadIndexParams) ProtoMessage

func (*PayloadIndexParams) ProtoMessage()

func (*PayloadIndexParams) ProtoReflect

func (x *PayloadIndexParams) ProtoReflect() protoreflect.Message

func (*PayloadIndexParams) Reset

func (x *PayloadIndexParams) Reset()

func (*PayloadIndexParams) String

func (x *PayloadIndexParams) String() string

type PayloadIndexParams_BoolIndexParams

type PayloadIndexParams_BoolIndexParams struct {
	BoolIndexParams *BoolIndexParams `protobuf:"bytes,6,opt,name=bool_index_params,json=boolIndexParams,proto3,oneof"` // Parameters for bool index
}

type PayloadIndexParams_DatetimeIndexParams

type PayloadIndexParams_DatetimeIndexParams struct {
	DatetimeIndexParams *DatetimeIndexParams `protobuf:"bytes,7,opt,name=datetime_index_params,json=datetimeIndexParams,proto3,oneof"` // Parameters for datetime index
}

type PayloadIndexParams_FloatIndexParams

type PayloadIndexParams_FloatIndexParams struct {
	FloatIndexParams *FloatIndexParams `protobuf:"bytes,4,opt,name=float_index_params,json=floatIndexParams,proto3,oneof"` // Parameters for float index
}

type PayloadIndexParams_GeoIndexParams

type PayloadIndexParams_GeoIndexParams struct {
	GeoIndexParams *GeoIndexParams `protobuf:"bytes,5,opt,name=geo_index_params,json=geoIndexParams,proto3,oneof"` // Parameters for geo index
}

type PayloadIndexParams_IntegerIndexParams

type PayloadIndexParams_IntegerIndexParams struct {
	IntegerIndexParams *IntegerIndexParams `protobuf:"bytes,2,opt,name=integer_index_params,json=integerIndexParams,proto3,oneof"` // Parameters for integer index
}

type PayloadIndexParams_KeywordIndexParams

type PayloadIndexParams_KeywordIndexParams struct {
	KeywordIndexParams *KeywordIndexParams `protobuf:"bytes,3,opt,name=keyword_index_params,json=keywordIndexParams,proto3,oneof"` // Parameters for keyword index
}

type PayloadIndexParams_TextIndexParams

type PayloadIndexParams_TextIndexParams struct {
	TextIndexParams *TextIndexParams `protobuf:"bytes,1,opt,name=text_index_params,json=textIndexParams,proto3,oneof"` // Parameters for text index
}

type PayloadIndexParams_UuidIndexParams

type PayloadIndexParams_UuidIndexParams struct {
	UuidIndexParams *UuidIndexParams `protobuf:"bytes,8,opt,name=uuid_index_params,json=uuidIndexParams,proto3,oneof"` // Parameters for uuid index
}

type PayloadSchemaInfo

type PayloadSchemaInfo struct {
	DataType PayloadSchemaType   `protobuf:"varint,1,opt,name=data_type,json=dataType,proto3,enum=qdrant.PayloadSchemaType" json:"data_type,omitempty"` // Field data type
	Params   *PayloadIndexParams `protobuf:"bytes,2,opt,name=params,proto3,oneof" json:"params,omitempty"`                                              // Field index parameters
	Points   *uint64             `protobuf:"varint,3,opt,name=points,proto3,oneof" json:"points,omitempty"`                                             // Number of points indexed within this field indexed
	// contains filtered or unexported fields
}

func (*PayloadSchemaInfo) Descriptor deprecated

func (*PayloadSchemaInfo) Descriptor() ([]byte, []int)

Deprecated: Use PayloadSchemaInfo.ProtoReflect.Descriptor instead.

func (*PayloadSchemaInfo) GetDataType

func (x *PayloadSchemaInfo) GetDataType() PayloadSchemaType

func (*PayloadSchemaInfo) GetParams

func (x *PayloadSchemaInfo) GetParams() *PayloadIndexParams

func (*PayloadSchemaInfo) GetPoints

func (x *PayloadSchemaInfo) GetPoints() uint64

func (*PayloadSchemaInfo) ProtoMessage

func (*PayloadSchemaInfo) ProtoMessage()

func (*PayloadSchemaInfo) ProtoReflect

func (x *PayloadSchemaInfo) ProtoReflect() protoreflect.Message

func (*PayloadSchemaInfo) Reset

func (x *PayloadSchemaInfo) Reset()

func (*PayloadSchemaInfo) String

func (x *PayloadSchemaInfo) String() string

type PayloadSchemaType

type PayloadSchemaType int32
const (
	PayloadSchemaType_UnknownType PayloadSchemaType = 0
	PayloadSchemaType_Keyword     PayloadSchemaType = 1
	PayloadSchemaType_Integer     PayloadSchemaType = 2
	PayloadSchemaType_Float       PayloadSchemaType = 3
	PayloadSchemaType_Geo         PayloadSchemaType = 4
	PayloadSchemaType_Text        PayloadSchemaType = 5
	PayloadSchemaType_Bool        PayloadSchemaType = 6
	PayloadSchemaType_Datetime    PayloadSchemaType = 7
	PayloadSchemaType_Uuid        PayloadSchemaType = 8
)

func (PayloadSchemaType) Descriptor

func (PayloadSchemaType) Enum

func (PayloadSchemaType) EnumDescriptor deprecated

func (PayloadSchemaType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PayloadSchemaType.Descriptor instead.

func (PayloadSchemaType) Number

func (PayloadSchemaType) String

func (x PayloadSchemaType) String() string

func (PayloadSchemaType) Type

type PointGroup

type PointGroup struct {
	Id     *GroupId        `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`         // Group id
	Hits   []*ScoredPoint  `protobuf:"bytes,2,rep,name=hits,proto3" json:"hits,omitempty"`     // Points in the group
	Lookup *RetrievedPoint `protobuf:"bytes,3,opt,name=lookup,proto3" json:"lookup,omitempty"` // Point(s) from the lookup collection that matches the group id
	// contains filtered or unexported fields
}

func (*PointGroup) Descriptor deprecated

func (*PointGroup) Descriptor() ([]byte, []int)

Deprecated: Use PointGroup.ProtoReflect.Descriptor instead.

func (*PointGroup) GetHits

func (x *PointGroup) GetHits() []*ScoredPoint

func (*PointGroup) GetId

func (x *PointGroup) GetId() *GroupId

func (*PointGroup) GetLookup

func (x *PointGroup) GetLookup() *RetrievedPoint

func (*PointGroup) ProtoMessage

func (*PointGroup) ProtoMessage()

func (*PointGroup) ProtoReflect

func (x *PointGroup) ProtoReflect() protoreflect.Message

func (*PointGroup) Reset

func (x *PointGroup) Reset()

func (*PointGroup) String

func (x *PointGroup) String() string

type PointId

type PointId struct {

	// Types that are assignable to PointIdOptions:
	//
	//	*PointId_Num
	//	*PointId_Uuid
	PointIdOptions isPointId_PointIdOptions `protobuf_oneof:"point_id_options"`
	// contains filtered or unexported fields
}

func NewID

func NewID(uuid string) *PointId

Creates a *PointId instance from a UUID string. Same as NewIDUUID().

func NewIDNum

func NewIDNum(num uint64) *PointId

Creates a *PointId instance from a positive integer.

func NewIDUUID

func NewIDUUID(uuid string) *PointId

Creates a *PointId instance from a UUID string.

func (*PointId) Descriptor deprecated

func (*PointId) Descriptor() ([]byte, []int)

Deprecated: Use PointId.ProtoReflect.Descriptor instead.

func (*PointId) GetNum

func (x *PointId) GetNum() uint64

func (*PointId) GetPointIdOptions

func (m *PointId) GetPointIdOptions() isPointId_PointIdOptions

func (*PointId) GetUuid

func (x *PointId) GetUuid() string

func (*PointId) ProtoMessage

func (*PointId) ProtoMessage()

func (*PointId) ProtoReflect

func (x *PointId) ProtoReflect() protoreflect.Message

func (*PointId) Reset

func (x *PointId) Reset()

func (*PointId) String

func (x *PointId) String() string

type PointId_Num

type PointId_Num struct {
	Num uint64 `protobuf:"varint,1,opt,name=num,proto3,oneof"` // Numerical ID of the point
}

type PointId_Uuid

type PointId_Uuid struct {
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3,oneof"` // UUID
}

type PointStruct

type PointStruct struct {
	Id      *PointId          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Payload map[string]*Value `` /* 155-byte string literal not displayed */
	Vectors *Vectors          `protobuf:"bytes,4,opt,name=vectors,proto3,oneof" json:"vectors,omitempty"`
	// contains filtered or unexported fields
}

func (*PointStruct) Descriptor deprecated

func (*PointStruct) Descriptor() ([]byte, []int)

Deprecated: Use PointStruct.ProtoReflect.Descriptor instead.

func (*PointStruct) GetId

func (x *PointStruct) GetId() *PointId

func (*PointStruct) GetPayload

func (x *PointStruct) GetPayload() map[string]*Value

func (*PointStruct) GetVectors

func (x *PointStruct) GetVectors() *Vectors

func (*PointStruct) ProtoMessage

func (*PointStruct) ProtoMessage()

func (*PointStruct) ProtoReflect

func (x *PointStruct) ProtoReflect() protoreflect.Message

func (*PointStruct) Reset

func (x *PointStruct) Reset()

func (*PointStruct) String

func (x *PointStruct) String() string

type PointVectors

type PointVectors struct {
	Id      *PointId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`           // ID to update vectors for
	Vectors *Vectors `protobuf:"bytes,2,opt,name=vectors,proto3" json:"vectors,omitempty"` // Named vectors to update, leave others intact
	// contains filtered or unexported fields
}

func (*PointVectors) Descriptor deprecated

func (*PointVectors) Descriptor() ([]byte, []int)

Deprecated: Use PointVectors.ProtoReflect.Descriptor instead.

func (*PointVectors) GetId

func (x *PointVectors) GetId() *PointId

func (*PointVectors) GetVectors

func (x *PointVectors) GetVectors() *Vectors

func (*PointVectors) ProtoMessage

func (*PointVectors) ProtoMessage()

func (*PointVectors) ProtoReflect

func (x *PointVectors) ProtoReflect() protoreflect.Message

func (*PointVectors) Reset

func (x *PointVectors) Reset()

func (*PointVectors) String

func (x *PointVectors) String() string

type PointsClient

type PointsClient interface {
	// Perform insert + updates on points. If a point with a given ID already exists - it will be overwritten.
	Upsert(ctx context.Context, in *UpsertPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Delete points
	Delete(ctx context.Context, in *DeletePoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Retrieve points
	Get(ctx context.Context, in *GetPoints, opts ...grpc.CallOption) (*GetResponse, error)
	// Update named vectors for point
	UpdateVectors(ctx context.Context, in *UpdatePointVectors, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Delete named vectors for points
	DeleteVectors(ctx context.Context, in *DeletePointVectors, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Set payload for points
	SetPayload(ctx context.Context, in *SetPayloadPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Overwrite payload for points
	OverwritePayload(ctx context.Context, in *SetPayloadPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Delete specified key payload for points
	DeletePayload(ctx context.Context, in *DeletePayloadPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Remove all payload for specified points
	ClearPayload(ctx context.Context, in *ClearPayloadPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Create index for field in collection
	CreateFieldIndex(ctx context.Context, in *CreateFieldIndexCollection, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Delete field index for collection
	DeleteFieldIndex(ctx context.Context, in *DeleteFieldIndexCollection, opts ...grpc.CallOption) (*PointsOperationResponse, error)
	// Retrieve closest points based on vector similarity and given filtering conditions
	Search(ctx context.Context, in *SearchPoints, opts ...grpc.CallOption) (*SearchResponse, error)
	// Retrieve closest points based on vector similarity and given filtering conditions
	SearchBatch(ctx context.Context, in *SearchBatchPoints, opts ...grpc.CallOption) (*SearchBatchResponse, error)
	// Retrieve closest points based on vector similarity and given filtering conditions, grouped by a given field
	SearchGroups(ctx context.Context, in *SearchPointGroups, opts ...grpc.CallOption) (*SearchGroupsResponse, error)
	// Iterate over all or filtered points
	Scroll(ctx context.Context, in *ScrollPoints, opts ...grpc.CallOption) (*ScrollResponse, error)
	// Look for the points which are closer to stored positive examples and at the same time further to negative examples.
	Recommend(ctx context.Context, in *RecommendPoints, opts ...grpc.CallOption) (*RecommendResponse, error)
	// Look for the points which are closer to stored positive examples and at the same time further to negative examples.
	RecommendBatch(ctx context.Context, in *RecommendBatchPoints, opts ...grpc.CallOption) (*RecommendBatchResponse, error)
	// 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
	RecommendGroups(ctx context.Context, in *RecommendPointGroups, opts ...grpc.CallOption) (*RecommendGroupsResponse, error)
	// 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.
	Discover(ctx context.Context, in *DiscoverPoints, opts ...grpc.CallOption) (*DiscoverResponse, error)
	// Batch request points based on { positive, negative } pairs of examples, and/or a target
	DiscoverBatch(ctx context.Context, in *DiscoverBatchPoints, opts ...grpc.CallOption) (*DiscoverBatchResponse, error)
	// Count points in collection with given filtering conditions
	Count(ctx context.Context, in *CountPoints, opts ...grpc.CallOption) (*CountResponse, error)
	// Perform multiple update operations in one request
	UpdateBatch(ctx context.Context, in *UpdateBatchPoints, opts ...grpc.CallOption) (*UpdateBatchResponse, error)
	// Universally query points. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
	Query(ctx context.Context, in *QueryPoints, opts ...grpc.CallOption) (*QueryResponse, error)
	// 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.
	QueryBatch(ctx context.Context, in *QueryBatchPoints, opts ...grpc.CallOption) (*QueryBatchResponse, error)
	// 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.
	QueryGroups(ctx context.Context, in *QueryPointGroups, opts ...grpc.CallOption) (*QueryGroupsResponse, error)
	// Perform facet counts. For each value in the field, count the number of points that have this value and match the conditions.
	Facet(ctx context.Context, in *FacetCounts, opts ...grpc.CallOption) (*FacetResponse, error)
	// Compute distance matrix for sampled points with a pair based output format
	SearchMatrixPairs(ctx context.Context, in *SearchMatrixPoints, opts ...grpc.CallOption) (*SearchMatrixPairsResponse, error)
	// Compute distance matrix for sampled points with an offset based output format
	SearchMatrixOffsets(ctx context.Context, in *SearchMatrixPoints, opts ...grpc.CallOption) (*SearchMatrixOffsetsResponse, error)
}

PointsClient is the client API for Points service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPointsClient

func NewPointsClient(cc grpc.ClientConnInterface) PointsClient

type PointsIdsList

type PointsIdsList struct {
	Ids []*PointId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

func (*PointsIdsList) Descriptor deprecated

func (*PointsIdsList) Descriptor() ([]byte, []int)

Deprecated: Use PointsIdsList.ProtoReflect.Descriptor instead.

func (*PointsIdsList) GetIds

func (x *PointsIdsList) GetIds() []*PointId

func (*PointsIdsList) ProtoMessage

func (*PointsIdsList) ProtoMessage()

func (*PointsIdsList) ProtoReflect

func (x *PointsIdsList) ProtoReflect() protoreflect.Message

func (*PointsIdsList) Reset

func (x *PointsIdsList) Reset()

func (*PointsIdsList) String

func (x *PointsIdsList) String() string

type PointsOperationResponse

type PointsOperationResponse struct {
	Result *UpdateResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64       `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage        `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*PointsOperationResponse) Descriptor deprecated

func (*PointsOperationResponse) Descriptor() ([]byte, []int)

Deprecated: Use PointsOperationResponse.ProtoReflect.Descriptor instead.

func (*PointsOperationResponse) GetResult

func (x *PointsOperationResponse) GetResult() *UpdateResult

func (*PointsOperationResponse) GetTime

func (x *PointsOperationResponse) GetTime() float64

func (*PointsOperationResponse) GetUsage

func (x *PointsOperationResponse) GetUsage() *Usage

func (*PointsOperationResponse) ProtoMessage

func (*PointsOperationResponse) ProtoMessage()

func (*PointsOperationResponse) ProtoReflect

func (x *PointsOperationResponse) ProtoReflect() protoreflect.Message

func (*PointsOperationResponse) Reset

func (x *PointsOperationResponse) Reset()

func (*PointsOperationResponse) String

func (x *PointsOperationResponse) String() string

type PointsSelector

type PointsSelector struct {

	// Types that are assignable to PointsSelectorOneOf:
	//
	//	*PointsSelector_Points
	//	*PointsSelector_Filter
	PointsSelectorOneOf isPointsSelector_PointsSelectorOneOf `protobuf_oneof:"points_selector_one_of"`
	// contains filtered or unexported fields
}

func NewPointsSelector

func NewPointsSelector(ids ...*PointId) *PointsSelector

Creates a *PointsSelector instance for selecting points by IDs. This is an alias for NewPointsSelectorIDs().

func NewPointsSelectorFilter

func NewPointsSelectorFilter(filter *Filter) *PointsSelector

Creates a *PointsSelector instance for selecting points by filter.

func NewPointsSelectorIDs

func NewPointsSelectorIDs(ids []*PointId) *PointsSelector

Creates a *PointsSelector instance for selecting points by IDs.

func (*PointsSelector) Descriptor deprecated

func (*PointsSelector) Descriptor() ([]byte, []int)

Deprecated: Use PointsSelector.ProtoReflect.Descriptor instead.

func (*PointsSelector) GetFilter

func (x *PointsSelector) GetFilter() *Filter

func (*PointsSelector) GetPoints

func (x *PointsSelector) GetPoints() *PointsIdsList

func (*PointsSelector) GetPointsSelectorOneOf

func (m *PointsSelector) GetPointsSelectorOneOf() isPointsSelector_PointsSelectorOneOf

func (*PointsSelector) ProtoMessage

func (*PointsSelector) ProtoMessage()

func (*PointsSelector) ProtoReflect

func (x *PointsSelector) ProtoReflect() protoreflect.Message

func (*PointsSelector) Reset

func (x *PointsSelector) Reset()

func (*PointsSelector) String

func (x *PointsSelector) String() string

type PointsSelector_Filter

type PointsSelector_Filter struct {
	Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3,oneof"`
}

type PointsSelector_Points

type PointsSelector_Points struct {
	Points *PointsIdsList `protobuf:"bytes,1,opt,name=points,proto3,oneof"`
}

type PointsServer

type PointsServer interface {
	// Perform insert + updates on points. If a point with a given ID already exists - it will be overwritten.
	Upsert(context.Context, *UpsertPoints) (*PointsOperationResponse, error)
	// Delete points
	Delete(context.Context, *DeletePoints) (*PointsOperationResponse, error)
	// Retrieve points
	Get(context.Context, *GetPoints) (*GetResponse, error)
	// Update named vectors for point
	UpdateVectors(context.Context, *UpdatePointVectors) (*PointsOperationResponse, error)
	// Delete named vectors for points
	DeleteVectors(context.Context, *DeletePointVectors) (*PointsOperationResponse, error)
	// Set payload for points
	SetPayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
	// Overwrite payload for points
	OverwritePayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
	// Delete specified key payload for points
	DeletePayload(context.Context, *DeletePayloadPoints) (*PointsOperationResponse, error)
	// Remove all payload for specified points
	ClearPayload(context.Context, *ClearPayloadPoints) (*PointsOperationResponse, error)
	// Create index for field in collection
	CreateFieldIndex(context.Context, *CreateFieldIndexCollection) (*PointsOperationResponse, error)
	// Delete field index for collection
	DeleteFieldIndex(context.Context, *DeleteFieldIndexCollection) (*PointsOperationResponse, error)
	// Retrieve closest points based on vector similarity and given filtering conditions
	Search(context.Context, *SearchPoints) (*SearchResponse, error)
	// Retrieve closest points based on vector similarity and given filtering conditions
	SearchBatch(context.Context, *SearchBatchPoints) (*SearchBatchResponse, error)
	// Retrieve closest points based on vector similarity and given filtering conditions, grouped by a given field
	SearchGroups(context.Context, *SearchPointGroups) (*SearchGroupsResponse, error)
	// Iterate over all or filtered points
	Scroll(context.Context, *ScrollPoints) (*ScrollResponse, error)
	// Look for the points which are closer to stored positive examples and at the same time further to negative examples.
	Recommend(context.Context, *RecommendPoints) (*RecommendResponse, error)
	// Look for the points which are closer to stored positive examples and at the same time further to negative examples.
	RecommendBatch(context.Context, *RecommendBatchPoints) (*RecommendBatchResponse, error)
	// 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
	RecommendGroups(context.Context, *RecommendPointGroups) (*RecommendGroupsResponse, error)
	// 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.
	Discover(context.Context, *DiscoverPoints) (*DiscoverResponse, error)
	// Batch request points based on { positive, negative } pairs of examples, and/or a target
	DiscoverBatch(context.Context, *DiscoverBatchPoints) (*DiscoverBatchResponse, error)
	// Count points in collection with given filtering conditions
	Count(context.Context, *CountPoints) (*CountResponse, error)
	// Perform multiple update operations in one request
	UpdateBatch(context.Context, *UpdateBatchPoints) (*UpdateBatchResponse, error)
	// Universally query points. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
	Query(context.Context, *QueryPoints) (*QueryResponse, error)
	// 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.
	QueryBatch(context.Context, *QueryBatchPoints) (*QueryBatchResponse, error)
	// 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.
	QueryGroups(context.Context, *QueryPointGroups) (*QueryGroupsResponse, error)
	// Perform facet counts. For each value in the field, count the number of points that have this value and match the conditions.
	Facet(context.Context, *FacetCounts) (*FacetResponse, error)
	// Compute distance matrix for sampled points with a pair based output format
	SearchMatrixPairs(context.Context, *SearchMatrixPoints) (*SearchMatrixPairsResponse, error)
	// Compute distance matrix for sampled points with an offset based output format
	SearchMatrixOffsets(context.Context, *SearchMatrixPoints) (*SearchMatrixOffsetsResponse, error)
	// contains filtered or unexported methods
}

PointsServer is the server API for Points service. All implementations must embed UnimplementedPointsServer for forward compatibility.

type PointsUpdateOperation

type PointsUpdateOperation struct {

	// Types that are assignable to Operation:
	//
	//	*PointsUpdateOperation_Upsert
	//	*PointsUpdateOperation_DeleteDeprecated
	//	*PointsUpdateOperation_SetPayload_
	//	*PointsUpdateOperation_OverwritePayload_
	//	*PointsUpdateOperation_DeletePayload_
	//	*PointsUpdateOperation_ClearPayloadDeprecated
	//	*PointsUpdateOperation_UpdateVectors_
	//	*PointsUpdateOperation_DeleteVectors_
	//	*PointsUpdateOperation_DeletePoints_
	//	*PointsUpdateOperation_ClearPayload_
	Operation isPointsUpdateOperation_Operation `protobuf_oneof:"operation"`
	// contains filtered or unexported fields
}

func NewPointsUpdateClearPayload

func NewPointsUpdateClearPayload(clearPayload *PointsUpdateOperation_ClearPayload) *PointsUpdateOperation

Creates a *PointsUpdateOperation instance for clearing payload.

func NewPointsUpdateDeletePayload

func NewPointsUpdateDeletePayload(deletePayload *PointsUpdateOperation_DeletePayload) *PointsUpdateOperation

Creates a *PointsUpdateOperation instance for deleting payload fields.

func NewPointsUpdateDeletePoints

func NewPointsUpdateDeletePoints(deletePoints *PointsUpdateOperation_DeletePoints) *PointsUpdateOperation

Creates a *PointsUpdateOperation instance for deleting points.

func NewPointsUpdateDeleteVectors

func NewPointsUpdateDeleteVectors(deleteVectors *PointsUpdateOperation_DeleteVectors) *PointsUpdateOperation

Creates a *PointsUpdateOperation instance for deleting vectors.

func NewPointsUpdateOverwritePayload

func NewPointsUpdateOverwritePayload(overwritePayload *PointsUpdateOperation_OverwritePayload) *PointsUpdateOperation

Creates a *PointsUpdateOperation instance for overwriting payload.

func NewPointsUpdateSetPayload

func NewPointsUpdateSetPayload(setPayload *PointsUpdateOperation_SetPayload) *PointsUpdateOperation

Creates a *PointsUpdateOperation instance for setting payload.

func NewPointsUpdateUpdateVectors

func NewPointsUpdateUpdateVectors(updateVectors *PointsUpdateOperation_UpdateVectors) *PointsUpdateOperation

Creates a *PointsUpdateOperation instance for updating vectors.

func NewPointsUpdateUpsert

func NewPointsUpdateUpsert(upsert *PointsUpdateOperation_PointStructList) *PointsUpdateOperation

Creates a *PointsUpdateOperation instance for upserting points.

func (*PointsUpdateOperation) Descriptor deprecated

func (*PointsUpdateOperation) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation) GetClearPayload

func (*PointsUpdateOperation) GetClearPayloadDeprecated deprecated

func (x *PointsUpdateOperation) GetClearPayloadDeprecated() *PointsSelector

Deprecated: Marked as deprecated in points.proto.

func (*PointsUpdateOperation) GetDeleteDeprecated deprecated

func (x *PointsUpdateOperation) GetDeleteDeprecated() *PointsSelector

Deprecated: Marked as deprecated in points.proto.

func (*PointsUpdateOperation) GetDeletePayload

func (*PointsUpdateOperation) GetDeletePoints

func (*PointsUpdateOperation) GetDeleteVectors

func (*PointsUpdateOperation) GetOperation

func (m *PointsUpdateOperation) GetOperation() isPointsUpdateOperation_Operation

func (*PointsUpdateOperation) GetOverwritePayload

func (*PointsUpdateOperation) GetSetPayload

func (*PointsUpdateOperation) GetUpdateVectors

func (*PointsUpdateOperation) GetUpsert

func (*PointsUpdateOperation) ProtoMessage

func (*PointsUpdateOperation) ProtoMessage()

func (*PointsUpdateOperation) ProtoReflect

func (x *PointsUpdateOperation) ProtoReflect() protoreflect.Message

func (*PointsUpdateOperation) Reset

func (x *PointsUpdateOperation) Reset()

func (*PointsUpdateOperation) String

func (x *PointsUpdateOperation) String() string

type PointsUpdateOperation_ClearPayload

type PointsUpdateOperation_ClearPayload struct {
	Points           *PointsSelector   `protobuf:"bytes,1,opt,name=points,proto3" json:"points,omitempty"`                                                     // Affected points
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_ClearPayload) Descriptor deprecated

func (*PointsUpdateOperation_ClearPayload) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation_ClearPayload.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_ClearPayload) GetPoints

func (*PointsUpdateOperation_ClearPayload) GetShardKeySelector

func (x *PointsUpdateOperation_ClearPayload) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_ClearPayload) ProtoMessage

func (*PointsUpdateOperation_ClearPayload) ProtoMessage()

func (*PointsUpdateOperation_ClearPayload) ProtoReflect

func (*PointsUpdateOperation_ClearPayload) Reset

func (*PointsUpdateOperation_ClearPayload) String

type PointsUpdateOperation_ClearPayloadDeprecated

type PointsUpdateOperation_ClearPayloadDeprecated struct {
	// Deprecated: Marked as deprecated in points.proto.
	ClearPayloadDeprecated *PointsSelector `protobuf:"bytes,6,opt,name=clear_payload_deprecated,json=clearPayloadDeprecated,proto3,oneof"`
}

type PointsUpdateOperation_ClearPayload_

type PointsUpdateOperation_ClearPayload_ struct {
	ClearPayload *PointsUpdateOperation_ClearPayload `protobuf:"bytes,10,opt,name=clear_payload,json=clearPayload,proto3,oneof"`
}

type PointsUpdateOperation_DeleteDeprecated

type PointsUpdateOperation_DeleteDeprecated struct {
	// Deprecated: Marked as deprecated in points.proto.
	DeleteDeprecated *PointsSelector `protobuf:"bytes,2,opt,name=delete_deprecated,json=deleteDeprecated,proto3,oneof"`
}

type PointsUpdateOperation_DeletePayload

type PointsUpdateOperation_DeletePayload struct {
	Keys             []string          `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
	PointsSelector   *PointsSelector   `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`         // Affected points
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_DeletePayload) Descriptor deprecated

func (*PointsUpdateOperation_DeletePayload) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation_DeletePayload.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_DeletePayload) GetKeys

func (*PointsUpdateOperation_DeletePayload) GetPointsSelector

func (x *PointsUpdateOperation_DeletePayload) GetPointsSelector() *PointsSelector

func (*PointsUpdateOperation_DeletePayload) GetShardKeySelector

func (x *PointsUpdateOperation_DeletePayload) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_DeletePayload) ProtoMessage

func (*PointsUpdateOperation_DeletePayload) ProtoMessage()

func (*PointsUpdateOperation_DeletePayload) ProtoReflect

func (*PointsUpdateOperation_DeletePayload) Reset

func (*PointsUpdateOperation_DeletePayload) String

type PointsUpdateOperation_DeletePayload_

type PointsUpdateOperation_DeletePayload_ struct {
	DeletePayload *PointsUpdateOperation_DeletePayload `protobuf:"bytes,5,opt,name=delete_payload,json=deletePayload,proto3,oneof"`
}

type PointsUpdateOperation_DeletePoints

type PointsUpdateOperation_DeletePoints struct {
	Points           *PointsSelector   `protobuf:"bytes,1,opt,name=points,proto3" json:"points,omitempty"`                                                     // Affected points
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_DeletePoints) Descriptor deprecated

func (*PointsUpdateOperation_DeletePoints) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation_DeletePoints.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_DeletePoints) GetPoints

func (*PointsUpdateOperation_DeletePoints) GetShardKeySelector

func (x *PointsUpdateOperation_DeletePoints) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_DeletePoints) ProtoMessage

func (*PointsUpdateOperation_DeletePoints) ProtoMessage()

func (*PointsUpdateOperation_DeletePoints) ProtoReflect

func (*PointsUpdateOperation_DeletePoints) Reset

func (*PointsUpdateOperation_DeletePoints) String

type PointsUpdateOperation_DeletePoints_

type PointsUpdateOperation_DeletePoints_ struct {
	DeletePoints *PointsUpdateOperation_DeletePoints `protobuf:"bytes,9,opt,name=delete_points,json=deletePoints,proto3,oneof"`
}

type PointsUpdateOperation_DeleteVectors

type PointsUpdateOperation_DeleteVectors struct {
	PointsSelector   *PointsSelector   `protobuf:"bytes,1,opt,name=points_selector,json=pointsSelector,proto3" json:"points_selector,omitempty"`               // Affected points
	Vectors          *VectorsSelector  `protobuf:"bytes,2,opt,name=vectors,proto3" json:"vectors,omitempty"`                                                   // List of vector names to delete
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_DeleteVectors) Descriptor deprecated

func (*PointsUpdateOperation_DeleteVectors) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation_DeleteVectors.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_DeleteVectors) GetPointsSelector

func (x *PointsUpdateOperation_DeleteVectors) GetPointsSelector() *PointsSelector

func (*PointsUpdateOperation_DeleteVectors) GetShardKeySelector

func (x *PointsUpdateOperation_DeleteVectors) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_DeleteVectors) GetVectors

func (*PointsUpdateOperation_DeleteVectors) ProtoMessage

func (*PointsUpdateOperation_DeleteVectors) ProtoMessage()

func (*PointsUpdateOperation_DeleteVectors) ProtoReflect

func (*PointsUpdateOperation_DeleteVectors) Reset

func (*PointsUpdateOperation_DeleteVectors) String

type PointsUpdateOperation_DeleteVectors_

type PointsUpdateOperation_DeleteVectors_ struct {
	DeleteVectors *PointsUpdateOperation_DeleteVectors `protobuf:"bytes,8,opt,name=delete_vectors,json=deleteVectors,proto3,oneof"`
}

type PointsUpdateOperation_OverwritePayload

type PointsUpdateOperation_OverwritePayload struct {
	Payload          map[string]*Value ``                                                                                                                      /* 155-byte string literal not displayed */
	PointsSelector   *PointsSelector   `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`         // Affected points
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	Key              *string           `protobuf:"bytes,4,opt,name=key,proto3,oneof" json:"key,omitempty"`                                                     // Option for indicate property of payload
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_OverwritePayload) Descriptor deprecated

func (*PointsUpdateOperation_OverwritePayload) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation_OverwritePayload.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_OverwritePayload) GetKey

func (*PointsUpdateOperation_OverwritePayload) GetPayload

func (*PointsUpdateOperation_OverwritePayload) GetPointsSelector

func (*PointsUpdateOperation_OverwritePayload) GetShardKeySelector

func (x *PointsUpdateOperation_OverwritePayload) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_OverwritePayload) ProtoMessage

func (*PointsUpdateOperation_OverwritePayload) ProtoReflect

func (*PointsUpdateOperation_OverwritePayload) Reset

func (*PointsUpdateOperation_OverwritePayload) String

type PointsUpdateOperation_OverwritePayload_

type PointsUpdateOperation_OverwritePayload_ struct {
	OverwritePayload *PointsUpdateOperation_OverwritePayload `protobuf:"bytes,4,opt,name=overwrite_payload,json=overwritePayload,proto3,oneof"`
}

type PointsUpdateOperation_PointStructList

type PointsUpdateOperation_PointStructList struct {
	Points           []*PointStruct    `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	UpdateFilter     *Filter           `protobuf:"bytes,3,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"`               // If specified, only points that match this filter will be updated, others will be inserted
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_PointStructList) Descriptor deprecated

func (*PointsUpdateOperation_PointStructList) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation_PointStructList.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_PointStructList) GetPoints

func (*PointsUpdateOperation_PointStructList) GetShardKeySelector

func (x *PointsUpdateOperation_PointStructList) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_PointStructList) GetUpdateFilter

func (x *PointsUpdateOperation_PointStructList) GetUpdateFilter() *Filter

func (*PointsUpdateOperation_PointStructList) ProtoMessage

func (*PointsUpdateOperation_PointStructList) ProtoMessage()

func (*PointsUpdateOperation_PointStructList) ProtoReflect

func (*PointsUpdateOperation_PointStructList) Reset

func (*PointsUpdateOperation_PointStructList) String

type PointsUpdateOperation_SetPayload

type PointsUpdateOperation_SetPayload struct {
	Payload          map[string]*Value ``                                                                                                                      /* 155-byte string literal not displayed */
	PointsSelector   *PointsSelector   `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`         // Affected points
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	Key              *string           `protobuf:"bytes,4,opt,name=key,proto3,oneof" json:"key,omitempty"`                                                     // Option for indicate property of payload
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_SetPayload) Descriptor deprecated

func (*PointsUpdateOperation_SetPayload) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation_SetPayload.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_SetPayload) GetKey

func (*PointsUpdateOperation_SetPayload) GetPayload

func (x *PointsUpdateOperation_SetPayload) GetPayload() map[string]*Value

func (*PointsUpdateOperation_SetPayload) GetPointsSelector

func (x *PointsUpdateOperation_SetPayload) GetPointsSelector() *PointsSelector

func (*PointsUpdateOperation_SetPayload) GetShardKeySelector

func (x *PointsUpdateOperation_SetPayload) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_SetPayload) ProtoMessage

func (*PointsUpdateOperation_SetPayload) ProtoMessage()

func (*PointsUpdateOperation_SetPayload) ProtoReflect

func (*PointsUpdateOperation_SetPayload) Reset

func (*PointsUpdateOperation_SetPayload) String

type PointsUpdateOperation_SetPayload_

type PointsUpdateOperation_SetPayload_ struct {
	SetPayload *PointsUpdateOperation_SetPayload `protobuf:"bytes,3,opt,name=set_payload,json=setPayload,proto3,oneof"`
}

type PointsUpdateOperation_UpdateVectors

type PointsUpdateOperation_UpdateVectors struct {
	Points           []*PointVectors   `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`                                                     // List of points and vectors to update
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	UpdateFilter     *Filter           `protobuf:"bytes,3,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"`               // If specified, only points that match this filter will be updated
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_UpdateVectors) Descriptor deprecated

func (*PointsUpdateOperation_UpdateVectors) Descriptor() ([]byte, []int)

Deprecated: Use PointsUpdateOperation_UpdateVectors.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_UpdateVectors) GetPoints

func (*PointsUpdateOperation_UpdateVectors) GetShardKeySelector

func (x *PointsUpdateOperation_UpdateVectors) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_UpdateVectors) GetUpdateFilter

func (x *PointsUpdateOperation_UpdateVectors) GetUpdateFilter() *Filter

func (*PointsUpdateOperation_UpdateVectors) ProtoMessage

func (*PointsUpdateOperation_UpdateVectors) ProtoMessage()

func (*PointsUpdateOperation_UpdateVectors) ProtoReflect

func (*PointsUpdateOperation_UpdateVectors) Reset

func (*PointsUpdateOperation_UpdateVectors) String

type PointsUpdateOperation_UpdateVectors_

type PointsUpdateOperation_UpdateVectors_ struct {
	UpdateVectors *PointsUpdateOperation_UpdateVectors `protobuf:"bytes,7,opt,name=update_vectors,json=updateVectors,proto3,oneof"`
}

type PointsUpdateOperation_Upsert

type PointsUpdateOperation_Upsert struct {
	Upsert *PointsUpdateOperation_PointStructList `protobuf:"bytes,1,opt,name=upsert,proto3,oneof"`
}

type PowExpression

type PowExpression struct {
	Base     *Expression `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
	Exponent *Expression `protobuf:"bytes,2,opt,name=exponent,proto3" json:"exponent,omitempty"`
	// contains filtered or unexported fields
}

func (*PowExpression) Descriptor deprecated

func (*PowExpression) Descriptor() ([]byte, []int)

Deprecated: Use PowExpression.ProtoReflect.Descriptor instead.

func (*PowExpression) GetBase

func (x *PowExpression) GetBase() *Expression

func (*PowExpression) GetExponent

func (x *PowExpression) GetExponent() *Expression

func (*PowExpression) ProtoMessage

func (*PowExpression) ProtoMessage()

func (*PowExpression) ProtoReflect

func (x *PowExpression) ProtoReflect() protoreflect.Message

func (*PowExpression) Reset

func (x *PowExpression) Reset()

func (*PowExpression) String

func (x *PowExpression) String() string

type PrefetchQuery

type PrefetchQuery struct {
	Prefetch       []*PrefetchQuery `protobuf:"bytes,1,rep,name=prefetch,proto3" json:"prefetch,omitempty"`                                           // Sub-requests to perform first. If present, the query will be performed on the results of the prefetches.
	Query          *Query           `protobuf:"bytes,2,opt,name=query,proto3,oneof" json:"query,omitempty"`                                           // Query to perform. If missing, returns points ordered by their IDs.
	Using          *string          `protobuf:"bytes,3,opt,name=using,proto3,oneof" json:"using,omitempty"`                                           // Define which vector to use for querying. If missing, the default vector is is used.
	Filter         *Filter          `protobuf:"bytes,4,opt,name=filter,proto3,oneof" json:"filter,omitempty"`                                         // Filter conditions - return only those points that satisfy the specified conditions.
	Params         *SearchParams    `protobuf:"bytes,5,opt,name=params,proto3,oneof" json:"params,omitempty"`                                         // Search params for when there is no prefetch.
	ScoreThreshold *float32         `protobuf:"fixed32,6,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"` // Return points with scores better than this threshold.
	Limit          *uint64          `protobuf:"varint,7,opt,name=limit,proto3,oneof" json:"limit,omitempty"`                                          // Max number of points. Default is 10
	LookupFrom     *LookupLocation  `protobuf:"bytes,8,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`               // The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector
	// contains filtered or unexported fields
}

func (*PrefetchQuery) Descriptor deprecated

func (*PrefetchQuery) Descriptor() ([]byte, []int)

Deprecated: Use PrefetchQuery.ProtoReflect.Descriptor instead.

func (*PrefetchQuery) GetFilter

func (x *PrefetchQuery) GetFilter() *Filter

func (*PrefetchQuery) GetLimit

func (x *PrefetchQuery) GetLimit() uint64

func (*PrefetchQuery) GetLookupFrom

func (x *PrefetchQuery) GetLookupFrom() *LookupLocation

func (*PrefetchQuery) GetParams

func (x *PrefetchQuery) GetParams() *SearchParams

func (*PrefetchQuery) GetPrefetch

func (x *PrefetchQuery) GetPrefetch() []*PrefetchQuery

func (*PrefetchQuery) GetQuery

func (x *PrefetchQuery) GetQuery() *Query

func (*PrefetchQuery) GetScoreThreshold

func (x *PrefetchQuery) GetScoreThreshold() float32

func (*PrefetchQuery) GetUsing

func (x *PrefetchQuery) GetUsing() string

func (*PrefetchQuery) ProtoMessage

func (*PrefetchQuery) ProtoMessage()

func (*PrefetchQuery) ProtoReflect

func (x *PrefetchQuery) ProtoReflect() protoreflect.Message

func (*PrefetchQuery) Reset

func (x *PrefetchQuery) Reset()

func (*PrefetchQuery) String

func (x *PrefetchQuery) String() string

type ProductQuantization

type ProductQuantization struct {
	Compression CompressionRatio `protobuf:"varint,1,opt,name=compression,proto3,enum=qdrant.CompressionRatio" json:"compression,omitempty"` // Compression ratio
	AlwaysRam   *bool            `protobuf:"varint,2,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"`           // If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
	// contains filtered or unexported fields
}

func (*ProductQuantization) Descriptor deprecated

func (*ProductQuantization) Descriptor() ([]byte, []int)

Deprecated: Use ProductQuantization.ProtoReflect.Descriptor instead.

func (*ProductQuantization) GetAlwaysRam

func (x *ProductQuantization) GetAlwaysRam() bool

func (*ProductQuantization) GetCompression

func (x *ProductQuantization) GetCompression() CompressionRatio

func (*ProductQuantization) ProtoMessage

func (*ProductQuantization) ProtoMessage()

func (*ProductQuantization) ProtoReflect

func (x *ProductQuantization) ProtoReflect() protoreflect.Message

func (*ProductQuantization) Reset

func (x *ProductQuantization) Reset()

func (*ProductQuantization) String

func (x *ProductQuantization) String() string

type QdrantClient

type QdrantClient interface {
	HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckReply, error)
}

QdrantClient is the client API for Qdrant service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewQdrantClient

func NewQdrantClient(cc grpc.ClientConnInterface) QdrantClient

type QdrantError

type QdrantError struct {
	// contains filtered or unexported fields
}

func (*QdrantError) Error

func (e *QdrantError) Error() string

Error returns the error as string.

func (*QdrantError) Unwrap

func (e *QdrantError) Unwrap() error

Unwrap returns the inner error.

type QdrantResourceExhaustedError

type QdrantResourceExhaustedError struct {
	Reason      string
	RetryAfterS int
}

func (*QdrantResourceExhaustedError) Error

type QdrantServer

type QdrantServer interface {
	HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckReply, error)
	// contains filtered or unexported methods
}

QdrantServer is the server API for Qdrant service. All implementations must embed UnimplementedQdrantServer for forward compatibility.

type QuantizationConfig

type QuantizationConfig struct {

	// Types that are assignable to Quantization:
	//
	//	*QuantizationConfig_Scalar
	//	*QuantizationConfig_Product
	//	*QuantizationConfig_Binary
	Quantization isQuantizationConfig_Quantization `protobuf_oneof:"quantization"`
	// contains filtered or unexported fields
}

func NewQuantizationBinary

func NewQuantizationBinary(binary *BinaryQuantization) *QuantizationConfig

Creates a *QuantizationConfig instance from *BinaryQuantization.

func NewQuantizationProduct

func NewQuantizationProduct(product *ProductQuantization) *QuantizationConfig

Creates a *QuantizationConfig instance from *ProductQuantization.

func NewQuantizationScalar

func NewQuantizationScalar(scalar *ScalarQuantization) *QuantizationConfig

Creates a *QuantizationConfig instance from *ScalarQuantization.

func (*QuantizationConfig) Descriptor deprecated

func (*QuantizationConfig) Descriptor() ([]byte, []int)

Deprecated: Use QuantizationConfig.ProtoReflect.Descriptor instead.

func (*QuantizationConfig) GetBinary

func (x *QuantizationConfig) GetBinary() *BinaryQuantization

func (*QuantizationConfig) GetProduct

func (x *QuantizationConfig) GetProduct() *ProductQuantization

func (*QuantizationConfig) GetQuantization

func (m *QuantizationConfig) GetQuantization() isQuantizationConfig_Quantization

func (*QuantizationConfig) GetScalar

func (x *QuantizationConfig) GetScalar() *ScalarQuantization

func (*QuantizationConfig) ProtoMessage

func (*QuantizationConfig) ProtoMessage()

func (*QuantizationConfig) ProtoReflect

func (x *QuantizationConfig) ProtoReflect() protoreflect.Message

func (*QuantizationConfig) Reset

func (x *QuantizationConfig) Reset()

func (*QuantizationConfig) String

func (x *QuantizationConfig) String() string

type QuantizationConfigDiff

type QuantizationConfigDiff struct {

	// Types that are assignable to Quantization:
	//
	//	*QuantizationConfigDiff_Scalar
	//	*QuantizationConfigDiff_Product
	//	*QuantizationConfigDiff_Disabled
	//	*QuantizationConfigDiff_Binary
	Quantization isQuantizationConfigDiff_Quantization `protobuf_oneof:"quantization"`
	// contains filtered or unexported fields
}

func NewQuantizationDiffBinary

func NewQuantizationDiffBinary(binary *BinaryQuantization) *QuantizationConfigDiff

Creates a *QuantizationConfigDiff instance from *BinaryQuantization.

func NewQuantizationDiffDisabled

func NewQuantizationDiffDisabled() *QuantizationConfigDiff

Creates a *QuantizationConfigDiff instance with quantization disabled.

func NewQuantizationDiffProduct

func NewQuantizationDiffProduct(product *ProductQuantization) *QuantizationConfigDiff

Creates a *QuantizationConfigDiff instance from *ProductQuantization.

func NewQuantizationDiffScalar

func NewQuantizationDiffScalar(scalar *ScalarQuantization) *QuantizationConfigDiff

Creates a *QuantizationConfigDiff instance from *ScalarQuantization.

func (*QuantizationConfigDiff) Descriptor deprecated

func (*QuantizationConfigDiff) Descriptor() ([]byte, []int)

Deprecated: Use QuantizationConfigDiff.ProtoReflect.Descriptor instead.

func (*QuantizationConfigDiff) GetBinary

func (*QuantizationConfigDiff) GetDisabled

func (x *QuantizationConfigDiff) GetDisabled() *Disabled

func (*QuantizationConfigDiff) GetProduct

func (*QuantizationConfigDiff) GetQuantization

func (m *QuantizationConfigDiff) GetQuantization() isQuantizationConfigDiff_Quantization

func (*QuantizationConfigDiff) GetScalar

func (*QuantizationConfigDiff) ProtoMessage

func (*QuantizationConfigDiff) ProtoMessage()

func (*QuantizationConfigDiff) ProtoReflect

func (x *QuantizationConfigDiff) ProtoReflect() protoreflect.Message

func (*QuantizationConfigDiff) Reset

func (x *QuantizationConfigDiff) Reset()

func (*QuantizationConfigDiff) String

func (x *QuantizationConfigDiff) String() string

type QuantizationConfigDiff_Binary

type QuantizationConfigDiff_Binary struct {
	Binary *BinaryQuantization `protobuf:"bytes,4,opt,name=binary,proto3,oneof"`
}

type QuantizationConfigDiff_Disabled

type QuantizationConfigDiff_Disabled struct {
	Disabled *Disabled `protobuf:"bytes,3,opt,name=disabled,proto3,oneof"`
}

type QuantizationConfigDiff_Product

type QuantizationConfigDiff_Product struct {
	Product *ProductQuantization `protobuf:"bytes,2,opt,name=product,proto3,oneof"`
}

type QuantizationConfigDiff_Scalar

type QuantizationConfigDiff_Scalar struct {
	Scalar *ScalarQuantization `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}

type QuantizationConfig_Binary

type QuantizationConfig_Binary struct {
	Binary *BinaryQuantization `protobuf:"bytes,3,opt,name=binary,proto3,oneof"`
}

type QuantizationConfig_Product

type QuantizationConfig_Product struct {
	Product *ProductQuantization `protobuf:"bytes,2,opt,name=product,proto3,oneof"`
}

type QuantizationConfig_Scalar

type QuantizationConfig_Scalar struct {
	Scalar *ScalarQuantization `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}

type QuantizationSearchParams

type QuantizationSearchParams struct {

	// If set to true, search will ignore quantized vector data
	Ignore *bool `protobuf:"varint,1,opt,name=ignore,proto3,oneof" json:"ignore,omitempty"`
	// If true, use original vectors to re-score top-k results. If ignored, qdrant decides automatically does rescore enabled or not.
	Rescore *bool `protobuf:"varint,2,opt,name=rescore,proto3,oneof" json:"rescore,omitempty"`
	// 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.
	Oversampling *float64 `protobuf:"fixed64,3,opt,name=oversampling,proto3,oneof" json:"oversampling,omitempty"`
	// contains filtered or unexported fields
}

func (*QuantizationSearchParams) Descriptor deprecated

func (*QuantizationSearchParams) Descriptor() ([]byte, []int)

Deprecated: Use QuantizationSearchParams.ProtoReflect.Descriptor instead.

func (*QuantizationSearchParams) GetIgnore

func (x *QuantizationSearchParams) GetIgnore() bool

func (*QuantizationSearchParams) GetOversampling

func (x *QuantizationSearchParams) GetOversampling() float64

func (*QuantizationSearchParams) GetRescore

func (x *QuantizationSearchParams) GetRescore() bool

func (*QuantizationSearchParams) ProtoMessage

func (*QuantizationSearchParams) ProtoMessage()

func (*QuantizationSearchParams) ProtoReflect

func (x *QuantizationSearchParams) ProtoReflect() protoreflect.Message

func (*QuantizationSearchParams) Reset

func (x *QuantizationSearchParams) Reset()

func (*QuantizationSearchParams) String

func (x *QuantizationSearchParams) String() string

type QuantizationType

type QuantizationType int32
const (
	QuantizationType_UnknownQuantization QuantizationType = 0
	QuantizationType_Int8                QuantizationType = 1
)

func (QuantizationType) Descriptor

func (QuantizationType) Enum

func (QuantizationType) EnumDescriptor deprecated

func (QuantizationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use QuantizationType.Descriptor instead.

func (QuantizationType) Number

func (QuantizationType) String

func (x QuantizationType) String() string

func (QuantizationType) Type

type Query

type Query struct {

	// Types that are assignable to Variant:
	//
	//	*Query_Nearest
	//	*Query_Recommend
	//	*Query_Discover
	//	*Query_Context
	//	*Query_OrderBy
	//	*Query_Fusion
	//	*Query_Sample
	//	*Query_Formula
	//	*Query_NearestWithMmr
	//	*Query_Rrf
	Variant isQuery_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

func NewQuery

func NewQuery(values ...float32) *Query

Creates a *Query instance for a nearest query from dense vectors. This is an alias for NewQueryDense().

func NewQueryContext

func NewQueryContext(context *ContextInput) *Query

Creates a *Query instance for a context query from *ContextInput.

func NewQueryDense

func NewQueryDense(vector []float32) *Query

Creates a *Query instance for a nearest query from dense vectors.

func NewQueryDiscover

func NewQueryDiscover(discover *DiscoverInput) *Query

Creates a *Query instance for a discover query from *DiscoverInput.

func NewQueryDocument

func NewQueryDocument(document *Document) *Query

Creates a *Query instance for a nearest query from a *Document input.

func NewQueryFormula

func NewQueryFormula(formula *Formula) *Query

Creates a *Query instance for score boosting via an arbitrary formula.

func NewQueryFusion

func NewQueryFusion(fusion Fusion) *Query

Creeates a *Query instance for combining prefetch results with Fusion.

func NewQueryID

func NewQueryID(id *PointId) *Query

Creates a *Query instance for a nearest query from *PointId.

func NewQueryMMR

func NewQueryMMR(nearest *VectorInput, mmr *Mmr) *Query

Creates a *Query instance for re-ranking points with MMR (Maximal Marginal Relevance).

func NewQueryMulti

func NewQueryMulti(vectors [][]float32) *Query

Creates a *Query instance for a nearest query from multi vectors.

func NewQueryNearest

func NewQueryNearest(nearest *VectorInput) *Query

Creates a *Query instance for a nearest query from *VectorInput.

func NewQueryOrderBy

func NewQueryOrderBy(orderBy *OrderBy) *Query

Creates a *Query instance for ordering points with *OrderBy.

func NewQueryRRF

func NewQueryRRF(rrf *Rrf) *Query

Creates a *Query instance for combining prefetch results with RRF (Reciprocal Rank Fusion).

func NewQueryRecommend

func NewQueryRecommend(recommend *RecommendInput) *Query

Creates a *Query instance for recommend query from *RecommendInput.

func NewQuerySample

func NewQuerySample(sample Sample) *Query

Creates a *Query instance for sampling points.

func NewQuerySparse

func NewQuerySparse(indices []uint32, values []float32) *Query

Creates a *Query instance for a nearest query from sparse vectors.

func (*Query) Descriptor deprecated

func (*Query) Descriptor() ([]byte, []int)

Deprecated: Use Query.ProtoReflect.Descriptor instead.

func (*Query) GetContext

func (x *Query) GetContext() *ContextInput

func (*Query) GetDiscover

func (x *Query) GetDiscover() *DiscoverInput

func (*Query) GetFormula

func (x *Query) GetFormula() *Formula

func (*Query) GetFusion

func (x *Query) GetFusion() Fusion

func (*Query) GetNearest

func (x *Query) GetNearest() *VectorInput

func (*Query) GetNearestWithMmr

func (x *Query) GetNearestWithMmr() *NearestInputWithMmr

func (*Query) GetOrderBy

func (x *Query) GetOrderBy() *OrderBy

func (*Query) GetRecommend

func (x *Query) GetRecommend() *RecommendInput

func (*Query) GetRrf

func (x *Query) GetRrf() *Rrf

func (*Query) GetSample

func (x *Query) GetSample() Sample

func (*Query) GetVariant

func (m *Query) GetVariant() isQuery_Variant

func (*Query) ProtoMessage

func (*Query) ProtoMessage()

func (*Query) ProtoReflect

func (x *Query) ProtoReflect() protoreflect.Message

func (*Query) Reset

func (x *Query) Reset()

func (*Query) String

func (x *Query) String() string

type QueryBatchPoints

type QueryBatchPoints struct {
	CollectionName  string           `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	QueryPoints     []*QueryPoints   `protobuf:"bytes,2,rep,name=query_points,json=queryPoints,proto3" json:"query_points,omitempty"`
	ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
	Timeout         *uint64          `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                       // If set, overrides global timeout setting for this request. Unit is seconds.
	// contains filtered or unexported fields
}

func (*QueryBatchPoints) Descriptor deprecated

func (*QueryBatchPoints) Descriptor() ([]byte, []int)

Deprecated: Use QueryBatchPoints.ProtoReflect.Descriptor instead.

func (*QueryBatchPoints) GetCollectionName

func (x *QueryBatchPoints) GetCollectionName() string

func (*QueryBatchPoints) GetQueryPoints

func (x *QueryBatchPoints) GetQueryPoints() []*QueryPoints

func (*QueryBatchPoints) GetReadConsistency

func (x *QueryBatchPoints) GetReadConsistency() *ReadConsistency

func (*QueryBatchPoints) GetTimeout

func (x *QueryBatchPoints) GetTimeout() uint64

func (*QueryBatchPoints) ProtoMessage

func (*QueryBatchPoints) ProtoMessage()

func (*QueryBatchPoints) ProtoReflect

func (x *QueryBatchPoints) ProtoReflect() protoreflect.Message

func (*QueryBatchPoints) Reset

func (x *QueryBatchPoints) Reset()

func (*QueryBatchPoints) String

func (x *QueryBatchPoints) String() string

type QueryBatchResponse

type QueryBatchResponse struct {
	Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64        `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage         `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryBatchResponse) Descriptor deprecated

func (*QueryBatchResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryBatchResponse.ProtoReflect.Descriptor instead.

func (*QueryBatchResponse) GetResult

func (x *QueryBatchResponse) GetResult() []*BatchResult

func (*QueryBatchResponse) GetTime

func (x *QueryBatchResponse) GetTime() float64

func (*QueryBatchResponse) GetUsage

func (x *QueryBatchResponse) GetUsage() *Usage

func (*QueryBatchResponse) ProtoMessage

func (*QueryBatchResponse) ProtoMessage()

func (*QueryBatchResponse) ProtoReflect

func (x *QueryBatchResponse) ProtoReflect() protoreflect.Message

func (*QueryBatchResponse) Reset

func (x *QueryBatchResponse) Reset()

func (*QueryBatchResponse) String

func (x *QueryBatchResponse) String() string

type QueryGroupsResponse

type QueryGroupsResponse struct {
	Result *GroupsResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64       `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage        `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryGroupsResponse) Descriptor deprecated

func (*QueryGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryGroupsResponse.ProtoReflect.Descriptor instead.

func (*QueryGroupsResponse) GetResult

func (x *QueryGroupsResponse) GetResult() *GroupsResult

func (*QueryGroupsResponse) GetTime

func (x *QueryGroupsResponse) GetTime() float64

func (*QueryGroupsResponse) GetUsage

func (x *QueryGroupsResponse) GetUsage() *Usage

func (*QueryGroupsResponse) ProtoMessage

func (*QueryGroupsResponse) ProtoMessage()

func (*QueryGroupsResponse) ProtoReflect

func (x *QueryGroupsResponse) ProtoReflect() protoreflect.Message

func (*QueryGroupsResponse) Reset

func (x *QueryGroupsResponse) Reset()

func (*QueryGroupsResponse) String

func (x *QueryGroupsResponse) String() string

type QueryPointGroups

type QueryPointGroups struct {
	CollectionName   string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                // Name of the collection
	Prefetch         []*PrefetchQuery     `protobuf:"bytes,2,rep,name=prefetch,proto3" json:"prefetch,omitempty"`                                                  // Sub-requests to perform first. If present, the query will be performed on the results of the prefetches.
	Query            *Query               `protobuf:"bytes,3,opt,name=query,proto3,oneof" json:"query,omitempty"`                                                  // Query to perform. If missing, returns points ordered by their IDs.
	Using            *string              `protobuf:"bytes,4,opt,name=using,proto3,oneof" json:"using,omitempty"`                                                  // Define which vector to use for querying. If missing, the default vector is used.
	Filter           *Filter              `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"`                                                // Filter conditions - return only those points that satisfy the specified conditions.
	Params           *SearchParams        `protobuf:"bytes,6,opt,name=params,proto3,oneof" json:"params,omitempty"`                                                // Search params for when there is no prefetch.
	ScoreThreshold   *float32             `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`        // Return points with scores better than this threshold.
	WithPayload      *WithPayloadSelector `protobuf:"bytes,8,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`                         // Options for specifying which payload to include or not
	WithVectors      *WithVectorsSelector `protobuf:"bytes,9,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                   // Options for specifying which vectors to include into response
	LookupFrom       *LookupLocation      `protobuf:"bytes,10,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`                     // The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector
	Limit            *uint64              `protobuf:"varint,11,opt,name=limit,proto3,oneof" json:"limit,omitempty"`                                                // Max number of points. Default is 3.
	GroupSize        *uint64              `protobuf:"varint,12,opt,name=group_size,json=groupSize,proto3,oneof" json:"group_size,omitempty"`                       // Maximum amount of points to return per group. Default to 10.
	GroupBy          string               `protobuf:"bytes,13,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`                                    // 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.
	ReadConsistency  *ReadConsistency     `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	WithLookup       *WithLookup          `protobuf:"bytes,15,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"`                     // Options for specifying how to use the group id to lookup points in another collection
	Timeout          *uint64              `protobuf:"varint,16,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	ShardKeySelector *ShardKeySelector    `protobuf:"bytes,17,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	// contains filtered or unexported fields
}

func (*QueryPointGroups) Descriptor deprecated

func (*QueryPointGroups) Descriptor() ([]byte, []int)

Deprecated: Use QueryPointGroups.ProtoReflect.Descriptor instead.

func (*QueryPointGroups) GetCollectionName

func (x *QueryPointGroups) GetCollectionName() string

func (*QueryPointGroups) GetFilter

func (x *QueryPointGroups) GetFilter() *Filter

func (*QueryPointGroups) GetGroupBy

func (x *QueryPointGroups) GetGroupBy() string

func (*QueryPointGroups) GetGroupSize

func (x *QueryPointGroups) GetGroupSize() uint64

func (*QueryPointGroups) GetLimit

func (x *QueryPointGroups) GetLimit() uint64

func (*QueryPointGroups) GetLookupFrom

func (x *QueryPointGroups) GetLookupFrom() *LookupLocation

func (*QueryPointGroups) GetParams

func (x *QueryPointGroups) GetParams() *SearchParams

func (*QueryPointGroups) GetPrefetch

func (x *QueryPointGroups) GetPrefetch() []*PrefetchQuery

func (*QueryPointGroups) GetQuery

func (x *QueryPointGroups) GetQuery() *Query

func (*QueryPointGroups) GetReadConsistency

func (x *QueryPointGroups) GetReadConsistency() *ReadConsistency

func (*QueryPointGroups) GetScoreThreshold

func (x *QueryPointGroups) GetScoreThreshold() float32

func (*QueryPointGroups) GetShardKeySelector

func (x *QueryPointGroups) GetShardKeySelector() *ShardKeySelector

func (*QueryPointGroups) GetTimeout

func (x *QueryPointGroups) GetTimeout() uint64

func (*QueryPointGroups) GetUsing

func (x *QueryPointGroups) GetUsing() string

func (*QueryPointGroups) GetWithLookup

func (x *QueryPointGroups) GetWithLookup() *WithLookup

func (*QueryPointGroups) GetWithPayload

func (x *QueryPointGroups) GetWithPayload() *WithPayloadSelector

func (*QueryPointGroups) GetWithVectors

func (x *QueryPointGroups) GetWithVectors() *WithVectorsSelector

func (*QueryPointGroups) ProtoMessage

func (*QueryPointGroups) ProtoMessage()

func (*QueryPointGroups) ProtoReflect

func (x *QueryPointGroups) ProtoReflect() protoreflect.Message

func (*QueryPointGroups) Reset

func (x *QueryPointGroups) Reset()

func (*QueryPointGroups) String

func (x *QueryPointGroups) String() string

type QueryPoints

type QueryPoints struct {
	CollectionName   string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                // Name of the collection
	Prefetch         []*PrefetchQuery     `protobuf:"bytes,2,rep,name=prefetch,proto3" json:"prefetch,omitempty"`                                                  // Sub-requests to perform first. If present, the query will be performed on the results of the prefetches.
	Query            *Query               `protobuf:"bytes,3,opt,name=query,proto3,oneof" json:"query,omitempty"`                                                  // Query to perform. If missing, returns points ordered by their IDs.
	Using            *string              `protobuf:"bytes,4,opt,name=using,proto3,oneof" json:"using,omitempty"`                                                  // Define which vector to use for querying. If missing, the default vector is used.
	Filter           *Filter              `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"`                                                // Filter conditions - return only those points that satisfy the specified conditions.
	Params           *SearchParams        `protobuf:"bytes,6,opt,name=params,proto3,oneof" json:"params,omitempty"`                                                // Search params for when there is no prefetch.
	ScoreThreshold   *float32             `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`        // Return points with scores better than this threshold.
	Limit            *uint64              `protobuf:"varint,8,opt,name=limit,proto3,oneof" json:"limit,omitempty"`                                                 // Max number of points. Default is 10.
	Offset           *uint64              `protobuf:"varint,9,opt,name=offset,proto3,oneof" json:"offset,omitempty"`                                               // Offset of the result. Skip this many points. Default is 0.
	WithVectors      *WithVectorsSelector `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                  // Options for specifying which vectors to include into the response.
	WithPayload      *WithPayloadSelector `protobuf:"bytes,11,opt,name=with_payload,json=withPayload,proto3,oneof" json:"with_payload,omitempty"`                  // Options for specifying which payload to include or not.
	ReadConsistency  *ReadConsistency     `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees.
	ShardKeySelector *ShardKeySelector    `protobuf:"bytes,13,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards.
	LookupFrom       *LookupLocation      `protobuf:"bytes,14,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`                     // The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector
	Timeout          *uint64              `protobuf:"varint,15,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	// contains filtered or unexported fields
}

func (*QueryPoints) Descriptor deprecated

func (*QueryPoints) Descriptor() ([]byte, []int)

Deprecated: Use QueryPoints.ProtoReflect.Descriptor instead.

func (*QueryPoints) GetCollectionName

func (x *QueryPoints) GetCollectionName() string

func (*QueryPoints) GetFilter

func (x *QueryPoints) GetFilter() *Filter

func (*QueryPoints) GetLimit

func (x *QueryPoints) GetLimit() uint64

func (*QueryPoints) GetLookupFrom

func (x *QueryPoints) GetLookupFrom() *LookupLocation

func (*QueryPoints) GetOffset

func (x *QueryPoints) GetOffset() uint64

func (*QueryPoints) GetParams

func (x *QueryPoints) GetParams() *SearchParams

func (*QueryPoints) GetPrefetch

func (x *QueryPoints) GetPrefetch() []*PrefetchQuery

func (*QueryPoints) GetQuery

func (x *QueryPoints) GetQuery() *Query

func (*QueryPoints) GetReadConsistency

func (x *QueryPoints) GetReadConsistency() *ReadConsistency

func (*QueryPoints) GetScoreThreshold

func (x *QueryPoints) GetScoreThreshold() float32

func (*QueryPoints) GetShardKeySelector

func (x *QueryPoints) GetShardKeySelector() *ShardKeySelector

func (*QueryPoints) GetTimeout

func (x *QueryPoints) GetTimeout() uint64

func (*QueryPoints) GetUsing

func (x *QueryPoints) GetUsing() string

func (*QueryPoints) GetWithPayload

func (x *QueryPoints) GetWithPayload() *WithPayloadSelector

func (*QueryPoints) GetWithVectors

func (x *QueryPoints) GetWithVectors() *WithVectorsSelector

func (*QueryPoints) ProtoMessage

func (*QueryPoints) ProtoMessage()

func (*QueryPoints) ProtoReflect

func (x *QueryPoints) ProtoReflect() protoreflect.Message

func (*QueryPoints) Reset

func (x *QueryPoints) Reset()

func (*QueryPoints) String

func (x *QueryPoints) String() string

type QueryResponse

type QueryResponse struct {
	Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64        `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage         `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*QueryResponse) Descriptor deprecated

func (*QueryResponse) Descriptor() ([]byte, []int)

Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.

func (*QueryResponse) GetResult

func (x *QueryResponse) GetResult() []*ScoredPoint

func (*QueryResponse) GetTime

func (x *QueryResponse) GetTime() float64

func (*QueryResponse) GetUsage

func (x *QueryResponse) GetUsage() *Usage

func (*QueryResponse) ProtoMessage

func (*QueryResponse) ProtoMessage()

func (*QueryResponse) ProtoReflect

func (x *QueryResponse) ProtoReflect() protoreflect.Message

func (*QueryResponse) Reset

func (x *QueryResponse) Reset()

func (*QueryResponse) String

func (x *QueryResponse) String() string

type Query_Context

type Query_Context struct {
	Context *ContextInput `protobuf:"bytes,4,opt,name=context,proto3,oneof"` // Return points that live in positive areas.
}

type Query_Discover

type Query_Discover struct {
	Discover *DiscoverInput `protobuf:"bytes,3,opt,name=discover,proto3,oneof"` // Search for nearest points, but constrain the search space with context
}

type Query_Formula

type Query_Formula struct {
	Formula *Formula `protobuf:"bytes,8,opt,name=formula,proto3,oneof"` // Score boosting via an arbitrary formula
}

type Query_Fusion

type Query_Fusion struct {
	Fusion Fusion `protobuf:"varint,6,opt,name=fusion,proto3,enum=qdrant.Fusion,oneof"` // Fuse the results of multiple prefetches.
}

type Query_Nearest

type Query_Nearest struct {
	Nearest *VectorInput `protobuf:"bytes,1,opt,name=nearest,proto3,oneof"` // Find the nearest neighbors to this vector.
}

type Query_NearestWithMmr

type Query_NearestWithMmr struct {
	NearestWithMmr *NearestInputWithMmr `protobuf:"bytes,9,opt,name=nearest_with_mmr,json=nearestWithMmr,proto3,oneof"` // Search nearest neighbors, but re-rank based on the Maximal Marginal Relevance algorithm.
}

type Query_OrderBy

type Query_OrderBy struct {
	OrderBy *OrderBy `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3,oneof"` // Order the points by a payload field.
}

type Query_Recommend

type Query_Recommend struct {
	Recommend *RecommendInput `protobuf:"bytes,2,opt,name=recommend,proto3,oneof"` // Use multiple positive and negative vectors to find the results.
}

type Query_Rrf

type Query_Rrf struct {
	Rrf *Rrf `protobuf:"bytes,10,opt,name=rrf,proto3,oneof"` // Parameterized reciprocal rank fusion
}

type Query_Sample

type Query_Sample struct {
	Sample Sample `protobuf:"varint,7,opt,name=sample,proto3,enum=qdrant.Sample,oneof"` // Sample points from the collection.
}

type Range

type Range struct {
	Lt  *float64 `protobuf:"fixed64,1,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
	Gt  *float64 `protobuf:"fixed64,2,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
	Gte *float64 `protobuf:"fixed64,3,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
	Lte *float64 `protobuf:"fixed64,4,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
	// contains filtered or unexported fields
}

func (*Range) Descriptor deprecated

func (*Range) Descriptor() ([]byte, []int)

Deprecated: Use Range.ProtoReflect.Descriptor instead.

func (*Range) GetGt

func (x *Range) GetGt() float64

func (*Range) GetGte

func (x *Range) GetGte() float64

func (*Range) GetLt

func (x *Range) GetLt() float64

func (*Range) GetLte

func (x *Range) GetLte() float64

func (*Range) ProtoMessage

func (*Range) ProtoMessage()

func (*Range) ProtoReflect

func (x *Range) ProtoReflect() protoreflect.Message

func (*Range) Reset

func (x *Range) Reset()

func (*Range) String

func (x *Range) String() string

type ReadConsistency

type ReadConsistency struct {

	// Types that are assignable to Value:
	//
	//	*ReadConsistency_Type
	//	*ReadConsistency_Factor
	Value isReadConsistency_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func NewReadConsistency

func NewReadConsistency(readConsistencyType ReadConsistencyType) *ReadConsistency

Creates a *ReadConsistency instance from a ReadConsistencyType. This is an alias for NewReadConsistencyType().

func NewReadConsistencyFactor

func NewReadConsistencyFactor(readConsistencyFactor uint64) *ReadConsistency

Creates a *ReadConsistency instance from a factor in uint64.

func NewReadConsistencyType

func NewReadConsistencyType(readConsistencyType ReadConsistencyType) *ReadConsistency

Creates a *ReadConsistency instance from a ReadConsistencyType.

func (*ReadConsistency) Descriptor deprecated

func (*ReadConsistency) Descriptor() ([]byte, []int)

Deprecated: Use ReadConsistency.ProtoReflect.Descriptor instead.

func (*ReadConsistency) GetFactor

func (x *ReadConsistency) GetFactor() uint64

func (*ReadConsistency) GetType

func (x *ReadConsistency) GetType() ReadConsistencyType

func (*ReadConsistency) GetValue

func (m *ReadConsistency) GetValue() isReadConsistency_Value

func (*ReadConsistency) ProtoMessage

func (*ReadConsistency) ProtoMessage()

func (*ReadConsistency) ProtoReflect

func (x *ReadConsistency) ProtoReflect() protoreflect.Message

func (*ReadConsistency) Reset

func (x *ReadConsistency) Reset()

func (*ReadConsistency) String

func (x *ReadConsistency) String() string

type ReadConsistencyType

type ReadConsistencyType int32
const (
	ReadConsistencyType_All      ReadConsistencyType = 0 // Send request to all nodes and return points which are present on all of them
	ReadConsistencyType_Majority ReadConsistencyType = 1 // Send requests to all nodes and return points which are present on majority of them
	ReadConsistencyType_Quorum   ReadConsistencyType = 2 // Send requests to half + 1 nodes, return points which are present on all of them
)

func (ReadConsistencyType) Descriptor

func (ReadConsistencyType) Enum

func (ReadConsistencyType) EnumDescriptor deprecated

func (ReadConsistencyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReadConsistencyType.Descriptor instead.

func (ReadConsistencyType) Number

func (ReadConsistencyType) String

func (x ReadConsistencyType) String() string

func (ReadConsistencyType) Type

type ReadConsistency_Factor

type ReadConsistency_Factor struct {
	Factor uint64 `protobuf:"varint,2,opt,name=factor,proto3,oneof"` // Send request to a specified number of nodes, and return points which are present on all of them
}

type ReadConsistency_Type

type ReadConsistency_Type struct {
	Type ReadConsistencyType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.ReadConsistencyType,oneof"` // Common read consistency configurations
}

type RecommendBatchPoints

type RecommendBatchPoints struct {
	CollectionName  string             `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	RecommendPoints []*RecommendPoints `protobuf:"bytes,2,rep,name=recommend_points,json=recommendPoints,proto3" json:"recommend_points,omitempty"`
	ReadConsistency *ReadConsistency   `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
	Timeout         *uint64            `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                       // If set, overrides global timeout setting for this request. Unit is seconds.
	// contains filtered or unexported fields
}

func (*RecommendBatchPoints) Descriptor deprecated

func (*RecommendBatchPoints) Descriptor() ([]byte, []int)

Deprecated: Use RecommendBatchPoints.ProtoReflect.Descriptor instead.

func (*RecommendBatchPoints) GetCollectionName

func (x *RecommendBatchPoints) GetCollectionName() string

func (*RecommendBatchPoints) GetReadConsistency

func (x *RecommendBatchPoints) GetReadConsistency() *ReadConsistency

func (*RecommendBatchPoints) GetRecommendPoints

func (x *RecommendBatchPoints) GetRecommendPoints() []*RecommendPoints

func (*RecommendBatchPoints) GetTimeout

func (x *RecommendBatchPoints) GetTimeout() uint64

func (*RecommendBatchPoints) ProtoMessage

func (*RecommendBatchPoints) ProtoMessage()

func (*RecommendBatchPoints) ProtoReflect

func (x *RecommendBatchPoints) ProtoReflect() protoreflect.Message

func (*RecommendBatchPoints) Reset

func (x *RecommendBatchPoints) Reset()

func (*RecommendBatchPoints) String

func (x *RecommendBatchPoints) String() string

type RecommendBatchResponse

type RecommendBatchResponse struct {
	Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64        `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage         `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*RecommendBatchResponse) Descriptor deprecated

func (*RecommendBatchResponse) Descriptor() ([]byte, []int)

Deprecated: Use RecommendBatchResponse.ProtoReflect.Descriptor instead.

func (*RecommendBatchResponse) GetResult

func (x *RecommendBatchResponse) GetResult() []*BatchResult

func (*RecommendBatchResponse) GetTime

func (x *RecommendBatchResponse) GetTime() float64

func (*RecommendBatchResponse) GetUsage

func (x *RecommendBatchResponse) GetUsage() *Usage

func (*RecommendBatchResponse) ProtoMessage

func (*RecommendBatchResponse) ProtoMessage()

func (*RecommendBatchResponse) ProtoReflect

func (x *RecommendBatchResponse) ProtoReflect() protoreflect.Message

func (*RecommendBatchResponse) Reset

func (x *RecommendBatchResponse) Reset()

func (*RecommendBatchResponse) String

func (x *RecommendBatchResponse) String() string

type RecommendGroupsResponse

type RecommendGroupsResponse struct {
	Result *GroupsResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64       `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage        `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*RecommendGroupsResponse) Descriptor deprecated

func (*RecommendGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use RecommendGroupsResponse.ProtoReflect.Descriptor instead.

func (*RecommendGroupsResponse) GetResult

func (x *RecommendGroupsResponse) GetResult() *GroupsResult

func (*RecommendGroupsResponse) GetTime

func (x *RecommendGroupsResponse) GetTime() float64

func (*RecommendGroupsResponse) GetUsage

func (x *RecommendGroupsResponse) GetUsage() *Usage

func (*RecommendGroupsResponse) ProtoMessage

func (*RecommendGroupsResponse) ProtoMessage()

func (*RecommendGroupsResponse) ProtoReflect

func (x *RecommendGroupsResponse) ProtoReflect() protoreflect.Message

func (*RecommendGroupsResponse) Reset

func (x *RecommendGroupsResponse) Reset()

func (*RecommendGroupsResponse) String

func (x *RecommendGroupsResponse) String() string

type RecommendInput

type RecommendInput struct {
	Positive []*VectorInput     `protobuf:"bytes,1,rep,name=positive,proto3" json:"positive,omitempty"`                                      // Look for vectors closest to the vectors from these points
	Negative []*VectorInput     `protobuf:"bytes,2,rep,name=negative,proto3" json:"negative,omitempty"`                                      // Try to avoid vectors like the vector from these points
	Strategy *RecommendStrategy `protobuf:"varint,3,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"` // How to use the provided vectors to find the results
	// contains filtered or unexported fields
}

func (*RecommendInput) Descriptor deprecated

func (*RecommendInput) Descriptor() ([]byte, []int)

Deprecated: Use RecommendInput.ProtoReflect.Descriptor instead.

func (*RecommendInput) GetNegative

func (x *RecommendInput) GetNegative() []*VectorInput

func (*RecommendInput) GetPositive

func (x *RecommendInput) GetPositive() []*VectorInput

func (*RecommendInput) GetStrategy

func (x *RecommendInput) GetStrategy() RecommendStrategy

func (*RecommendInput) ProtoMessage

func (*RecommendInput) ProtoMessage()

func (*RecommendInput) ProtoReflect

func (x *RecommendInput) ProtoReflect() protoreflect.Message

func (*RecommendInput) Reset

func (x *RecommendInput) Reset()

func (*RecommendInput) String

func (x *RecommendInput) String() string

type RecommendPointGroups

type RecommendPointGroups struct {
	CollectionName   string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                // Name of the collection
	Positive         []*PointId           `protobuf:"bytes,2,rep,name=positive,proto3" json:"positive,omitempty"`                                                  // Look for vectors closest to the vectors from these points
	Negative         []*PointId           `protobuf:"bytes,3,rep,name=negative,proto3" json:"negative,omitempty"`                                                  // Try to avoid vectors like the vector from these points
	Filter           *Filter              `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`                                                      // Filter conditions - return only those points that satisfy the specified conditions
	Limit            uint32               `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`                                                       // Max number of groups in result
	WithPayload      *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`                         // Options for specifying which payload to include or not
	Params           *SearchParams        `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"`                                                      // Search config
	ScoreThreshold   *float32             `protobuf:"fixed32,8,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`        // If provided - cut off results with worse scores
	Using            *string              `protobuf:"bytes,9,opt,name=using,proto3,oneof" json:"using,omitempty"`                                                  // Define which vector to use for recommendation, if not specified - default vector
	WithVectors      *WithVectorsSelector `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                  // Options for specifying which vectors to include into response
	LookupFrom       *LookupLocation      `protobuf:"bytes,11,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`                     // Name of the collection to use for points lookup, if not specified - use current collection
	GroupBy          string               `protobuf:"bytes,12,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`                                    // 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.
	GroupSize        uint32               `protobuf:"varint,13,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"`                             // Maximum amount of points to return per group
	ReadConsistency  *ReadConsistency     `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	WithLookup       *WithLookup          `protobuf:"bytes,15,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"`                     // Options for specifying how to use the group id to lookup points in another collection
	Strategy         *RecommendStrategy   `protobuf:"varint,17,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"`            // How to use the example vectors to find the results
	PositiveVectors  []*Vector            `protobuf:"bytes,18,rep,name=positive_vectors,json=positiveVectors,proto3" json:"positive_vectors,omitempty"`            // Look for vectors closest to those
	NegativeVectors  []*Vector            `protobuf:"bytes,19,rep,name=negative_vectors,json=negativeVectors,proto3" json:"negative_vectors,omitempty"`            // Try to avoid vectors like this
	Timeout          *uint64              `protobuf:"varint,20,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	ShardKeySelector *ShardKeySelector    `protobuf:"bytes,21,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	// contains filtered or unexported fields
}

func (*RecommendPointGroups) Descriptor deprecated

func (*RecommendPointGroups) Descriptor() ([]byte, []int)

Deprecated: Use RecommendPointGroups.ProtoReflect.Descriptor instead.

func (*RecommendPointGroups) GetCollectionName

func (x *RecommendPointGroups) GetCollectionName() string

func (*RecommendPointGroups) GetFilter

func (x *RecommendPointGroups) GetFilter() *Filter

func (*RecommendPointGroups) GetGroupBy

func (x *RecommendPointGroups) GetGroupBy() string

func (*RecommendPointGroups) GetGroupSize

func (x *RecommendPointGroups) GetGroupSize() uint32

func (*RecommendPointGroups) GetLimit

func (x *RecommendPointGroups) GetLimit() uint32

func (*RecommendPointGroups) GetLookupFrom

func (x *RecommendPointGroups) GetLookupFrom() *LookupLocation

func (*RecommendPointGroups) GetNegative

func (x *RecommendPointGroups) GetNegative() []*PointId

func (*RecommendPointGroups) GetNegativeVectors

func (x *RecommendPointGroups) GetNegativeVectors() []*Vector

func (*RecommendPointGroups) GetParams

func (x *RecommendPointGroups) GetParams() *SearchParams

func (*RecommendPointGroups) GetPositive

func (x *RecommendPointGroups) GetPositive() []*PointId

func (*RecommendPointGroups) GetPositiveVectors

func (x *RecommendPointGroups) GetPositiveVectors() []*Vector

func (*RecommendPointGroups) GetReadConsistency

func (x *RecommendPointGroups) GetReadConsistency() *ReadConsistency

func (*RecommendPointGroups) GetScoreThreshold

func (x *RecommendPointGroups) GetScoreThreshold() float32

func (*RecommendPointGroups) GetShardKeySelector

func (x *RecommendPointGroups) GetShardKeySelector() *ShardKeySelector

func (*RecommendPointGroups) GetStrategy

func (x *RecommendPointGroups) GetStrategy() RecommendStrategy

func (*RecommendPointGroups) GetTimeout

func (x *RecommendPointGroups) GetTimeout() uint64

func (*RecommendPointGroups) GetUsing

func (x *RecommendPointGroups) GetUsing() string

func (*RecommendPointGroups) GetWithLookup

func (x *RecommendPointGroups) GetWithLookup() *WithLookup

func (*RecommendPointGroups) GetWithPayload

func (x *RecommendPointGroups) GetWithPayload() *WithPayloadSelector

func (*RecommendPointGroups) GetWithVectors

func (x *RecommendPointGroups) GetWithVectors() *WithVectorsSelector

func (*RecommendPointGroups) ProtoMessage

func (*RecommendPointGroups) ProtoMessage()

func (*RecommendPointGroups) ProtoReflect

func (x *RecommendPointGroups) ProtoReflect() protoreflect.Message

func (*RecommendPointGroups) Reset

func (x *RecommendPointGroups) Reset()

func (*RecommendPointGroups) String

func (x *RecommendPointGroups) String() string

type RecommendPoints

type RecommendPoints struct {
	CollectionName   string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                // name of the collection
	Positive         []*PointId           `protobuf:"bytes,2,rep,name=positive,proto3" json:"positive,omitempty"`                                                  // Look for vectors closest to the vectors from these points
	Negative         []*PointId           `protobuf:"bytes,3,rep,name=negative,proto3" json:"negative,omitempty"`                                                  // Try to avoid vectors like the vector from these points
	Filter           *Filter              `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`                                                      // Filter conditions - return only those points that satisfy the specified conditions
	Limit            uint64               `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`                                                       // Max number of result
	WithPayload      *WithPayloadSelector `protobuf:"bytes,7,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`                         // Options for specifying which payload to include or not
	Params           *SearchParams        `protobuf:"bytes,8,opt,name=params,proto3" json:"params,omitempty"`                                                      // Search config
	ScoreThreshold   *float32             `protobuf:"fixed32,9,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`        // If provided - cut off results with worse scores
	Offset           *uint64              `protobuf:"varint,10,opt,name=offset,proto3,oneof" json:"offset,omitempty"`                                              // Offset of the result
	Using            *string              `protobuf:"bytes,11,opt,name=using,proto3,oneof" json:"using,omitempty"`                                                 // Define which vector to use for recommendation, if not specified - default vector
	WithVectors      *WithVectorsSelector `protobuf:"bytes,12,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                  // Options for specifying which vectors to include into response
	LookupFrom       *LookupLocation      `protobuf:"bytes,13,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`                     // Name of the collection to use for points lookup, if not specified - use current collection
	ReadConsistency  *ReadConsistency     `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	Strategy         *RecommendStrategy   `protobuf:"varint,16,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"`            // How to use the example vectors to find the results
	PositiveVectors  []*Vector            `protobuf:"bytes,17,rep,name=positive_vectors,json=positiveVectors,proto3" json:"positive_vectors,omitempty"`            // Look for vectors closest to those
	NegativeVectors  []*Vector            `protobuf:"bytes,18,rep,name=negative_vectors,json=negativeVectors,proto3" json:"negative_vectors,omitempty"`            // Try to avoid vectors like this
	Timeout          *uint64              `protobuf:"varint,19,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	ShardKeySelector *ShardKeySelector    `protobuf:"bytes,20,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	// contains filtered or unexported fields
}

func (*RecommendPoints) Descriptor deprecated

func (*RecommendPoints) Descriptor() ([]byte, []int)

Deprecated: Use RecommendPoints.ProtoReflect.Descriptor instead.

func (*RecommendPoints) GetCollectionName

func (x *RecommendPoints) GetCollectionName() string

func (*RecommendPoints) GetFilter

func (x *RecommendPoints) GetFilter() *Filter

func (*RecommendPoints) GetLimit

func (x *RecommendPoints) GetLimit() uint64

func (*RecommendPoints) GetLookupFrom

func (x *RecommendPoints) GetLookupFrom() *LookupLocation

func (*RecommendPoints) GetNegative

func (x *RecommendPoints) GetNegative() []*PointId

func (*RecommendPoints) GetNegativeVectors

func (x *RecommendPoints) GetNegativeVectors() []*Vector

func (*RecommendPoints) GetOffset

func (x *RecommendPoints) GetOffset() uint64

func (*RecommendPoints) GetParams

func (x *RecommendPoints) GetParams() *SearchParams

func (*RecommendPoints) GetPositive

func (x *RecommendPoints) GetPositive() []*PointId

func (*RecommendPoints) GetPositiveVectors

func (x *RecommendPoints) GetPositiveVectors() []*Vector

func (*RecommendPoints) GetReadConsistency

func (x *RecommendPoints) GetReadConsistency() *ReadConsistency

func (*RecommendPoints) GetScoreThreshold

func (x *RecommendPoints) GetScoreThreshold() float32

func (*RecommendPoints) GetShardKeySelector

func (x *RecommendPoints) GetShardKeySelector() *ShardKeySelector

func (*RecommendPoints) GetStrategy

func (x *RecommendPoints) GetStrategy() RecommendStrategy

func (*RecommendPoints) GetTimeout

func (x *RecommendPoints) GetTimeout() uint64

func (*RecommendPoints) GetUsing

func (x *RecommendPoints) GetUsing() string

func (*RecommendPoints) GetWithPayload

func (x *RecommendPoints) GetWithPayload() *WithPayloadSelector

func (*RecommendPoints) GetWithVectors

func (x *RecommendPoints) GetWithVectors() *WithVectorsSelector

func (*RecommendPoints) ProtoMessage

func (*RecommendPoints) ProtoMessage()

func (*RecommendPoints) ProtoReflect

func (x *RecommendPoints) ProtoReflect() protoreflect.Message

func (*RecommendPoints) Reset

func (x *RecommendPoints) Reset()

func (*RecommendPoints) String

func (x *RecommendPoints) String() string

type RecommendResponse

type RecommendResponse struct {
	Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64        `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage         `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*RecommendResponse) Descriptor deprecated

func (*RecommendResponse) Descriptor() ([]byte, []int)

Deprecated: Use RecommendResponse.ProtoReflect.Descriptor instead.

func (*RecommendResponse) GetResult

func (x *RecommendResponse) GetResult() []*ScoredPoint

func (*RecommendResponse) GetTime

func (x *RecommendResponse) GetTime() float64

func (*RecommendResponse) GetUsage

func (x *RecommendResponse) GetUsage() *Usage

func (*RecommendResponse) ProtoMessage

func (*RecommendResponse) ProtoMessage()

func (*RecommendResponse) ProtoReflect

func (x *RecommendResponse) ProtoReflect() protoreflect.Message

func (*RecommendResponse) Reset

func (x *RecommendResponse) Reset()

func (*RecommendResponse) String

func (x *RecommendResponse) String() string

type RecommendStrategy

type RecommendStrategy int32

How to use positive and negative vectors to find the results, default is `AverageVector`.

const (
	// Average positive and negative vectors and create a single query with the formula
	// `query = avg_pos + avg_pos - avg_neg`. Then performs normal search.
	RecommendStrategy_AverageVector RecommendStrategy = 0
	// 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.
	RecommendStrategy_BestScore RecommendStrategy = 1
	// Uses custom search objective. Compares against all inputs, sums all the scores.
	// Scores against positive vectors are added, against negatives are subtracted.
	RecommendStrategy_SumScores RecommendStrategy = 2
)

func (RecommendStrategy) Descriptor

func (RecommendStrategy) Enum

func (RecommendStrategy) EnumDescriptor deprecated

func (RecommendStrategy) EnumDescriptor() ([]byte, []int)

Deprecated: Use RecommendStrategy.Descriptor instead.

func (RecommendStrategy) Number

func (RecommendStrategy) String

func (x RecommendStrategy) String() string

func (RecommendStrategy) Type

type RemoteShardInfo

type RemoteShardInfo struct {
	ShardId  uint32       `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`         // Local shard id
	PeerId   uint64       `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`            // Remote peer id
	State    ReplicaState `protobuf:"varint,3,opt,name=state,proto3,enum=qdrant.ReplicaState" json:"state,omitempty"`   // Is replica active
	ShardKey *ShardKey    `protobuf:"bytes,4,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"` // User-defined shard key
	// contains filtered or unexported fields
}

func (*RemoteShardInfo) Descriptor deprecated

func (*RemoteShardInfo) Descriptor() ([]byte, []int)

Deprecated: Use RemoteShardInfo.ProtoReflect.Descriptor instead.

func (*RemoteShardInfo) GetPeerId

func (x *RemoteShardInfo) GetPeerId() uint64

func (*RemoteShardInfo) GetShardId

func (x *RemoteShardInfo) GetShardId() uint32

func (*RemoteShardInfo) GetShardKey

func (x *RemoteShardInfo) GetShardKey() *ShardKey

func (*RemoteShardInfo) GetState

func (x *RemoteShardInfo) GetState() ReplicaState

func (*RemoteShardInfo) ProtoMessage

func (*RemoteShardInfo) ProtoMessage()

func (*RemoteShardInfo) ProtoReflect

func (x *RemoteShardInfo) ProtoReflect() protoreflect.Message

func (*RemoteShardInfo) Reset

func (x *RemoteShardInfo) Reset()

func (*RemoteShardInfo) String

func (x *RemoteShardInfo) String() string

type RenameAlias

type RenameAlias struct {
	OldAliasName string `protobuf:"bytes,1,opt,name=old_alias_name,json=oldAliasName,proto3" json:"old_alias_name,omitempty"` // Name of the alias to rename
	NewAliasName string `protobuf:"bytes,2,opt,name=new_alias_name,json=newAliasName,proto3" json:"new_alias_name,omitempty"` // Name of the alias
	// contains filtered or unexported fields
}

func (*RenameAlias) Descriptor deprecated

func (*RenameAlias) Descriptor() ([]byte, []int)

Deprecated: Use RenameAlias.ProtoReflect.Descriptor instead.

func (*RenameAlias) GetNewAliasName

func (x *RenameAlias) GetNewAliasName() string

func (*RenameAlias) GetOldAliasName

func (x *RenameAlias) GetOldAliasName() string

func (*RenameAlias) ProtoMessage

func (*RenameAlias) ProtoMessage()

func (*RenameAlias) ProtoReflect

func (x *RenameAlias) ProtoReflect() protoreflect.Message

func (*RenameAlias) Reset

func (x *RenameAlias) Reset()

func (*RenameAlias) String

func (x *RenameAlias) String() string

type RepeatedIntegers

type RepeatedIntegers struct {
	Integers []int64 `protobuf:"varint,1,rep,packed,name=integers,proto3" json:"integers,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedIntegers) Descriptor deprecated

func (*RepeatedIntegers) Descriptor() ([]byte, []int)

Deprecated: Use RepeatedIntegers.ProtoReflect.Descriptor instead.

func (*RepeatedIntegers) GetIntegers

func (x *RepeatedIntegers) GetIntegers() []int64

func (*RepeatedIntegers) ProtoMessage

func (*RepeatedIntegers) ProtoMessage()

func (*RepeatedIntegers) ProtoReflect

func (x *RepeatedIntegers) ProtoReflect() protoreflect.Message

func (*RepeatedIntegers) Reset

func (x *RepeatedIntegers) Reset()

func (*RepeatedIntegers) String

func (x *RepeatedIntegers) String() string

type RepeatedStrings

type RepeatedStrings struct {
	Strings []string `protobuf:"bytes,1,rep,name=strings,proto3" json:"strings,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedStrings) Descriptor deprecated

func (*RepeatedStrings) Descriptor() ([]byte, []int)

Deprecated: Use RepeatedStrings.ProtoReflect.Descriptor instead.

func (*RepeatedStrings) GetStrings

func (x *RepeatedStrings) GetStrings() []string

func (*RepeatedStrings) ProtoMessage

func (*RepeatedStrings) ProtoMessage()

func (*RepeatedStrings) ProtoReflect

func (x *RepeatedStrings) ProtoReflect() protoreflect.Message

func (*RepeatedStrings) Reset

func (x *RepeatedStrings) Reset()

func (*RepeatedStrings) String

func (x *RepeatedStrings) String() string

type Replica

type Replica struct {
	ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
	PeerId  uint64 `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Replica) Descriptor deprecated

func (*Replica) Descriptor() ([]byte, []int)

Deprecated: Use Replica.ProtoReflect.Descriptor instead.

func (*Replica) GetPeerId

func (x *Replica) GetPeerId() uint64

func (*Replica) GetShardId

func (x *Replica) GetShardId() uint32

func (*Replica) ProtoMessage

func (*Replica) ProtoMessage()

func (*Replica) ProtoReflect

func (x *Replica) ProtoReflect() protoreflect.Message

func (*Replica) Reset

func (x *Replica) Reset()

func (*Replica) String

func (x *Replica) String() string

type ReplicaState

type ReplicaState int32
const (
	ReplicaState_Active              ReplicaState = 0 // Active and sound
	ReplicaState_Dead                ReplicaState = 1 // Failed for some reason
	ReplicaState_Partial             ReplicaState = 2 // The shard is partially loaded and is currently receiving data from other shards
	ReplicaState_Initializing        ReplicaState = 3 // Collection is being created
	ReplicaState_Listener            ReplicaState = 4 // A shard which receives data, but is not used for search; Useful for backup shards
	ReplicaState_PartialSnapshot     ReplicaState = 5 // Deprecated: snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard
	ReplicaState_Recovery            ReplicaState = 6 // Shard is undergoing recovered by an external node; Normally rejects updates, accepts updates if force is true
	ReplicaState_Resharding          ReplicaState = 7 // Points are being migrated to this shard as part of scale-up resharding
	ReplicaState_ReshardingScaleDown ReplicaState = 8 // Points are being migrated to this shard as part of scale-down resharding
	ReplicaState_ActiveRead          ReplicaState = 9 // Active for readers, Partial for writers
)

func (ReplicaState) Descriptor

func (ReplicaState) Enum

func (x ReplicaState) Enum() *ReplicaState

func (ReplicaState) EnumDescriptor deprecated

func (ReplicaState) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReplicaState.Descriptor instead.

func (ReplicaState) Number

func (ReplicaState) String

func (x ReplicaState) String() string

func (ReplicaState) Type

type ReplicatePoints

type ReplicatePoints struct {
	FromShardKey *ShardKey `protobuf:"bytes,1,opt,name=from_shard_key,json=fromShardKey,proto3" json:"from_shard_key,omitempty"` // Source shard key
	ToShardKey   *ShardKey `protobuf:"bytes,2,opt,name=to_shard_key,json=toShardKey,proto3" json:"to_shard_key,omitempty"`       // Target shard key
	Filter       *Filter   `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"`                             // If set - only points matching the filter will be replicated
	// contains filtered or unexported fields
}

func (*ReplicatePoints) Descriptor deprecated

func (*ReplicatePoints) Descriptor() ([]byte, []int)

Deprecated: Use ReplicatePoints.ProtoReflect.Descriptor instead.

func (*ReplicatePoints) GetFilter

func (x *ReplicatePoints) GetFilter() *Filter

func (*ReplicatePoints) GetFromShardKey

func (x *ReplicatePoints) GetFromShardKey() *ShardKey

func (*ReplicatePoints) GetToShardKey

func (x *ReplicatePoints) GetToShardKey() *ShardKey

func (*ReplicatePoints) ProtoMessage

func (*ReplicatePoints) ProtoMessage()

func (*ReplicatePoints) ProtoReflect

func (x *ReplicatePoints) ProtoReflect() protoreflect.Message

func (*ReplicatePoints) Reset

func (x *ReplicatePoints) Reset()

func (*ReplicatePoints) String

func (x *ReplicatePoints) String() string

type ReplicateShard

type ReplicateShard struct {
	ShardId    uint32               `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	ToShardId  *uint32              `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
	FromPeerId uint64               `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
	ToPeerId   uint64               `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
	Method     *ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod,oneof" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*ReplicateShard) Descriptor deprecated

func (*ReplicateShard) Descriptor() ([]byte, []int)

Deprecated: Use ReplicateShard.ProtoReflect.Descriptor instead.

func (*ReplicateShard) GetFromPeerId

func (x *ReplicateShard) GetFromPeerId() uint64

func (*ReplicateShard) GetMethod

func (x *ReplicateShard) GetMethod() ShardTransferMethod

func (*ReplicateShard) GetShardId

func (x *ReplicateShard) GetShardId() uint32

func (*ReplicateShard) GetToPeerId

func (x *ReplicateShard) GetToPeerId() uint64

func (*ReplicateShard) GetToShardId

func (x *ReplicateShard) GetToShardId() uint32

func (*ReplicateShard) ProtoMessage

func (*ReplicateShard) ProtoMessage()

func (*ReplicateShard) ProtoReflect

func (x *ReplicateShard) ProtoReflect() protoreflect.Message

func (*ReplicateShard) Reset

func (x *ReplicateShard) Reset()

func (*ReplicateShard) String

func (x *ReplicateShard) String() string

type ReshardingDirection

type ReshardingDirection int32

Resharding direction, scale up or down in number of shards

const (
	ReshardingDirection_Up   ReshardingDirection = 0 // Scale up, add a new shard
	ReshardingDirection_Down ReshardingDirection = 1 // Scale down, remove a shard
)

func (ReshardingDirection) Descriptor

func (ReshardingDirection) Enum

func (ReshardingDirection) EnumDescriptor deprecated

func (ReshardingDirection) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReshardingDirection.Descriptor instead.

func (ReshardingDirection) Number

func (ReshardingDirection) String

func (x ReshardingDirection) String() string

func (ReshardingDirection) Type

type ReshardingInfo

type ReshardingInfo struct {
	ShardId   uint32              `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
	PeerId    uint64              `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
	ShardKey  *ShardKey           `protobuf:"bytes,3,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`
	Direction ReshardingDirection `protobuf:"varint,4,opt,name=direction,proto3,enum=qdrant.ReshardingDirection" json:"direction,omitempty"`
	// contains filtered or unexported fields
}

func (*ReshardingInfo) Descriptor deprecated

func (*ReshardingInfo) Descriptor() ([]byte, []int)

Deprecated: Use ReshardingInfo.ProtoReflect.Descriptor instead.

func (*ReshardingInfo) GetDirection

func (x *ReshardingInfo) GetDirection() ReshardingDirection

func (*ReshardingInfo) GetPeerId

func (x *ReshardingInfo) GetPeerId() uint64

func (*ReshardingInfo) GetShardId

func (x *ReshardingInfo) GetShardId() uint32

func (*ReshardingInfo) GetShardKey

func (x *ReshardingInfo) GetShardKey() *ShardKey

func (*ReshardingInfo) ProtoMessage

func (*ReshardingInfo) ProtoMessage()

func (*ReshardingInfo) ProtoReflect

func (x *ReshardingInfo) ProtoReflect() protoreflect.Message

func (*ReshardingInfo) Reset

func (x *ReshardingInfo) Reset()

func (*ReshardingInfo) String

func (x *ReshardingInfo) String() string

type RestartTransfer

type RestartTransfer struct {
	ShardId    uint32              `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	ToShardId  *uint32             `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
	FromPeerId uint64              `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
	ToPeerId   uint64              `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
	Method     ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod" json:"method,omitempty"`
	// contains filtered or unexported fields
}

func (*RestartTransfer) Descriptor deprecated

func (*RestartTransfer) Descriptor() ([]byte, []int)

Deprecated: Use RestartTransfer.ProtoReflect.Descriptor instead.

func (*RestartTransfer) GetFromPeerId

func (x *RestartTransfer) GetFromPeerId() uint64

func (*RestartTransfer) GetMethod

func (x *RestartTransfer) GetMethod() ShardTransferMethod

func (*RestartTransfer) GetShardId

func (x *RestartTransfer) GetShardId() uint32

func (*RestartTransfer) GetToPeerId

func (x *RestartTransfer) GetToPeerId() uint64

func (*RestartTransfer) GetToShardId

func (x *RestartTransfer) GetToShardId() uint32

func (*RestartTransfer) ProtoMessage

func (*RestartTransfer) ProtoMessage()

func (*RestartTransfer) ProtoReflect

func (x *RestartTransfer) ProtoReflect() protoreflect.Message

func (*RestartTransfer) Reset

func (x *RestartTransfer) Reset()

func (*RestartTransfer) String

func (x *RestartTransfer) String() string

type RetrievedPoint

type RetrievedPoint struct {
	Id         *PointId          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Payload    map[string]*Value `` /* 155-byte string literal not displayed */
	Vectors    *VectorsOutput    `protobuf:"bytes,4,opt,name=vectors,proto3,oneof" json:"vectors,omitempty"`
	ShardKey   *ShardKey         `protobuf:"bytes,5,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`       // Shard key
	OrderValue *OrderValue       `protobuf:"bytes,6,opt,name=order_value,json=orderValue,proto3,oneof" json:"order_value,omitempty"` // Order-by value
	// contains filtered or unexported fields
}

func (*RetrievedPoint) Descriptor deprecated

func (*RetrievedPoint) Descriptor() ([]byte, []int)

Deprecated: Use RetrievedPoint.ProtoReflect.Descriptor instead.

func (*RetrievedPoint) GetId

func (x *RetrievedPoint) GetId() *PointId

func (*RetrievedPoint) GetOrderValue

func (x *RetrievedPoint) GetOrderValue() *OrderValue

func (*RetrievedPoint) GetPayload

func (x *RetrievedPoint) GetPayload() map[string]*Value

func (*RetrievedPoint) GetShardKey

func (x *RetrievedPoint) GetShardKey() *ShardKey

func (*RetrievedPoint) GetVectors

func (x *RetrievedPoint) GetVectors() *VectorsOutput

func (*RetrievedPoint) ProtoMessage

func (*RetrievedPoint) ProtoMessage()

func (*RetrievedPoint) ProtoReflect

func (x *RetrievedPoint) ProtoReflect() protoreflect.Message

func (*RetrievedPoint) Reset

func (x *RetrievedPoint) Reset()

func (*RetrievedPoint) String

func (x *RetrievedPoint) String() string

type Rrf

type Rrf struct {
	K *uint32 `protobuf:"varint,1,opt,name=k,proto3,oneof" json:"k,omitempty"` // K parameter for reciprocal rank fusion
	// contains filtered or unexported fields
}

Parameterized reciprocal rank fusion

func (*Rrf) Descriptor deprecated

func (*Rrf) Descriptor() ([]byte, []int)

Deprecated: Use Rrf.ProtoReflect.Descriptor instead.

func (*Rrf) GetK

func (x *Rrf) GetK() uint32

func (*Rrf) ProtoMessage

func (*Rrf) ProtoMessage()

func (*Rrf) ProtoReflect

func (x *Rrf) ProtoReflect() protoreflect.Message

func (*Rrf) Reset

func (x *Rrf) Reset()

func (*Rrf) String

func (x *Rrf) String() string

type Sample

type Sample int32

Sample points from the collection

Available sampling methods:

* `random` - Random sampling

const (
	Sample_Random Sample = 0
)

func (Sample) Descriptor

func (Sample) Descriptor() protoreflect.EnumDescriptor

func (Sample) Enum

func (x Sample) Enum() *Sample

func (Sample) EnumDescriptor deprecated

func (Sample) EnumDescriptor() ([]byte, []int)

Deprecated: Use Sample.Descriptor instead.

func (Sample) Number

func (x Sample) Number() protoreflect.EnumNumber

func (Sample) String

func (x Sample) String() string

func (Sample) Type

func (Sample) Type() protoreflect.EnumType

type ScalarQuantization

type ScalarQuantization struct {
	Type      QuantizationType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.QuantizationType" json:"type,omitempty"`     // Type of quantization
	Quantile  *float32         `protobuf:"fixed32,2,opt,name=quantile,proto3,oneof" json:"quantile,omitempty"`                   // Number of bits to use for quantization
	AlwaysRam *bool            `protobuf:"varint,3,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"` // If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
	// contains filtered or unexported fields
}

func (*ScalarQuantization) Descriptor deprecated

func (*ScalarQuantization) Descriptor() ([]byte, []int)

Deprecated: Use ScalarQuantization.ProtoReflect.Descriptor instead.

func (*ScalarQuantization) GetAlwaysRam

func (x *ScalarQuantization) GetAlwaysRam() bool

func (*ScalarQuantization) GetQuantile

func (x *ScalarQuantization) GetQuantile() float32

func (*ScalarQuantization) GetType

func (x *ScalarQuantization) GetType() QuantizationType

func (*ScalarQuantization) ProtoMessage

func (*ScalarQuantization) ProtoMessage()

func (*ScalarQuantization) ProtoReflect

func (x *ScalarQuantization) ProtoReflect() protoreflect.Message

func (*ScalarQuantization) Reset

func (x *ScalarQuantization) Reset()

func (*ScalarQuantization) String

func (x *ScalarQuantization) String() string

type ScoredPoint

type ScoredPoint struct {
	Id      *PointId          `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Point id
	Payload map[string]*Value ``                                                          // Payload
	/* 155-byte string literal not displayed */
	Score      float32        `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`                                 // Similarity score
	Version    uint64         `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`                              // Last update operation applied to this point
	Vectors    *VectorsOutput `protobuf:"bytes,6,opt,name=vectors,proto3,oneof" json:"vectors,omitempty"`                         // Vectors to search
	ShardKey   *ShardKey      `protobuf:"bytes,7,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`       // Shard key
	OrderValue *OrderValue    `protobuf:"bytes,8,opt,name=order_value,json=orderValue,proto3,oneof" json:"order_value,omitempty"` // Order by value
	// contains filtered or unexported fields
}

func (*ScoredPoint) Descriptor deprecated

func (*ScoredPoint) Descriptor() ([]byte, []int)

Deprecated: Use ScoredPoint.ProtoReflect.Descriptor instead.

func (*ScoredPoint) GetId

func (x *ScoredPoint) GetId() *PointId

func (*ScoredPoint) GetOrderValue

func (x *ScoredPoint) GetOrderValue() *OrderValue

func (*ScoredPoint) GetPayload

func (x *ScoredPoint) GetPayload() map[string]*Value

func (*ScoredPoint) GetScore

func (x *ScoredPoint) GetScore() float32

func (*ScoredPoint) GetShardKey

func (x *ScoredPoint) GetShardKey() *ShardKey

func (*ScoredPoint) GetVectors

func (x *ScoredPoint) GetVectors() *VectorsOutput

func (*ScoredPoint) GetVersion

func (x *ScoredPoint) GetVersion() uint64

func (*ScoredPoint) ProtoMessage

func (*ScoredPoint) ProtoMessage()

func (*ScoredPoint) ProtoReflect

func (x *ScoredPoint) ProtoReflect() protoreflect.Message

func (*ScoredPoint) Reset

func (x *ScoredPoint) Reset()

func (*ScoredPoint) String

func (x *ScoredPoint) String() string

type ScrollPoints

type ScrollPoints struct {
	CollectionName   string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
	Filter           *Filter              `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`                                                     // Filter conditions - return only those points that satisfy the specified conditions
	Offset           *PointId             `protobuf:"bytes,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"`                                               // Start with this ID
	Limit            *uint32              `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"`                                                // Max number of result
	WithPayload      *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`                        // Options for specifying which payload to include or not
	WithVectors      *WithVectorsSelector `protobuf:"bytes,7,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                  // Options for specifying which vectors to include into response
	ReadConsistency  *ReadConsistency     `protobuf:"bytes,8,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	ShardKeySelector *ShardKeySelector    `protobuf:"bytes,9,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	OrderBy          *OrderBy             `protobuf:"bytes,10,opt,name=order_by,json=orderBy,proto3,oneof" json:"order_by,omitempty"`                             // Order the records by a payload field
	Timeout          *uint64              `protobuf:"varint,11,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                           // If set, overrides global timeout setting for this request. Unit is seconds.
	// contains filtered or unexported fields
}

func (*ScrollPoints) Descriptor deprecated

func (*ScrollPoints) Descriptor() ([]byte, []int)

Deprecated: Use ScrollPoints.ProtoReflect.Descriptor instead.

func (*ScrollPoints) GetCollectionName

func (x *ScrollPoints) GetCollectionName() string

func (*ScrollPoints) GetFilter

func (x *ScrollPoints) GetFilter() *Filter

func (*ScrollPoints) GetLimit

func (x *ScrollPoints) GetLimit() uint32

func (*ScrollPoints) GetOffset

func (x *ScrollPoints) GetOffset() *PointId

func (*ScrollPoints) GetOrderBy

func (x *ScrollPoints) GetOrderBy() *OrderBy

func (*ScrollPoints) GetReadConsistency

func (x *ScrollPoints) GetReadConsistency() *ReadConsistency

func (*ScrollPoints) GetShardKeySelector

func (x *ScrollPoints) GetShardKeySelector() *ShardKeySelector

func (*ScrollPoints) GetTimeout

func (x *ScrollPoints) GetTimeout() uint64

func (*ScrollPoints) GetWithPayload

func (x *ScrollPoints) GetWithPayload() *WithPayloadSelector

func (*ScrollPoints) GetWithVectors

func (x *ScrollPoints) GetWithVectors() *WithVectorsSelector

func (*ScrollPoints) ProtoMessage

func (*ScrollPoints) ProtoMessage()

func (*ScrollPoints) ProtoReflect

func (x *ScrollPoints) ProtoReflect() protoreflect.Message

func (*ScrollPoints) Reset

func (x *ScrollPoints) Reset()

func (*ScrollPoints) String

func (x *ScrollPoints) String() string

type ScrollResponse

type ScrollResponse struct {
	NextPageOffset *PointId          `protobuf:"bytes,1,opt,name=next_page_offset,json=nextPageOffset,proto3,oneof" json:"next_page_offset,omitempty"` // Use this offset for the next query
	Result         []*RetrievedPoint `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
	Time           float64           `protobuf:"fixed64,3,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage          *Usage            `protobuf:"bytes,4,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*ScrollResponse) Descriptor deprecated

func (*ScrollResponse) Descriptor() ([]byte, []int)

Deprecated: Use ScrollResponse.ProtoReflect.Descriptor instead.

func (*ScrollResponse) GetNextPageOffset

func (x *ScrollResponse) GetNextPageOffset() *PointId

func (*ScrollResponse) GetResult

func (x *ScrollResponse) GetResult() []*RetrievedPoint

func (*ScrollResponse) GetTime

func (x *ScrollResponse) GetTime() float64

func (*ScrollResponse) GetUsage

func (x *ScrollResponse) GetUsage() *Usage

func (*ScrollResponse) ProtoMessage

func (*ScrollResponse) ProtoMessage()

func (*ScrollResponse) ProtoReflect

func (x *ScrollResponse) ProtoReflect() protoreflect.Message

func (*ScrollResponse) Reset

func (x *ScrollResponse) Reset()

func (*ScrollResponse) String

func (x *ScrollResponse) String() string

type SearchBatchPoints

type SearchBatchPoints struct {
	CollectionName  string           `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	SearchPoints    []*SearchPoints  `protobuf:"bytes,2,rep,name=search_points,json=searchPoints,proto3" json:"search_points,omitempty"`
	ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
	Timeout         *uint64          `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                       // If set, overrides global timeout setting for this request. Unit is seconds.
	// contains filtered or unexported fields
}

func (*SearchBatchPoints) Descriptor deprecated

func (*SearchBatchPoints) Descriptor() ([]byte, []int)

Deprecated: Use SearchBatchPoints.ProtoReflect.Descriptor instead.

func (*SearchBatchPoints) GetCollectionName

func (x *SearchBatchPoints) GetCollectionName() string

func (*SearchBatchPoints) GetReadConsistency

func (x *SearchBatchPoints) GetReadConsistency() *ReadConsistency

func (*SearchBatchPoints) GetSearchPoints

func (x *SearchBatchPoints) GetSearchPoints() []*SearchPoints

func (*SearchBatchPoints) GetTimeout

func (x *SearchBatchPoints) GetTimeout() uint64

func (*SearchBatchPoints) ProtoMessage

func (*SearchBatchPoints) ProtoMessage()

func (*SearchBatchPoints) ProtoReflect

func (x *SearchBatchPoints) ProtoReflect() protoreflect.Message

func (*SearchBatchPoints) Reset

func (x *SearchBatchPoints) Reset()

func (*SearchBatchPoints) String

func (x *SearchBatchPoints) String() string

type SearchBatchResponse

type SearchBatchResponse struct {
	Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64        `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage         `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchBatchResponse) Descriptor deprecated

func (*SearchBatchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchBatchResponse.ProtoReflect.Descriptor instead.

func (*SearchBatchResponse) GetResult

func (x *SearchBatchResponse) GetResult() []*BatchResult

func (*SearchBatchResponse) GetTime

func (x *SearchBatchResponse) GetTime() float64

func (*SearchBatchResponse) GetUsage

func (x *SearchBatchResponse) GetUsage() *Usage

func (*SearchBatchResponse) ProtoMessage

func (*SearchBatchResponse) ProtoMessage()

func (*SearchBatchResponse) ProtoReflect

func (x *SearchBatchResponse) ProtoReflect() protoreflect.Message

func (*SearchBatchResponse) Reset

func (x *SearchBatchResponse) Reset()

func (*SearchBatchResponse) String

func (x *SearchBatchResponse) String() string

type SearchGroupsResponse

type SearchGroupsResponse struct {
	Result *GroupsResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64       `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage        `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchGroupsResponse) Descriptor deprecated

func (*SearchGroupsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchGroupsResponse.ProtoReflect.Descriptor instead.

func (*SearchGroupsResponse) GetResult

func (x *SearchGroupsResponse) GetResult() *GroupsResult

func (*SearchGroupsResponse) GetTime

func (x *SearchGroupsResponse) GetTime() float64

func (*SearchGroupsResponse) GetUsage

func (x *SearchGroupsResponse) GetUsage() *Usage

func (*SearchGroupsResponse) ProtoMessage

func (*SearchGroupsResponse) ProtoMessage()

func (*SearchGroupsResponse) ProtoReflect

func (x *SearchGroupsResponse) ProtoReflect() protoreflect.Message

func (*SearchGroupsResponse) Reset

func (x *SearchGroupsResponse) Reset()

func (*SearchGroupsResponse) String

func (x *SearchGroupsResponse) String() string

type SearchMatrixOffsets

type SearchMatrixOffsets struct {
	OffsetsRow []uint64   `protobuf:"varint,1,rep,packed,name=offsets_row,json=offsetsRow,proto3" json:"offsets_row,omitempty"` // Row indices of the matrix
	OffsetsCol []uint64   `protobuf:"varint,2,rep,packed,name=offsets_col,json=offsetsCol,proto3" json:"offsets_col,omitempty"` // Column indices of the matrix
	Scores     []float32  `protobuf:"fixed32,3,rep,packed,name=scores,proto3" json:"scores,omitempty"`                          // Scores associated with matrix coordinates
	Ids        []*PointId `protobuf:"bytes,4,rep,name=ids,proto3" json:"ids,omitempty"`                                         // Ids of the points in order
	// contains filtered or unexported fields
}

func (*SearchMatrixOffsets) Descriptor deprecated

func (*SearchMatrixOffsets) Descriptor() ([]byte, []int)

Deprecated: Use SearchMatrixOffsets.ProtoReflect.Descriptor instead.

func (*SearchMatrixOffsets) GetIds

func (x *SearchMatrixOffsets) GetIds() []*PointId

func (*SearchMatrixOffsets) GetOffsetsCol

func (x *SearchMatrixOffsets) GetOffsetsCol() []uint64

func (*SearchMatrixOffsets) GetOffsetsRow

func (x *SearchMatrixOffsets) GetOffsetsRow() []uint64

func (*SearchMatrixOffsets) GetScores

func (x *SearchMatrixOffsets) GetScores() []float32

func (*SearchMatrixOffsets) ProtoMessage

func (*SearchMatrixOffsets) ProtoMessage()

func (*SearchMatrixOffsets) ProtoReflect

func (x *SearchMatrixOffsets) ProtoReflect() protoreflect.Message

func (*SearchMatrixOffsets) Reset

func (x *SearchMatrixOffsets) Reset()

func (*SearchMatrixOffsets) String

func (x *SearchMatrixOffsets) String() string

type SearchMatrixOffsetsResponse

type SearchMatrixOffsetsResponse struct {
	Result *SearchMatrixOffsets `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64              `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage               `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchMatrixOffsetsResponse) Descriptor deprecated

func (*SearchMatrixOffsetsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchMatrixOffsetsResponse.ProtoReflect.Descriptor instead.

func (*SearchMatrixOffsetsResponse) GetResult

func (*SearchMatrixOffsetsResponse) GetTime

func (x *SearchMatrixOffsetsResponse) GetTime() float64

func (*SearchMatrixOffsetsResponse) GetUsage

func (x *SearchMatrixOffsetsResponse) GetUsage() *Usage

func (*SearchMatrixOffsetsResponse) ProtoMessage

func (*SearchMatrixOffsetsResponse) ProtoMessage()

func (*SearchMatrixOffsetsResponse) ProtoReflect

func (*SearchMatrixOffsetsResponse) Reset

func (x *SearchMatrixOffsetsResponse) Reset()

func (*SearchMatrixOffsetsResponse) String

func (x *SearchMatrixOffsetsResponse) String() string

type SearchMatrixPair

type SearchMatrixPair struct {
	A     *PointId `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`           // first id of the pair
	B     *PointId `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`           // second id of the pair
	Score float32  `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` // score of the pair
	// contains filtered or unexported fields
}

func (*SearchMatrixPair) Descriptor deprecated

func (*SearchMatrixPair) Descriptor() ([]byte, []int)

Deprecated: Use SearchMatrixPair.ProtoReflect.Descriptor instead.

func (*SearchMatrixPair) GetA

func (x *SearchMatrixPair) GetA() *PointId

func (*SearchMatrixPair) GetB

func (x *SearchMatrixPair) GetB() *PointId

func (*SearchMatrixPair) GetScore

func (x *SearchMatrixPair) GetScore() float32

func (*SearchMatrixPair) ProtoMessage

func (*SearchMatrixPair) ProtoMessage()

func (*SearchMatrixPair) ProtoReflect

func (x *SearchMatrixPair) ProtoReflect() protoreflect.Message

func (*SearchMatrixPair) Reset

func (x *SearchMatrixPair) Reset()

func (*SearchMatrixPair) String

func (x *SearchMatrixPair) String() string

type SearchMatrixPairs

type SearchMatrixPairs struct {
	Pairs []*SearchMatrixPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` // List of pairs of points with scores
	// contains filtered or unexported fields
}

func (*SearchMatrixPairs) Descriptor deprecated

func (*SearchMatrixPairs) Descriptor() ([]byte, []int)

Deprecated: Use SearchMatrixPairs.ProtoReflect.Descriptor instead.

func (*SearchMatrixPairs) GetPairs

func (x *SearchMatrixPairs) GetPairs() []*SearchMatrixPair

func (*SearchMatrixPairs) ProtoMessage

func (*SearchMatrixPairs) ProtoMessage()

func (*SearchMatrixPairs) ProtoReflect

func (x *SearchMatrixPairs) ProtoReflect() protoreflect.Message

func (*SearchMatrixPairs) Reset

func (x *SearchMatrixPairs) Reset()

func (*SearchMatrixPairs) String

func (x *SearchMatrixPairs) String() string

type SearchMatrixPairsResponse

type SearchMatrixPairsResponse struct {
	Result *SearchMatrixPairs `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
	Time   float64            `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage             `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchMatrixPairsResponse) Descriptor deprecated

func (*SearchMatrixPairsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchMatrixPairsResponse.ProtoReflect.Descriptor instead.

func (*SearchMatrixPairsResponse) GetResult

func (*SearchMatrixPairsResponse) GetTime

func (x *SearchMatrixPairsResponse) GetTime() float64

func (*SearchMatrixPairsResponse) GetUsage

func (x *SearchMatrixPairsResponse) GetUsage() *Usage

func (*SearchMatrixPairsResponse) ProtoMessage

func (*SearchMatrixPairsResponse) ProtoMessage()

func (*SearchMatrixPairsResponse) ProtoReflect

func (*SearchMatrixPairsResponse) Reset

func (x *SearchMatrixPairsResponse) Reset()

func (*SearchMatrixPairsResponse) String

func (x *SearchMatrixPairsResponse) String() string

type SearchMatrixPoints

type SearchMatrixPoints struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // Name of the collection
	Filter           *Filter           `protobuf:"bytes,2,opt,name=filter,proto3,oneof" json:"filter,omitempty"`                                               // Filter conditions - return only those points that satisfy the specified conditions.
	Sample           *uint64           `protobuf:"varint,3,opt,name=sample,proto3,oneof" json:"sample,omitempty"`                                              // How many points to select and search within. Default is 10.
	Limit            *uint64           `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"`                                                // How many neighbours per sample to find. Default is 3.
	Using            *string           `protobuf:"bytes,5,opt,name=using,proto3,oneof" json:"using,omitempty"`                                                 // Define which vector to use for querying. If missing, the default vector is is used.
	Timeout          *uint64           `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	ReadConsistency  *ReadConsistency  `protobuf:"bytes,7,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,8,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	// contains filtered or unexported fields
}

func (*SearchMatrixPoints) Descriptor deprecated

func (*SearchMatrixPoints) Descriptor() ([]byte, []int)

Deprecated: Use SearchMatrixPoints.ProtoReflect.Descriptor instead.

func (*SearchMatrixPoints) GetCollectionName

func (x *SearchMatrixPoints) GetCollectionName() string

func (*SearchMatrixPoints) GetFilter

func (x *SearchMatrixPoints) GetFilter() *Filter

func (*SearchMatrixPoints) GetLimit

func (x *SearchMatrixPoints) GetLimit() uint64

func (*SearchMatrixPoints) GetReadConsistency

func (x *SearchMatrixPoints) GetReadConsistency() *ReadConsistency

func (*SearchMatrixPoints) GetSample

func (x *SearchMatrixPoints) GetSample() uint64

func (*SearchMatrixPoints) GetShardKeySelector

func (x *SearchMatrixPoints) GetShardKeySelector() *ShardKeySelector

func (*SearchMatrixPoints) GetTimeout

func (x *SearchMatrixPoints) GetTimeout() uint64

func (*SearchMatrixPoints) GetUsing

func (x *SearchMatrixPoints) GetUsing() string

func (*SearchMatrixPoints) ProtoMessage

func (*SearchMatrixPoints) ProtoMessage()

func (*SearchMatrixPoints) ProtoReflect

func (x *SearchMatrixPoints) ProtoReflect() protoreflect.Message

func (*SearchMatrixPoints) Reset

func (x *SearchMatrixPoints) Reset()

func (*SearchMatrixPoints) String

func (x *SearchMatrixPoints) String() string

type SearchParams

type SearchParams struct {

	// 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.
	HnswEf *uint64 `protobuf:"varint,1,opt,name=hnsw_ef,json=hnswEf,proto3,oneof" json:"hnsw_ef,omitempty"`
	// Search without approximation. If set to true, search may run long but with exact results.
	Exact *bool `protobuf:"varint,2,opt,name=exact,proto3,oneof" json:"exact,omitempty"`
	// If set to true, search will ignore quantized vector data
	Quantization *QuantizationSearchParams `protobuf:"bytes,3,opt,name=quantization,proto3,oneof" json:"quantization,omitempty"`
	// 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
	IndexedOnly *bool `protobuf:"varint,4,opt,name=indexed_only,json=indexedOnly,proto3,oneof" json:"indexed_only,omitempty"`
	// ACORN search params
	Acorn *AcornSearchParams `protobuf:"bytes,5,opt,name=acorn,proto3,oneof" json:"acorn,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchParams) Descriptor deprecated

func (*SearchParams) Descriptor() ([]byte, []int)

Deprecated: Use SearchParams.ProtoReflect.Descriptor instead.

func (*SearchParams) GetAcorn

func (x *SearchParams) GetAcorn() *AcornSearchParams

func (*SearchParams) GetExact

func (x *SearchParams) GetExact() bool

func (*SearchParams) GetHnswEf

func (x *SearchParams) GetHnswEf() uint64

func (*SearchParams) GetIndexedOnly

func (x *SearchParams) GetIndexedOnly() bool

func (*SearchParams) GetQuantization

func (x *SearchParams) GetQuantization() *QuantizationSearchParams

func (*SearchParams) ProtoMessage

func (*SearchParams) ProtoMessage()

func (*SearchParams) ProtoReflect

func (x *SearchParams) ProtoReflect() protoreflect.Message

func (*SearchParams) Reset

func (x *SearchParams) Reset()

func (*SearchParams) String

func (x *SearchParams) String() string

type SearchPointGroups

type SearchPointGroups struct {
	CollectionName   string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                // Name of the collection
	Vector           []float32            `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`                                             // Vector to compare against
	Filter           *Filter              `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`                                                      // Filter conditions - return only those points that satisfy the specified conditions
	Limit            uint32               `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`                                                       // Max number of result
	WithPayload      *WithPayloadSelector `protobuf:"bytes,5,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`                         // Options for specifying which payload to include or not
	Params           *SearchParams        `protobuf:"bytes,6,opt,name=params,proto3" json:"params,omitempty"`                                                      // Search config
	ScoreThreshold   *float32             `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`        // If provided - cut off results with worse scores
	VectorName       *string              `protobuf:"bytes,8,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"`                      // Which vector to use for search, if not specified - use default vector
	WithVectors      *WithVectorsSelector `protobuf:"bytes,9,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                   // Options for specifying which vectors to include into response
	GroupBy          string               `protobuf:"bytes,10,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`                                    // 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.
	GroupSize        uint32               `protobuf:"varint,11,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"`                             // Maximum amount of points to return per group
	ReadConsistency  *ReadConsistency     `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	WithLookup       *WithLookup          `protobuf:"bytes,13,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"`                     // Options for specifying how to use the group id to lookup points in another collection
	Timeout          *uint64              `protobuf:"varint,14,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	ShardKeySelector *ShardKeySelector    `protobuf:"bytes,15,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	SparseIndices    *SparseIndices       `protobuf:"bytes,16,opt,name=sparse_indices,json=sparseIndices,proto3,oneof" json:"sparse_indices,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchPointGroups) Descriptor deprecated

func (*SearchPointGroups) Descriptor() ([]byte, []int)

Deprecated: Use SearchPointGroups.ProtoReflect.Descriptor instead.

func (*SearchPointGroups) GetCollectionName

func (x *SearchPointGroups) GetCollectionName() string

func (*SearchPointGroups) GetFilter

func (x *SearchPointGroups) GetFilter() *Filter

func (*SearchPointGroups) GetGroupBy

func (x *SearchPointGroups) GetGroupBy() string

func (*SearchPointGroups) GetGroupSize

func (x *SearchPointGroups) GetGroupSize() uint32

func (*SearchPointGroups) GetLimit

func (x *SearchPointGroups) GetLimit() uint32

func (*SearchPointGroups) GetParams

func (x *SearchPointGroups) GetParams() *SearchParams

func (*SearchPointGroups) GetReadConsistency

func (x *SearchPointGroups) GetReadConsistency() *ReadConsistency

func (*SearchPointGroups) GetScoreThreshold

func (x *SearchPointGroups) GetScoreThreshold() float32

func (*SearchPointGroups) GetShardKeySelector

func (x *SearchPointGroups) GetShardKeySelector() *ShardKeySelector

func (*SearchPointGroups) GetSparseIndices

func (x *SearchPointGroups) GetSparseIndices() *SparseIndices

func (*SearchPointGroups) GetTimeout

func (x *SearchPointGroups) GetTimeout() uint64

func (*SearchPointGroups) GetVector

func (x *SearchPointGroups) GetVector() []float32

func (*SearchPointGroups) GetVectorName

func (x *SearchPointGroups) GetVectorName() string

func (*SearchPointGroups) GetWithLookup

func (x *SearchPointGroups) GetWithLookup() *WithLookup

func (*SearchPointGroups) GetWithPayload

func (x *SearchPointGroups) GetWithPayload() *WithPayloadSelector

func (*SearchPointGroups) GetWithVectors

func (x *SearchPointGroups) GetWithVectors() *WithVectorsSelector

func (*SearchPointGroups) ProtoMessage

func (*SearchPointGroups) ProtoMessage()

func (*SearchPointGroups) ProtoReflect

func (x *SearchPointGroups) ProtoReflect() protoreflect.Message

func (*SearchPointGroups) Reset

func (x *SearchPointGroups) Reset()

func (*SearchPointGroups) String

func (x *SearchPointGroups) String() string

type SearchPoints

type SearchPoints struct {
	CollectionName   string               `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                // name of the collection
	Vector           []float32            `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`                                             // vector
	Filter           *Filter              `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`                                                      // Filter conditions - return only those points that satisfy the specified conditions
	Limit            uint64               `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`                                                       // Max number of result
	WithPayload      *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`                         // Options for specifying which payload to include or not
	Params           *SearchParams        `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"`                                                      // Search config
	ScoreThreshold   *float32             `protobuf:"fixed32,8,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`        // If provided - cut off results with worse scores
	Offset           *uint64              `protobuf:"varint,9,opt,name=offset,proto3,oneof" json:"offset,omitempty"`                                               // Offset of the result
	VectorName       *string              `protobuf:"bytes,10,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"`                     // Which vector to use for search, if not specified - use default vector
	WithVectors      *WithVectorsSelector `protobuf:"bytes,11,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`                  // Options for specifying which vectors to include into response
	ReadConsistency  *ReadConsistency     `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`      // Options for specifying read consistency guarantees
	Timeout          *uint64              `protobuf:"varint,13,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                            // If set, overrides global timeout setting for this request. Unit is seconds.
	ShardKeySelector *ShardKeySelector    `protobuf:"bytes,14,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
	SparseIndices    *SparseIndices       `protobuf:"bytes,15,opt,name=sparse_indices,json=sparseIndices,proto3,oneof" json:"sparse_indices,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchPoints) Descriptor deprecated

func (*SearchPoints) Descriptor() ([]byte, []int)

Deprecated: Use SearchPoints.ProtoReflect.Descriptor instead.

func (*SearchPoints) GetCollectionName

func (x *SearchPoints) GetCollectionName() string

func (*SearchPoints) GetFilter

func (x *SearchPoints) GetFilter() *Filter

func (*SearchPoints) GetLimit

func (x *SearchPoints) GetLimit() uint64

func (*SearchPoints) GetOffset

func (x *SearchPoints) GetOffset() uint64

func (*SearchPoints) GetParams

func (x *SearchPoints) GetParams() *SearchParams

func (*SearchPoints) GetReadConsistency

func (x *SearchPoints) GetReadConsistency() *ReadConsistency

func (*SearchPoints) GetScoreThreshold

func (x *SearchPoints) GetScoreThreshold() float32

func (*SearchPoints) GetShardKeySelector

func (x *SearchPoints) GetShardKeySelector() *ShardKeySelector

func (*SearchPoints) GetSparseIndices

func (x *SearchPoints) GetSparseIndices() *SparseIndices

func (*SearchPoints) GetTimeout

func (x *SearchPoints) GetTimeout() uint64

func (*SearchPoints) GetVector

func (x *SearchPoints) GetVector() []float32

func (*SearchPoints) GetVectorName

func (x *SearchPoints) GetVectorName() string

func (*SearchPoints) GetWithPayload

func (x *SearchPoints) GetWithPayload() *WithPayloadSelector

func (*SearchPoints) GetWithVectors

func (x *SearchPoints) GetWithVectors() *WithVectorsSelector

func (*SearchPoints) ProtoMessage

func (*SearchPoints) ProtoMessage()

func (*SearchPoints) ProtoReflect

func (x *SearchPoints) ProtoReflect() protoreflect.Message

func (*SearchPoints) Reset

func (x *SearchPoints) Reset()

func (*SearchPoints) String

func (x *SearchPoints) String() string

type SearchResponse

type SearchResponse struct {
	Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64        `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage         `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetResult

func (x *SearchResponse) GetResult() []*ScoredPoint

func (*SearchResponse) GetTime

func (x *SearchResponse) GetTime() float64

func (*SearchResponse) GetUsage

func (x *SearchResponse) GetUsage() *Usage

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type SetPayloadPoints

type SetPayloadPoints struct {
	CollectionName string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
	Wait           *bool             `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                    // Wait until the changes have been applied?
	Payload        map[string]*Value ``                                                                                                        // New payload values
	/* 155-byte string literal not displayed */
	PointsSelector   *PointsSelector   `protobuf:"bytes,5,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`         // Affected points
	Ordering         *WriteOrdering    `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                                           // Write ordering guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	Key              *string           `protobuf:"bytes,8,opt,name=key,proto3,oneof" json:"key,omitempty"`                                                     // Option for indicate property of payload
	// contains filtered or unexported fields
}

func (*SetPayloadPoints) Descriptor deprecated

func (*SetPayloadPoints) Descriptor() ([]byte, []int)

Deprecated: Use SetPayloadPoints.ProtoReflect.Descriptor instead.

func (*SetPayloadPoints) GetCollectionName

func (x *SetPayloadPoints) GetCollectionName() string

func (*SetPayloadPoints) GetKey

func (x *SetPayloadPoints) GetKey() string

func (*SetPayloadPoints) GetOrdering

func (x *SetPayloadPoints) GetOrdering() *WriteOrdering

func (*SetPayloadPoints) GetPayload

func (x *SetPayloadPoints) GetPayload() map[string]*Value

func (*SetPayloadPoints) GetPointsSelector

func (x *SetPayloadPoints) GetPointsSelector() *PointsSelector

func (*SetPayloadPoints) GetShardKeySelector

func (x *SetPayloadPoints) GetShardKeySelector() *ShardKeySelector

func (*SetPayloadPoints) GetWait

func (x *SetPayloadPoints) GetWait() bool

func (*SetPayloadPoints) ProtoMessage

func (*SetPayloadPoints) ProtoMessage()

func (*SetPayloadPoints) ProtoReflect

func (x *SetPayloadPoints) ProtoReflect() protoreflect.Message

func (*SetPayloadPoints) Reset

func (x *SetPayloadPoints) Reset()

func (*SetPayloadPoints) String

func (x *SetPayloadPoints) String() string

type ShardKey

type ShardKey struct {

	// Types that are assignable to Key:
	//
	//	*ShardKey_Keyword
	//	*ShardKey_Number
	Key isShardKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

func NewShardKey

func NewShardKey(key string) *ShardKey

Creates a *ShardKey instance from a string. This is an alias for NewShardKeyKeyword().

func NewShardKeyKeyword

func NewShardKeyKeyword(key string) *ShardKey

Creates a *ShardKey instance from a string.

func NewShardKeyNum

func NewShardKeyNum(key uint64) *ShardKey

Creates a *ShardKey instance from a uint64.

func (*ShardKey) Descriptor deprecated

func (*ShardKey) Descriptor() ([]byte, []int)

Deprecated: Use ShardKey.ProtoReflect.Descriptor instead.

func (*ShardKey) GetKey

func (m *ShardKey) GetKey() isShardKey_Key

func (*ShardKey) GetKeyword

func (x *ShardKey) GetKeyword() string

func (*ShardKey) GetNumber

func (x *ShardKey) GetNumber() uint64

func (*ShardKey) ProtoMessage

func (*ShardKey) ProtoMessage()

func (*ShardKey) ProtoReflect

func (x *ShardKey) ProtoReflect() protoreflect.Message

func (*ShardKey) Reset

func (x *ShardKey) Reset()

func (*ShardKey) String

func (x *ShardKey) String() string

type ShardKeySelector

type ShardKeySelector struct {
	ShardKeys []*ShardKey `protobuf:"bytes,1,rep,name=shard_keys,json=shardKeys,proto3" json:"shard_keys,omitempty"` // List of shard keys which should be used in the request
	Fallback  *ShardKey   `protobuf:"bytes,2,opt,name=fallback,proto3,oneof" json:"fallback,omitempty"`
	// contains filtered or unexported fields
}

func (*ShardKeySelector) Descriptor deprecated

func (*ShardKeySelector) Descriptor() ([]byte, []int)

Deprecated: Use ShardKeySelector.ProtoReflect.Descriptor instead.

func (*ShardKeySelector) GetFallback

func (x *ShardKeySelector) GetFallback() *ShardKey

func (*ShardKeySelector) GetShardKeys

func (x *ShardKeySelector) GetShardKeys() []*ShardKey

func (*ShardKeySelector) ProtoMessage

func (*ShardKeySelector) ProtoMessage()

func (*ShardKeySelector) ProtoReflect

func (x *ShardKeySelector) ProtoReflect() protoreflect.Message

func (*ShardKeySelector) Reset

func (x *ShardKeySelector) Reset()

func (*ShardKeySelector) String

func (x *ShardKeySelector) String() string

type ShardKey_Keyword

type ShardKey_Keyword struct {
	Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3,oneof"` // String key
}

type ShardKey_Number

type ShardKey_Number struct {
	Number uint64 `protobuf:"varint,2,opt,name=number,proto3,oneof"` // Number key
}

type ShardTransferInfo

type ShardTransferInfo struct {
	ShardId   uint32  `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
	From      uint64  `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
	To        uint64  `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
	Sync      bool    `protobuf:"varint,4,opt,name=sync,proto3" json:"sync,omitempty"` // If `true` transfer is a synchronization of a replicas; If `false` transfer is a moving of a shard from one peer to another
	// contains filtered or unexported fields
}

func (*ShardTransferInfo) Descriptor deprecated

func (*ShardTransferInfo) Descriptor() ([]byte, []int)

Deprecated: Use ShardTransferInfo.ProtoReflect.Descriptor instead.

func (*ShardTransferInfo) GetFrom

func (x *ShardTransferInfo) GetFrom() uint64

func (*ShardTransferInfo) GetShardId

func (x *ShardTransferInfo) GetShardId() uint32

func (*ShardTransferInfo) GetSync

func (x *ShardTransferInfo) GetSync() bool

func (*ShardTransferInfo) GetTo

func (x *ShardTransferInfo) GetTo() uint64

func (*ShardTransferInfo) GetToShardId

func (x *ShardTransferInfo) GetToShardId() uint32

func (*ShardTransferInfo) ProtoMessage

func (*ShardTransferInfo) ProtoMessage()

func (*ShardTransferInfo) ProtoReflect

func (x *ShardTransferInfo) ProtoReflect() protoreflect.Message

func (*ShardTransferInfo) Reset

func (x *ShardTransferInfo) Reset()

func (*ShardTransferInfo) String

func (x *ShardTransferInfo) String() string

type ShardTransferMethod

type ShardTransferMethod int32
const (
	ShardTransferMethod_StreamRecords           ShardTransferMethod = 0 // Stream shard records in batches
	ShardTransferMethod_Snapshot                ShardTransferMethod = 1 // Snapshot the shard and recover it on the target peer
	ShardTransferMethod_WalDelta                ShardTransferMethod = 2 // Resolve WAL delta between peers and transfer the difference
	ShardTransferMethod_ReshardingStreamRecords ShardTransferMethod = 3 // Stream shard records in batches for resharding
)

func (ShardTransferMethod) Descriptor

func (ShardTransferMethod) Enum

func (ShardTransferMethod) EnumDescriptor deprecated

func (ShardTransferMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use ShardTransferMethod.Descriptor instead.

func (ShardTransferMethod) Number

func (ShardTransferMethod) String

func (x ShardTransferMethod) String() string

func (ShardTransferMethod) Type

type ShardingMethod

type ShardingMethod int32
const (
	ShardingMethod_Auto   ShardingMethod = 0 // Auto-sharding based on record ids
	ShardingMethod_Custom ShardingMethod = 1 // Shard by user-defined key
)

func (ShardingMethod) Descriptor

func (ShardingMethod) Enum

func (x ShardingMethod) Enum() *ShardingMethod

func (ShardingMethod) EnumDescriptor deprecated

func (ShardingMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use ShardingMethod.Descriptor instead.

func (ShardingMethod) Number

func (ShardingMethod) String

func (x ShardingMethod) String() string

func (ShardingMethod) Type

type SnapshotDescription

type SnapshotDescription struct {
	Name         string                 `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                     // Name of the snapshot
	CreationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // Creation time of the snapshot
	Size         int64                  `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`                                    // Size of the snapshot in bytes
	Checksum     *string                `protobuf:"bytes,4,opt,name=checksum,proto3,oneof" json:"checksum,omitempty"`                       // SHA256 digest of the snapshot file
	// contains filtered or unexported fields
}

func (*SnapshotDescription) Descriptor deprecated

func (*SnapshotDescription) Descriptor() ([]byte, []int)

Deprecated: Use SnapshotDescription.ProtoReflect.Descriptor instead.

func (*SnapshotDescription) GetChecksum

func (x *SnapshotDescription) GetChecksum() string

func (*SnapshotDescription) GetCreationTime

func (x *SnapshotDescription) GetCreationTime() *timestamppb.Timestamp

func (*SnapshotDescription) GetName

func (x *SnapshotDescription) GetName() string

func (*SnapshotDescription) GetSize

func (x *SnapshotDescription) GetSize() int64

func (*SnapshotDescription) ProtoMessage

func (*SnapshotDescription) ProtoMessage()

func (*SnapshotDescription) ProtoReflect

func (x *SnapshotDescription) ProtoReflect() protoreflect.Message

func (*SnapshotDescription) Reset

func (x *SnapshotDescription) Reset()

func (*SnapshotDescription) String

func (x *SnapshotDescription) String() string

type SnapshotsClient

type SnapshotsClient interface {
	// Create collection snapshot
	Create(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*CreateSnapshotResponse, error)
	// List collection snapshots
	List(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error)
	// Delete collection snapshot
	Delete(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*DeleteSnapshotResponse, error)
	// Create full storage snapshot
	CreateFull(ctx context.Context, in *CreateFullSnapshotRequest, opts ...grpc.CallOption) (*CreateSnapshotResponse, error)
	// List full storage snapshots
	ListFull(ctx context.Context, in *ListFullSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error)
	// Delete full storage snapshot
	DeleteFull(ctx context.Context, in *DeleteFullSnapshotRequest, opts ...grpc.CallOption) (*DeleteSnapshotResponse, error)
}

SnapshotsClient is the client API for Snapshots service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewSnapshotsClient

func NewSnapshotsClient(cc grpc.ClientConnInterface) SnapshotsClient

type SnapshotsServer

type SnapshotsServer interface {
	// Create collection snapshot
	Create(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
	// List collection snapshots
	List(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
	// Delete collection snapshot
	Delete(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
	// Create full storage snapshot
	CreateFull(context.Context, *CreateFullSnapshotRequest) (*CreateSnapshotResponse, error)
	// List full storage snapshots
	ListFull(context.Context, *ListFullSnapshotsRequest) (*ListSnapshotsResponse, error)
	// Delete full storage snapshot
	DeleteFull(context.Context, *DeleteFullSnapshotRequest) (*DeleteSnapshotResponse, error)
	// contains filtered or unexported methods
}

SnapshotsServer is the server API for Snapshots service. All implementations must embed UnimplementedSnapshotsServer for forward compatibility.

type SnowballParams

type SnowballParams struct {
	Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // Which language the algorithm should stem.
	// contains filtered or unexported fields
}

func (*SnowballParams) Descriptor deprecated

func (*SnowballParams) Descriptor() ([]byte, []int)

Deprecated: Use SnowballParams.ProtoReflect.Descriptor instead.

func (*SnowballParams) GetLanguage

func (x *SnowballParams) GetLanguage() string

func (*SnowballParams) ProtoMessage

func (*SnowballParams) ProtoMessage()

func (*SnowballParams) ProtoReflect

func (x *SnowballParams) ProtoReflect() protoreflect.Message

func (*SnowballParams) Reset

func (x *SnowballParams) Reset()

func (*SnowballParams) String

func (x *SnowballParams) String() string

type SparseIndexConfig

type SparseIndexConfig struct {

	// Prefer a full scan search upto (excluding) this number of vectors.
	// Note: this is number of vectors, not KiloBytes.
	FullScanThreshold *uint64 `protobuf:"varint,1,opt,name=full_scan_threshold,json=fullScanThreshold,proto3,oneof" json:"full_scan_threshold,omitempty"`
	// Store inverted index on disk. If set to false, the index will be stored in RAM.
	OnDisk *bool `protobuf:"varint,2,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
	// Datatype used to store weights in the index.
	Datatype *Datatype `protobuf:"varint,3,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"`
	// contains filtered or unexported fields
}

func (*SparseIndexConfig) Descriptor deprecated

func (*SparseIndexConfig) Descriptor() ([]byte, []int)

Deprecated: Use SparseIndexConfig.ProtoReflect.Descriptor instead.

func (*SparseIndexConfig) GetDatatype

func (x *SparseIndexConfig) GetDatatype() Datatype

func (*SparseIndexConfig) GetFullScanThreshold

func (x *SparseIndexConfig) GetFullScanThreshold() uint64

func (*SparseIndexConfig) GetOnDisk

func (x *SparseIndexConfig) GetOnDisk() bool

func (*SparseIndexConfig) ProtoMessage

func (*SparseIndexConfig) ProtoMessage()

func (*SparseIndexConfig) ProtoReflect

func (x *SparseIndexConfig) ProtoReflect() protoreflect.Message

func (*SparseIndexConfig) Reset

func (x *SparseIndexConfig) Reset()

func (*SparseIndexConfig) String

func (x *SparseIndexConfig) String() string

type SparseIndices

type SparseIndices struct {
	Data []uint32 `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SparseIndices) Descriptor deprecated

func (*SparseIndices) Descriptor() ([]byte, []int)

Deprecated: Use SparseIndices.ProtoReflect.Descriptor instead.

func (*SparseIndices) GetData

func (x *SparseIndices) GetData() []uint32

func (*SparseIndices) ProtoMessage

func (*SparseIndices) ProtoMessage()

func (*SparseIndices) ProtoReflect

func (x *SparseIndices) ProtoReflect() protoreflect.Message

func (*SparseIndices) Reset

func (x *SparseIndices) Reset()

func (*SparseIndices) String

func (x *SparseIndices) String() string

type SparseVector

type SparseVector struct {
	Values  []float32 `protobuf:"fixed32,1,rep,packed,name=values,proto3" json:"values,omitempty"`
	Indices []uint32  `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"`
	// contains filtered or unexported fields
}

func (*SparseVector) Descriptor deprecated

func (*SparseVector) Descriptor() ([]byte, []int)

Deprecated: Use SparseVector.ProtoReflect.Descriptor instead.

func (*SparseVector) GetIndices

func (x *SparseVector) GetIndices() []uint32

func (*SparseVector) GetValues

func (x *SparseVector) GetValues() []float32

func (*SparseVector) ProtoMessage

func (*SparseVector) ProtoMessage()

func (*SparseVector) ProtoReflect

func (x *SparseVector) ProtoReflect() protoreflect.Message

func (*SparseVector) Reset

func (x *SparseVector) Reset()

func (*SparseVector) String

func (x *SparseVector) String() string

type SparseVectorConfig

type SparseVectorConfig struct {
	Map map[string]*SparseVectorParams `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func NewSparseVectorsConfig

func NewSparseVectorsConfig(paramsMap map[string]*SparseVectorParams) *SparseVectorConfig

Creates a *SparseVectorConfig instance from a map of *SparseVectorParams.

func (*SparseVectorConfig) Descriptor deprecated

func (*SparseVectorConfig) Descriptor() ([]byte, []int)

Deprecated: Use SparseVectorConfig.ProtoReflect.Descriptor instead.

func (*SparseVectorConfig) GetMap

func (x *SparseVectorConfig) GetMap() map[string]*SparseVectorParams

func (*SparseVectorConfig) ProtoMessage

func (*SparseVectorConfig) ProtoMessage()

func (*SparseVectorConfig) ProtoReflect

func (x *SparseVectorConfig) ProtoReflect() protoreflect.Message

func (*SparseVectorConfig) Reset

func (x *SparseVectorConfig) Reset()

func (*SparseVectorConfig) String

func (x *SparseVectorConfig) String() string

type SparseVectorParams

type SparseVectorParams struct {
	Index    *SparseIndexConfig `protobuf:"bytes,1,opt,name=index,proto3,oneof" json:"index,omitempty"`                             // Configuration of sparse index
	Modifier *Modifier          `protobuf:"varint,2,opt,name=modifier,proto3,enum=qdrant.Modifier,oneof" json:"modifier,omitempty"` // If set - apply modifier to the vector values
	// contains filtered or unexported fields
}

func (*SparseVectorParams) Descriptor deprecated

func (*SparseVectorParams) Descriptor() ([]byte, []int)

Deprecated: Use SparseVectorParams.ProtoReflect.Descriptor instead.

func (*SparseVectorParams) GetIndex

func (x *SparseVectorParams) GetIndex() *SparseIndexConfig

func (*SparseVectorParams) GetModifier

func (x *SparseVectorParams) GetModifier() Modifier

func (*SparseVectorParams) ProtoMessage

func (*SparseVectorParams) ProtoMessage()

func (*SparseVectorParams) ProtoReflect

func (x *SparseVectorParams) ProtoReflect() protoreflect.Message

func (*SparseVectorParams) Reset

func (x *SparseVectorParams) Reset()

func (*SparseVectorParams) String

func (x *SparseVectorParams) String() string

type StartFrom

type StartFrom struct {

	// Types that are assignable to Value:
	//
	//	*StartFrom_Float
	//	*StartFrom_Integer
	//	*StartFrom_Timestamp
	//	*StartFrom_Datetime
	Value isStartFrom_Value `protobuf_oneof:"value"`
	// contains filtered or unexported fields
}

func NewStartFromDatetime

func NewStartFromDatetime(value string) *StartFrom

Creates a *StartFrom instance for a datetime string in the RFC3339 format.

func NewStartFromFloat

func NewStartFromFloat(value float64) *StartFrom

Creates a *StartFrom instance for a float value.

func NewStartFromInt

func NewStartFromInt(value int64) *StartFrom

Creates a *StartFrom instance for an integer value.

func NewStartFromTimestamp

func NewStartFromTimestamp(seconds int64, nanos int32) *StartFrom

Creates a *StartFrom instance for a timestamp value. Parameters: seconds: Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. nanos: Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.

func (*StartFrom) Descriptor deprecated

func (*StartFrom) Descriptor() ([]byte, []int)

Deprecated: Use StartFrom.ProtoReflect.Descriptor instead.

func (*StartFrom) GetDatetime

func (x *StartFrom) GetDatetime() string

func (*StartFrom) GetFloat

func (x *StartFrom) GetFloat() float64

func (*StartFrom) GetInteger

func (x *StartFrom) GetInteger() int64

func (*StartFrom) GetTimestamp

func (x *StartFrom) GetTimestamp() *timestamppb.Timestamp

func (*StartFrom) GetValue

func (m *StartFrom) GetValue() isStartFrom_Value

func (*StartFrom) ProtoMessage

func (*StartFrom) ProtoMessage()

func (*StartFrom) ProtoReflect

func (x *StartFrom) ProtoReflect() protoreflect.Message

func (*StartFrom) Reset

func (x *StartFrom) Reset()

func (*StartFrom) String

func (x *StartFrom) String() string

type StartFrom_Datetime

type StartFrom_Datetime struct {
	Datetime string `protobuf:"bytes,4,opt,name=datetime,proto3,oneof"`
}

type StartFrom_Float

type StartFrom_Float struct {
	Float float64 `protobuf:"fixed64,1,opt,name=float,proto3,oneof"`
}

type StartFrom_Integer

type StartFrom_Integer struct {
	Integer int64 `protobuf:"varint,2,opt,name=integer,proto3,oneof"`
}

type StartFrom_Timestamp

type StartFrom_Timestamp struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3,oneof"`
}

type StemmingAlgorithm

type StemmingAlgorithm struct {

	// Types that are assignable to StemmingParams:
	//
	//	*StemmingAlgorithm_Snowball
	StemmingParams isStemmingAlgorithm_StemmingParams `protobuf_oneof:"stemming_params"`
	// contains filtered or unexported fields
}

func NewStemmingAlgorithmSnowball

func NewStemmingAlgorithmSnowball(snowBall *SnowballParams) *StemmingAlgorithm

Creates a *StemmingAlgorithm instance using Snowball stemmer.

func (*StemmingAlgorithm) Descriptor deprecated

func (*StemmingAlgorithm) Descriptor() ([]byte, []int)

Deprecated: Use StemmingAlgorithm.ProtoReflect.Descriptor instead.

func (*StemmingAlgorithm) GetSnowball

func (x *StemmingAlgorithm) GetSnowball() *SnowballParams

func (*StemmingAlgorithm) GetStemmingParams

func (m *StemmingAlgorithm) GetStemmingParams() isStemmingAlgorithm_StemmingParams

func (*StemmingAlgorithm) ProtoMessage

func (*StemmingAlgorithm) ProtoMessage()

func (*StemmingAlgorithm) ProtoReflect

func (x *StemmingAlgorithm) ProtoReflect() protoreflect.Message

func (*StemmingAlgorithm) Reset

func (x *StemmingAlgorithm) Reset()

func (*StemmingAlgorithm) String

func (x *StemmingAlgorithm) String() string

type StemmingAlgorithm_Snowball

type StemmingAlgorithm_Snowball struct {
	Snowball *SnowballParams `protobuf:"bytes,1,opt,name=snowball,proto3,oneof"` // Parameters for snowball stemming
}

type StopwordsSet

type StopwordsSet struct {
	Languages []string `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` // List of languages to use stopwords from
	Custom    []string `protobuf:"bytes,2,rep,name=custom,proto3" json:"custom,omitempty"`       // List of custom stopwords
	// contains filtered or unexported fields
}

func (*StopwordsSet) Descriptor deprecated

func (*StopwordsSet) Descriptor() ([]byte, []int)

Deprecated: Use StopwordsSet.ProtoReflect.Descriptor instead.

func (*StopwordsSet) GetCustom

func (x *StopwordsSet) GetCustom() []string

func (*StopwordsSet) GetLanguages

func (x *StopwordsSet) GetLanguages() []string

func (*StopwordsSet) ProtoMessage

func (*StopwordsSet) ProtoMessage()

func (*StopwordsSet) ProtoReflect

func (x *StopwordsSet) ProtoReflect() protoreflect.Message

func (*StopwordsSet) Reset

func (x *StopwordsSet) Reset()

func (*StopwordsSet) String

func (x *StopwordsSet) String() string

type StrictModeConfig

type StrictModeConfig struct {
	Enabled                    *bool   `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`                                    // Whether strict mode is enabled for a collection or not.
	MaxQueryLimit              *uint32 `protobuf:"varint,2,opt,name=max_query_limit,json=maxQueryLimit,proto3,oneof" json:"max_query_limit,omitempty"` // Max allowed `limit` parameter for all APIs that don't have their own max limit.
	MaxTimeout                 *uint32 `protobuf:"varint,3,opt,name=max_timeout,json=maxTimeout,proto3,oneof" json:"max_timeout,omitempty"`            // Max allowed `timeout` parameter.
	UnindexedFilteringRetrieve *bool   ``                                                                                                              // Allow usage of unindexed fields in retrieval based (e.g. search) filters.
	/* 148-byte string literal not displayed */
	UnindexedFilteringUpdate *bool `` // Allow usage of unindexed fields in filtered updates (e.g. delete by payload).
	/* 142-byte string literal not displayed */
	SearchMaxHnswEf       *uint32  `protobuf:"varint,6,opt,name=search_max_hnsw_ef,json=searchMaxHnswEf,proto3,oneof" json:"search_max_hnsw_ef,omitempty"`  // Max HNSW ef value allowed in search parameters.
	SearchAllowExact      *bool    `protobuf:"varint,7,opt,name=search_allow_exact,json=searchAllowExact,proto3,oneof" json:"search_allow_exact,omitempty"` // Whether exact search is allowed.
	SearchMaxOversampling *float32 ``                                                                                                                       // Max oversampling value allowed in search
	/* 134-byte string literal not displayed */
	UpsertMaxBatchsize           *uint64 `protobuf:"varint,9,opt,name=upsert_max_batchsize,json=upsertMaxBatchsize,proto3,oneof" json:"upsert_max_batchsize,omitempty"` // Max batchsize when upserting
	MaxCollectionVectorSizeBytes *uint64 ``                                                                                                                             // Max size of a collections vector storage in bytes, ignoring replicas.
	/* 159-byte string literal not displayed */
	ReadRateLimit                 *uint32 `protobuf:"varint,11,opt,name=read_rate_limit,json=readRateLimit,proto3,oneof" json:"read_rate_limit,omitempty"`    // Max number of read operations per minute per replica
	WriteRateLimit                *uint32 `protobuf:"varint,12,opt,name=write_rate_limit,json=writeRateLimit,proto3,oneof" json:"write_rate_limit,omitempty"` // Max number of write operations per minute per replica
	MaxCollectionPayloadSizeBytes *uint64 ``                                                                                                                  // Max size of a collections payload storage in bytes, ignoring replicas.
	/* 162-byte string literal not displayed */
	FilterMaxConditions *uint64 `` // Max conditions a filter can have.
	/* 128-byte string literal not displayed */
	ConditionMaxSize     *uint64                      `protobuf:"varint,15,opt,name=condition_max_size,json=conditionMaxSize,proto3,oneof" json:"condition_max_size,omitempty"` // Max size of a condition, eg. items in `MatchAny`.
	MultivectorConfig    *StrictModeMultivectorConfig `protobuf:"bytes,16,opt,name=multivector_config,json=multivectorConfig,proto3,oneof" json:"multivector_config,omitempty"` // Multivector strict mode configuration
	SparseConfig         *StrictModeSparseConfig      `protobuf:"bytes,17,opt,name=sparse_config,json=sparseConfig,proto3,oneof" json:"sparse_config,omitempty"`                // Sparse vector strict mode configuration
	MaxPointsCount       *uint64                      `protobuf:"varint,18,opt,name=max_points_count,json=maxPointsCount,proto3,oneof" json:"max_points_count,omitempty"`       // Max number of points estimated in a collection
	MaxPayloadIndexCount *uint64                      ``                                                                                                                        // Max number of payload indexes in a collection
	/* 133-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StrictModeConfig) Descriptor deprecated

func (*StrictModeConfig) Descriptor() ([]byte, []int)

Deprecated: Use StrictModeConfig.ProtoReflect.Descriptor instead.

func (*StrictModeConfig) GetConditionMaxSize

func (x *StrictModeConfig) GetConditionMaxSize() uint64

func (*StrictModeConfig) GetEnabled

func (x *StrictModeConfig) GetEnabled() bool

func (*StrictModeConfig) GetFilterMaxConditions

func (x *StrictModeConfig) GetFilterMaxConditions() uint64

func (*StrictModeConfig) GetMaxCollectionPayloadSizeBytes

func (x *StrictModeConfig) GetMaxCollectionPayloadSizeBytes() uint64

func (*StrictModeConfig) GetMaxCollectionVectorSizeBytes

func (x *StrictModeConfig) GetMaxCollectionVectorSizeBytes() uint64

func (*StrictModeConfig) GetMaxPayloadIndexCount

func (x *StrictModeConfig) GetMaxPayloadIndexCount() uint64

func (*StrictModeConfig) GetMaxPointsCount

func (x *StrictModeConfig) GetMaxPointsCount() uint64

func (*StrictModeConfig) GetMaxQueryLimit

func (x *StrictModeConfig) GetMaxQueryLimit() uint32

func (*StrictModeConfig) GetMaxTimeout

func (x *StrictModeConfig) GetMaxTimeout() uint32

func (*StrictModeConfig) GetMultivectorConfig

func (x *StrictModeConfig) GetMultivectorConfig() *StrictModeMultivectorConfig

func (*StrictModeConfig) GetReadRateLimit

func (x *StrictModeConfig) GetReadRateLimit() uint32

func (*StrictModeConfig) GetSearchAllowExact

func (x *StrictModeConfig) GetSearchAllowExact() bool

func (*StrictModeConfig) GetSearchMaxHnswEf

func (x *StrictModeConfig) GetSearchMaxHnswEf() uint32

func (*StrictModeConfig) GetSearchMaxOversampling

func (x *StrictModeConfig) GetSearchMaxOversampling() float32

func (*StrictModeConfig) GetSparseConfig

func (x *StrictModeConfig) GetSparseConfig() *StrictModeSparseConfig

func (*StrictModeConfig) GetUnindexedFilteringRetrieve

func (x *StrictModeConfig) GetUnindexedFilteringRetrieve() bool

func (*StrictModeConfig) GetUnindexedFilteringUpdate

func (x *StrictModeConfig) GetUnindexedFilteringUpdate() bool

func (*StrictModeConfig) GetUpsertMaxBatchsize

func (x *StrictModeConfig) GetUpsertMaxBatchsize() uint64

func (*StrictModeConfig) GetWriteRateLimit

func (x *StrictModeConfig) GetWriteRateLimit() uint32

func (*StrictModeConfig) ProtoMessage

func (*StrictModeConfig) ProtoMessage()

func (*StrictModeConfig) ProtoReflect

func (x *StrictModeConfig) ProtoReflect() protoreflect.Message

func (*StrictModeConfig) Reset

func (x *StrictModeConfig) Reset()

func (*StrictModeConfig) String

func (x *StrictModeConfig) String() string

type StrictModeMultivector

type StrictModeMultivector struct {
	MaxVectors *uint64 `protobuf:"varint,1,opt,name=max_vectors,json=maxVectors,proto3,oneof" json:"max_vectors,omitempty"` // Max number of vectors in a multivector
	// contains filtered or unexported fields
}

func (*StrictModeMultivector) Descriptor deprecated

func (*StrictModeMultivector) Descriptor() ([]byte, []int)

Deprecated: Use StrictModeMultivector.ProtoReflect.Descriptor instead.

func (*StrictModeMultivector) GetMaxVectors

func (x *StrictModeMultivector) GetMaxVectors() uint64

func (*StrictModeMultivector) ProtoMessage

func (*StrictModeMultivector) ProtoMessage()

func (*StrictModeMultivector) ProtoReflect

func (x *StrictModeMultivector) ProtoReflect() protoreflect.Message

func (*StrictModeMultivector) Reset

func (x *StrictModeMultivector) Reset()

func (*StrictModeMultivector) String

func (x *StrictModeMultivector) String() string

type StrictModeMultivectorConfig

type StrictModeMultivectorConfig struct {
	MultivectorConfig map[string]*StrictModeMultivector `` /* 200-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StrictModeMultivectorConfig) Descriptor deprecated

func (*StrictModeMultivectorConfig) Descriptor() ([]byte, []int)

Deprecated: Use StrictModeMultivectorConfig.ProtoReflect.Descriptor instead.

func (*StrictModeMultivectorConfig) GetMultivectorConfig

func (x *StrictModeMultivectorConfig) GetMultivectorConfig() map[string]*StrictModeMultivector

func (*StrictModeMultivectorConfig) ProtoMessage

func (*StrictModeMultivectorConfig) ProtoMessage()

func (*StrictModeMultivectorConfig) ProtoReflect

func (*StrictModeMultivectorConfig) Reset

func (x *StrictModeMultivectorConfig) Reset()

func (*StrictModeMultivectorConfig) String

func (x *StrictModeMultivectorConfig) String() string

type StrictModeSparse

type StrictModeSparse struct {
	MaxLength *uint64 `protobuf:"varint,10,opt,name=max_length,json=maxLength,proto3,oneof" json:"max_length,omitempty"` // Max length of sparse vector
	// contains filtered or unexported fields
}

func (*StrictModeSparse) Descriptor deprecated

func (*StrictModeSparse) Descriptor() ([]byte, []int)

Deprecated: Use StrictModeSparse.ProtoReflect.Descriptor instead.

func (*StrictModeSparse) GetMaxLength

func (x *StrictModeSparse) GetMaxLength() uint64

func (*StrictModeSparse) ProtoMessage

func (*StrictModeSparse) ProtoMessage()

func (*StrictModeSparse) ProtoReflect

func (x *StrictModeSparse) ProtoReflect() protoreflect.Message

func (*StrictModeSparse) Reset

func (x *StrictModeSparse) Reset()

func (*StrictModeSparse) String

func (x *StrictModeSparse) String() string

type StrictModeSparseConfig

type StrictModeSparseConfig struct {
	SparseConfig map[string]*StrictModeSparse `` /* 185-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StrictModeSparseConfig) Descriptor deprecated

func (*StrictModeSparseConfig) Descriptor() ([]byte, []int)

Deprecated: Use StrictModeSparseConfig.ProtoReflect.Descriptor instead.

func (*StrictModeSparseConfig) GetSparseConfig

func (x *StrictModeSparseConfig) GetSparseConfig() map[string]*StrictModeSparse

func (*StrictModeSparseConfig) ProtoMessage

func (*StrictModeSparseConfig) ProtoMessage()

func (*StrictModeSparseConfig) ProtoReflect

func (x *StrictModeSparseConfig) ProtoReflect() protoreflect.Message

func (*StrictModeSparseConfig) Reset

func (x *StrictModeSparseConfig) Reset()

func (*StrictModeSparseConfig) String

func (x *StrictModeSparseConfig) String() string

type Struct

type Struct struct {

	// Unordered map of dynamically typed values.
	Fields map[string]*Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

`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.

func NewStruct

func NewStruct(v map[string]interface{}) (*Struct, error)

Constructs a Struct from a general-purpose Go map. The map keys must be valid UTF-8. The map values are converted using NewValue().

func (*Struct) Descriptor deprecated

func (*Struct) Descriptor() ([]byte, []int)

Deprecated: Use Struct.ProtoReflect.Descriptor instead.

func (*Struct) GetFields

func (x *Struct) GetFields() map[string]*Value

func (*Struct) ProtoMessage

func (*Struct) ProtoMessage()

func (*Struct) ProtoReflect

func (x *Struct) ProtoReflect() protoreflect.Message

func (*Struct) Reset

func (x *Struct) Reset()

func (*Struct) String

func (x *Struct) String() string

type SumExpression

type SumExpression struct {
	Sum []*Expression `protobuf:"bytes,1,rep,name=sum,proto3" json:"sum,omitempty"`
	// contains filtered or unexported fields
}

func (*SumExpression) Descriptor deprecated

func (*SumExpression) Descriptor() ([]byte, []int)

Deprecated: Use SumExpression.ProtoReflect.Descriptor instead.

func (*SumExpression) GetSum

func (x *SumExpression) GetSum() []*Expression

func (*SumExpression) ProtoMessage

func (*SumExpression) ProtoMessage()

func (*SumExpression) ProtoReflect

func (x *SumExpression) ProtoReflect() protoreflect.Message

func (*SumExpression) Reset

func (x *SumExpression) Reset()

func (*SumExpression) String

func (x *SumExpression) String() string

type TargetVector

type TargetVector struct {

	// Types that are assignable to Target:
	//
	//	*TargetVector_Single
	Target isTargetVector_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func NewTarget

func NewTarget(vector *Vector) *TargetVector

Creates a *TargetVector instance from a *Vector. This is an alias for NewTargetVector().

func NewTargetID

func NewTargetID(id *PointId) *TargetVector

Creates a *TargetVector instance from a *PointId.

func NewTargetVector

func NewTargetVector(vector *Vector) *TargetVector

Creates a *TargetVector instance from a *Vector.

func (*TargetVector) Descriptor deprecated

func (*TargetVector) Descriptor() ([]byte, []int)

Deprecated: Use TargetVector.ProtoReflect.Descriptor instead.

func (*TargetVector) GetSingle

func (x *TargetVector) GetSingle() *VectorExample

func (*TargetVector) GetTarget

func (m *TargetVector) GetTarget() isTargetVector_Target

func (*TargetVector) ProtoMessage

func (*TargetVector) ProtoMessage()

func (*TargetVector) ProtoReflect

func (x *TargetVector) ProtoReflect() protoreflect.Message

func (*TargetVector) Reset

func (x *TargetVector) Reset()

func (*TargetVector) String

func (x *TargetVector) String() string

type TargetVector_Single

type TargetVector_Single struct {
	Single *VectorExample `protobuf:"bytes,1,opt,name=single,proto3,oneof"`
}

type TextIndexParams

type TextIndexParams struct {
	Tokenizer      TokenizerType      `protobuf:"varint,1,opt,name=tokenizer,proto3,enum=qdrant.TokenizerType" json:"tokenizer,omitempty"`             // Tokenizer type
	Lowercase      *bool              `protobuf:"varint,2,opt,name=lowercase,proto3,oneof" json:"lowercase,omitempty"`                                 // If true - all tokens will be lowercase
	MinTokenLen    *uint64            `protobuf:"varint,3,opt,name=min_token_len,json=minTokenLen,proto3,oneof" json:"min_token_len,omitempty"`        // Minimal token length
	MaxTokenLen    *uint64            `protobuf:"varint,4,opt,name=max_token_len,json=maxTokenLen,proto3,oneof" json:"max_token_len,omitempty"`        // Maximal token length
	OnDisk         *bool              `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`                         // If true - store index on disk.
	Stopwords      *StopwordsSet      `protobuf:"bytes,6,opt,name=stopwords,proto3,oneof" json:"stopwords,omitempty"`                                  // Stopwords for the text index
	PhraseMatching *bool              `protobuf:"varint,7,opt,name=phrase_matching,json=phraseMatching,proto3,oneof" json:"phrase_matching,omitempty"` // If true - support phrase matching.
	Stemmer        *StemmingAlgorithm `protobuf:"bytes,8,opt,name=stemmer,proto3,oneof" json:"stemmer,omitempty"`                                      // Set an algorithm for stemming.
	AsciiFolding   *bool              `protobuf:"varint,9,opt,name=ascii_folding,json=asciiFolding,proto3,oneof" json:"ascii_folding,omitempty"`       // If true, normalize tokens by folding accented characters to ASCII (e.g., "ação" -> "acao"). Default: false.
	// contains filtered or unexported fields
}

func (*TextIndexParams) Descriptor deprecated

func (*TextIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use TextIndexParams.ProtoReflect.Descriptor instead.

func (*TextIndexParams) GetAsciiFolding

func (x *TextIndexParams) GetAsciiFolding() bool

func (*TextIndexParams) GetLowercase

func (x *TextIndexParams) GetLowercase() bool

func (*TextIndexParams) GetMaxTokenLen

func (x *TextIndexParams) GetMaxTokenLen() uint64

func (*TextIndexParams) GetMinTokenLen

func (x *TextIndexParams) GetMinTokenLen() uint64

func (*TextIndexParams) GetOnDisk

func (x *TextIndexParams) GetOnDisk() bool

func (*TextIndexParams) GetPhraseMatching

func (x *TextIndexParams) GetPhraseMatching() bool

func (*TextIndexParams) GetStemmer

func (x *TextIndexParams) GetStemmer() *StemmingAlgorithm

func (*TextIndexParams) GetStopwords

func (x *TextIndexParams) GetStopwords() *StopwordsSet

func (*TextIndexParams) GetTokenizer

func (x *TextIndexParams) GetTokenizer() TokenizerType

func (*TextIndexParams) ProtoMessage

func (*TextIndexParams) ProtoMessage()

func (*TextIndexParams) ProtoReflect

func (x *TextIndexParams) ProtoReflect() protoreflect.Message

func (*TextIndexParams) Reset

func (x *TextIndexParams) Reset()

func (*TextIndexParams) String

func (x *TextIndexParams) String() string

type TokenizerType

type TokenizerType int32
const (
	TokenizerType_Unknown      TokenizerType = 0
	TokenizerType_Prefix       TokenizerType = 1
	TokenizerType_Whitespace   TokenizerType = 2
	TokenizerType_Word         TokenizerType = 3
	TokenizerType_Multilingual TokenizerType = 4
)

func (TokenizerType) Descriptor

func (TokenizerType) Enum

func (x TokenizerType) Enum() *TokenizerType

func (TokenizerType) EnumDescriptor deprecated

func (TokenizerType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TokenizerType.Descriptor instead.

func (TokenizerType) Number

func (TokenizerType) String

func (x TokenizerType) String() string

func (TokenizerType) Type

type UnimplementedCollectionsServer

type UnimplementedCollectionsServer struct{}

UnimplementedCollectionsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCollectionsServer) CollectionExists

func (UnimplementedCollectionsServer) Create

func (UnimplementedCollectionsServer) CreateShardKey

func (UnimplementedCollectionsServer) Delete

func (UnimplementedCollectionsServer) DeleteShardKey

func (UnimplementedCollectionsServer) ListAliases

func (UnimplementedCollectionsServer) ListCollectionAliases

func (UnimplementedCollectionsServer) Update

func (UnimplementedCollectionsServer) UpdateAliases

type UnimplementedPointsServer

type UnimplementedPointsServer struct{}

UnimplementedPointsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPointsServer) ClearPayload

func (UnimplementedPointsServer) Count

func (UnimplementedPointsServer) Delete

func (UnimplementedPointsServer) DeletePayload

func (UnimplementedPointsServer) DeleteVectors

func (UnimplementedPointsServer) Discover

func (UnimplementedPointsServer) DiscoverBatch

func (UnimplementedPointsServer) Facet

func (UnimplementedPointsServer) Get

func (UnimplementedPointsServer) OverwritePayload

func (UnimplementedPointsServer) Query

func (UnimplementedPointsServer) QueryBatch

func (UnimplementedPointsServer) QueryGroups

func (UnimplementedPointsServer) Recommend

func (UnimplementedPointsServer) RecommendBatch

func (UnimplementedPointsServer) RecommendGroups

func (UnimplementedPointsServer) Scroll

func (UnimplementedPointsServer) Search

func (UnimplementedPointsServer) SearchBatch

func (UnimplementedPointsServer) SearchGroups

func (UnimplementedPointsServer) SearchMatrixOffsets

func (UnimplementedPointsServer) SearchMatrixPairs

func (UnimplementedPointsServer) SetPayload

func (UnimplementedPointsServer) UpdateBatch

func (UnimplementedPointsServer) UpdateVectors

func (UnimplementedPointsServer) Upsert

type UnimplementedQdrantServer

type UnimplementedQdrantServer struct{}

UnimplementedQdrantServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedQdrantServer) HealthCheck

type UnimplementedSnapshotsServer

type UnimplementedSnapshotsServer struct{}

UnimplementedSnapshotsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSnapshotsServer) Create

func (UnimplementedSnapshotsServer) Delete

func (UnimplementedSnapshotsServer) List

func (UnimplementedSnapshotsServer) ListFull

type UnsafeCollectionsServer

type UnsafeCollectionsServer interface {
	// contains filtered or unexported methods
}

UnsafeCollectionsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CollectionsServer will result in compilation errors.

type UnsafePointsServer

type UnsafePointsServer interface {
	// contains filtered or unexported methods
}

UnsafePointsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PointsServer will result in compilation errors.

type UnsafeQdrantServer

type UnsafeQdrantServer interface {
	// contains filtered or unexported methods
}

UnsafeQdrantServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to QdrantServer will result in compilation errors.

type UnsafeSnapshotsServer

type UnsafeSnapshotsServer interface {
	// contains filtered or unexported methods
}

UnsafeSnapshotsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SnapshotsServer will result in compilation errors.

type UpdateBatchPoints

type UpdateBatchPoints struct {
	CollectionName string                   `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
	Wait           *bool                    `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                    // Wait until the changes have been applied?
	Operations     []*PointsUpdateOperation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"`
	Ordering       *WriteOrdering           `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
	// contains filtered or unexported fields
}

func (*UpdateBatchPoints) Descriptor deprecated

func (*UpdateBatchPoints) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBatchPoints.ProtoReflect.Descriptor instead.

func (*UpdateBatchPoints) GetCollectionName

func (x *UpdateBatchPoints) GetCollectionName() string

func (*UpdateBatchPoints) GetOperations

func (x *UpdateBatchPoints) GetOperations() []*PointsUpdateOperation

func (*UpdateBatchPoints) GetOrdering

func (x *UpdateBatchPoints) GetOrdering() *WriteOrdering

func (*UpdateBatchPoints) GetWait

func (x *UpdateBatchPoints) GetWait() bool

func (*UpdateBatchPoints) ProtoMessage

func (*UpdateBatchPoints) ProtoMessage()

func (*UpdateBatchPoints) ProtoReflect

func (x *UpdateBatchPoints) ProtoReflect() protoreflect.Message

func (*UpdateBatchPoints) Reset

func (x *UpdateBatchPoints) Reset()

func (*UpdateBatchPoints) String

func (x *UpdateBatchPoints) String() string

type UpdateBatchResponse

type UpdateBatchResponse struct {
	Result []*UpdateResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
	Time   float64         `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
	Usage  *Usage          `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateBatchResponse) Descriptor deprecated

func (*UpdateBatchResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateBatchResponse.ProtoReflect.Descriptor instead.

func (*UpdateBatchResponse) GetResult

func (x *UpdateBatchResponse) GetResult() []*UpdateResult

func (*UpdateBatchResponse) GetTime

func (x *UpdateBatchResponse) GetTime() float64

func (*UpdateBatchResponse) GetUsage

func (x *UpdateBatchResponse) GetUsage() *Usage

func (*UpdateBatchResponse) ProtoMessage

func (*UpdateBatchResponse) ProtoMessage()

func (*UpdateBatchResponse) ProtoReflect

func (x *UpdateBatchResponse) ProtoReflect() protoreflect.Message

func (*UpdateBatchResponse) Reset

func (x *UpdateBatchResponse) Reset()

func (*UpdateBatchResponse) String

func (x *UpdateBatchResponse) String() string

type UpdateCollection

type UpdateCollection struct {
	CollectionName      string                  `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`                   // Name of the collection
	OptimizersConfig    *OptimizersConfigDiff   `protobuf:"bytes,2,opt,name=optimizers_config,json=optimizersConfig,proto3,oneof" json:"optimizers_config,omitempty"`       // New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
	Timeout             *uint64                 `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`                                                // Wait timeout for operation commit in seconds if blocking, if not specified - default value will be supplied
	Params              *CollectionParamsDiff   `protobuf:"bytes,4,opt,name=params,proto3,oneof" json:"params,omitempty"`                                                   // New configuration parameters for the collection
	HnswConfig          *HnswConfigDiff         `protobuf:"bytes,5,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"`                         // New HNSW parameters for the collection index
	VectorsConfig       *VectorsConfigDiff      `protobuf:"bytes,6,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"`                // New vector parameters
	QuantizationConfig  *QuantizationConfigDiff `protobuf:"bytes,7,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Quantization configuration of vector
	SparseVectorsConfig *SparseVectorConfig     ``                                                                                                                          // New sparse vector parameters
	/* 126-byte string literal not displayed */
	StrictModeConfig *StrictModeConfig `protobuf:"bytes,9,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"` // New strict mode configuration
	Metadata         map[string]*Value ``                                                                                                                      // Arbitrary JSON-like metadata for the collection, will be merged with already stored metadata
	/* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UpdateCollection) Descriptor deprecated

func (*UpdateCollection) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCollection.ProtoReflect.Descriptor instead.

func (*UpdateCollection) GetCollectionName

func (x *UpdateCollection) GetCollectionName() string

func (*UpdateCollection) GetHnswConfig

func (x *UpdateCollection) GetHnswConfig() *HnswConfigDiff

func (*UpdateCollection) GetMetadata

func (x *UpdateCollection) GetMetadata() map[string]*Value

func (*UpdateCollection) GetOptimizersConfig

func (x *UpdateCollection) GetOptimizersConfig() *OptimizersConfigDiff

func (*UpdateCollection) GetParams

func (x *UpdateCollection) GetParams() *CollectionParamsDiff

func (*UpdateCollection) GetQuantizationConfig

func (x *UpdateCollection) GetQuantizationConfig() *QuantizationConfigDiff

func (*UpdateCollection) GetSparseVectorsConfig

func (x *UpdateCollection) GetSparseVectorsConfig() *SparseVectorConfig

func (*UpdateCollection) GetStrictModeConfig

func (x *UpdateCollection) GetStrictModeConfig() *StrictModeConfig

func (*UpdateCollection) GetTimeout

func (x *UpdateCollection) GetTimeout() uint64

func (*UpdateCollection) GetVectorsConfig

func (x *UpdateCollection) GetVectorsConfig() *VectorsConfigDiff

func (*UpdateCollection) ProtoMessage

func (*UpdateCollection) ProtoMessage()

func (*UpdateCollection) ProtoReflect

func (x *UpdateCollection) ProtoReflect() protoreflect.Message

func (*UpdateCollection) Reset

func (x *UpdateCollection) Reset()

func (*UpdateCollection) String

func (x *UpdateCollection) String() string

type UpdateCollectionClusterSetupRequest

type UpdateCollectionClusterSetupRequest struct {
	CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
	// Types that are assignable to Operation:
	//
	//	*UpdateCollectionClusterSetupRequest_MoveShard
	//	*UpdateCollectionClusterSetupRequest_ReplicateShard
	//	*UpdateCollectionClusterSetupRequest_AbortTransfer
	//	*UpdateCollectionClusterSetupRequest_DropReplica
	//	*UpdateCollectionClusterSetupRequest_CreateShardKey
	//	*UpdateCollectionClusterSetupRequest_DeleteShardKey
	//	*UpdateCollectionClusterSetupRequest_RestartTransfer
	//	*UpdateCollectionClusterSetupRequest_ReplicatePoints
	Operation isUpdateCollectionClusterSetupRequest_Operation `protobuf_oneof:"operation"`
	Timeout   *uint64                                         `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
	// contains filtered or unexported fields
}

func NewUpdateCollectionClusterAbortTransfer

func NewUpdateCollectionClusterAbortTransfer(collectionName string, abortTransfer *AbortShardTransfer) *UpdateCollectionClusterSetupRequest

Creates a *UpdateCollectionClusterSetupRequest to abort a shard transfer.

func NewUpdateCollectionClusterCreateShardKey

func NewUpdateCollectionClusterCreateShardKey(collectionName string, createShardKey *CreateShardKey) *UpdateCollectionClusterSetupRequest

Creates a *UpdateCollectionClusterSetupRequest to create a shard key.

func NewUpdateCollectionClusterDeleteShardKey

func NewUpdateCollectionClusterDeleteShardKey(collectionName string, deleteShardKey *DeleteShardKey) *UpdateCollectionClusterSetupRequest

Creates a *UpdateCollectionClusterSetupRequest to delete a shard key.

func NewUpdateCollectionClusterDropReplica

func NewUpdateCollectionClusterDropReplica(collectionName string, dropReplica *Replica) *UpdateCollectionClusterSetupRequest

Creates a *UpdateCollectionClusterSetupRequest to drop a replica.

func NewUpdateCollectionClusterMoveShard

func NewUpdateCollectionClusterMoveShard(collectionName string, moveShard *MoveShard) *UpdateCollectionClusterSetupRequest

Creates a *UpdateCollectionClusterSetupRequest to move a shard.

func NewUpdateCollectionClusterReplicatePoints

func NewUpdateCollectionClusterReplicatePoints(collectionName string, replicatePoints *ReplicatePoints) *UpdateCollectionClusterSetupRequest

Creates a *UpdateCollectionClusterSetupRequest to replicate points.

func NewUpdateCollectionClusterReplicateShard

func NewUpdateCollectionClusterReplicateShard(collectionName string, replicateShard *ReplicateShard) *UpdateCollectionClusterSetupRequest

Creates a *UpdateCollectionClusterSetupRequest to replicate a shard.

func NewUpdateCollectionClusterRestartTransfer

func NewUpdateCollectionClusterRestartTransfer(collectionName string, restartTransfer *RestartTransfer) *UpdateCollectionClusterSetupRequest

Creates a *UpdateCollectionClusterSetupRequest to restart a transfer.

func (*UpdateCollectionClusterSetupRequest) Descriptor deprecated

func (*UpdateCollectionClusterSetupRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCollectionClusterSetupRequest.ProtoReflect.Descriptor instead.

func (*UpdateCollectionClusterSetupRequest) GetAbortTransfer

func (*UpdateCollectionClusterSetupRequest) GetCollectionName

func (x *UpdateCollectionClusterSetupRequest) GetCollectionName() string

func (*UpdateCollectionClusterSetupRequest) GetCreateShardKey

func (x *UpdateCollectionClusterSetupRequest) GetCreateShardKey() *CreateShardKey

func (*UpdateCollectionClusterSetupRequest) GetDeleteShardKey

func (x *UpdateCollectionClusterSetupRequest) GetDeleteShardKey() *DeleteShardKey

func (*UpdateCollectionClusterSetupRequest) GetDropReplica

func (x *UpdateCollectionClusterSetupRequest) GetDropReplica() *Replica

func (*UpdateCollectionClusterSetupRequest) GetMoveShard

func (*UpdateCollectionClusterSetupRequest) GetOperation

func (m *UpdateCollectionClusterSetupRequest) GetOperation() isUpdateCollectionClusterSetupRequest_Operation

func (*UpdateCollectionClusterSetupRequest) GetReplicatePoints

func (x *UpdateCollectionClusterSetupRequest) GetReplicatePoints() *ReplicatePoints

func (*UpdateCollectionClusterSetupRequest) GetReplicateShard

func (x *UpdateCollectionClusterSetupRequest) GetReplicateShard() *ReplicateShard

func (*UpdateCollectionClusterSetupRequest) GetRestartTransfer

func (x *UpdateCollectionClusterSetupRequest) GetRestartTransfer() *RestartTransfer

func (*UpdateCollectionClusterSetupRequest) GetTimeout

func (*UpdateCollectionClusterSetupRequest) ProtoMessage

func (*UpdateCollectionClusterSetupRequest) ProtoMessage()

func (*UpdateCollectionClusterSetupRequest) ProtoReflect

func (*UpdateCollectionClusterSetupRequest) Reset

func (*UpdateCollectionClusterSetupRequest) String

type UpdateCollectionClusterSetupRequest_AbortTransfer

type UpdateCollectionClusterSetupRequest_AbortTransfer struct {
	AbortTransfer *AbortShardTransfer `protobuf:"bytes,4,opt,name=abort_transfer,json=abortTransfer,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_CreateShardKey

type UpdateCollectionClusterSetupRequest_CreateShardKey struct {
	CreateShardKey *CreateShardKey `protobuf:"bytes,7,opt,name=create_shard_key,json=createShardKey,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_DeleteShardKey

type UpdateCollectionClusterSetupRequest_DeleteShardKey struct {
	DeleteShardKey *DeleteShardKey `protobuf:"bytes,8,opt,name=delete_shard_key,json=deleteShardKey,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_DropReplica

type UpdateCollectionClusterSetupRequest_DropReplica struct {
	DropReplica *Replica `protobuf:"bytes,5,opt,name=drop_replica,json=dropReplica,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_MoveShard

type UpdateCollectionClusterSetupRequest_MoveShard struct {
	MoveShard *MoveShard `protobuf:"bytes,2,opt,name=move_shard,json=moveShard,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_ReplicatePoints

type UpdateCollectionClusterSetupRequest_ReplicatePoints struct {
	ReplicatePoints *ReplicatePoints `protobuf:"bytes,10,opt,name=replicate_points,json=replicatePoints,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_ReplicateShard

type UpdateCollectionClusterSetupRequest_ReplicateShard struct {
	ReplicateShard *ReplicateShard `protobuf:"bytes,3,opt,name=replicate_shard,json=replicateShard,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_RestartTransfer

type UpdateCollectionClusterSetupRequest_RestartTransfer struct {
	RestartTransfer *RestartTransfer `protobuf:"bytes,9,opt,name=restart_transfer,json=restartTransfer,proto3,oneof"`
}

type UpdateCollectionClusterSetupResponse

type UpdateCollectionClusterSetupResponse struct {
	Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateCollectionClusterSetupResponse) Descriptor deprecated

func (*UpdateCollectionClusterSetupResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCollectionClusterSetupResponse.ProtoReflect.Descriptor instead.

func (*UpdateCollectionClusterSetupResponse) GetResult

func (*UpdateCollectionClusterSetupResponse) ProtoMessage

func (*UpdateCollectionClusterSetupResponse) ProtoMessage()

func (*UpdateCollectionClusterSetupResponse) ProtoReflect

func (*UpdateCollectionClusterSetupResponse) Reset

func (*UpdateCollectionClusterSetupResponse) String

type UpdatePointVectors

type UpdatePointVectors struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`               // name of the collection
	Wait             *bool             `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                                  // Wait until the changes have been applied?
	Points           []*PointVectors   `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`                                                     // List of points and vectors to update
	Ordering         *WriteOrdering    `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                                           // Write ordering guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	UpdateFilter     *Filter           `protobuf:"bytes,6,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"`               // If specified, only points that match this filter will be updated
	// contains filtered or unexported fields
}

func (*UpdatePointVectors) Descriptor deprecated

func (*UpdatePointVectors) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePointVectors.ProtoReflect.Descriptor instead.

func (*UpdatePointVectors) GetCollectionName

func (x *UpdatePointVectors) GetCollectionName() string

func (*UpdatePointVectors) GetOrdering

func (x *UpdatePointVectors) GetOrdering() *WriteOrdering

func (*UpdatePointVectors) GetPoints

func (x *UpdatePointVectors) GetPoints() []*PointVectors

func (*UpdatePointVectors) GetShardKeySelector

func (x *UpdatePointVectors) GetShardKeySelector() *ShardKeySelector

func (*UpdatePointVectors) GetUpdateFilter

func (x *UpdatePointVectors) GetUpdateFilter() *Filter

func (*UpdatePointVectors) GetWait

func (x *UpdatePointVectors) GetWait() bool

func (*UpdatePointVectors) ProtoMessage

func (*UpdatePointVectors) ProtoMessage()

func (*UpdatePointVectors) ProtoReflect

func (x *UpdatePointVectors) ProtoReflect() protoreflect.Message

func (*UpdatePointVectors) Reset

func (x *UpdatePointVectors) Reset()

func (*UpdatePointVectors) String

func (x *UpdatePointVectors) String() string

type UpdateResult

type UpdateResult struct {
	OperationId *uint64      `protobuf:"varint,1,opt,name=operation_id,json=operationId,proto3,oneof" json:"operation_id,omitempty"` // Number of operation
	Status      UpdateStatus `protobuf:"varint,2,opt,name=status,proto3,enum=qdrant.UpdateStatus" json:"status,omitempty"`           // Operation status
	// contains filtered or unexported fields
}

func (*UpdateResult) Descriptor deprecated

func (*UpdateResult) Descriptor() ([]byte, []int)

Deprecated: Use UpdateResult.ProtoReflect.Descriptor instead.

func (*UpdateResult) GetOperationId

func (x *UpdateResult) GetOperationId() uint64

func (*UpdateResult) GetStatus

func (x *UpdateResult) GetStatus() UpdateStatus

func (*UpdateResult) ProtoMessage

func (*UpdateResult) ProtoMessage()

func (*UpdateResult) ProtoReflect

func (x *UpdateResult) ProtoReflect() protoreflect.Message

func (*UpdateResult) Reset

func (x *UpdateResult) Reset()

func (*UpdateResult) String

func (x *UpdateResult) String() string

type UpdateStatus

type UpdateStatus int32
const (
	UpdateStatus_UnknownUpdateStatus UpdateStatus = 0
	UpdateStatus_Acknowledged        UpdateStatus = 1 // Update is received, but not processed yet
	UpdateStatus_Completed           UpdateStatus = 2 // Update is applied and ready for search
	UpdateStatus_ClockRejected       UpdateStatus = 3 // Internal: update is rejected due to an outdated clock
)

func (UpdateStatus) Descriptor

func (UpdateStatus) Enum

func (x UpdateStatus) Enum() *UpdateStatus

func (UpdateStatus) EnumDescriptor deprecated

func (UpdateStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use UpdateStatus.Descriptor instead.

func (UpdateStatus) Number

func (UpdateStatus) String

func (x UpdateStatus) String() string

func (UpdateStatus) Type

type UpsertPoints

type UpsertPoints struct {
	CollectionName   string            `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
	Wait             *bool             `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`                                    // Wait until the changes have been applied?
	Points           []*PointStruct    `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
	Ordering         *WriteOrdering    `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`                                           // Write ordering guarantees
	ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
	UpdateFilter     *Filter           `protobuf:"bytes,6,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"`               // If specified, only points that match this filter will be updated, others will be inserted
	// contains filtered or unexported fields
}

func (*UpsertPoints) Descriptor deprecated

func (*UpsertPoints) Descriptor() ([]byte, []int)

Deprecated: Use UpsertPoints.ProtoReflect.Descriptor instead.

func (*UpsertPoints) GetCollectionName

func (x *UpsertPoints) GetCollectionName() string

func (*UpsertPoints) GetOrdering

func (x *UpsertPoints) GetOrdering() *WriteOrdering

func (*UpsertPoints) GetPoints

func (x *UpsertPoints) GetPoints() []*PointStruct

func (*UpsertPoints) GetShardKeySelector

func (x *UpsertPoints) GetShardKeySelector() *ShardKeySelector

func (*UpsertPoints) GetUpdateFilter

func (x *UpsertPoints) GetUpdateFilter() *Filter

func (*UpsertPoints) GetWait

func (x *UpsertPoints) GetWait() bool

func (*UpsertPoints) ProtoMessage

func (*UpsertPoints) ProtoMessage()

func (*UpsertPoints) ProtoReflect

func (x *UpsertPoints) ProtoReflect() protoreflect.Message

func (*UpsertPoints) Reset

func (x *UpsertPoints) Reset()

func (*UpsertPoints) String

func (x *UpsertPoints) String() string

type Usage

type Usage struct {
	Hardware  *HardwareUsage  `protobuf:"bytes,1,opt,name=hardware,proto3,oneof" json:"hardware,omitempty"`
	Inference *InferenceUsage `protobuf:"bytes,2,opt,name=inference,proto3,oneof" json:"inference,omitempty"`
	// contains filtered or unexported fields
}

--------------------------------------------- ----------- Measurements collector ---------- ---------------------------------------------

func (*Usage) Descriptor deprecated

func (*Usage) Descriptor() ([]byte, []int)

Deprecated: Use Usage.ProtoReflect.Descriptor instead.

func (*Usage) GetHardware

func (x *Usage) GetHardware() *HardwareUsage

func (*Usage) GetInference

func (x *Usage) GetInference() *InferenceUsage

func (*Usage) ProtoMessage

func (*Usage) ProtoMessage()

func (*Usage) ProtoReflect

func (x *Usage) ProtoReflect() protoreflect.Message

func (*Usage) Reset

func (x *Usage) Reset()

func (*Usage) String

func (x *Usage) String() string

type UuidIndexParams

type UuidIndexParams struct {
	IsTenant *bool `protobuf:"varint,1,opt,name=is_tenant,json=isTenant,proto3,oneof" json:"is_tenant,omitempty"` // If true - used for tenant optimization.
	OnDisk   *bool `protobuf:"varint,2,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`       // If true - store index on disk.
	// contains filtered or unexported fields
}

func (*UuidIndexParams) Descriptor deprecated

func (*UuidIndexParams) Descriptor() ([]byte, []int)

Deprecated: Use UuidIndexParams.ProtoReflect.Descriptor instead.

func (*UuidIndexParams) GetIsTenant

func (x *UuidIndexParams) GetIsTenant() bool

func (*UuidIndexParams) GetOnDisk

func (x *UuidIndexParams) GetOnDisk() bool

func (*UuidIndexParams) ProtoMessage

func (*UuidIndexParams) ProtoMessage()

func (*UuidIndexParams) ProtoReflect

func (x *UuidIndexParams) ProtoReflect() protoreflect.Message

func (*UuidIndexParams) Reset

func (x *UuidIndexParams) Reset()

func (*UuidIndexParams) String

func (x *UuidIndexParams) String() string

type Value

type Value struct {

	// The kind of value.
	//
	// Types that are assignable to Kind:
	//
	//	*Value_NullValue
	//	*Value_DoubleValue
	//	*Value_IntegerValue
	//	*Value_StringValue
	//	*Value_BoolValue
	//	*Value_StructValue
	//	*Value_ListValue
	Kind isValue_Kind `protobuf_oneof:"kind"`
	// contains filtered or unexported fields
}

`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.

func NewValue

func NewValue(v any) (*Value, error)

Constructs a *Value from a generic Go interface.

func NewValueBool

func NewValueBool(v bool) *Value

Constructs a new boolean Value.

func NewValueDouble

func NewValueDouble(v float64) *Value

Constructs a new double Value.

func NewValueFromFields

func NewValueFromFields(fields map[string]*Value) *Value

Constructs a new struct Value from the provided field map.

func NewValueFromList

func NewValueFromList(values ...*Value) *Value

Constructs a new list Value from the provided elements.

func NewValueInt

func NewValueInt(v int64) *Value

Constructs a new integer Value.

func NewValueList

func NewValueList(v *ListValue) *Value

Constructs a new list Value.

func NewValueNull

func NewValueNull() *Value

Constructs a new null Value.

func NewValueString

func NewValueString(v string) *Value

Constructs a new string Value.

func NewValueStruct

func NewValueStruct(v *Struct) *Value

Constructs a new struct Value.

func (*Value) Descriptor deprecated

func (*Value) Descriptor() ([]byte, []int)

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBoolValue

func (x *Value) GetBoolValue() bool

func (*Value) GetDoubleValue

func (x *Value) GetDoubleValue() float64

func (*Value) GetIntegerValue

func (x *Value) GetIntegerValue() int64

func (*Value) GetKind

func (m *Value) GetKind() isValue_Kind

func (*Value) GetListValue

func (x *Value) GetListValue() *ListValue

func (*Value) GetNullValue

func (x *Value) GetNullValue() NullValue

func (*Value) GetStringValue

func (x *Value) GetStringValue() string

func (*Value) GetStructValue

func (x *Value) GetStructValue() *Struct

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

func (x *Value) ProtoReflect() protoreflect.Message

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type Value_BoolValue

type Value_BoolValue struct {
	// Represents a boolean value.
	BoolValue bool `protobuf:"varint,5,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

type Value_DoubleValue

type Value_DoubleValue struct {
	// Represents a double value.
	DoubleValue float64 `protobuf:"fixed64,2,opt,name=double_value,json=doubleValue,proto3,oneof"`
}

type Value_IntegerValue

type Value_IntegerValue struct {
	// Represents an integer value
	IntegerValue int64 `protobuf:"varint,3,opt,name=integer_value,json=integerValue,proto3,oneof"`
}

type Value_ListValue

type Value_ListValue struct {
	// Represents a repeated `Value`.
	ListValue *ListValue `protobuf:"bytes,7,opt,name=list_value,json=listValue,proto3,oneof"`
}

type Value_NullValue

type Value_NullValue struct {
	// Represents a null value.
	NullValue NullValue `protobuf:"varint,1,opt,name=null_value,json=nullValue,proto3,enum=qdrant.NullValue,oneof"`
}

type Value_StringValue

type Value_StringValue struct {
	// Represents a string value.
	StringValue string `protobuf:"bytes,4,opt,name=string_value,json=stringValue,proto3,oneof"`
}

type Value_StructValue

type Value_StructValue struct {
	// Represents a structured value.
	StructValue *Struct `protobuf:"bytes,6,opt,name=struct_value,json=structValue,proto3,oneof"`
}

type ValuesCount

type ValuesCount struct {
	Lt  *uint64 `protobuf:"varint,1,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
	Gt  *uint64 `protobuf:"varint,2,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
	Gte *uint64 `protobuf:"varint,3,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
	Lte *uint64 `protobuf:"varint,4,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
	// contains filtered or unexported fields
}

func (*ValuesCount) Descriptor deprecated

func (*ValuesCount) Descriptor() ([]byte, []int)

Deprecated: Use ValuesCount.ProtoReflect.Descriptor instead.

func (*ValuesCount) GetGt

func (x *ValuesCount) GetGt() uint64

func (*ValuesCount) GetGte

func (x *ValuesCount) GetGte() uint64

func (*ValuesCount) GetLt

func (x *ValuesCount) GetLt() uint64

func (*ValuesCount) GetLte

func (x *ValuesCount) GetLte() uint64

func (*ValuesCount) ProtoMessage

func (*ValuesCount) ProtoMessage()

func (*ValuesCount) ProtoReflect

func (x *ValuesCount) ProtoReflect() protoreflect.Message

func (*ValuesCount) Reset

func (x *ValuesCount) Reset()

func (*ValuesCount) String

func (x *ValuesCount) String() string

type Vector

type Vector struct {

	// Deprecated: Marked as deprecated in points.proto.
	Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"` // Vector data (flatten for multi vectors), deprecated
	// Deprecated: Marked as deprecated in points.proto.
	Indices *SparseIndices `protobuf:"bytes,2,opt,name=indices,proto3,oneof" json:"indices,omitempty"` // Sparse indices for sparse vectors, deprecated
	// Deprecated: Marked as deprecated in points.proto.
	VectorsCount *uint32 `protobuf:"varint,3,opt,name=vectors_count,json=vectorsCount,proto3,oneof" json:"vectors_count,omitempty"` // Number of vectors per multi vector, deprecated
	// Types that are assignable to Vector:
	//
	//	*Vector_Dense
	//	*Vector_Sparse
	//	*Vector_MultiDense
	//	*Vector_Document
	//	*Vector_Image
	//	*Vector_Object
	Vector isVector_Vector `protobuf_oneof:"vector"`
	// contains filtered or unexported fields
}

func NewVector

func NewVector(values ...float32) *Vector

Creates a *Vector instance for dense vectors. This is an alias for NewVectorDense().

func NewVectorDense

func NewVectorDense(vector []float32) *Vector

Creates a *Vector instance for dense vectors.

func NewVectorDocument

func NewVectorDocument(document *Document) *Vector

Creates a *Vector instance from a *Document for cloud inference.

func NewVectorImage

func NewVectorImage(image *Image) *Vector

Creates a *Vector instance from a *Image for cloud inference.

func NewVectorMulti

func NewVectorMulti(vectors [][]float32) *Vector

Creates a *Vector instance for multi vectors.

func NewVectorObject

func NewVectorObject(object *InferenceObject) *Vector

Creates a *Vector instance from a *InferenceObject for cloud inference.

func NewVectorSparse

func NewVectorSparse(indices []uint32, values []float32) *Vector

Creates a *Vector instance for sparse vectors.

func (*Vector) Descriptor deprecated

func (*Vector) Descriptor() ([]byte, []int)

Deprecated: Use Vector.ProtoReflect.Descriptor instead.

func (*Vector) GetData deprecated

func (x *Vector) GetData() []float32

Deprecated: Marked as deprecated in points.proto.

func (*Vector) GetDense

func (x *Vector) GetDense() *DenseVector

func (*Vector) GetDocument

func (x *Vector) GetDocument() *Document

func (*Vector) GetImage

func (x *Vector) GetImage() *Image

func (*Vector) GetIndices deprecated

func (x *Vector) GetIndices() *SparseIndices

Deprecated: Marked as deprecated in points.proto.

func (*Vector) GetMultiDense

func (x *Vector) GetMultiDense() *MultiDenseVector

func (*Vector) GetObject

func (x *Vector) GetObject() *InferenceObject

func (*Vector) GetSparse

func (x *Vector) GetSparse() *SparseVector

func (*Vector) GetVector

func (m *Vector) GetVector() isVector_Vector

func (*Vector) GetVectorsCount deprecated

func (x *Vector) GetVectorsCount() uint32

Deprecated: Marked as deprecated in points.proto.

func (*Vector) ProtoMessage

func (*Vector) ProtoMessage()

func (*Vector) ProtoReflect

func (x *Vector) ProtoReflect() protoreflect.Message

func (*Vector) Reset

func (x *Vector) Reset()

func (*Vector) String

func (x *Vector) String() string

type VectorExample

type VectorExample struct {

	// Types that are assignable to Example:
	//
	//	*VectorExample_Id
	//	*VectorExample_Vector
	Example isVectorExample_Example `protobuf_oneof:"example"`
	// contains filtered or unexported fields
}

func (*VectorExample) Descriptor deprecated

func (*VectorExample) Descriptor() ([]byte, []int)

Deprecated: Use VectorExample.ProtoReflect.Descriptor instead.

func (*VectorExample) GetExample

func (m *VectorExample) GetExample() isVectorExample_Example

func (*VectorExample) GetId

func (x *VectorExample) GetId() *PointId

func (*VectorExample) GetVector

func (x *VectorExample) GetVector() *Vector

func (*VectorExample) ProtoMessage

func (*VectorExample) ProtoMessage()

func (*VectorExample) ProtoReflect

func (x *VectorExample) ProtoReflect() protoreflect.Message

func (*VectorExample) Reset

func (x *VectorExample) Reset()

func (*VectorExample) String

func (x *VectorExample) String() string

type VectorExample_Id

type VectorExample_Id struct {
	Id *PointId `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type VectorExample_Vector

type VectorExample_Vector struct {
	Vector *Vector `protobuf:"bytes,2,opt,name=vector,proto3,oneof"`
}

type VectorInput

type VectorInput struct {

	// Types that are assignable to Variant:
	//
	//	*VectorInput_Id
	//	*VectorInput_Dense
	//	*VectorInput_Sparse
	//	*VectorInput_MultiDense
	//	*VectorInput_Document
	//	*VectorInput_Image
	//	*VectorInput_Object
	Variant isVectorInput_Variant `protobuf_oneof:"variant"`
	// contains filtered or unexported fields
}

Vector type to be used in queries. Ids will be substituted with their corresponding vectors from the collection.

func NewVectorInput

func NewVectorInput(values ...float32) *VectorInput

Creates a *VectorInput instance for dense vectors. This is an alias for NewVectorInputDense().

func NewVectorInputDense

func NewVectorInputDense(vector []float32) *VectorInput

Creates a *VectorInput instance for dense vectors.

func NewVectorInputDocument

func NewVectorInputDocument(document *Document) *VectorInput

Creates a *VectorInput instance from a *Document for cloud inference.

func NewVectorInputID

func NewVectorInputID(id *PointId) *VectorInput

Creates a *VectorInput instance from a *PointId.

func NewVectorInputImage

func NewVectorInputImage(image *Image) *VectorInput

Creates a *VectorInput instance from a *Image for cloud inference.

func NewVectorInputMulti

func NewVectorInputMulti(vectors [][]float32) *VectorInput

Creates a *VectorInput instance for multi vectors.

func NewVectorInputObject

func NewVectorInputObject(object *InferenceObject) *VectorInput

Creates a *VectorInput instance from a *InferenceObject for cloud inference.

func NewVectorInputSparse

func NewVectorInputSparse(indices []uint32, values []float32) *VectorInput

Creates a *VectorInput instance for sparse vectors.

func (*VectorInput) Descriptor deprecated

func (*VectorInput) Descriptor() ([]byte, []int)

Deprecated: Use VectorInput.ProtoReflect.Descriptor instead.

func (*VectorInput) GetDense

func (x *VectorInput) GetDense() *DenseVector

func (*VectorInput) GetDocument

func (x *VectorInput) GetDocument() *Document

func (*VectorInput) GetId

func (x *VectorInput) GetId() *PointId

func (*VectorInput) GetImage

func (x *VectorInput) GetImage() *Image

func (*VectorInput) GetMultiDense

func (x *VectorInput) GetMultiDense() *MultiDenseVector

func (*VectorInput) GetObject

func (x *VectorInput) GetObject() *InferenceObject

func (*VectorInput) GetSparse

func (x *VectorInput) GetSparse() *SparseVector

func (*VectorInput) GetVariant

func (m *VectorInput) GetVariant() isVectorInput_Variant

func (*VectorInput) ProtoMessage

func (*VectorInput) ProtoMessage()

func (*VectorInput) ProtoReflect

func (x *VectorInput) ProtoReflect() protoreflect.Message

func (*VectorInput) Reset

func (x *VectorInput) Reset()

func (*VectorInput) String

func (x *VectorInput) String() string

type VectorInput_Dense

type VectorInput_Dense struct {
	Dense *DenseVector `protobuf:"bytes,2,opt,name=dense,proto3,oneof"`
}

type VectorInput_Document

type VectorInput_Document struct {
	Document *Document `protobuf:"bytes,5,opt,name=document,proto3,oneof"`
}

type VectorInput_Id

type VectorInput_Id struct {
	Id *PointId `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type VectorInput_Image

type VectorInput_Image struct {
	Image *Image `protobuf:"bytes,6,opt,name=image,proto3,oneof"`
}

type VectorInput_MultiDense

type VectorInput_MultiDense struct {
	MultiDense *MultiDenseVector `protobuf:"bytes,4,opt,name=multi_dense,json=multiDense,proto3,oneof"`
}

type VectorInput_Object

type VectorInput_Object struct {
	Object *InferenceObject `protobuf:"bytes,7,opt,name=object,proto3,oneof"`
}

type VectorInput_Sparse

type VectorInput_Sparse struct {
	Sparse *SparseVector `protobuf:"bytes,3,opt,name=sparse,proto3,oneof"`
}

type VectorOutput

type VectorOutput struct {

	// Deprecated: Marked as deprecated in points.proto.
	Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"` // Vector data (flatten for multi vectors), deprecated
	// Deprecated: Marked as deprecated in points.proto.
	Indices *SparseIndices `protobuf:"bytes,2,opt,name=indices,proto3,oneof" json:"indices,omitempty"` // Sparse indices for sparse vectors, deprecated
	// Deprecated: Marked as deprecated in points.proto.
	VectorsCount *uint32 `protobuf:"varint,3,opt,name=vectors_count,json=vectorsCount,proto3,oneof" json:"vectors_count,omitempty"` // Number of vectors per multi vector, deprecated
	// Types that are assignable to Vector:
	//
	//	*VectorOutput_Dense
	//	*VectorOutput_Sparse
	//	*VectorOutput_MultiDense
	Vector isVectorOutput_Vector `protobuf_oneof:"vector"`
	// contains filtered or unexported fields
}

func (*VectorOutput) Descriptor deprecated

func (*VectorOutput) Descriptor() ([]byte, []int)

Deprecated: Use VectorOutput.ProtoReflect.Descriptor instead.

func (*VectorOutput) GetData deprecated

func (x *VectorOutput) GetData() []float32

Deprecated: Marked as deprecated in points.proto.

func (*VectorOutput) GetDense

func (x *VectorOutput) GetDense() *DenseVector

func (*VectorOutput) GetDenseVector

func (v *VectorOutput) GetDenseVector() *DenseVector

GetDense returns the DenseVector from the VectorOutput. Returns nil if no dense vector data is available.

func (*VectorOutput) GetIndices deprecated

func (x *VectorOutput) GetIndices() *SparseIndices

Deprecated: Marked as deprecated in points.proto.

func (*VectorOutput) GetMultiDense

func (x *VectorOutput) GetMultiDense() *MultiDenseVector

func (*VectorOutput) GetMultiVector

func (v *VectorOutput) GetMultiVector() *MultiDenseVector

GetMultiDense returns the MultiDenseVector from the VectorOutput. Returns nil if no multi-dense vector data is available.

func (*VectorOutput) GetSparse

func (x *VectorOutput) GetSparse() *SparseVector

func (*VectorOutput) GetSparseVector

func (v *VectorOutput) GetSparseVector() *SparseVector

GetSparse returns the SparseVector from the VectorOutput. Returns nil if no sparse vector data is available.

func (*VectorOutput) GetVector

func (m *VectorOutput) GetVector() isVectorOutput_Vector

func (*VectorOutput) GetVectorsCount deprecated

func (x *VectorOutput) GetVectorsCount() uint32

Deprecated: Marked as deprecated in points.proto.

func (*VectorOutput) ProtoMessage

func (*VectorOutput) ProtoMessage()

func (*VectorOutput) ProtoReflect

func (x *VectorOutput) ProtoReflect() protoreflect.Message

func (*VectorOutput) Reset

func (x *VectorOutput) Reset()

func (*VectorOutput) String

func (x *VectorOutput) String() string

type VectorOutput_Dense

type VectorOutput_Dense struct {
	Dense *DenseVector `protobuf:"bytes,101,opt,name=dense,proto3,oneof"` // Dense vector
}

type VectorOutput_MultiDense

type VectorOutput_MultiDense struct {
	MultiDense *MultiDenseVector `protobuf:"bytes,103,opt,name=multi_dense,json=multiDense,proto3,oneof"` // Multi dense vector
}

type VectorOutput_Sparse

type VectorOutput_Sparse struct {
	Sparse *SparseVector `protobuf:"bytes,102,opt,name=sparse,proto3,oneof"` // Sparse vector
}

type VectorParams

type VectorParams struct {
	Size               uint64              `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`                                                            // Size of the vectors
	Distance           Distance            `protobuf:"varint,2,opt,name=distance,proto3,enum=qdrant.Distance" json:"distance,omitempty"`                               // Distance function used for comparing vectors
	HnswConfig         *HnswConfigDiff     `protobuf:"bytes,3,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"`                         // Configuration of vector HNSW graph. If omitted - the collection configuration will be used
	QuantizationConfig *QuantizationConfig `protobuf:"bytes,4,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Configuration of vector quantization config. If omitted - the collection configuration will be used
	OnDisk             *bool               `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`                                    // If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
	Datatype           *Datatype           `protobuf:"varint,6,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"`                         // Data type of the vectors
	MultivectorConfig  *MultiVectorConfig  `protobuf:"bytes,7,opt,name=multivector_config,json=multivectorConfig,proto3,oneof" json:"multivector_config,omitempty"`    // Configuration for multi-vector search
	// contains filtered or unexported fields
}

func (*VectorParams) Descriptor deprecated

func (*VectorParams) Descriptor() ([]byte, []int)

Deprecated: Use VectorParams.ProtoReflect.Descriptor instead.

func (*VectorParams) GetDatatype

func (x *VectorParams) GetDatatype() Datatype

func (*VectorParams) GetDistance

func (x *VectorParams) GetDistance() Distance

func (*VectorParams) GetHnswConfig

func (x *VectorParams) GetHnswConfig() *HnswConfigDiff

func (*VectorParams) GetMultivectorConfig

func (x *VectorParams) GetMultivectorConfig() *MultiVectorConfig

func (*VectorParams) GetOnDisk

func (x *VectorParams) GetOnDisk() bool

func (*VectorParams) GetQuantizationConfig

func (x *VectorParams) GetQuantizationConfig() *QuantizationConfig

func (*VectorParams) GetSize

func (x *VectorParams) GetSize() uint64

func (*VectorParams) ProtoMessage

func (*VectorParams) ProtoMessage()

func (*VectorParams) ProtoReflect

func (x *VectorParams) ProtoReflect() protoreflect.Message

func (*VectorParams) Reset

func (x *VectorParams) Reset()

func (*VectorParams) String

func (x *VectorParams) String() string

type VectorParamsDiff

type VectorParamsDiff struct {
	HnswConfig         *HnswConfigDiff         `protobuf:"bytes,1,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"`                         // Update params for HNSW index. If empty object - it will be unset
	QuantizationConfig *QuantizationConfigDiff `protobuf:"bytes,2,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Update quantization params. If none - it is left unchanged.
	OnDisk             *bool                   `protobuf:"varint,3,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`                                    // If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
	// contains filtered or unexported fields
}

func (*VectorParamsDiff) Descriptor deprecated

func (*VectorParamsDiff) Descriptor() ([]byte, []int)

Deprecated: Use VectorParamsDiff.ProtoReflect.Descriptor instead.

func (*VectorParamsDiff) GetHnswConfig

func (x *VectorParamsDiff) GetHnswConfig() *HnswConfigDiff

func (*VectorParamsDiff) GetOnDisk

func (x *VectorParamsDiff) GetOnDisk() bool

func (*VectorParamsDiff) GetQuantizationConfig

func (x *VectorParamsDiff) GetQuantizationConfig() *QuantizationConfigDiff

func (*VectorParamsDiff) ProtoMessage

func (*VectorParamsDiff) ProtoMessage()

func (*VectorParamsDiff) ProtoReflect

func (x *VectorParamsDiff) ProtoReflect() protoreflect.Message

func (*VectorParamsDiff) Reset

func (x *VectorParamsDiff) Reset()

func (*VectorParamsDiff) String

func (x *VectorParamsDiff) String() string

type VectorParamsDiffMap

type VectorParamsDiffMap struct {
	Map map[string]*VectorParamsDiff `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VectorParamsDiffMap) Descriptor deprecated

func (*VectorParamsDiffMap) Descriptor() ([]byte, []int)

Deprecated: Use VectorParamsDiffMap.ProtoReflect.Descriptor instead.

func (*VectorParamsDiffMap) GetMap

func (x *VectorParamsDiffMap) GetMap() map[string]*VectorParamsDiff

func (*VectorParamsDiffMap) ProtoMessage

func (*VectorParamsDiffMap) ProtoMessage()

func (*VectorParamsDiffMap) ProtoReflect

func (x *VectorParamsDiffMap) ProtoReflect() protoreflect.Message

func (*VectorParamsDiffMap) Reset

func (x *VectorParamsDiffMap) Reset()

func (*VectorParamsDiffMap) String

func (x *VectorParamsDiffMap) String() string

type VectorParamsMap

type VectorParamsMap struct {
	Map map[string]*VectorParams `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VectorParamsMap) Descriptor deprecated

func (*VectorParamsMap) Descriptor() ([]byte, []int)

Deprecated: Use VectorParamsMap.ProtoReflect.Descriptor instead.

func (*VectorParamsMap) GetMap

func (x *VectorParamsMap) GetMap() map[string]*VectorParams

func (*VectorParamsMap) ProtoMessage

func (*VectorParamsMap) ProtoMessage()

func (*VectorParamsMap) ProtoReflect

func (x *VectorParamsMap) ProtoReflect() protoreflect.Message

func (*VectorParamsMap) Reset

func (x *VectorParamsMap) Reset()

func (*VectorParamsMap) String

func (x *VectorParamsMap) String() string

type Vector_Dense

type Vector_Dense struct {
	Dense *DenseVector `protobuf:"bytes,101,opt,name=dense,proto3,oneof"` // Dense vector
}

type Vector_Document

type Vector_Document struct {
	Document *Document `protobuf:"bytes,104,opt,name=document,proto3,oneof"`
}

type Vector_Image

type Vector_Image struct {
	Image *Image `protobuf:"bytes,105,opt,name=image,proto3,oneof"`
}

type Vector_MultiDense

type Vector_MultiDense struct {
	MultiDense *MultiDenseVector `protobuf:"bytes,103,opt,name=multi_dense,json=multiDense,proto3,oneof"` // Multi dense vector
}

type Vector_Object

type Vector_Object struct {
	Object *InferenceObject `protobuf:"bytes,106,opt,name=object,proto3,oneof"`
}

type Vector_Sparse

type Vector_Sparse struct {
	Sparse *SparseVector `protobuf:"bytes,102,opt,name=sparse,proto3,oneof"` // Sparse vector
}

type Vectors

type Vectors struct {

	// Types that are assignable to VectorsOptions:
	//
	//	*Vectors_Vector
	//	*Vectors_Vectors
	VectorsOptions isVectors_VectorsOptions `protobuf_oneof:"vectors_options"`
	// contains filtered or unexported fields
}

func NewVectors

func NewVectors(values ...float32) *Vectors

Creates a *Vectors instance for dense vectors. This is an alias for NewVectorsDense().

func NewVectorsDense

func NewVectorsDense(vector []float32) *Vectors

Creates a *Vectors instance for dense vectors.

func NewVectorsDocument

func NewVectorsDocument(document *Document) *Vectors

Creates a *Vectors instance from a *Document for cloud inference.

func NewVectorsImage

func NewVectorsImage(image *Image) *Vectors

Creates a *Vectors instance from a *Image for cloud inference.

func NewVectorsMap

func NewVectorsMap(vectors map[string]*Vector) *Vectors

Creates a *Vectors instance for a map of named *Vector.

func NewVectorsMulti

func NewVectorsMulti(vectors [][]float32) *Vectors

Creates a *Vectors instance for multi vectors.

func NewVectorsObject

func NewVectorsObject(object *InferenceObject) *Vectors

Creates a *Vectors instance from a *InferenceObject for cloud inference.

func NewVectorsSparse

func NewVectorsSparse(indices []uint32, values []float32) *Vectors

Creates a *Vectors instance for sparse vectors.

func (*Vectors) Descriptor deprecated

func (*Vectors) Descriptor() ([]byte, []int)

Deprecated: Use Vectors.ProtoReflect.Descriptor instead.

func (*Vectors) GetVector

func (x *Vectors) GetVector() *Vector

func (*Vectors) GetVectors

func (x *Vectors) GetVectors() *NamedVectors

func (*Vectors) GetVectorsOptions

func (m *Vectors) GetVectorsOptions() isVectors_VectorsOptions

func (*Vectors) ProtoMessage

func (*Vectors) ProtoMessage()

func (*Vectors) ProtoReflect

func (x *Vectors) ProtoReflect() protoreflect.Message

func (*Vectors) Reset

func (x *Vectors) Reset()

func (*Vectors) String

func (x *Vectors) String() string

type VectorsConfig

type VectorsConfig struct {

	// Types that are assignable to Config:
	//
	//	*VectorsConfig_Params
	//	*VectorsConfig_ParamsMap
	Config isVectorsConfig_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func NewVectorsConfig

func NewVectorsConfig(params *VectorParams) *VectorsConfig

Creates a *VectorsConfig instance from *VectorParams.

func NewVectorsConfigMap

func NewVectorsConfigMap(paramsMap map[string]*VectorParams) *VectorsConfig

Creates a *VectorsConfig instance from a map of *VectorParams.

func (*VectorsConfig) Descriptor deprecated

func (*VectorsConfig) Descriptor() ([]byte, []int)

Deprecated: Use VectorsConfig.ProtoReflect.Descriptor instead.

func (*VectorsConfig) GetConfig

func (m *VectorsConfig) GetConfig() isVectorsConfig_Config

func (*VectorsConfig) GetParams

func (x *VectorsConfig) GetParams() *VectorParams

func (*VectorsConfig) GetParamsMap

func (x *VectorsConfig) GetParamsMap() *VectorParamsMap

func (*VectorsConfig) ProtoMessage

func (*VectorsConfig) ProtoMessage()

func (*VectorsConfig) ProtoReflect

func (x *VectorsConfig) ProtoReflect() protoreflect.Message

func (*VectorsConfig) Reset

func (x *VectorsConfig) Reset()

func (*VectorsConfig) String

func (x *VectorsConfig) String() string

type VectorsConfigDiff

type VectorsConfigDiff struct {

	// Types that are assignable to Config:
	//
	//	*VectorsConfigDiff_Params
	//	*VectorsConfigDiff_ParamsMap
	Config isVectorsConfigDiff_Config `protobuf_oneof:"config"`
	// contains filtered or unexported fields
}

func NewVectorsConfigDiff

func NewVectorsConfigDiff(params *VectorParamsDiff) *VectorsConfigDiff

Creates a *VectorsConfigDiff instance from *VectorParamsDiff.

func NewVectorsConfigDiffMap

func NewVectorsConfigDiffMap(paramsMap map[string]*VectorParamsDiff) *VectorsConfigDiff

Creates a *VectorsConfigDiff instance from a map of *VectorParamsDiff.

func (*VectorsConfigDiff) Descriptor deprecated

func (*VectorsConfigDiff) Descriptor() ([]byte, []int)

Deprecated: Use VectorsConfigDiff.ProtoReflect.Descriptor instead.

func (*VectorsConfigDiff) GetConfig

func (m *VectorsConfigDiff) GetConfig() isVectorsConfigDiff_Config

func (*VectorsConfigDiff) GetParams

func (x *VectorsConfigDiff) GetParams() *VectorParamsDiff

func (*VectorsConfigDiff) GetParamsMap

func (x *VectorsConfigDiff) GetParamsMap() *VectorParamsDiffMap

func (*VectorsConfigDiff) ProtoMessage

func (*VectorsConfigDiff) ProtoMessage()

func (*VectorsConfigDiff) ProtoReflect

func (x *VectorsConfigDiff) ProtoReflect() protoreflect.Message

func (*VectorsConfigDiff) Reset

func (x *VectorsConfigDiff) Reset()

func (*VectorsConfigDiff) String

func (x *VectorsConfigDiff) String() string

type VectorsConfigDiff_Params

type VectorsConfigDiff_Params struct {
	Params *VectorParamsDiff `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
}

type VectorsConfigDiff_ParamsMap

type VectorsConfigDiff_ParamsMap struct {
	ParamsMap *VectorParamsDiffMap `protobuf:"bytes,2,opt,name=params_map,json=paramsMap,proto3,oneof"`
}

type VectorsConfig_Params

type VectorsConfig_Params struct {
	Params *VectorParams `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
}

type VectorsConfig_ParamsMap

type VectorsConfig_ParamsMap struct {
	ParamsMap *VectorParamsMap `protobuf:"bytes,2,opt,name=params_map,json=paramsMap,proto3,oneof"`
}

type VectorsOutput

type VectorsOutput struct {

	// Types that are assignable to VectorsOptions:
	//
	//	*VectorsOutput_Vector
	//	*VectorsOutput_Vectors
	VectorsOptions isVectorsOutput_VectorsOptions `protobuf_oneof:"vectors_options"`
	// contains filtered or unexported fields
}

func (*VectorsOutput) Descriptor deprecated

func (*VectorsOutput) Descriptor() ([]byte, []int)

Deprecated: Use VectorsOutput.ProtoReflect.Descriptor instead.

func (*VectorsOutput) GetVector

func (x *VectorsOutput) GetVector() *VectorOutput

func (*VectorsOutput) GetVectors

func (x *VectorsOutput) GetVectors() *NamedVectorsOutput

func (*VectorsOutput) GetVectorsOptions

func (m *VectorsOutput) GetVectorsOptions() isVectorsOutput_VectorsOptions

func (*VectorsOutput) ProtoMessage

func (*VectorsOutput) ProtoMessage()

func (*VectorsOutput) ProtoReflect

func (x *VectorsOutput) ProtoReflect() protoreflect.Message

func (*VectorsOutput) Reset

func (x *VectorsOutput) Reset()

func (*VectorsOutput) String

func (x *VectorsOutput) String() string

type VectorsOutput_Vector

type VectorsOutput_Vector struct {
	Vector *VectorOutput `protobuf:"bytes,1,opt,name=vector,proto3,oneof"`
}

type VectorsOutput_Vectors

type VectorsOutput_Vectors struct {
	Vectors *NamedVectorsOutput `protobuf:"bytes,2,opt,name=vectors,proto3,oneof"`
}

type VectorsSelector

type VectorsSelector struct {
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // List of vectors to include into result
	// contains filtered or unexported fields
}

func (*VectorsSelector) Descriptor deprecated

func (*VectorsSelector) Descriptor() ([]byte, []int)

Deprecated: Use VectorsSelector.ProtoReflect.Descriptor instead.

func (*VectorsSelector) GetNames

func (x *VectorsSelector) GetNames() []string

func (*VectorsSelector) ProtoMessage

func (*VectorsSelector) ProtoMessage()

func (*VectorsSelector) ProtoReflect

func (x *VectorsSelector) ProtoReflect() protoreflect.Message

func (*VectorsSelector) Reset

func (x *VectorsSelector) Reset()

func (*VectorsSelector) String

func (x *VectorsSelector) String() string

type Vectors_Vector

type Vectors_Vector struct {
	Vector *Vector `protobuf:"bytes,1,opt,name=vector,proto3,oneof"`
}

type Vectors_Vectors

type Vectors_Vectors struct {
	Vectors *NamedVectors `protobuf:"bytes,2,opt,name=vectors,proto3,oneof"`
}

type Version

type Version struct {
	Major int
	Minor int
}

func ParseVersion

func ParseVersion(versionStr string) (*Version, error)

ParseVersion converts a version string "x.y[.z]" into a Version struct.

type WalConfigDiff

type WalConfigDiff struct {
	WalCapacityMb    *uint64 `protobuf:"varint,1,opt,name=wal_capacity_mb,json=walCapacityMb,proto3,oneof" json:"wal_capacity_mb,omitempty"`          // Size of a single WAL block file
	WalSegmentsAhead *uint64 `protobuf:"varint,2,opt,name=wal_segments_ahead,json=walSegmentsAhead,proto3,oneof" json:"wal_segments_ahead,omitempty"` // Number of segments to create in advance
	WalRetainClosed  *uint64 `protobuf:"varint,3,opt,name=wal_retain_closed,json=walRetainClosed,proto3,oneof" json:"wal_retain_closed,omitempty"`    // Number of closed segments to retain
	// contains filtered or unexported fields
}

func (*WalConfigDiff) Descriptor deprecated

func (*WalConfigDiff) Descriptor() ([]byte, []int)

Deprecated: Use WalConfigDiff.ProtoReflect.Descriptor instead.

func (*WalConfigDiff) GetWalCapacityMb

func (x *WalConfigDiff) GetWalCapacityMb() uint64

func (*WalConfigDiff) GetWalRetainClosed

func (x *WalConfigDiff) GetWalRetainClosed() uint64

func (*WalConfigDiff) GetWalSegmentsAhead

func (x *WalConfigDiff) GetWalSegmentsAhead() uint64

func (*WalConfigDiff) ProtoMessage

func (*WalConfigDiff) ProtoMessage()

func (*WalConfigDiff) ProtoReflect

func (x *WalConfigDiff) ProtoReflect() protoreflect.Message

func (*WalConfigDiff) Reset

func (x *WalConfigDiff) Reset()

func (*WalConfigDiff) String

func (x *WalConfigDiff) String() string

type WithLookup

type WithLookup struct {
	Collection  string               `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`                            // Name of the collection to use for points lookup
	WithPayload *WithPayloadSelector `protobuf:"bytes,2,opt,name=with_payload,json=withPayload,proto3,oneof" json:"with_payload,omitempty"` // Options for specifying which payload to include (or not)
	WithVectors *WithVectorsSelector `protobuf:"bytes,3,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include (or not)
	// contains filtered or unexported fields
}

func (*WithLookup) Descriptor deprecated

func (*WithLookup) Descriptor() ([]byte, []int)

Deprecated: Use WithLookup.ProtoReflect.Descriptor instead.

func (*WithLookup) GetCollection

func (x *WithLookup) GetCollection() string

func (*WithLookup) GetWithPayload

func (x *WithLookup) GetWithPayload() *WithPayloadSelector

func (*WithLookup) GetWithVectors

func (x *WithLookup) GetWithVectors() *WithVectorsSelector

func (*WithLookup) ProtoMessage

func (*WithLookup) ProtoMessage()

func (*WithLookup) ProtoReflect

func (x *WithLookup) ProtoReflect() protoreflect.Message

func (*WithLookup) Reset

func (x *WithLookup) Reset()

func (*WithLookup) String

func (x *WithLookup) String() string

type WithPayloadSelector

type WithPayloadSelector struct {

	// Types that are assignable to SelectorOptions:
	//
	//	*WithPayloadSelector_Enable
	//	*WithPayloadSelector_Include
	//	*WithPayloadSelector_Exclude
	SelectorOptions isWithPayloadSelector_SelectorOptions `protobuf_oneof:"selector_options"`
	// contains filtered or unexported fields
}

func NewWithPayload

func NewWithPayload(enable bool) *WithPayloadSelector

Creates a *WithPayloadSelector instance with payload enabled/disabled. This is an alias for NewWithPayloadEnable().

func NewWithPayloadEnable

func NewWithPayloadEnable(enable bool) *WithPayloadSelector

Creates a *WithPayloadSelector instance with payload enabled/disabled.

func NewWithPayloadExclude

func NewWithPayloadExclude(exclude ...string) *WithPayloadSelector

Creates a *WithPayloadSelector instance with payload fields excluded.

func NewWithPayloadInclude

func NewWithPayloadInclude(include ...string) *WithPayloadSelector

Creates a *WithPayloadSelector instance with payload fields included.

func (*WithPayloadSelector) Descriptor deprecated

func (*WithPayloadSelector) Descriptor() ([]byte, []int)

Deprecated: Use WithPayloadSelector.ProtoReflect.Descriptor instead.

func (*WithPayloadSelector) GetEnable

func (x *WithPayloadSelector) GetEnable() bool

func (*WithPayloadSelector) GetExclude

func (*WithPayloadSelector) GetInclude

func (*WithPayloadSelector) GetSelectorOptions

func (m *WithPayloadSelector) GetSelectorOptions() isWithPayloadSelector_SelectorOptions

func (*WithPayloadSelector) ProtoMessage

func (*WithPayloadSelector) ProtoMessage()

func (*WithPayloadSelector) ProtoReflect

func (x *WithPayloadSelector) ProtoReflect() protoreflect.Message

func (*WithPayloadSelector) Reset

func (x *WithPayloadSelector) Reset()

func (*WithPayloadSelector) String

func (x *WithPayloadSelector) String() string

type WithPayloadSelector_Enable

type WithPayloadSelector_Enable struct {
	Enable bool `protobuf:"varint,1,opt,name=enable,proto3,oneof"` // If `true` - return all payload, if `false` - none
}

type WithPayloadSelector_Exclude

type WithPayloadSelector_Exclude struct {
	Exclude *PayloadExcludeSelector `protobuf:"bytes,3,opt,name=exclude,proto3,oneof"`
}

type WithPayloadSelector_Include

type WithPayloadSelector_Include struct {
	Include *PayloadIncludeSelector `protobuf:"bytes,2,opt,name=include,proto3,oneof"`
}

type WithVectorsSelector

type WithVectorsSelector struct {

	// Types that are assignable to SelectorOptions:
	//
	//	*WithVectorsSelector_Enable
	//	*WithVectorsSelector_Include
	SelectorOptions isWithVectorsSelector_SelectorOptions `protobuf_oneof:"selector_options"`
	// contains filtered or unexported fields
}

func NewWithVectors

func NewWithVectors(enable bool) *WithVectorsSelector

Creates a *WithVectorsSelector instance with vectors enabled/disabled. This is an alias for NewWithVectorsEnable().

func NewWithVectorsEnable

func NewWithVectorsEnable(enable bool) *WithVectorsSelector

Creates a *WithVectorsSelector instance with vectors enabled/disabled.

func NewWithVectorsInclude

func NewWithVectorsInclude(names ...string) *WithVectorsSelector

Creates a *WithVectorsSelector instance with vectors included.

func (*WithVectorsSelector) Descriptor deprecated

func (*WithVectorsSelector) Descriptor() ([]byte, []int)

Deprecated: Use WithVectorsSelector.ProtoReflect.Descriptor instead.

func (*WithVectorsSelector) GetEnable

func (x *WithVectorsSelector) GetEnable() bool

func (*WithVectorsSelector) GetInclude

func (x *WithVectorsSelector) GetInclude() *VectorsSelector

func (*WithVectorsSelector) GetSelectorOptions

func (m *WithVectorsSelector) GetSelectorOptions() isWithVectorsSelector_SelectorOptions

func (*WithVectorsSelector) ProtoMessage

func (*WithVectorsSelector) ProtoMessage()

func (*WithVectorsSelector) ProtoReflect

func (x *WithVectorsSelector) ProtoReflect() protoreflect.Message

func (*WithVectorsSelector) Reset

func (x *WithVectorsSelector) Reset()

func (*WithVectorsSelector) String

func (x *WithVectorsSelector) String() string

type WithVectorsSelector_Enable

type WithVectorsSelector_Enable struct {
	Enable bool `protobuf:"varint,1,opt,name=enable,proto3,oneof"` // If `true` - return all vectors, if `false` - none
}

type WithVectorsSelector_Include

type WithVectorsSelector_Include struct {
	Include *VectorsSelector `protobuf:"bytes,2,opt,name=include,proto3,oneof"` // List of payload keys to include into result
}

type WriteOrdering

type WriteOrdering struct {
	Type WriteOrderingType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.WriteOrderingType" json:"type,omitempty"` // Write ordering guarantees
	// contains filtered or unexported fields
}

func (*WriteOrdering) Descriptor deprecated

func (*WriteOrdering) Descriptor() ([]byte, []int)

Deprecated: Use WriteOrdering.ProtoReflect.Descriptor instead.

func (*WriteOrdering) GetType

func (x *WriteOrdering) GetType() WriteOrderingType

func (*WriteOrdering) ProtoMessage

func (*WriteOrdering) ProtoMessage()

func (*WriteOrdering) ProtoReflect

func (x *WriteOrdering) ProtoReflect() protoreflect.Message

func (*WriteOrdering) Reset

func (x *WriteOrdering) Reset()

func (*WriteOrdering) String

func (x *WriteOrdering) String() string

type WriteOrderingType

type WriteOrderingType int32
const (
	WriteOrderingType_Weak   WriteOrderingType = 0 // Write operations may be reordered, works faster, default
	WriteOrderingType_Medium WriteOrderingType = 1 // Write operations go through dynamically selected leader, may be inconsistent for a short period of time in case of leader change
	WriteOrderingType_Strong WriteOrderingType = 2 // Write operations go through the permanent leader, consistent, but may be unavailable if leader is down
)

func (WriteOrderingType) Descriptor

func (WriteOrderingType) Enum

func (WriteOrderingType) EnumDescriptor deprecated

func (WriteOrderingType) EnumDescriptor() ([]byte, []int)

Deprecated: Use WriteOrderingType.Descriptor instead.

func (WriteOrderingType) Number

func (WriteOrderingType) String

func (x WriteOrderingType) String() string

func (WriteOrderingType) Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL