go_client

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 9 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

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

Enum value maps for Datatype.

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",
	}
	PayloadSchemaType_value = map[string]int32{
		"UnknownType": 0,
		"Keyword":     1,
		"Integer":     2,
		"Float":       3,
		"Geo":         4,
		"Text":        5,
		"Bool":        6,
		"Datetime":    7,
	}
)

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 (
	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",
	}
	ReplicaState_value = map[string]int32{
		"Active":          0,
		"Dead":            1,
		"Partial":         2,
		"Initializing":    3,
		"Listener":        4,
		"PartialSnapshot": 5,
		"Recovery":        6,
	}
)

Enum value maps for ReplicaState.

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

Enum value maps for ShardTransferMethod.

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",
	}
	FieldType_value = map[string]int32{
		"FieldTypeKeyword":  0,
		"FieldTypeInteger":  1,
		"FieldTypeFloat":    2,
		"FieldTypeGeo":      3,
		"FieldTypeText":     4,
		"FieldTypeBool":     5,
		"FieldTypeDatetime": 6,
	}
)

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",
	}
	RecommendStrategy_value = map[string]int32{
		"AverageVector": 0,
		"BestScore":     1,
	}
)

Enum value maps for RecommendStrategy.

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_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,
		},
	},
	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 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 added in v0.8.4

func RegisterSnapshotsServer(s grpc.ServiceRegistrar, srv SnapshotsServer)

Types

type AbortShardTransfer added in v1.9.0

type AbortShardTransfer struct {
	ShardId    uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	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 added in v1.9.0

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

Deprecated: Use AbortShardTransfer.ProtoReflect.Descriptor instead.

func (*AbortShardTransfer) GetFromPeerId added in v1.9.0

func (x *AbortShardTransfer) GetFromPeerId() uint64

func (*AbortShardTransfer) GetShardId added in v1.9.0

func (x *AbortShardTransfer) GetShardId() uint32

func (*AbortShardTransfer) GetToPeerId added in v1.9.0

func (x *AbortShardTransfer) GetToPeerId() uint64

func (*AbortShardTransfer) ProtoMessage added in v1.9.0

func (*AbortShardTransfer) ProtoMessage()

func (*AbortShardTransfer) ProtoReflect added in v1.9.0

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

func (*AbortShardTransfer) Reset added in v1.9.0

func (x *AbortShardTransfer) Reset()

func (*AbortShardTransfer) String added in v1.9.0

func (x *AbortShardTransfer) String() string

type AliasDescription added in v1.0.0

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 added in v1.0.0

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

Deprecated: Use AliasDescription.ProtoReflect.Descriptor instead.

func (*AliasDescription) GetAliasName added in v1.0.0

func (x *AliasDescription) GetAliasName() string

func (*AliasDescription) GetCollectionName added in v1.0.0

func (x *AliasDescription) GetCollectionName() string

func (*AliasDescription) ProtoMessage added in v1.0.0

func (*AliasDescription) ProtoMessage()

func (*AliasDescription) ProtoReflect added in v1.0.0

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

func (*AliasDescription) Reset added in v1.0.0

func (x *AliasDescription) Reset()

func (*AliasDescription) String added in v1.0.0

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 (*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 added in v0.10.0

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

func (*BatchResult) Descriptor deprecated added in v0.10.0

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

Deprecated: Use BatchResult.ProtoReflect.Descriptor instead.

func (*BatchResult) GetResult added in v0.10.0

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

func (*BatchResult) ProtoMessage added in v0.10.0

func (*BatchResult) ProtoMessage()

func (*BatchResult) ProtoReflect added in v0.10.0

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

func (*BatchResult) Reset added in v0.10.0

func (x *BatchResult) Reset()

func (*BatchResult) String added in v0.10.0

func (x *BatchResult) String() string

type BinaryQuantization added in v1.5.0

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
	// contains filtered or unexported fields
}

func (*BinaryQuantization) Descriptor deprecated added in v1.5.0

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

Deprecated: Use BinaryQuantization.ProtoReflect.Descriptor instead.

func (*BinaryQuantization) GetAlwaysRam added in v1.5.0

func (x *BinaryQuantization) GetAlwaysRam() bool

func (*BinaryQuantization) ProtoMessage added in v1.5.0

func (*BinaryQuantization) ProtoMessage()

func (*BinaryQuantization) ProtoReflect added in v1.5.0

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

func (*BinaryQuantization) Reset added in v1.5.0

func (x *BinaryQuantization) Reset()

func (*BinaryQuantization) String added in v1.5.0

func (x *BinaryQuantization) 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 added in v1.0.0

func (x *ClearPayloadPoints) GetOrdering() *WriteOrdering

func (*ClearPayloadPoints) GetPoints

func (x *ClearPayloadPoints) GetPoints() *PointsSelector

func (*ClearPayloadPoints) GetShardKeySelector added in v1.7.0

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 CollectionClusterInfoRequest added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use CollectionClusterInfoRequest.ProtoReflect.Descriptor instead.

func (*CollectionClusterInfoRequest) GetCollectionName added in v1.2.0

func (x *CollectionClusterInfoRequest) GetCollectionName() string

func (*CollectionClusterInfoRequest) ProtoMessage added in v1.2.0

func (*CollectionClusterInfoRequest) ProtoMessage()

func (*CollectionClusterInfoRequest) ProtoReflect added in v1.2.0

func (*CollectionClusterInfoRequest) Reset added in v1.2.0

func (x *CollectionClusterInfoRequest) Reset()

func (*CollectionClusterInfoRequest) String added in v1.2.0

type CollectionClusterInfoResponse added in v1.2.0

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
	// contains filtered or unexported fields
}

func (*CollectionClusterInfoResponse) Descriptor deprecated added in v1.2.0

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

Deprecated: Use CollectionClusterInfoResponse.ProtoReflect.Descriptor instead.

func (*CollectionClusterInfoResponse) GetLocalShards added in v1.2.0

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

func (*CollectionClusterInfoResponse) GetPeerId added in v1.2.0

func (x *CollectionClusterInfoResponse) GetPeerId() uint64

func (*CollectionClusterInfoResponse) GetRemoteShards added in v1.2.0

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

func (*CollectionClusterInfoResponse) GetShardCount added in v1.2.0

func (x *CollectionClusterInfoResponse) GetShardCount() uint64

func (*CollectionClusterInfoResponse) GetShardTransfers added in v1.2.0

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

func (*CollectionClusterInfoResponse) ProtoMessage added in v1.2.0

func (*CollectionClusterInfoResponse) ProtoMessage()

func (*CollectionClusterInfoResponse) ProtoReflect added in v1.2.0

func (*CollectionClusterInfoResponse) Reset added in v1.2.0

func (x *CollectionClusterInfoResponse) Reset()

func (*CollectionClusterInfoResponse) String added in v1.2.0

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
	// 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) GetOptimizerConfig

func (x *CollectionConfig) GetOptimizerConfig() *OptimizersConfigDiff

func (*CollectionConfig) GetParams

func (x *CollectionConfig) GetParams() *CollectionParams

func (*CollectionConfig) GetQuantizationConfig added in v1.1.0

func (x *CollectionConfig) GetQuantizationConfig() *QuantizationConfig

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 added in v1.8.0

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

func (*CollectionExists) Descriptor deprecated added in v1.8.0

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

Deprecated: Use CollectionExists.ProtoReflect.Descriptor instead.

func (*CollectionExists) GetExists added in v1.8.0

func (x *CollectionExists) GetExists() bool

func (*CollectionExists) ProtoMessage added in v1.8.0

func (*CollectionExists) ProtoMessage()

func (*CollectionExists) ProtoReflect added in v1.8.0

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

func (*CollectionExists) Reset added in v1.8.0

func (x *CollectionExists) Reset()

func (*CollectionExists) String added in v1.8.0

func (x *CollectionExists) String() string

type CollectionExistsRequest added in v1.8.0

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 added in v1.8.0

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

Deprecated: Use CollectionExistsRequest.ProtoReflect.Descriptor instead.

func (*CollectionExistsRequest) GetCollectionName added in v1.8.0

func (x *CollectionExistsRequest) GetCollectionName() string

func (*CollectionExistsRequest) ProtoMessage added in v1.8.0

func (*CollectionExistsRequest) ProtoMessage()

func (*CollectionExistsRequest) ProtoReflect added in v1.8.0

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

func (*CollectionExistsRequest) Reset added in v1.8.0

func (x *CollectionExistsRequest) Reset()

func (*CollectionExistsRequest) String added in v1.8.0

func (x *CollectionExistsRequest) String() string

type CollectionExistsResponse added in v1.8.0

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 added in v1.8.0

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

Deprecated: Use CollectionExistsResponse.ProtoReflect.Descriptor instead.

func (*CollectionExistsResponse) GetResult added in v1.8.0

func (*CollectionExistsResponse) GetTime added in v1.8.0

func (x *CollectionExistsResponse) GetTime() float64

func (*CollectionExistsResponse) ProtoMessage added in v1.8.0

func (*CollectionExistsResponse) ProtoMessage()

func (*CollectionExistsResponse) ProtoReflect added in v1.8.0

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

func (*CollectionExistsResponse) Reset added in v1.8.0

func (x *CollectionExistsResponse) Reset()

func (*CollectionExistsResponse) String added in v1.8.0

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
	VectorsCount    *uint64                       `protobuf:"varint,3,opt,name=vectors_count,json=vectorsCount,proto3,oneof" json:"vectors_count,omitempty"`   // Approximate number of vectors in the collection
	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 */
	// 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 added in v0.9.0

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 added in v0.8.3

func (x *CollectionInfo) GetPointsCount() uint64

func (*CollectionInfo) GetSegmentsCount

func (x *CollectionInfo) GetSegmentsCount() uint64

func (*CollectionInfo) GetStatus

func (x *CollectionInfo) GetStatus() CollectionStatus

func (*CollectionInfo) GetVectorsCount

func (x *CollectionInfo) GetVectorsCount() uint64

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 added in v1.6.0

func (x *CollectionParams) GetReadFanOutFactor() uint32

func (*CollectionParams) GetReplicationFactor added in v0.11.0

func (x *CollectionParams) GetReplicationFactor() uint32

func (*CollectionParams) GetShardNumber

func (x *CollectionParams) GetShardNumber() uint32

func (*CollectionParams) GetShardingMethod added in v1.7.0

func (x *CollectionParams) GetShardingMethod() ShardingMethod

func (*CollectionParams) GetSparseVectorsConfig added in v1.7.0

func (x *CollectionParams) GetSparseVectorsConfig() *SparseVectorConfig

func (*CollectionParams) GetVectorsConfig added in v0.10.0

func (x *CollectionParams) GetVectorsConfig() *VectorsConfig

func (*CollectionParams) GetWriteConsistencyFactor added in v0.11.0

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 added in v0.11.0

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 added in v0.11.0

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

Deprecated: Use CollectionParamsDiff.ProtoReflect.Descriptor instead.

func (*CollectionParamsDiff) GetOnDiskPayload added in v1.4.1

func (x *CollectionParamsDiff) GetOnDiskPayload() bool

func (*CollectionParamsDiff) GetReadFanOutFactor added in v1.6.0

func (x *CollectionParamsDiff) GetReadFanOutFactor() uint32

func (*CollectionParamsDiff) GetReplicationFactor added in v0.11.0

func (x *CollectionParamsDiff) GetReplicationFactor() uint32

func (*CollectionParamsDiff) GetWriteConsistencyFactor added in v0.11.0

func (x *CollectionParamsDiff) GetWriteConsistencyFactor() uint32

func (*CollectionParamsDiff) ProtoMessage added in v0.11.0

func (*CollectionParamsDiff) ProtoMessage()

func (*CollectionParamsDiff) ProtoReflect added in v0.11.0

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

func (*CollectionParamsDiff) Reset added in v0.11.0

func (x *CollectionParamsDiff) Reset()

func (*CollectionParamsDiff) String added in v0.11.0

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 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 added in v1.2.0

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 added in v1.2.0

func (CompressionRatio) Enum added in v1.2.0

func (CompressionRatio) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use CompressionRatio.Descriptor instead.

func (CompressionRatio) Number added in v1.2.0

func (CompressionRatio) String added in v1.2.0

func (x CompressionRatio) String() string

func (CompressionRatio) Type added in v1.2.0

type Condition

type Condition struct {

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

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) GetIsEmpty

func (x *Condition) GetIsEmpty() *IsEmptyCondition

func (*Condition) GetIsNull added in v1.1.1

func (x *Condition) GetIsNull() *IsNullCondition

func (*Condition) GetNested added in v1.2.0

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_IsEmpty

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

type Condition_IsNull added in v1.1.1

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

type Condition_Nested added in v1.2.0

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

type ContextExamplePair added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use ContextExamplePair.ProtoReflect.Descriptor instead.

func (*ContextExamplePair) GetNegative added in v1.7.0

func (x *ContextExamplePair) GetNegative() *VectorExample

func (*ContextExamplePair) GetPositive added in v1.7.0

func (x *ContextExamplePair) GetPositive() *VectorExample

func (*ContextExamplePair) ProtoMessage added in v1.7.0

func (*ContextExamplePair) ProtoMessage()

func (*ContextExamplePair) ProtoReflect added in v1.7.0

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

func (*ContextExamplePair) Reset added in v1.7.0

func (x *ContextExamplePair) Reset()

func (*ContextExamplePair) String added in v1.7.0

func (x *ContextExamplePair) String() string

type CountPoints added in v0.8.4

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
	// contains filtered or unexported fields
}

func (*CountPoints) Descriptor deprecated added in v0.8.4

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

Deprecated: Use CountPoints.ProtoReflect.Descriptor instead.

func (*CountPoints) GetCollectionName added in v0.8.4

func (x *CountPoints) GetCollectionName() string

func (*CountPoints) GetExact added in v0.8.4

func (x *CountPoints) GetExact() bool

func (*CountPoints) GetFilter added in v0.8.4

func (x *CountPoints) GetFilter() *Filter

func (*CountPoints) GetReadConsistency added in v1.7.0

func (x *CountPoints) GetReadConsistency() *ReadConsistency

func (*CountPoints) GetShardKeySelector added in v1.7.0

func (x *CountPoints) GetShardKeySelector() *ShardKeySelector

func (*CountPoints) ProtoMessage added in v0.8.4

func (*CountPoints) ProtoMessage()

func (*CountPoints) ProtoReflect added in v0.8.4

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

func (*CountPoints) Reset added in v0.8.4

func (x *CountPoints) Reset()

func (*CountPoints) String added in v0.8.4

func (x *CountPoints) String() string

type CountResponse added in v0.8.4

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
	// contains filtered or unexported fields
}

func (*CountResponse) Descriptor deprecated added in v0.8.4

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

Deprecated: Use CountResponse.ProtoReflect.Descriptor instead.

func (*CountResponse) GetResult added in v0.8.4

func (x *CountResponse) GetResult() *CountResult

func (*CountResponse) GetTime added in v0.8.4

func (x *CountResponse) GetTime() float64

func (*CountResponse) ProtoMessage added in v0.8.4

func (*CountResponse) ProtoMessage()

func (*CountResponse) ProtoReflect added in v0.8.4

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

func (*CountResponse) Reset added in v0.8.4

func (x *CountResponse) Reset()

func (*CountResponse) String added in v0.8.4

func (x *CountResponse) String() string

type CountResult added in v0.8.4

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

func (*CountResult) Descriptor deprecated added in v0.8.4

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

Deprecated: Use CountResult.ProtoReflect.Descriptor instead.

func (*CountResult) GetCount added in v0.8.4

func (x *CountResult) GetCount() uint64

func (*CountResult) ProtoMessage added in v0.8.4

func (*CountResult) ProtoMessage()

func (*CountResult) ProtoReflect added in v0.8.4

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

func (*CountResult) Reset added in v0.8.4

func (x *CountResult) Reset()

func (*CountResult) String added in v0.8.4

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 */
	InitFromCollection *string             `protobuf:"bytes,13,opt,name=init_from_collection,json=initFromCollection,proto3,oneof" json:"init_from_collection,omitempty"` // Specify name of the other collection to copy data from
	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 */
	// 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) GetInitFromCollection added in v1.0.0

func (x *CreateCollection) GetInitFromCollection() string

func (*CreateCollection) GetOnDiskPayload

func (x *CreateCollection) GetOnDiskPayload() bool

func (*CreateCollection) GetOptimizersConfig

func (x *CreateCollection) GetOptimizersConfig() *OptimizersConfigDiff

func (*CreateCollection) GetQuantizationConfig added in v1.1.0

func (x *CreateCollection) GetQuantizationConfig() *QuantizationConfig

func (*CreateCollection) GetReplicationFactor added in v0.11.0

func (x *CreateCollection) GetReplicationFactor() uint32

func (*CreateCollection) GetShardNumber

func (x *CreateCollection) GetShardNumber() uint32

func (*CreateCollection) GetShardingMethod added in v1.7.0

func (x *CreateCollection) GetShardingMethod() ShardingMethod

func (*CreateCollection) GetSparseVectorsConfig added in v1.7.0

func (x *CreateCollection) GetSparseVectorsConfig() *SparseVectorConfig

func (*CreateCollection) GetTimeout

func (x *CreateCollection) GetTimeout() uint64

func (*CreateCollection) GetVectorsConfig added in v0.10.0

func (x *CreateCollection) GetVectorsConfig() *VectorsConfig

func (*CreateCollection) GetWalConfig

func (x *CreateCollection) GetWalConfig() *WalConfigDiff

func (*CreateCollection) GetWriteConsistencyFactor added in v0.11.0

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 added in v0.10.0

func (x *CreateFieldIndexCollection) GetFieldIndexParams() *PayloadIndexParams

func (*CreateFieldIndexCollection) GetFieldName

func (x *CreateFieldIndexCollection) GetFieldName() string

func (*CreateFieldIndexCollection) GetFieldType

func (x *CreateFieldIndexCollection) GetFieldType() FieldType

func (*CreateFieldIndexCollection) GetOrdering added in v1.0.0

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 added in v0.8.5

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

func (*CreateFullSnapshotRequest) Descriptor deprecated added in v0.8.5

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

Deprecated: Use CreateFullSnapshotRequest.ProtoReflect.Descriptor instead.

func (*CreateFullSnapshotRequest) ProtoMessage added in v0.8.5

func (*CreateFullSnapshotRequest) ProtoMessage()

func (*CreateFullSnapshotRequest) ProtoReflect added in v0.8.5

func (*CreateFullSnapshotRequest) Reset added in v0.8.5

func (x *CreateFullSnapshotRequest) Reset()

func (*CreateFullSnapshotRequest) String added in v0.8.5

func (x *CreateFullSnapshotRequest) String() string

type CreateShardKey added in v1.7.0

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
	// contains filtered or unexported fields
}

func (*CreateShardKey) Descriptor deprecated added in v1.7.0

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

Deprecated: Use CreateShardKey.ProtoReflect.Descriptor instead.

func (*CreateShardKey) GetPlacement added in v1.7.0

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

func (*CreateShardKey) GetReplicationFactor added in v1.7.0

func (x *CreateShardKey) GetReplicationFactor() uint32

func (*CreateShardKey) GetShardKey added in v1.7.0

func (x *CreateShardKey) GetShardKey() *ShardKey

func (*CreateShardKey) GetShardsNumber added in v1.7.0

func (x *CreateShardKey) GetShardsNumber() uint32

func (*CreateShardKey) ProtoMessage added in v1.7.0

func (*CreateShardKey) ProtoMessage()

func (*CreateShardKey) ProtoReflect added in v1.7.0

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

func (*CreateShardKey) Reset added in v1.7.0

func (x *CreateShardKey) Reset()

func (*CreateShardKey) String added in v1.7.0

func (x *CreateShardKey) String() string

type CreateShardKeyRequest added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use CreateShardKeyRequest.ProtoReflect.Descriptor instead.

func (*CreateShardKeyRequest) GetCollectionName added in v1.7.0

func (x *CreateShardKeyRequest) GetCollectionName() string

func (*CreateShardKeyRequest) GetRequest added in v1.7.0

func (x *CreateShardKeyRequest) GetRequest() *CreateShardKey

func (*CreateShardKeyRequest) GetTimeout added in v1.7.0

func (x *CreateShardKeyRequest) GetTimeout() uint64

func (*CreateShardKeyRequest) ProtoMessage added in v1.7.0

func (*CreateShardKeyRequest) ProtoMessage()

func (*CreateShardKeyRequest) ProtoReflect added in v1.7.0

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

func (*CreateShardKeyRequest) Reset added in v1.7.0

func (x *CreateShardKeyRequest) Reset()

func (*CreateShardKeyRequest) String added in v1.7.0

func (x *CreateShardKeyRequest) String() string

type CreateShardKeyResponse added in v1.7.0

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

func (*CreateShardKeyResponse) Descriptor deprecated added in v1.7.0

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

Deprecated: Use CreateShardKeyResponse.ProtoReflect.Descriptor instead.

func (*CreateShardKeyResponse) GetResult added in v1.7.0

func (x *CreateShardKeyResponse) GetResult() bool

func (*CreateShardKeyResponse) ProtoMessage added in v1.7.0

func (*CreateShardKeyResponse) ProtoMessage()

func (*CreateShardKeyResponse) ProtoReflect added in v1.7.0

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

func (*CreateShardKeyResponse) Reset added in v1.7.0

func (x *CreateShardKeyResponse) Reset()

func (*CreateShardKeyResponse) String added in v1.7.0

func (x *CreateShardKeyResponse) String() string

type CreateSnapshotRequest added in v0.8.4

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 added in v0.8.4

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

Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.

func (*CreateSnapshotRequest) GetCollectionName added in v0.8.4

func (x *CreateSnapshotRequest) GetCollectionName() string

func (*CreateSnapshotRequest) ProtoMessage added in v0.8.4

func (*CreateSnapshotRequest) ProtoMessage()

func (*CreateSnapshotRequest) ProtoReflect added in v0.8.4

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

func (*CreateSnapshotRequest) Reset added in v0.8.4

func (x *CreateSnapshotRequest) Reset()

func (*CreateSnapshotRequest) String added in v0.8.4

func (x *CreateSnapshotRequest) String() string

type CreateSnapshotResponse added in v0.8.4

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 added in v0.8.4

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

Deprecated: Use CreateSnapshotResponse.ProtoReflect.Descriptor instead.

func (*CreateSnapshotResponse) GetSnapshotDescription added in v0.8.4

func (x *CreateSnapshotResponse) GetSnapshotDescription() *SnapshotDescription

func (*CreateSnapshotResponse) GetTime added in v0.8.4

func (x *CreateSnapshotResponse) GetTime() float64

func (*CreateSnapshotResponse) ProtoMessage added in v0.8.4

func (*CreateSnapshotResponse) ProtoMessage()

func (*CreateSnapshotResponse) ProtoReflect added in v0.8.4

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

func (*CreateSnapshotResponse) Reset added in v0.8.4

func (x *CreateSnapshotResponse) Reset()

func (*CreateSnapshotResponse) String added in v0.8.4

func (x *CreateSnapshotResponse) String() string

type Datatype added in v1.9.0

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

func (Datatype) Descriptor added in v1.9.0

func (Datatype) Descriptor() protoreflect.EnumDescriptor

func (Datatype) Enum added in v1.9.0

func (x Datatype) Enum() *Datatype

func (Datatype) EnumDescriptor deprecated added in v1.9.0

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

Deprecated: Use Datatype.Descriptor instead.

func (Datatype) Number added in v1.9.0

func (x Datatype) Number() protoreflect.EnumNumber

func (Datatype) String added in v1.9.0

func (x Datatype) String() string

func (Datatype) Type added in v1.9.0

type DatetimeRange added in v1.8.0

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 added in v1.8.0

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

Deprecated: Use DatetimeRange.ProtoReflect.Descriptor instead.

func (*DatetimeRange) GetGt added in v1.8.0

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

func (*DatetimeRange) GetGte added in v1.8.0

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

func (*DatetimeRange) GetLt added in v1.8.0

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

func (*DatetimeRange) GetLte added in v1.8.0

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

func (*DatetimeRange) ProtoMessage added in v1.8.0

func (*DatetimeRange) ProtoMessage()

func (*DatetimeRange) ProtoReflect added in v1.8.0

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

func (*DatetimeRange) Reset added in v1.8.0

func (x *DatetimeRange) Reset()

func (*DatetimeRange) String added in v1.8.0

func (x *DatetimeRange) 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 added in v1.0.0

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 added in v1.0.0

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 added in v1.0.0

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

Deprecated: Use DeleteFullSnapshotRequest.ProtoReflect.Descriptor instead.

func (*DeleteFullSnapshotRequest) GetSnapshotName added in v1.0.0

func (x *DeleteFullSnapshotRequest) GetSnapshotName() string

func (*DeleteFullSnapshotRequest) ProtoMessage added in v1.0.0

func (*DeleteFullSnapshotRequest) ProtoMessage()

func (*DeleteFullSnapshotRequest) ProtoReflect added in v1.0.0

func (*DeleteFullSnapshotRequest) Reset added in v1.0.0

func (x *DeleteFullSnapshotRequest) Reset()

func (*DeleteFullSnapshotRequest) String added in v1.0.0

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 added in v1.0.0

func (x *DeletePayloadPoints) GetOrdering() *WriteOrdering

func (*DeletePayloadPoints) GetPointsSelector added in v0.11.5

func (x *DeletePayloadPoints) GetPointsSelector() *PointsSelector

func (*DeletePayloadPoints) GetShardKeySelector added in v1.7.0

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 added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use DeletePointVectors.ProtoReflect.Descriptor instead.

func (*DeletePointVectors) GetCollectionName added in v1.2.0

func (x *DeletePointVectors) GetCollectionName() string

func (*DeletePointVectors) GetOrdering added in v1.2.0

func (x *DeletePointVectors) GetOrdering() *WriteOrdering

func (*DeletePointVectors) GetPointsSelector added in v1.2.0

func (x *DeletePointVectors) GetPointsSelector() *PointsSelector

func (*DeletePointVectors) GetShardKeySelector added in v1.7.0

func (x *DeletePointVectors) GetShardKeySelector() *ShardKeySelector

func (*DeletePointVectors) GetVectors added in v1.2.0

func (x *DeletePointVectors) GetVectors() *VectorsSelector

func (*DeletePointVectors) GetWait added in v1.2.0

func (x *DeletePointVectors) GetWait() bool

func (*DeletePointVectors) ProtoMessage added in v1.2.0

func (*DeletePointVectors) ProtoMessage()

func (*DeletePointVectors) ProtoReflect added in v1.2.0

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

func (*DeletePointVectors) Reset added in v1.2.0

func (x *DeletePointVectors) Reset()

func (*DeletePointVectors) String added in v1.2.0

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 added in v1.0.0

func (x *DeletePoints) GetOrdering() *WriteOrdering

func (*DeletePoints) GetPoints

func (x *DeletePoints) GetPoints() *PointsSelector

func (*DeletePoints) GetShardKeySelector added in v1.7.0

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 added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use DeleteShardKey.ProtoReflect.Descriptor instead.

func (*DeleteShardKey) GetShardKey added in v1.7.0

func (x *DeleteShardKey) GetShardKey() *ShardKey

func (*DeleteShardKey) ProtoMessage added in v1.7.0

func (*DeleteShardKey) ProtoMessage()

func (*DeleteShardKey) ProtoReflect added in v1.7.0

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

func (*DeleteShardKey) Reset added in v1.7.0

func (x *DeleteShardKey) Reset()

func (*DeleteShardKey) String added in v1.7.0

func (x *DeleteShardKey) String() string

type DeleteShardKeyRequest added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use DeleteShardKeyRequest.ProtoReflect.Descriptor instead.

func (*DeleteShardKeyRequest) GetCollectionName added in v1.7.0

func (x *DeleteShardKeyRequest) GetCollectionName() string

func (*DeleteShardKeyRequest) GetRequest added in v1.7.0

func (x *DeleteShardKeyRequest) GetRequest() *DeleteShardKey

func (*DeleteShardKeyRequest) GetTimeout added in v1.7.0

func (x *DeleteShardKeyRequest) GetTimeout() uint64

func (*DeleteShardKeyRequest) ProtoMessage added in v1.7.0

func (*DeleteShardKeyRequest) ProtoMessage()

func (*DeleteShardKeyRequest) ProtoReflect added in v1.7.0

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

func (*DeleteShardKeyRequest) Reset added in v1.7.0

func (x *DeleteShardKeyRequest) Reset()

func (*DeleteShardKeyRequest) String added in v1.7.0

func (x *DeleteShardKeyRequest) String() string

type DeleteShardKeyResponse added in v1.7.0

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

func (*DeleteShardKeyResponse) Descriptor deprecated added in v1.7.0

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

Deprecated: Use DeleteShardKeyResponse.ProtoReflect.Descriptor instead.

func (*DeleteShardKeyResponse) GetResult added in v1.7.0

func (x *DeleteShardKeyResponse) GetResult() bool

func (*DeleteShardKeyResponse) ProtoMessage added in v1.7.0

func (*DeleteShardKeyResponse) ProtoMessage()

func (*DeleteShardKeyResponse) ProtoReflect added in v1.7.0

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

func (*DeleteShardKeyResponse) Reset added in v1.7.0

func (x *DeleteShardKeyResponse) Reset()

func (*DeleteShardKeyResponse) String added in v1.7.0

func (x *DeleteShardKeyResponse) String() string

type DeleteSnapshotRequest added in v1.0.0

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 added in v1.0.0

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

Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotRequest) GetCollectionName added in v1.0.0

func (x *DeleteSnapshotRequest) GetCollectionName() string

func (*DeleteSnapshotRequest) GetSnapshotName added in v1.0.0

func (x *DeleteSnapshotRequest) GetSnapshotName() string

func (*DeleteSnapshotRequest) ProtoMessage added in v1.0.0

func (*DeleteSnapshotRequest) ProtoMessage()

func (*DeleteSnapshotRequest) ProtoReflect added in v1.0.0

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

func (*DeleteSnapshotRequest) Reset added in v1.0.0

func (x *DeleteSnapshotRequest) Reset()

func (*DeleteSnapshotRequest) String added in v1.0.0

func (x *DeleteSnapshotRequest) String() string

type DeleteSnapshotResponse added in v1.0.0

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 added in v1.0.0

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

Deprecated: Use DeleteSnapshotResponse.ProtoReflect.Descriptor instead.

func (*DeleteSnapshotResponse) GetTime added in v1.0.0

func (x *DeleteSnapshotResponse) GetTime() float64

func (*DeleteSnapshotResponse) ProtoMessage added in v1.0.0

func (*DeleteSnapshotResponse) ProtoMessage()

func (*DeleteSnapshotResponse) ProtoReflect added in v1.0.0

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

func (*DeleteSnapshotResponse) Reset added in v1.0.0

func (x *DeleteSnapshotResponse) Reset()

func (*DeleteSnapshotResponse) String added in v1.0.0

func (x *DeleteSnapshotResponse) String() string

type Direction added in v1.8.0

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

func (Direction) Descriptor added in v1.8.0

func (Direction) Descriptor() protoreflect.EnumDescriptor

func (Direction) Enum added in v1.8.0

func (x Direction) Enum() *Direction

func (Direction) EnumDescriptor deprecated added in v1.8.0

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

Deprecated: Use Direction.Descriptor instead.

func (Direction) Number added in v1.8.0

func (x Direction) Number() protoreflect.EnumNumber

func (Direction) String added in v1.8.0

func (x Direction) String() string

func (Direction) Type added in v1.8.0

type Disabled added in v1.4.1

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

func (*Disabled) Descriptor deprecated added in v1.4.1

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

Deprecated: Use Disabled.ProtoReflect.Descriptor instead.

func (*Disabled) ProtoMessage added in v1.4.1

func (*Disabled) ProtoMessage()

func (*Disabled) ProtoReflect added in v1.4.1

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

func (*Disabled) Reset added in v1.4.1

func (x *Disabled) Reset()

func (*Disabled) String added in v1.4.1

func (x *Disabled) String() string

type DiscoverBatchPoints added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use DiscoverBatchPoints.ProtoReflect.Descriptor instead.

func (*DiscoverBatchPoints) GetCollectionName added in v1.7.0

func (x *DiscoverBatchPoints) GetCollectionName() string

func (*DiscoverBatchPoints) GetDiscoverPoints added in v1.7.0

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

func (*DiscoverBatchPoints) GetReadConsistency added in v1.7.0

func (x *DiscoverBatchPoints) GetReadConsistency() *ReadConsistency

func (*DiscoverBatchPoints) GetTimeout added in v1.7.0

func (x *DiscoverBatchPoints) GetTimeout() uint64

func (*DiscoverBatchPoints) ProtoMessage added in v1.7.0

func (*DiscoverBatchPoints) ProtoMessage()

func (*DiscoverBatchPoints) ProtoReflect added in v1.7.0

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

func (*DiscoverBatchPoints) Reset added in v1.7.0

func (x *DiscoverBatchPoints) Reset()

func (*DiscoverBatchPoints) String added in v1.7.0

func (x *DiscoverBatchPoints) String() string

type DiscoverBatchResponse added in v1.7.0

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
	// contains filtered or unexported fields
}

func (*DiscoverBatchResponse) Descriptor deprecated added in v1.7.0

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

Deprecated: Use DiscoverBatchResponse.ProtoReflect.Descriptor instead.

func (*DiscoverBatchResponse) GetResult added in v1.7.0

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

func (*DiscoverBatchResponse) GetTime added in v1.7.0

func (x *DiscoverBatchResponse) GetTime() float64

func (*DiscoverBatchResponse) ProtoMessage added in v1.7.0

func (*DiscoverBatchResponse) ProtoMessage()

func (*DiscoverBatchResponse) ProtoReflect added in v1.7.0

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

func (*DiscoverBatchResponse) Reset added in v1.7.0

func (x *DiscoverBatchResponse) Reset()

func (*DiscoverBatchResponse) String added in v1.7.0

func (x *DiscoverBatchResponse) String() string

type DiscoverPoints added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use DiscoverPoints.ProtoReflect.Descriptor instead.

func (*DiscoverPoints) GetCollectionName added in v1.7.0

func (x *DiscoverPoints) GetCollectionName() string

func (*DiscoverPoints) GetContext added in v1.7.0

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

func (*DiscoverPoints) GetFilter added in v1.7.0

func (x *DiscoverPoints) GetFilter() *Filter

func (*DiscoverPoints) GetLimit added in v1.7.0

func (x *DiscoverPoints) GetLimit() uint64

func (*DiscoverPoints) GetLookupFrom added in v1.7.0

func (x *DiscoverPoints) GetLookupFrom() *LookupLocation

func (*DiscoverPoints) GetOffset added in v1.7.0

func (x *DiscoverPoints) GetOffset() uint64

func (*DiscoverPoints) GetParams added in v1.7.0

func (x *DiscoverPoints) GetParams() *SearchParams

func (*DiscoverPoints) GetReadConsistency added in v1.7.0

func (x *DiscoverPoints) GetReadConsistency() *ReadConsistency

func (*DiscoverPoints) GetShardKeySelector added in v1.7.0

func (x *DiscoverPoints) GetShardKeySelector() *ShardKeySelector

func (*DiscoverPoints) GetTarget added in v1.7.0

func (x *DiscoverPoints) GetTarget() *TargetVector

func (*DiscoverPoints) GetTimeout added in v1.7.0

func (x *DiscoverPoints) GetTimeout() uint64

func (*DiscoverPoints) GetUsing added in v1.7.0

func (x *DiscoverPoints) GetUsing() string

func (*DiscoverPoints) GetWithPayload added in v1.7.0

func (x *DiscoverPoints) GetWithPayload() *WithPayloadSelector

func (*DiscoverPoints) GetWithVectors added in v1.7.0

func (x *DiscoverPoints) GetWithVectors() *WithVectorsSelector

func (*DiscoverPoints) ProtoMessage added in v1.7.0

func (*DiscoverPoints) ProtoMessage()

func (*DiscoverPoints) ProtoReflect added in v1.7.0

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

func (*DiscoverPoints) Reset added in v1.7.0

func (x *DiscoverPoints) Reset()

func (*DiscoverPoints) String added in v1.7.0

func (x *DiscoverPoints) String() string

type DiscoverResponse added in v1.7.0

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
	// contains filtered or unexported fields
}

func (*DiscoverResponse) Descriptor deprecated added in v1.7.0

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

Deprecated: Use DiscoverResponse.ProtoReflect.Descriptor instead.

func (*DiscoverResponse) GetResult added in v1.7.0

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

func (*DiscoverResponse) GetTime added in v1.7.0

func (x *DiscoverResponse) GetTime() float64

func (*DiscoverResponse) ProtoMessage added in v1.7.0

func (*DiscoverResponse) ProtoMessage()

func (*DiscoverResponse) ProtoReflect added in v1.7.0

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

func (*DiscoverResponse) Reset added in v1.7.0

func (x *DiscoverResponse) Reset()

func (*DiscoverResponse) String added in v1.7.0

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 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
	// contains filtered or unexported fields
}

func (*FieldCondition) Descriptor deprecated

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

Deprecated: Use FieldCondition.ProtoReflect.Descriptor instead.

func (*FieldCondition) GetDatetimeRange added in v1.8.0

func (x *FieldCondition) GetDatetimeRange() *DatetimeRange

func (*FieldCondition) GetGeoBoundingBox

func (x *FieldCondition) GetGeoBoundingBox() *GeoBoundingBox

func (*FieldCondition) GetGeoPolygon added in v1.6.0

func (x *FieldCondition) GetGeoPolygon() *GeoPolygon

func (*FieldCondition) GetGeoRadius

func (x *FieldCondition) GetGeoRadius() *GeoRadius

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
)

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 added in v1.8.0

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 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 GeoLineString added in v1.6.0

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 added in v1.6.0

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

Deprecated: Use GeoLineString.ProtoReflect.Descriptor instead.

func (*GeoLineString) GetPoints added in v1.6.0

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

func (*GeoLineString) ProtoMessage added in v1.6.0

func (*GeoLineString) ProtoMessage()

func (*GeoLineString) ProtoReflect added in v1.6.0

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

func (*GeoLineString) Reset added in v1.6.0

func (x *GeoLineString) Reset()

func (*GeoLineString) String added in v1.6.0

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 added in v1.4.1

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 added in v1.4.1

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

Deprecated: Use GeoPolygon.ProtoReflect.Descriptor instead.

func (*GeoPolygon) GetExterior added in v1.6.0

func (x *GeoPolygon) GetExterior() *GeoLineString

func (*GeoPolygon) GetInteriors added in v1.6.0

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

func (*GeoPolygon) ProtoMessage added in v1.4.1

func (*GeoPolygon) ProtoMessage()

func (*GeoPolygon) ProtoReflect added in v1.4.1

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

func (*GeoPolygon) Reset added in v1.4.1

func (x *GeoPolygon) Reset()

func (*GeoPolygon) String added in v1.4.1

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
	// 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 added in v1.0.0

func (x *GetPoints) GetReadConsistency() *ReadConsistency

func (*GetPoints) GetShardKeySelector added in v1.7.0

func (x *GetPoints) GetShardKeySelector() *ShardKeySelector

func (*GetPoints) GetWithPayload

func (x *GetPoints) GetWithPayload() *WithPayloadSelector

func (*GetPoints) GetWithVectors added in v0.10.0

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
	// 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) 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 added in v1.2.0

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 (*GroupId) Descriptor deprecated added in v1.2.0

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

Deprecated: Use GroupId.ProtoReflect.Descriptor instead.

func (*GroupId) GetIntegerValue added in v1.2.0

func (x *GroupId) GetIntegerValue() int64

func (*GroupId) GetKind added in v1.2.0

func (m *GroupId) GetKind() isGroupId_Kind

func (*GroupId) GetStringValue added in v1.2.0

func (x *GroupId) GetStringValue() string

func (*GroupId) GetUnsignedValue added in v1.2.0

func (x *GroupId) GetUnsignedValue() uint64

func (*GroupId) ProtoMessage added in v1.2.0

func (*GroupId) ProtoMessage()

func (*GroupId) ProtoReflect added in v1.2.0

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

func (*GroupId) Reset added in v1.2.0

func (x *GroupId) Reset()

func (*GroupId) String added in v1.2.0

func (x *GroupId) String() string

type GroupId_IntegerValue added in v1.2.0

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

type GroupId_StringValue added in v1.2.0

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

type GroupId_UnsignedValue added in v1.2.0

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

type GroupsResult added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use GroupsResult.ProtoReflect.Descriptor instead.

func (*GroupsResult) GetGroups added in v1.2.0

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

func (*GroupsResult) ProtoMessage added in v1.2.0

func (*GroupsResult) ProtoMessage()

func (*GroupsResult) ProtoReflect added in v1.2.0

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

func (*GroupsResult) Reset added in v1.2.0

func (x *GroupsResult) Reset()

func (*GroupsResult) String added in v1.2.0

func (x *GroupsResult) 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 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 added in v1.8.0

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 (in KiloBytes) of vectors for additional payload-based indexing.
	// If the payload chunk is smaller than `full_scan_threshold` additional indexing won't be used -
	// in this case full-scan search should be preferred by query planner and additional indexing is not required.
	// Note: 1 Kb = 1 vector of size 256
	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"`
	// 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) GetM

func (x *HnswConfigDiff) GetM() uint64

func (*HnswConfigDiff) GetMaxIndexingThreads added in v0.8.4

func (x *HnswConfigDiff) GetMaxIndexingThreads() uint64

func (*HnswConfigDiff) GetOnDisk added in v0.11.4

func (x *HnswConfigDiff) GetOnDisk() bool

func (*HnswConfigDiff) GetPayloadM added in v0.11.5

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 IntegerIndexParams added in v1.8.0

type IntegerIndexParams struct {
	Lookup bool `protobuf:"varint,1,opt,name=lookup,proto3" json:"lookup,omitempty"` // If true - support direct lookups.
	Range  bool `protobuf:"varint,2,opt,name=range,proto3" json:"range,omitempty"`   // If true - support ranges filters.
	// contains filtered or unexported fields
}

func (*IntegerIndexParams) Descriptor deprecated added in v1.8.0

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

Deprecated: Use IntegerIndexParams.ProtoReflect.Descriptor instead.

func (*IntegerIndexParams) GetLookup added in v1.8.0

func (x *IntegerIndexParams) GetLookup() bool

func (*IntegerIndexParams) GetRange added in v1.8.0

func (x *IntegerIndexParams) GetRange() bool

func (*IntegerIndexParams) ProtoMessage added in v1.8.0

func (*IntegerIndexParams) ProtoMessage()

func (*IntegerIndexParams) ProtoReflect added in v1.8.0

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

func (*IntegerIndexParams) Reset added in v1.8.0

func (x *IntegerIndexParams) Reset()

func (*IntegerIndexParams) String added in v1.8.0

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 added in v1.1.1

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

func (*IsNullCondition) Descriptor deprecated added in v1.1.1

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

Deprecated: Use IsNullCondition.ProtoReflect.Descriptor instead.

func (*IsNullCondition) GetKey added in v1.1.1

func (x *IsNullCondition) GetKey() string

func (*IsNullCondition) ProtoMessage added in v1.1.1

func (*IsNullCondition) ProtoMessage()

func (*IsNullCondition) ProtoReflect added in v1.1.1

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

func (*IsNullCondition) Reset added in v1.1.1

func (x *IsNullCondition) Reset()

func (*IsNullCondition) String added in v1.1.1

func (x *IsNullCondition) String() string

type ListAliasesRequest added in v1.0.0

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

func (*ListAliasesRequest) Descriptor deprecated added in v1.0.0

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

Deprecated: Use ListAliasesRequest.ProtoReflect.Descriptor instead.

func (*ListAliasesRequest) ProtoMessage added in v1.0.0

func (*ListAliasesRequest) ProtoMessage()

func (*ListAliasesRequest) ProtoReflect added in v1.0.0

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

func (*ListAliasesRequest) Reset added in v1.0.0

func (x *ListAliasesRequest) Reset()

func (*ListAliasesRequest) String added in v1.0.0

func (x *ListAliasesRequest) String() string

type ListAliasesResponse added in v1.0.0

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 added in v1.0.0

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

Deprecated: Use ListAliasesResponse.ProtoReflect.Descriptor instead.

func (*ListAliasesResponse) GetAliases added in v1.0.0

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

func (*ListAliasesResponse) GetTime added in v1.0.0

func (x *ListAliasesResponse) GetTime() float64

func (*ListAliasesResponse) ProtoMessage added in v1.0.0

func (*ListAliasesResponse) ProtoMessage()

func (*ListAliasesResponse) ProtoReflect added in v1.0.0

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

func (*ListAliasesResponse) Reset added in v1.0.0

func (x *ListAliasesResponse) Reset()

func (*ListAliasesResponse) String added in v1.0.0

func (x *ListAliasesResponse) String() string

type ListCollectionAliasesRequest added in v1.0.0

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 added in v1.0.0

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

Deprecated: Use ListCollectionAliasesRequest.ProtoReflect.Descriptor instead.

func (*ListCollectionAliasesRequest) GetCollectionName added in v1.0.0

func (x *ListCollectionAliasesRequest) GetCollectionName() string

func (*ListCollectionAliasesRequest) ProtoMessage added in v1.0.0

func (*ListCollectionAliasesRequest) ProtoMessage()

func (*ListCollectionAliasesRequest) ProtoReflect added in v1.0.0

func (*ListCollectionAliasesRequest) Reset added in v1.0.0

func (x *ListCollectionAliasesRequest) Reset()

func (*ListCollectionAliasesRequest) String added in v1.0.0

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 added in v0.8.5

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

func (*ListFullSnapshotsRequest) Descriptor deprecated added in v0.8.5

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

Deprecated: Use ListFullSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListFullSnapshotsRequest) ProtoMessage added in v0.8.5

func (*ListFullSnapshotsRequest) ProtoMessage()

func (*ListFullSnapshotsRequest) ProtoReflect added in v0.8.5

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

func (*ListFullSnapshotsRequest) Reset added in v0.8.5

func (x *ListFullSnapshotsRequest) Reset()

func (*ListFullSnapshotsRequest) String added in v0.8.5

func (x *ListFullSnapshotsRequest) String() string

type ListSnapshotsRequest added in v0.8.4

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 added in v0.8.4

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

Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.

func (*ListSnapshotsRequest) GetCollectionName added in v0.8.4

func (x *ListSnapshotsRequest) GetCollectionName() string

func (*ListSnapshotsRequest) ProtoMessage added in v0.8.4

func (*ListSnapshotsRequest) ProtoMessage()

func (*ListSnapshotsRequest) ProtoReflect added in v0.8.4

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

func (*ListSnapshotsRequest) Reset added in v0.8.4

func (x *ListSnapshotsRequest) Reset()

func (*ListSnapshotsRequest) String added in v0.8.4

func (x *ListSnapshotsRequest) String() string

type ListSnapshotsResponse added in v0.8.4

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 added in v0.8.4

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

Deprecated: Use ListSnapshotsResponse.ProtoReflect.Descriptor instead.

func (*ListSnapshotsResponse) GetSnapshotDescriptions added in v0.8.4

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

func (*ListSnapshotsResponse) GetTime added in v0.8.4

func (x *ListSnapshotsResponse) GetTime() float64

func (*ListSnapshotsResponse) ProtoMessage added in v0.8.4

func (*ListSnapshotsResponse) ProtoMessage()

func (*ListSnapshotsResponse) ProtoReflect added in v0.8.4

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

func (*ListSnapshotsResponse) Reset added in v0.8.4

func (x *ListSnapshotsResponse) Reset()

func (*ListSnapshotsResponse) String added in v0.8.4

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 (*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 added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use LocalShardInfo.ProtoReflect.Descriptor instead.

func (*LocalShardInfo) GetPointsCount added in v1.2.0

func (x *LocalShardInfo) GetPointsCount() uint64

func (*LocalShardInfo) GetShardId added in v1.2.0

func (x *LocalShardInfo) GetShardId() uint32

func (*LocalShardInfo) GetShardKey added in v1.7.0

func (x *LocalShardInfo) GetShardKey() *ShardKey

func (*LocalShardInfo) GetState added in v1.2.0

func (x *LocalShardInfo) GetState() ReplicaState

func (*LocalShardInfo) ProtoMessage added in v1.2.0

func (*LocalShardInfo) ProtoMessage()

func (*LocalShardInfo) ProtoReflect added in v1.2.0

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

func (*LocalShardInfo) Reset added in v1.2.0

func (x *LocalShardInfo) Reset()

func (*LocalShardInfo) String added in v1.2.0

func (x *LocalShardInfo) String() string

type LookupLocation added in v0.11.6

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 added in v0.11.6

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

Deprecated: Use LookupLocation.ProtoReflect.Descriptor instead.

func (*LookupLocation) GetCollectionName added in v0.11.6

func (x *LookupLocation) GetCollectionName() string

func (*LookupLocation) GetShardKeySelector added in v1.7.0

func (x *LookupLocation) GetShardKeySelector() *ShardKeySelector

func (*LookupLocation) GetVectorName added in v0.11.6

func (x *LookupLocation) GetVectorName() string

func (*LookupLocation) ProtoMessage added in v0.11.6

func (*LookupLocation) ProtoMessage()

func (*LookupLocation) ProtoReflect added in v0.11.6

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

func (*LookupLocation) Reset added in v0.11.6

func (x *LookupLocation) Reset()

func (*LookupLocation) String added in v0.11.6

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
	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 added in v1.2.0

func (x *Match) GetExceptIntegers() *RepeatedIntegers

func (*Match) GetExceptKeywords added in v1.2.0

func (x *Match) GetExceptKeywords() *RepeatedStrings

func (*Match) GetInteger

func (x *Match) GetInteger() int64

func (*Match) GetIntegers added in v1.1.0

func (x *Match) GetIntegers() *RepeatedIntegers

func (*Match) GetKeyword

func (x *Match) GetKeyword() string

func (*Match) GetKeywords added in v1.1.0

func (x *Match) GetKeywords() *RepeatedStrings

func (*Match) GetMatchValue

func (m *Match) GetMatchValue() isMatch_MatchValue

func (*Match) GetText added in v0.10.0

func (x *Match) GetText() 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 added in v1.2.0

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 added in v1.2.0

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 added in v1.1.0

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 added in v1.1.0

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

type Match_Text added in v0.10.0

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

type MinShould added in v1.8.0

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 added in v1.8.0

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

Deprecated: Use MinShould.ProtoReflect.Descriptor instead.

func (*MinShould) GetConditions added in v1.8.0

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

func (*MinShould) GetMinCount added in v1.8.0

func (x *MinShould) GetMinCount() uint64

func (*MinShould) ProtoMessage added in v1.8.0

func (*MinShould) ProtoMessage()

func (*MinShould) ProtoReflect added in v1.8.0

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

func (*MinShould) Reset added in v1.8.0

func (x *MinShould) Reset()

func (*MinShould) String added in v1.8.0

func (x *MinShould) String() string

type MoveShard added in v1.2.0

type MoveShard struct {
	ShardId    uint32               `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	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 added in v1.2.0

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

Deprecated: Use MoveShard.ProtoReflect.Descriptor instead.

func (*MoveShard) GetFromPeerId added in v1.2.0

func (x *MoveShard) GetFromPeerId() uint64

func (*MoveShard) GetMethod added in v1.7.0

func (x *MoveShard) GetMethod() ShardTransferMethod

func (*MoveShard) GetShardId added in v1.2.0

func (x *MoveShard) GetShardId() uint32

func (*MoveShard) GetToPeerId added in v1.2.0

func (x *MoveShard) GetToPeerId() uint64

func (*MoveShard) ProtoMessage added in v1.2.0

func (*MoveShard) ProtoMessage()

func (*MoveShard) ProtoReflect added in v1.2.0

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

func (*MoveShard) Reset added in v1.2.0

func (x *MoveShard) Reset()

func (*MoveShard) String added in v1.2.0

func (x *MoveShard) String() string

type NamedVectors added in v0.10.0

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

func (*NamedVectors) Descriptor deprecated added in v0.10.0

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

Deprecated: Use NamedVectors.ProtoReflect.Descriptor instead.

func (*NamedVectors) GetVectors added in v0.10.0

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

func (*NamedVectors) ProtoMessage added in v0.10.0

func (*NamedVectors) ProtoMessage()

func (*NamedVectors) ProtoReflect added in v0.10.0

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

func (*NamedVectors) Reset added in v0.10.0

func (x *NamedVectors) Reset()

func (*NamedVectors) String added in v0.10.0

func (x *NamedVectors) String() string

type NestedCondition added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use NestedCondition.ProtoReflect.Descriptor instead.

func (*NestedCondition) GetFilter added in v1.2.0

func (x *NestedCondition) GetFilter() *Filter

func (*NestedCondition) GetKey added in v1.2.0

func (x *NestedCondition) GetKey() string

func (*NestedCondition) ProtoMessage added in v1.2.0

func (*NestedCondition) ProtoMessage()

func (*NestedCondition) ProtoReflect added in v1.2.0

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

func (*NestedCondition) Reset added in v1.2.0

func (x *NestedCondition) Reset()

func (*NestedCondition) String added in v1.2.0

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 */
	// 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 memmaped file.
	//
	// Memmap storage is disabled by default, to enable it, set this threshold to a reasonable value.
	//
	// To disable memmap storage, set this to `0`.
	//
	// Note: 1Kb = 1 vector of size 256
	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"`
	// Max number of threads (jobs) for running optimizations per shard.
	// Note: each optimization job will also use `max_indexing_threads` threads by itself for index building.
	// If null - have no limit and choose dynamically to saturate CPU.
	// If 0 - no optimization threads, optimizations will be disabled.
	MaxOptimizationThreads *uint64 `` /* 136-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) GetFlushIntervalSec

func (x *OptimizersConfigDiff) GetFlushIntervalSec() uint64

func (*OptimizersConfigDiff) GetIndexingThreshold

func (x *OptimizersConfigDiff) GetIndexingThreshold() uint64

func (*OptimizersConfigDiff) GetMaxOptimizationThreads

func (x *OptimizersConfigDiff) GetMaxOptimizationThreads() uint64

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 added in v1.8.0

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 added in v1.8.0

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

Deprecated: Use OrderBy.ProtoReflect.Descriptor instead.

func (*OrderBy) GetDirection added in v1.8.0

func (x *OrderBy) GetDirection() Direction

func (*OrderBy) GetKey added in v1.8.0

func (x *OrderBy) GetKey() string

func (*OrderBy) GetStartFrom added in v1.8.0

func (x *OrderBy) GetStartFrom() *StartFrom

func (*OrderBy) ProtoMessage added in v1.8.0

func (*OrderBy) ProtoMessage()

func (*OrderBy) ProtoReflect added in v1.8.0

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

func (*OrderBy) Reset added in v1.8.0

func (x *OrderBy) Reset()

func (*OrderBy) String added in v1.8.0

func (x *OrderBy) String() string

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 added in v0.10.0

type PayloadIndexParams struct {

	// Types that are assignable to IndexParams:
	//
	//	*PayloadIndexParams_TextIndexParams
	//	*PayloadIndexParams_IntegerIndexParams
	IndexParams isPayloadIndexParams_IndexParams `protobuf_oneof:"index_params"`
	// contains filtered or unexported fields
}

func (*PayloadIndexParams) Descriptor deprecated added in v0.10.0

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

Deprecated: Use PayloadIndexParams.ProtoReflect.Descriptor instead.

func (*PayloadIndexParams) GetIndexParams added in v0.10.0

func (m *PayloadIndexParams) GetIndexParams() isPayloadIndexParams_IndexParams

func (*PayloadIndexParams) GetIntegerIndexParams added in v1.8.0

func (x *PayloadIndexParams) GetIntegerIndexParams() *IntegerIndexParams

func (*PayloadIndexParams) GetTextIndexParams added in v0.10.0

func (x *PayloadIndexParams) GetTextIndexParams() *TextIndexParams

func (*PayloadIndexParams) ProtoMessage added in v0.10.0

func (*PayloadIndexParams) ProtoMessage()

func (*PayloadIndexParams) ProtoReflect added in v0.10.0

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

func (*PayloadIndexParams) Reset added in v0.10.0

func (x *PayloadIndexParams) Reset()

func (*PayloadIndexParams) String added in v0.10.0

func (x *PayloadIndexParams) String() string

type PayloadIndexParams_IntegerIndexParams added in v1.8.0

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

type PayloadIndexParams_TextIndexParams added in v0.10.0

type PayloadIndexParams_TextIndexParams struct {
	TextIndexParams *TextIndexParams `protobuf:"bytes,1,opt,name=text_index_params,json=textIndexParams,proto3,oneof"` // Parameters for text 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 added in v0.10.0

func (x *PayloadSchemaInfo) GetParams() *PayloadIndexParams

func (*PayloadSchemaInfo) GetPoints added in v0.11.0

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
)

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 added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use PointGroup.ProtoReflect.Descriptor instead.

func (*PointGroup) GetHits added in v1.2.0

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

func (*PointGroup) GetId added in v1.2.0

func (x *PointGroup) GetId() *GroupId

func (*PointGroup) GetLookup added in v1.3.0

func (x *PointGroup) GetLookup() *RetrievedPoint

func (*PointGroup) ProtoMessage added in v1.2.0

func (*PointGroup) ProtoMessage()

func (*PointGroup) ProtoReflect added in v1.2.0

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

func (*PointGroup) Reset added in v1.2.0

func (x *PointGroup) Reset()

func (*PointGroup) String added in v1.2.0

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 (*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 added in v0.10.0

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 added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use PointVectors.ProtoReflect.Descriptor instead.

func (*PointVectors) GetId added in v1.2.0

func (x *PointVectors) GetId() *PointId

func (*PointVectors) GetVectors added in v1.2.0

func (x *PointVectors) GetVectors() *Vectors

func (*PointVectors) ProtoMessage added in v1.2.0

func (*PointVectors) ProtoMessage()

func (*PointVectors) ProtoReflect added in v1.2.0

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

func (*PointVectors) Reset added in v1.2.0

func (x *PointVectors) Reset()

func (*PointVectors) String added in v1.2.0

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)
}

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
	// 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) 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 (*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)
	// contains filtered or unexported methods
}

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

type PointsUpdateOperation added in v1.5.0

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 (*PointsUpdateOperation) Descriptor deprecated added in v1.5.0

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

Deprecated: Use PointsUpdateOperation.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation) GetClearPayload added in v1.5.0

func (*PointsUpdateOperation) GetClearPayloadDeprecated deprecated added in v1.7.0

func (x *PointsUpdateOperation) GetClearPayloadDeprecated() *PointsSelector

Deprecated: Do not use.

func (*PointsUpdateOperation) GetDeleteDeprecated deprecated added in v1.7.0

func (x *PointsUpdateOperation) GetDeleteDeprecated() *PointsSelector

Deprecated: Do not use.

func (*PointsUpdateOperation) GetDeletePayload added in v1.5.0

func (*PointsUpdateOperation) GetDeletePoints added in v1.7.0

func (*PointsUpdateOperation) GetDeleteVectors added in v1.5.0

func (*PointsUpdateOperation) GetOperation added in v1.5.0

func (m *PointsUpdateOperation) GetOperation() isPointsUpdateOperation_Operation

func (*PointsUpdateOperation) GetOverwritePayload added in v1.5.0

func (x *PointsUpdateOperation) GetOverwritePayload() *PointsUpdateOperation_SetPayload

func (*PointsUpdateOperation) GetSetPayload added in v1.5.0

func (*PointsUpdateOperation) GetUpdateVectors added in v1.5.0

func (*PointsUpdateOperation) GetUpsert added in v1.5.0

func (*PointsUpdateOperation) ProtoMessage added in v1.5.0

func (*PointsUpdateOperation) ProtoMessage()

func (*PointsUpdateOperation) ProtoReflect added in v1.5.0

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

func (*PointsUpdateOperation) Reset added in v1.5.0

func (x *PointsUpdateOperation) Reset()

func (*PointsUpdateOperation) String added in v1.5.0

func (x *PointsUpdateOperation) String() string

type PointsUpdateOperation_ClearPayload added in v1.5.0

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 added in v1.7.0

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

Deprecated: Use PointsUpdateOperation_ClearPayload.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_ClearPayload) GetPoints added in v1.7.0

func (*PointsUpdateOperation_ClearPayload) GetShardKeySelector added in v1.7.0

func (x *PointsUpdateOperation_ClearPayload) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_ClearPayload) ProtoMessage added in v1.7.0

func (*PointsUpdateOperation_ClearPayload) ProtoMessage()

func (*PointsUpdateOperation_ClearPayload) ProtoReflect added in v1.7.0

func (*PointsUpdateOperation_ClearPayload) Reset added in v1.7.0

func (*PointsUpdateOperation_ClearPayload) String added in v1.7.0

type PointsUpdateOperation_ClearPayloadDeprecated added in v1.7.0

type PointsUpdateOperation_ClearPayloadDeprecated struct {
	// Deprecated: Do not use.
	ClearPayloadDeprecated *PointsSelector `protobuf:"bytes,6,opt,name=clear_payload_deprecated,json=clearPayloadDeprecated,proto3,oneof"`
}

type PointsUpdateOperation_ClearPayload_ added in v1.7.0

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

type PointsUpdateOperation_DeleteDeprecated added in v1.7.0

type PointsUpdateOperation_DeleteDeprecated struct {
	// Deprecated: Do not use.
	DeleteDeprecated *PointsSelector `protobuf:"bytes,2,opt,name=delete_deprecated,json=deleteDeprecated,proto3,oneof"`
}

type PointsUpdateOperation_DeletePayload added in v1.5.0

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 added in v1.5.0

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

Deprecated: Use PointsUpdateOperation_DeletePayload.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_DeletePayload) GetKeys added in v1.5.0

func (*PointsUpdateOperation_DeletePayload) GetPointsSelector added in v1.5.0

func (x *PointsUpdateOperation_DeletePayload) GetPointsSelector() *PointsSelector

func (*PointsUpdateOperation_DeletePayload) GetShardKeySelector added in v1.7.0

func (x *PointsUpdateOperation_DeletePayload) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_DeletePayload) ProtoMessage added in v1.5.0

func (*PointsUpdateOperation_DeletePayload) ProtoMessage()

func (*PointsUpdateOperation_DeletePayload) ProtoReflect added in v1.5.0

func (*PointsUpdateOperation_DeletePayload) Reset added in v1.5.0

func (*PointsUpdateOperation_DeletePayload) String added in v1.5.0

type PointsUpdateOperation_DeletePayload_ added in v1.5.0

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

type PointsUpdateOperation_DeletePoints added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use PointsUpdateOperation_DeletePoints.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_DeletePoints) GetPoints added in v1.7.0

func (*PointsUpdateOperation_DeletePoints) GetShardKeySelector added in v1.7.0

func (x *PointsUpdateOperation_DeletePoints) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_DeletePoints) ProtoMessage added in v1.7.0

func (*PointsUpdateOperation_DeletePoints) ProtoMessage()

func (*PointsUpdateOperation_DeletePoints) ProtoReflect added in v1.7.0

func (*PointsUpdateOperation_DeletePoints) Reset added in v1.7.0

func (*PointsUpdateOperation_DeletePoints) String added in v1.7.0

type PointsUpdateOperation_DeletePoints_ added in v1.7.0

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

type PointsUpdateOperation_DeleteVectors added in v1.5.0

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 added in v1.5.0

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

Deprecated: Use PointsUpdateOperation_DeleteVectors.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_DeleteVectors) GetPointsSelector added in v1.5.0

func (x *PointsUpdateOperation_DeleteVectors) GetPointsSelector() *PointsSelector

func (*PointsUpdateOperation_DeleteVectors) GetShardKeySelector added in v1.7.0

func (x *PointsUpdateOperation_DeleteVectors) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_DeleteVectors) GetVectors added in v1.5.0

func (*PointsUpdateOperation_DeleteVectors) ProtoMessage added in v1.5.0

func (*PointsUpdateOperation_DeleteVectors) ProtoMessage()

func (*PointsUpdateOperation_DeleteVectors) ProtoReflect added in v1.5.0

func (*PointsUpdateOperation_DeleteVectors) Reset added in v1.5.0

func (*PointsUpdateOperation_DeleteVectors) String added in v1.5.0

type PointsUpdateOperation_DeleteVectors_ added in v1.5.0

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

type PointsUpdateOperation_OverwritePayload added in v1.5.0

type PointsUpdateOperation_OverwritePayload struct {
	OverwritePayload *PointsUpdateOperation_SetPayload `protobuf:"bytes,4,opt,name=overwrite_payload,json=overwritePayload,proto3,oneof"`
}

type PointsUpdateOperation_PointStructList added in v1.5.0

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
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_PointStructList) Descriptor deprecated added in v1.5.0

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

Deprecated: Use PointsUpdateOperation_PointStructList.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_PointStructList) GetPoints added in v1.5.0

func (*PointsUpdateOperation_PointStructList) GetShardKeySelector added in v1.7.0

func (x *PointsUpdateOperation_PointStructList) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_PointStructList) ProtoMessage added in v1.5.0

func (*PointsUpdateOperation_PointStructList) ProtoMessage()

func (*PointsUpdateOperation_PointStructList) ProtoReflect added in v1.5.0

func (*PointsUpdateOperation_PointStructList) Reset added in v1.5.0

func (*PointsUpdateOperation_PointStructList) String added in v1.5.0

type PointsUpdateOperation_SetPayload added in v1.5.0

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 added in v1.5.0

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

Deprecated: Use PointsUpdateOperation_SetPayload.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_SetPayload) GetKey added in v1.8.0

func (*PointsUpdateOperation_SetPayload) GetPayload added in v1.5.0

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

func (*PointsUpdateOperation_SetPayload) GetPointsSelector added in v1.5.0

func (x *PointsUpdateOperation_SetPayload) GetPointsSelector() *PointsSelector

func (*PointsUpdateOperation_SetPayload) GetShardKeySelector added in v1.7.0

func (x *PointsUpdateOperation_SetPayload) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_SetPayload) ProtoMessage added in v1.5.0

func (*PointsUpdateOperation_SetPayload) ProtoMessage()

func (*PointsUpdateOperation_SetPayload) ProtoReflect added in v1.5.0

func (*PointsUpdateOperation_SetPayload) Reset added in v1.5.0

func (*PointsUpdateOperation_SetPayload) String added in v1.5.0

type PointsUpdateOperation_SetPayload_ added in v1.5.0

type PointsUpdateOperation_SetPayload_ struct {
	SetPayload *PointsUpdateOperation_SetPayload `protobuf:"bytes,3,opt,name=set_payload,json=setPayload,proto3,oneof"`
}

type PointsUpdateOperation_UpdateVectors added in v1.5.0

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
	// contains filtered or unexported fields
}

func (*PointsUpdateOperation_UpdateVectors) Descriptor deprecated added in v1.5.0

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

Deprecated: Use PointsUpdateOperation_UpdateVectors.ProtoReflect.Descriptor instead.

func (*PointsUpdateOperation_UpdateVectors) GetPoints added in v1.5.0

func (*PointsUpdateOperation_UpdateVectors) GetShardKeySelector added in v1.7.0

func (x *PointsUpdateOperation_UpdateVectors) GetShardKeySelector() *ShardKeySelector

func (*PointsUpdateOperation_UpdateVectors) ProtoMessage added in v1.5.0

func (*PointsUpdateOperation_UpdateVectors) ProtoMessage()

func (*PointsUpdateOperation_UpdateVectors) ProtoReflect added in v1.5.0

func (*PointsUpdateOperation_UpdateVectors) Reset added in v1.5.0

func (*PointsUpdateOperation_UpdateVectors) String added in v1.5.0

type PointsUpdateOperation_UpdateVectors_ added in v1.5.0

type PointsUpdateOperation_UpdateVectors_ struct {
	UpdateVectors *PointsUpdateOperation_UpdateVectors `protobuf:"bytes,7,opt,name=update_vectors,json=updateVectors,proto3,oneof"`
}

type PointsUpdateOperation_Upsert added in v1.5.0

type PointsUpdateOperation_Upsert struct {
	Upsert *PointsUpdateOperation_PointStructList `protobuf:"bytes,1,opt,name=upsert,proto3,oneof"`
}

type ProductQuantization added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use ProductQuantization.ProtoReflect.Descriptor instead.

func (*ProductQuantization) GetAlwaysRam added in v1.2.0

func (x *ProductQuantization) GetAlwaysRam() bool

func (*ProductQuantization) GetCompression added in v1.2.0

func (x *ProductQuantization) GetCompression() CompressionRatio

func (*ProductQuantization) ProtoMessage added in v1.2.0

func (*ProductQuantization) ProtoMessage()

func (*ProductQuantization) ProtoReflect added in v1.2.0

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

func (*ProductQuantization) Reset added in v1.2.0

func (x *ProductQuantization) Reset()

func (*ProductQuantization) String added in v1.2.0

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 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 added in v1.1.0

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 (*QuantizationConfig) Descriptor deprecated added in v1.1.0

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

Deprecated: Use QuantizationConfig.ProtoReflect.Descriptor instead.

func (*QuantizationConfig) GetBinary added in v1.5.0

func (x *QuantizationConfig) GetBinary() *BinaryQuantization

func (*QuantizationConfig) GetProduct added in v1.2.0

func (x *QuantizationConfig) GetProduct() *ProductQuantization

func (*QuantizationConfig) GetQuantization added in v1.1.0

func (m *QuantizationConfig) GetQuantization() isQuantizationConfig_Quantization

func (*QuantizationConfig) GetScalar added in v1.1.0

func (x *QuantizationConfig) GetScalar() *ScalarQuantization

func (*QuantizationConfig) ProtoMessage added in v1.1.0

func (*QuantizationConfig) ProtoMessage()

func (*QuantizationConfig) ProtoReflect added in v1.1.0

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

func (*QuantizationConfig) Reset added in v1.1.0

func (x *QuantizationConfig) Reset()

func (*QuantizationConfig) String added in v1.1.0

func (x *QuantizationConfig) String() string

type QuantizationConfigDiff added in v1.4.1

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 (*QuantizationConfigDiff) Descriptor deprecated added in v1.4.1

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

Deprecated: Use QuantizationConfigDiff.ProtoReflect.Descriptor instead.

func (*QuantizationConfigDiff) GetBinary added in v1.5.0

func (*QuantizationConfigDiff) GetDisabled added in v1.4.1

func (x *QuantizationConfigDiff) GetDisabled() *Disabled

func (*QuantizationConfigDiff) GetProduct added in v1.4.1

func (*QuantizationConfigDiff) GetQuantization added in v1.4.1

func (m *QuantizationConfigDiff) GetQuantization() isQuantizationConfigDiff_Quantization

func (*QuantizationConfigDiff) GetScalar added in v1.4.1

func (*QuantizationConfigDiff) ProtoMessage added in v1.4.1

func (*QuantizationConfigDiff) ProtoMessage()

func (*QuantizationConfigDiff) ProtoReflect added in v1.4.1

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

func (*QuantizationConfigDiff) Reset added in v1.4.1

func (x *QuantizationConfigDiff) Reset()

func (*QuantizationConfigDiff) String added in v1.4.1

func (x *QuantizationConfigDiff) String() string

type QuantizationConfigDiff_Binary added in v1.5.0

type QuantizationConfigDiff_Binary struct {
	Binary *BinaryQuantization `protobuf:"bytes,4,opt,name=binary,proto3,oneof"`
}

type QuantizationConfigDiff_Disabled added in v1.4.1

type QuantizationConfigDiff_Disabled struct {
	Disabled *Disabled `protobuf:"bytes,3,opt,name=disabled,proto3,oneof"`
}

type QuantizationConfigDiff_Product added in v1.4.1

type QuantizationConfigDiff_Product struct {
	Product *ProductQuantization `protobuf:"bytes,2,opt,name=product,proto3,oneof"`
}

type QuantizationConfigDiff_Scalar added in v1.4.1

type QuantizationConfigDiff_Scalar struct {
	Scalar *ScalarQuantization `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}

type QuantizationConfig_Binary added in v1.5.0

type QuantizationConfig_Binary struct {
	Binary *BinaryQuantization `protobuf:"bytes,3,opt,name=binary,proto3,oneof"`
}

type QuantizationConfig_Product added in v1.2.0

type QuantizationConfig_Product struct {
	Product *ProductQuantization `protobuf:"bytes,2,opt,name=product,proto3,oneof"`
}

type QuantizationConfig_Scalar added in v1.1.0

type QuantizationConfig_Scalar struct {
	Scalar *ScalarQuantization `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}

type QuantizationSearchParams added in v1.1.0

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 added in v1.1.0

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

Deprecated: Use QuantizationSearchParams.ProtoReflect.Descriptor instead.

func (*QuantizationSearchParams) GetIgnore added in v1.1.0

func (x *QuantizationSearchParams) GetIgnore() bool

func (*QuantizationSearchParams) GetOversampling added in v1.3.0

func (x *QuantizationSearchParams) GetOversampling() float64

func (*QuantizationSearchParams) GetRescore added in v1.1.0

func (x *QuantizationSearchParams) GetRescore() bool

func (*QuantizationSearchParams) ProtoMessage added in v1.1.0

func (*QuantizationSearchParams) ProtoMessage()

func (*QuantizationSearchParams) ProtoReflect added in v1.1.0

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

func (*QuantizationSearchParams) Reset added in v1.1.0

func (x *QuantizationSearchParams) Reset()

func (*QuantizationSearchParams) String added in v1.1.0

func (x *QuantizationSearchParams) String() string

type QuantizationType added in v1.1.0

type QuantizationType int32
const (
	QuantizationType_UnknownQuantization QuantizationType = 0
	QuantizationType_Int8                QuantizationType = 1
)

func (QuantizationType) Descriptor added in v1.1.0

func (QuantizationType) Enum added in v1.1.0

func (QuantizationType) EnumDescriptor deprecated added in v1.1.0

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

Deprecated: Use QuantizationType.Descriptor instead.

func (QuantizationType) Number added in v1.1.0

func (QuantizationType) String added in v1.1.0

func (x QuantizationType) String() string

func (QuantizationType) Type added in v1.1.0

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 added in v1.0.0

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 (*ReadConsistency) Descriptor deprecated added in v1.0.0

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

Deprecated: Use ReadConsistency.ProtoReflect.Descriptor instead.

func (*ReadConsistency) GetFactor added in v1.0.0

func (x *ReadConsistency) GetFactor() uint64

func (*ReadConsistency) GetType added in v1.0.0

func (x *ReadConsistency) GetType() ReadConsistencyType

func (*ReadConsistency) GetValue added in v1.0.0

func (m *ReadConsistency) GetValue() isReadConsistency_Value

func (*ReadConsistency) ProtoMessage added in v1.0.0

func (*ReadConsistency) ProtoMessage()

func (*ReadConsistency) ProtoReflect added in v1.0.0

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

func (*ReadConsistency) Reset added in v1.0.0

func (x *ReadConsistency) Reset()

func (*ReadConsistency) String added in v1.0.0

func (x *ReadConsistency) String() string

type ReadConsistencyType added in v1.0.0

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 added in v1.0.0

func (ReadConsistencyType) Enum added in v1.0.0

func (ReadConsistencyType) EnumDescriptor deprecated added in v1.0.0

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

Deprecated: Use ReadConsistencyType.Descriptor instead.

func (ReadConsistencyType) Number added in v1.0.0

func (ReadConsistencyType) String added in v1.0.0

func (x ReadConsistencyType) String() string

func (ReadConsistencyType) Type added in v1.0.0

type ReadConsistency_Factor added in v1.0.0

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 added in v1.0.0

type ReadConsistency_Type struct {
	Type ReadConsistencyType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.ReadConsistencyType,oneof"` // Common read consistency configurations
}

type RecommendBatchPoints added in v0.10.0

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 added in v0.10.0

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

Deprecated: Use RecommendBatchPoints.ProtoReflect.Descriptor instead.

func (*RecommendBatchPoints) GetCollectionName added in v0.10.0

func (x *RecommendBatchPoints) GetCollectionName() string

func (*RecommendBatchPoints) GetReadConsistency added in v1.0.0

func (x *RecommendBatchPoints) GetReadConsistency() *ReadConsistency

func (*RecommendBatchPoints) GetRecommendPoints added in v0.10.0

func (x *RecommendBatchPoints) GetRecommendPoints() []*RecommendPoints

func (*RecommendBatchPoints) GetTimeout added in v1.7.0

func (x *RecommendBatchPoints) GetTimeout() uint64

func (*RecommendBatchPoints) ProtoMessage added in v0.10.0

func (*RecommendBatchPoints) ProtoMessage()

func (*RecommendBatchPoints) ProtoReflect added in v0.10.0

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

func (*RecommendBatchPoints) Reset added in v0.10.0

func (x *RecommendBatchPoints) Reset()

func (*RecommendBatchPoints) String added in v0.10.0

func (x *RecommendBatchPoints) String() string

type RecommendBatchResponse added in v0.10.0

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
	// contains filtered or unexported fields
}

func (*RecommendBatchResponse) Descriptor deprecated added in v0.10.0

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

Deprecated: Use RecommendBatchResponse.ProtoReflect.Descriptor instead.

func (*RecommendBatchResponse) GetResult added in v0.10.0

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

func (*RecommendBatchResponse) GetTime added in v0.10.0

func (x *RecommendBatchResponse) GetTime() float64

func (*RecommendBatchResponse) ProtoMessage added in v0.10.0

func (*RecommendBatchResponse) ProtoMessage()

func (*RecommendBatchResponse) ProtoReflect added in v0.10.0

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

func (*RecommendBatchResponse) Reset added in v0.10.0

func (x *RecommendBatchResponse) Reset()

func (*RecommendBatchResponse) String added in v0.10.0

func (x *RecommendBatchResponse) String() string

type RecommendGroupsResponse added in v1.2.0

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
	// contains filtered or unexported fields
}

func (*RecommendGroupsResponse) Descriptor deprecated added in v1.2.0

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

Deprecated: Use RecommendGroupsResponse.ProtoReflect.Descriptor instead.

func (*RecommendGroupsResponse) GetResult added in v1.2.0

func (x *RecommendGroupsResponse) GetResult() *GroupsResult

func (*RecommendGroupsResponse) GetTime added in v1.2.0

func (x *RecommendGroupsResponse) GetTime() float64

func (*RecommendGroupsResponse) ProtoMessage added in v1.2.0

func (*RecommendGroupsResponse) ProtoMessage()

func (*RecommendGroupsResponse) ProtoReflect added in v1.2.0

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

func (*RecommendGroupsResponse) Reset added in v1.2.0

func (x *RecommendGroupsResponse) Reset()

func (*RecommendGroupsResponse) String added in v1.2.0

func (x *RecommendGroupsResponse) String() string

type RecommendPointGroups added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use RecommendPointGroups.ProtoReflect.Descriptor instead.

func (*RecommendPointGroups) GetCollectionName added in v1.2.0

func (x *RecommendPointGroups) GetCollectionName() string

func (*RecommendPointGroups) GetFilter added in v1.2.0

func (x *RecommendPointGroups) GetFilter() *Filter

func (*RecommendPointGroups) GetGroupBy added in v1.2.0

func (x *RecommendPointGroups) GetGroupBy() string

func (*RecommendPointGroups) GetGroupSize added in v1.2.0

func (x *RecommendPointGroups) GetGroupSize() uint32

func (*RecommendPointGroups) GetLimit added in v1.2.0

func (x *RecommendPointGroups) GetLimit() uint32

func (*RecommendPointGroups) GetLookupFrom added in v1.2.0

func (x *RecommendPointGroups) GetLookupFrom() *LookupLocation

func (*RecommendPointGroups) GetNegative added in v1.2.0

func (x *RecommendPointGroups) GetNegative() []*PointId

func (*RecommendPointGroups) GetNegativeVectors added in v1.6.0

func (x *RecommendPointGroups) GetNegativeVectors() []*Vector

func (*RecommendPointGroups) GetParams added in v1.2.0

func (x *RecommendPointGroups) GetParams() *SearchParams

func (*RecommendPointGroups) GetPositive added in v1.2.0

func (x *RecommendPointGroups) GetPositive() []*PointId

func (*RecommendPointGroups) GetPositiveVectors added in v1.6.0

func (x *RecommendPointGroups) GetPositiveVectors() []*Vector

func (*RecommendPointGroups) GetReadConsistency added in v1.2.0

func (x *RecommendPointGroups) GetReadConsistency() *ReadConsistency

func (*RecommendPointGroups) GetScoreThreshold added in v1.2.0

func (x *RecommendPointGroups) GetScoreThreshold() float32

func (*RecommendPointGroups) GetShardKeySelector added in v1.7.0

func (x *RecommendPointGroups) GetShardKeySelector() *ShardKeySelector

func (*RecommendPointGroups) GetStrategy added in v1.6.0

func (x *RecommendPointGroups) GetStrategy() RecommendStrategy

func (*RecommendPointGroups) GetTimeout added in v1.7.0

func (x *RecommendPointGroups) GetTimeout() uint64

func (*RecommendPointGroups) GetUsing added in v1.2.0

func (x *RecommendPointGroups) GetUsing() string

func (*RecommendPointGroups) GetWithLookup added in v1.3.0

func (x *RecommendPointGroups) GetWithLookup() *WithLookup

func (*RecommendPointGroups) GetWithPayload added in v1.2.0

func (x *RecommendPointGroups) GetWithPayload() *WithPayloadSelector

func (*RecommendPointGroups) GetWithVectors added in v1.2.0

func (x *RecommendPointGroups) GetWithVectors() *WithVectorsSelector

func (*RecommendPointGroups) ProtoMessage added in v1.2.0

func (*RecommendPointGroups) ProtoMessage()

func (*RecommendPointGroups) ProtoReflect added in v1.2.0

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

func (*RecommendPointGroups) Reset added in v1.2.0

func (x *RecommendPointGroups) Reset()

func (*RecommendPointGroups) String added in v1.2.0

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 added in v0.8.3

func (x *RecommendPoints) GetLimit() uint64

func (*RecommendPoints) GetLookupFrom added in v0.11.6

func (x *RecommendPoints) GetLookupFrom() *LookupLocation

func (*RecommendPoints) GetNegative

func (x *RecommendPoints) GetNegative() []*PointId

func (*RecommendPoints) GetNegativeVectors added in v1.6.0

func (x *RecommendPoints) GetNegativeVectors() []*Vector

func (*RecommendPoints) GetOffset added in v0.8.3

func (x *RecommendPoints) GetOffset() uint64

func (*RecommendPoints) GetParams

func (x *RecommendPoints) GetParams() *SearchParams

func (*RecommendPoints) GetPositive

func (x *RecommendPoints) GetPositive() []*PointId

func (*RecommendPoints) GetPositiveVectors added in v1.6.0

func (x *RecommendPoints) GetPositiveVectors() []*Vector

func (*RecommendPoints) GetReadConsistency added in v1.0.0

func (x *RecommendPoints) GetReadConsistency() *ReadConsistency

func (*RecommendPoints) GetScoreThreshold

func (x *RecommendPoints) GetScoreThreshold() float32

func (*RecommendPoints) GetShardKeySelector added in v1.7.0

func (x *RecommendPoints) GetShardKeySelector() *ShardKeySelector

func (*RecommendPoints) GetStrategy added in v1.6.0

func (x *RecommendPoints) GetStrategy() RecommendStrategy

func (*RecommendPoints) GetTimeout added in v1.7.0

func (x *RecommendPoints) GetTimeout() uint64

func (*RecommendPoints) GetUsing added in v0.10.0

func (x *RecommendPoints) GetUsing() string

func (*RecommendPoints) GetWithPayload

func (x *RecommendPoints) GetWithPayload() *WithPayloadSelector

func (*RecommendPoints) GetWithVectors added in v0.10.0

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
	// 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) 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 added in v1.6.0

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
)

func (RecommendStrategy) Descriptor added in v1.6.0

func (RecommendStrategy) Enum added in v1.6.0

func (RecommendStrategy) EnumDescriptor deprecated added in v1.6.0

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

Deprecated: Use RecommendStrategy.Descriptor instead.

func (RecommendStrategy) Number added in v1.6.0

func (RecommendStrategy) String added in v1.6.0

func (x RecommendStrategy) String() string

func (RecommendStrategy) Type added in v1.6.0

type RemoteShardInfo added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use RemoteShardInfo.ProtoReflect.Descriptor instead.

func (*RemoteShardInfo) GetPeerId added in v1.2.0

func (x *RemoteShardInfo) GetPeerId() uint64

func (*RemoteShardInfo) GetShardId added in v1.2.0

func (x *RemoteShardInfo) GetShardId() uint32

func (*RemoteShardInfo) GetShardKey added in v1.7.0

func (x *RemoteShardInfo) GetShardKey() *ShardKey

func (*RemoteShardInfo) GetState added in v1.2.0

func (x *RemoteShardInfo) GetState() ReplicaState

func (*RemoteShardInfo) ProtoMessage added in v1.2.0

func (*RemoteShardInfo) ProtoMessage()

func (*RemoteShardInfo) ProtoReflect added in v1.2.0

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

func (*RemoteShardInfo) Reset added in v1.2.0

func (x *RemoteShardInfo) Reset()

func (*RemoteShardInfo) String added in v1.2.0

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 added in v1.1.0

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 added in v1.1.0

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

Deprecated: Use RepeatedIntegers.ProtoReflect.Descriptor instead.

func (*RepeatedIntegers) GetIntegers added in v1.1.0

func (x *RepeatedIntegers) GetIntegers() []int64

func (*RepeatedIntegers) ProtoMessage added in v1.1.0

func (*RepeatedIntegers) ProtoMessage()

func (*RepeatedIntegers) ProtoReflect added in v1.1.0

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

func (*RepeatedIntegers) Reset added in v1.1.0

func (x *RepeatedIntegers) Reset()

func (*RepeatedIntegers) String added in v1.1.0

func (x *RepeatedIntegers) String() string

type RepeatedStrings added in v1.1.0

type RepeatedStrings struct {
	Strings []string `protobuf:"bytes,1,rep,name=strings,proto3" json:"strings,omitempty"`
	// contains filtered or unexported fields
}

func (*RepeatedStrings) Descriptor deprecated added in v1.1.0

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

Deprecated: Use RepeatedStrings.ProtoReflect.Descriptor instead.

func (*RepeatedStrings) GetStrings added in v1.1.0

func (x *RepeatedStrings) GetStrings() []string

func (*RepeatedStrings) ProtoMessage added in v1.1.0

func (*RepeatedStrings) ProtoMessage()

func (*RepeatedStrings) ProtoReflect added in v1.1.0

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

func (*RepeatedStrings) Reset added in v1.1.0

func (x *RepeatedStrings) Reset()

func (*RepeatedStrings) String added in v1.1.0

func (x *RepeatedStrings) String() string

type Replica added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use Replica.ProtoReflect.Descriptor instead.

func (*Replica) GetPeerId added in v1.2.0

func (x *Replica) GetPeerId() uint64

func (*Replica) GetShardId added in v1.2.0

func (x *Replica) GetShardId() uint32

func (*Replica) ProtoMessage added in v1.2.0

func (*Replica) ProtoMessage()

func (*Replica) ProtoReflect added in v1.2.0

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

func (*Replica) Reset added in v1.2.0

func (x *Replica) Reset()

func (*Replica) String added in v1.2.0

func (x *Replica) String() string

type ReplicaState added in v1.2.0

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
)

func (ReplicaState) Descriptor added in v1.2.0

func (ReplicaState) Enum added in v1.2.0

func (x ReplicaState) Enum() *ReplicaState

func (ReplicaState) EnumDescriptor deprecated added in v1.2.0

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

Deprecated: Use ReplicaState.Descriptor instead.

func (ReplicaState) Number added in v1.2.0

func (ReplicaState) String added in v1.2.0

func (x ReplicaState) String() string

func (ReplicaState) Type added in v1.2.0

type RestartTransfer added in v1.8.0

type RestartTransfer struct {
	ShardId    uint32              `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	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 added in v1.8.0

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

Deprecated: Use RestartTransfer.ProtoReflect.Descriptor instead.

func (*RestartTransfer) GetFromPeerId added in v1.8.0

func (x *RestartTransfer) GetFromPeerId() uint64

func (*RestartTransfer) GetMethod added in v1.8.0

func (x *RestartTransfer) GetMethod() ShardTransferMethod

func (*RestartTransfer) GetShardId added in v1.8.0

func (x *RestartTransfer) GetShardId() uint32

func (*RestartTransfer) GetToPeerId added in v1.8.0

func (x *RestartTransfer) GetToPeerId() uint64

func (*RestartTransfer) ProtoMessage added in v1.8.0

func (*RestartTransfer) ProtoMessage()

func (*RestartTransfer) ProtoReflect added in v1.8.0

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

func (*RestartTransfer) Reset added in v1.8.0

func (x *RestartTransfer) Reset()

func (*RestartTransfer) String added in v1.8.0

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  *Vectors          `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
	// 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) GetPayload

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

func (*RetrievedPoint) GetShardKey added in v1.7.0

func (x *RetrievedPoint) GetShardKey() *ShardKey

func (*RetrievedPoint) GetVectors added in v0.10.0

func (x *RetrievedPoint) GetVectors() *Vectors

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 ScalarQuantization added in v1.1.0

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 added in v1.1.0

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

Deprecated: Use ScalarQuantization.ProtoReflect.Descriptor instead.

func (*ScalarQuantization) GetAlwaysRam added in v1.1.0

func (x *ScalarQuantization) GetAlwaysRam() bool

func (*ScalarQuantization) GetQuantile added in v1.1.0

func (x *ScalarQuantization) GetQuantile() float32

func (*ScalarQuantization) GetType added in v1.1.0

func (x *ScalarQuantization) GetType() QuantizationType

func (*ScalarQuantization) ProtoMessage added in v1.1.0

func (*ScalarQuantization) ProtoMessage()

func (*ScalarQuantization) ProtoReflect added in v1.1.0

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

func (*ScalarQuantization) Reset added in v1.1.0

func (x *ScalarQuantization) Reset()

func (*ScalarQuantization) String added in v1.1.0

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  *Vectors  `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
	// 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) GetPayload

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

func (*ScoredPoint) GetScore

func (x *ScoredPoint) GetScore() float32

func (*ScoredPoint) GetShardKey added in v1.7.0

func (x *ScoredPoint) GetShardKey() *ShardKey

func (*ScoredPoint) GetVectors added in v0.10.0

func (x *ScoredPoint) GetVectors() *Vectors

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
	// 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 added in v1.8.0

func (x *ScrollPoints) GetOrderBy() *OrderBy

func (*ScrollPoints) GetReadConsistency added in v1.0.0

func (x *ScrollPoints) GetReadConsistency() *ReadConsistency

func (*ScrollPoints) GetShardKeySelector added in v1.7.0

func (x *ScrollPoints) GetShardKeySelector() *ShardKeySelector

func (*ScrollPoints) GetWithPayload

func (x *ScrollPoints) GetWithPayload() *WithPayloadSelector

func (*ScrollPoints) GetWithVectors added in v0.10.0

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
	// 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) 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 added in v0.10.0

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 added in v0.10.0

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

Deprecated: Use SearchBatchPoints.ProtoReflect.Descriptor instead.

func (*SearchBatchPoints) GetCollectionName added in v0.10.0

func (x *SearchBatchPoints) GetCollectionName() string

func (*SearchBatchPoints) GetReadConsistency added in v1.0.0

func (x *SearchBatchPoints) GetReadConsistency() *ReadConsistency

func (*SearchBatchPoints) GetSearchPoints added in v0.10.0

func (x *SearchBatchPoints) GetSearchPoints() []*SearchPoints

func (*SearchBatchPoints) GetTimeout added in v1.7.0

func (x *SearchBatchPoints) GetTimeout() uint64

func (*SearchBatchPoints) ProtoMessage added in v0.10.0

func (*SearchBatchPoints) ProtoMessage()

func (*SearchBatchPoints) ProtoReflect added in v0.10.0

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

func (*SearchBatchPoints) Reset added in v0.10.0

func (x *SearchBatchPoints) Reset()

func (*SearchBatchPoints) String added in v0.10.0

func (x *SearchBatchPoints) String() string

type SearchBatchResponse added in v0.10.0

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
	// contains filtered or unexported fields
}

func (*SearchBatchResponse) Descriptor deprecated added in v0.10.0

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

Deprecated: Use SearchBatchResponse.ProtoReflect.Descriptor instead.

func (*SearchBatchResponse) GetResult added in v0.10.0

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

func (*SearchBatchResponse) GetTime added in v0.10.0

func (x *SearchBatchResponse) GetTime() float64

func (*SearchBatchResponse) ProtoMessage added in v0.10.0

func (*SearchBatchResponse) ProtoMessage()

func (*SearchBatchResponse) ProtoReflect added in v0.10.0

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

func (*SearchBatchResponse) Reset added in v0.10.0

func (x *SearchBatchResponse) Reset()

func (*SearchBatchResponse) String added in v0.10.0

func (x *SearchBatchResponse) String() string

type SearchGroupsResponse added in v1.2.0

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
	// contains filtered or unexported fields
}

func (*SearchGroupsResponse) Descriptor deprecated added in v1.2.0

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

Deprecated: Use SearchGroupsResponse.ProtoReflect.Descriptor instead.

func (*SearchGroupsResponse) GetResult added in v1.2.0

func (x *SearchGroupsResponse) GetResult() *GroupsResult

func (*SearchGroupsResponse) GetTime added in v1.2.0

func (x *SearchGroupsResponse) GetTime() float64

func (*SearchGroupsResponse) ProtoMessage added in v1.2.0

func (*SearchGroupsResponse) ProtoMessage()

func (*SearchGroupsResponse) ProtoReflect added in v1.2.0

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

func (*SearchGroupsResponse) Reset added in v1.2.0

func (x *SearchGroupsResponse) Reset()

func (*SearchGroupsResponse) String added in v1.2.0

func (x *SearchGroupsResponse) 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"`
	// contains filtered or unexported fields
}

func (*SearchParams) Descriptor deprecated

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

Deprecated: Use SearchParams.ProtoReflect.Descriptor instead.

func (*SearchParams) GetExact added in v0.11.0

func (x *SearchParams) GetExact() bool

func (*SearchParams) GetHnswEf

func (x *SearchParams) GetHnswEf() uint64

func (*SearchParams) GetIndexedOnly added in v1.5.0

func (x *SearchParams) GetIndexedOnly() bool

func (*SearchParams) GetQuantization added in v1.1.0

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 added in v1.2.0

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 added in v1.2.0

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

Deprecated: Use SearchPointGroups.ProtoReflect.Descriptor instead.

func (*SearchPointGroups) GetCollectionName added in v1.2.0

func (x *SearchPointGroups) GetCollectionName() string

func (*SearchPointGroups) GetFilter added in v1.2.0

func (x *SearchPointGroups) GetFilter() *Filter

func (*SearchPointGroups) GetGroupBy added in v1.2.0

func (x *SearchPointGroups) GetGroupBy() string

func (*SearchPointGroups) GetGroupSize added in v1.2.0

func (x *SearchPointGroups) GetGroupSize() uint32

func (*SearchPointGroups) GetLimit added in v1.2.0

func (x *SearchPointGroups) GetLimit() uint32

func (*SearchPointGroups) GetParams added in v1.2.0

func (x *SearchPointGroups) GetParams() *SearchParams

func (*SearchPointGroups) GetReadConsistency added in v1.2.0

func (x *SearchPointGroups) GetReadConsistency() *ReadConsistency

func (*SearchPointGroups) GetScoreThreshold added in v1.2.0

func (x *SearchPointGroups) GetScoreThreshold() float32

func (*SearchPointGroups) GetShardKeySelector added in v1.7.0

func (x *SearchPointGroups) GetShardKeySelector() *ShardKeySelector

func (*SearchPointGroups) GetSparseIndices added in v1.7.0

func (x *SearchPointGroups) GetSparseIndices() *SparseIndices

func (*SearchPointGroups) GetTimeout added in v1.7.0

func (x *SearchPointGroups) GetTimeout() uint64

func (*SearchPointGroups) GetVector added in v1.2.0

func (x *SearchPointGroups) GetVector() []float32

func (*SearchPointGroups) GetVectorName added in v1.2.0

func (x *SearchPointGroups) GetVectorName() string

func (*SearchPointGroups) GetWithLookup added in v1.3.0

func (x *SearchPointGroups) GetWithLookup() *WithLookup

func (*SearchPointGroups) GetWithPayload added in v1.2.0

func (x *SearchPointGroups) GetWithPayload() *WithPayloadSelector

func (*SearchPointGroups) GetWithVectors added in v1.2.0

func (x *SearchPointGroups) GetWithVectors() *WithVectorsSelector

func (*SearchPointGroups) ProtoMessage added in v1.2.0

func (*SearchPointGroups) ProtoMessage()

func (*SearchPointGroups) ProtoReflect added in v1.2.0

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

func (*SearchPointGroups) Reset added in v1.2.0

func (x *SearchPointGroups) Reset()

func (*SearchPointGroups) String added in v1.2.0

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 added in v0.8.3

func (x *SearchPoints) GetLimit() uint64

func (*SearchPoints) GetOffset added in v0.8.3

func (x *SearchPoints) GetOffset() uint64

func (*SearchPoints) GetParams

func (x *SearchPoints) GetParams() *SearchParams

func (*SearchPoints) GetReadConsistency added in v1.0.0

func (x *SearchPoints) GetReadConsistency() *ReadConsistency

func (*SearchPoints) GetScoreThreshold

func (x *SearchPoints) GetScoreThreshold() float32

func (*SearchPoints) GetShardKeySelector added in v1.7.0

func (x *SearchPoints) GetShardKeySelector() *ShardKeySelector

func (*SearchPoints) GetSparseIndices added in v1.7.0

func (x *SearchPoints) GetSparseIndices() *SparseIndices

func (*SearchPoints) GetTimeout added in v1.7.0

func (x *SearchPoints) GetTimeout() uint64

func (*SearchPoints) GetVector

func (x *SearchPoints) GetVector() []float32

func (*SearchPoints) GetVectorName added in v0.10.0

func (x *SearchPoints) GetVectorName() string

func (*SearchPoints) GetWithPayload

func (x *SearchPoints) GetWithPayload() *WithPayloadSelector

func (*SearchPoints) GetWithVectors added in v0.10.0

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
	// 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) 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 added in v1.8.0

func (x *SetPayloadPoints) GetKey() string

func (*SetPayloadPoints) GetOrdering added in v1.0.0

func (x *SetPayloadPoints) GetOrdering() *WriteOrdering

func (*SetPayloadPoints) GetPayload

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

func (*SetPayloadPoints) GetPointsSelector added in v0.11.5

func (x *SetPayloadPoints) GetPointsSelector() *PointsSelector

func (*SetPayloadPoints) GetShardKeySelector added in v1.7.0

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 added in v1.7.0

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 (*ShardKey) Descriptor deprecated added in v1.7.0

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

Deprecated: Use ShardKey.ProtoReflect.Descriptor instead.

func (*ShardKey) GetKey added in v1.7.0

func (m *ShardKey) GetKey() isShardKey_Key

func (*ShardKey) GetKeyword added in v1.7.0

func (x *ShardKey) GetKeyword() string

func (*ShardKey) GetNumber added in v1.7.0

func (x *ShardKey) GetNumber() uint64

func (*ShardKey) ProtoMessage added in v1.7.0

func (*ShardKey) ProtoMessage()

func (*ShardKey) ProtoReflect added in v1.7.0

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

func (*ShardKey) Reset added in v1.7.0

func (x *ShardKey) Reset()

func (*ShardKey) String added in v1.7.0

func (x *ShardKey) String() string

type ShardKeySelector added in v1.7.0

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
	// contains filtered or unexported fields
}

--------------------------------------------- ----------------- ShardKeySelector ---------- ---------------------------------------------

func (*ShardKeySelector) Descriptor deprecated added in v1.7.0

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

Deprecated: Use ShardKeySelector.ProtoReflect.Descriptor instead.

func (*ShardKeySelector) GetShardKeys added in v1.7.0

func (x *ShardKeySelector) GetShardKeys() []*ShardKey

func (*ShardKeySelector) ProtoMessage added in v1.7.0

func (*ShardKeySelector) ProtoMessage()

func (*ShardKeySelector) ProtoReflect added in v1.7.0

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

func (*ShardKeySelector) Reset added in v1.7.0

func (x *ShardKeySelector) Reset()

func (*ShardKeySelector) String added in v1.7.0

func (x *ShardKeySelector) String() string

type ShardKey_Keyword added in v1.7.0

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

type ShardKey_Number added in v1.7.0

type ShardKey_Number struct {
	Number uint64 `protobuf:"varint,2,opt,name=number,proto3,oneof"` // Number key
}

type ShardTransferInfo added in v1.2.0

type ShardTransferInfo struct {
	ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
	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 added in v1.2.0

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

Deprecated: Use ShardTransferInfo.ProtoReflect.Descriptor instead.

func (*ShardTransferInfo) GetFrom added in v1.2.0

func (x *ShardTransferInfo) GetFrom() uint64

func (*ShardTransferInfo) GetShardId added in v1.2.0

func (x *ShardTransferInfo) GetShardId() uint32

func (*ShardTransferInfo) GetSync added in v1.2.0

func (x *ShardTransferInfo) GetSync() bool

func (*ShardTransferInfo) GetTo added in v1.2.0

func (x *ShardTransferInfo) GetTo() uint64

func (*ShardTransferInfo) ProtoMessage added in v1.2.0

func (*ShardTransferInfo) ProtoMessage()

func (*ShardTransferInfo) ProtoReflect added in v1.2.0

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

func (*ShardTransferInfo) Reset added in v1.2.0

func (x *ShardTransferInfo) Reset()

func (*ShardTransferInfo) String added in v1.2.0

func (x *ShardTransferInfo) String() string

type ShardTransferMethod added in v1.7.0

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
)

func (ShardTransferMethod) Descriptor added in v1.7.0

func (ShardTransferMethod) Enum added in v1.7.0

func (ShardTransferMethod) EnumDescriptor deprecated added in v1.7.0

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

Deprecated: Use ShardTransferMethod.Descriptor instead.

func (ShardTransferMethod) Number added in v1.7.0

func (ShardTransferMethod) String added in v1.7.0

func (x ShardTransferMethod) String() string

func (ShardTransferMethod) Type added in v1.7.0

type ShardingMethod added in v1.7.0

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 added in v1.7.0

func (ShardingMethod) Enum added in v1.7.0

func (x ShardingMethod) Enum() *ShardingMethod

func (ShardingMethod) EnumDescriptor deprecated added in v1.7.0

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

Deprecated: Use ShardingMethod.Descriptor instead.

func (ShardingMethod) Number added in v1.7.0

func (ShardingMethod) String added in v1.7.0

func (x ShardingMethod) String() string

func (ShardingMethod) Type added in v1.7.0

type SnapshotDescription added in v0.8.4

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 added in v0.8.4

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

Deprecated: Use SnapshotDescription.ProtoReflect.Descriptor instead.

func (*SnapshotDescription) GetChecksum added in v1.8.0

func (x *SnapshotDescription) GetChecksum() string

func (*SnapshotDescription) GetCreationTime added in v0.8.4

func (x *SnapshotDescription) GetCreationTime() *timestamppb.Timestamp

func (*SnapshotDescription) GetName added in v0.8.4

func (x *SnapshotDescription) GetName() string

func (*SnapshotDescription) GetSize added in v0.8.4

func (x *SnapshotDescription) GetSize() int64

func (*SnapshotDescription) ProtoMessage added in v0.8.4

func (*SnapshotDescription) ProtoMessage()

func (*SnapshotDescription) ProtoReflect added in v0.8.4

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

func (*SnapshotDescription) Reset added in v0.8.4

func (x *SnapshotDescription) Reset()

func (*SnapshotDescription) String added in v0.8.4

func (x *SnapshotDescription) String() string

type SnapshotsClient added in v0.8.4

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 added in v0.8.4

func NewSnapshotsClient(cc grpc.ClientConnInterface) SnapshotsClient

type SnapshotsServer added in v0.8.4

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 SparseIndexConfig added in v1.7.0

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"`
	// contains filtered or unexported fields
}

func (*SparseIndexConfig) Descriptor deprecated added in v1.7.0

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

Deprecated: Use SparseIndexConfig.ProtoReflect.Descriptor instead.

func (*SparseIndexConfig) GetFullScanThreshold added in v1.7.0

func (x *SparseIndexConfig) GetFullScanThreshold() uint64

func (*SparseIndexConfig) GetOnDisk added in v1.7.0

func (x *SparseIndexConfig) GetOnDisk() bool

func (*SparseIndexConfig) ProtoMessage added in v1.7.0

func (*SparseIndexConfig) ProtoMessage()

func (*SparseIndexConfig) ProtoReflect added in v1.7.0

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

func (*SparseIndexConfig) Reset added in v1.7.0

func (x *SparseIndexConfig) Reset()

func (*SparseIndexConfig) String added in v1.7.0

func (x *SparseIndexConfig) String() string

type SparseIndices added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use SparseIndices.ProtoReflect.Descriptor instead.

func (*SparseIndices) GetData added in v1.7.0

func (x *SparseIndices) GetData() []uint32

func (*SparseIndices) ProtoMessage added in v1.7.0

func (*SparseIndices) ProtoMessage()

func (*SparseIndices) ProtoReflect added in v1.7.0

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

func (*SparseIndices) Reset added in v1.7.0

func (x *SparseIndices) Reset()

func (*SparseIndices) String added in v1.7.0

func (x *SparseIndices) String() string

type SparseVectorConfig added in v1.7.0

type SparseVectorConfig struct {
	Map map[string]*SparseVectorParams `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SparseVectorConfig) Descriptor deprecated added in v1.7.0

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

Deprecated: Use SparseVectorConfig.ProtoReflect.Descriptor instead.

func (*SparseVectorConfig) GetMap added in v1.7.0

func (x *SparseVectorConfig) GetMap() map[string]*SparseVectorParams

func (*SparseVectorConfig) ProtoMessage added in v1.7.0

func (*SparseVectorConfig) ProtoMessage()

func (*SparseVectorConfig) ProtoReflect added in v1.7.0

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

func (*SparseVectorConfig) Reset added in v1.7.0

func (x *SparseVectorConfig) Reset()

func (*SparseVectorConfig) String added in v1.7.0

func (x *SparseVectorConfig) String() string

type SparseVectorParams added in v1.7.0

type SparseVectorParams struct {
	Index *SparseIndexConfig `protobuf:"bytes,1,opt,name=index,proto3,oneof" json:"index,omitempty"` // Configuration of sparse index
	// contains filtered or unexported fields
}

func (*SparseVectorParams) Descriptor deprecated added in v1.7.0

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

Deprecated: Use SparseVectorParams.ProtoReflect.Descriptor instead.

func (*SparseVectorParams) GetIndex added in v1.7.0

func (x *SparseVectorParams) GetIndex() *SparseIndexConfig

func (*SparseVectorParams) ProtoMessage added in v1.7.0

func (*SparseVectorParams) ProtoMessage()

func (*SparseVectorParams) ProtoReflect added in v1.7.0

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

func (*SparseVectorParams) Reset added in v1.7.0

func (x *SparseVectorParams) Reset()

func (*SparseVectorParams) String added in v1.7.0

func (x *SparseVectorParams) String() string

type StartFrom added in v1.8.0

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 (*StartFrom) Descriptor deprecated added in v1.8.0

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

Deprecated: Use StartFrom.ProtoReflect.Descriptor instead.

func (*StartFrom) GetDatetime added in v1.8.0

func (x *StartFrom) GetDatetime() string

func (*StartFrom) GetFloat added in v1.8.0

func (x *StartFrom) GetFloat() float64

func (*StartFrom) GetInteger added in v1.8.0

func (x *StartFrom) GetInteger() int64

func (*StartFrom) GetTimestamp added in v1.8.0

func (x *StartFrom) GetTimestamp() *timestamppb.Timestamp

func (*StartFrom) GetValue added in v1.8.0

func (m *StartFrom) GetValue() isStartFrom_Value

func (*StartFrom) ProtoMessage added in v1.8.0

func (*StartFrom) ProtoMessage()

func (*StartFrom) ProtoReflect added in v1.8.0

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

func (*StartFrom) Reset added in v1.8.0

func (x *StartFrom) Reset()

func (*StartFrom) String added in v1.8.0

func (x *StartFrom) String() string

type StartFrom_Datetime added in v1.8.0

type StartFrom_Datetime struct {
	Datetime string `protobuf:"bytes,4,opt,name=datetime,proto3,oneof"`
}

type StartFrom_Float added in v1.8.0

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

type StartFrom_Integer added in v1.8.0

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

type StartFrom_Timestamp added in v1.8.0

type StartFrom_Timestamp struct {
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3,oneof"`
}

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 (*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 TargetVector added in v1.7.0

type TargetVector struct {

	// Types that are assignable to Target:
	//
	//	*TargetVector_Single
	Target isTargetVector_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

func (*TargetVector) Descriptor deprecated added in v1.7.0

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

Deprecated: Use TargetVector.ProtoReflect.Descriptor instead.

func (*TargetVector) GetSingle added in v1.7.0

func (x *TargetVector) GetSingle() *VectorExample

func (*TargetVector) GetTarget added in v1.7.0

func (m *TargetVector) GetTarget() isTargetVector_Target

func (*TargetVector) ProtoMessage added in v1.7.0

func (*TargetVector) ProtoMessage()

func (*TargetVector) ProtoReflect added in v1.7.0

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

func (*TargetVector) Reset added in v1.7.0

func (x *TargetVector) Reset()

func (*TargetVector) String added in v1.7.0

func (x *TargetVector) String() string

type TargetVector_Single added in v1.7.0

type TargetVector_Single struct {
	Single *VectorExample `protobuf:"bytes,1,opt,name=single,proto3,oneof"`
}

type TextIndexParams added in v0.10.0

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
	// contains filtered or unexported fields
}

func (*TextIndexParams) Descriptor deprecated added in v0.10.0

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

Deprecated: Use TextIndexParams.ProtoReflect.Descriptor instead.

func (*TextIndexParams) GetLowercase added in v0.10.0

func (x *TextIndexParams) GetLowercase() bool

func (*TextIndexParams) GetMaxTokenLen added in v0.10.0

func (x *TextIndexParams) GetMaxTokenLen() uint64

func (*TextIndexParams) GetMinTokenLen added in v0.10.0

func (x *TextIndexParams) GetMinTokenLen() uint64

func (*TextIndexParams) GetTokenizer added in v0.10.0

func (x *TextIndexParams) GetTokenizer() TokenizerType

func (*TextIndexParams) ProtoMessage added in v0.10.0

func (*TextIndexParams) ProtoMessage()

func (*TextIndexParams) ProtoReflect added in v0.10.0

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

func (*TextIndexParams) Reset added in v0.10.0

func (x *TextIndexParams) Reset()

func (*TextIndexParams) String added in v0.10.0

func (x *TextIndexParams) String() string

type TokenizerType added in v0.10.0

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 added in v0.10.0

func (TokenizerType) Enum added in v0.10.0

func (x TokenizerType) Enum() *TokenizerType

func (TokenizerType) EnumDescriptor deprecated added in v0.10.0

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

Deprecated: Use TokenizerType.Descriptor instead.

func (TokenizerType) Number added in v0.10.0

func (TokenizerType) String added in v0.10.0

func (x TokenizerType) String() string

func (TokenizerType) Type added in v0.10.0

type UnimplementedCollectionsServer

type UnimplementedCollectionsServer struct {
}

UnimplementedCollectionsServer must be embedded to have forward compatible implementations.

func (UnimplementedCollectionsServer) CollectionClusterInfo added in v1.2.0

func (UnimplementedCollectionsServer) CollectionExists added in v1.8.0

func (UnimplementedCollectionsServer) Create

func (UnimplementedCollectionsServer) CreateShardKey added in v1.7.0

func (UnimplementedCollectionsServer) Delete

func (UnimplementedCollectionsServer) DeleteShardKey added in v1.7.0

func (UnimplementedCollectionsServer) ListAliases added in v1.0.0

func (UnimplementedCollectionsServer) ListCollectionAliases added in v1.0.0

func (UnimplementedCollectionsServer) Update

func (UnimplementedCollectionsServer) UpdateAliases

func (UnimplementedCollectionsServer) UpdateCollectionClusterSetup added in v1.2.0

type UnimplementedPointsServer

type UnimplementedPointsServer struct {
}

UnimplementedPointsServer must be embedded to have forward compatible implementations.

func (UnimplementedPointsServer) ClearPayload

func (UnimplementedPointsServer) Count added in v0.8.4

func (UnimplementedPointsServer) Delete

func (UnimplementedPointsServer) DeletePayload

func (UnimplementedPointsServer) DeleteVectors added in v1.2.0

func (UnimplementedPointsServer) Discover added in v1.7.0

func (UnimplementedPointsServer) DiscoverBatch added in v1.7.0

func (UnimplementedPointsServer) Get

func (UnimplementedPointsServer) OverwritePayload added in v0.11.5

func (UnimplementedPointsServer) Recommend

func (UnimplementedPointsServer) RecommendBatch added in v0.10.0

func (UnimplementedPointsServer) RecommendGroups added in v1.2.0

func (UnimplementedPointsServer) Scroll

func (UnimplementedPointsServer) Search

func (UnimplementedPointsServer) SearchBatch added in v0.10.0

func (UnimplementedPointsServer) SearchGroups added in v1.2.0

func (UnimplementedPointsServer) SetPayload

func (UnimplementedPointsServer) UpdateBatch added in v1.5.0

func (UnimplementedPointsServer) UpdateVectors added in v1.2.0

func (UnimplementedPointsServer) Upsert

type UnimplementedQdrantServer

type UnimplementedQdrantServer struct {
}

UnimplementedQdrantServer must be embedded to have forward compatible implementations.

func (UnimplementedQdrantServer) HealthCheck

type UnimplementedSnapshotsServer added in v0.8.4

type UnimplementedSnapshotsServer struct {
}

UnimplementedSnapshotsServer must be embedded to have forward compatible implementations.

func (UnimplementedSnapshotsServer) Create added in v0.8.4

func (UnimplementedSnapshotsServer) CreateFull added in v0.8.5

func (UnimplementedSnapshotsServer) Delete added in v1.0.0

func (UnimplementedSnapshotsServer) DeleteFull added in v1.0.0

func (UnimplementedSnapshotsServer) List added in v0.8.4

func (UnimplementedSnapshotsServer) ListFull added in v0.8.5

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 added in v0.8.4

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 added in v1.5.0

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 added in v1.5.0

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

Deprecated: Use UpdateBatchPoints.ProtoReflect.Descriptor instead.

func (*UpdateBatchPoints) GetCollectionName added in v1.5.0

func (x *UpdateBatchPoints) GetCollectionName() string

func (*UpdateBatchPoints) GetOperations added in v1.5.0

func (x *UpdateBatchPoints) GetOperations() []*PointsUpdateOperation

func (*UpdateBatchPoints) GetOrdering added in v1.5.0

func (x *UpdateBatchPoints) GetOrdering() *WriteOrdering

func (*UpdateBatchPoints) GetWait added in v1.5.0

func (x *UpdateBatchPoints) GetWait() bool

func (*UpdateBatchPoints) ProtoMessage added in v1.5.0

func (*UpdateBatchPoints) ProtoMessage()

func (*UpdateBatchPoints) ProtoReflect added in v1.5.0

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

func (*UpdateBatchPoints) Reset added in v1.5.0

func (x *UpdateBatchPoints) Reset()

func (*UpdateBatchPoints) String added in v1.5.0

func (x *UpdateBatchPoints) String() string

type UpdateBatchResponse added in v1.5.0

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
	// contains filtered or unexported fields
}

func (*UpdateBatchResponse) Descriptor deprecated added in v1.5.0

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

Deprecated: Use UpdateBatchResponse.ProtoReflect.Descriptor instead.

func (*UpdateBatchResponse) GetResult added in v1.5.0

func (x *UpdateBatchResponse) GetResult() []*UpdateResult

func (*UpdateBatchResponse) GetTime added in v1.5.0

func (x *UpdateBatchResponse) GetTime() float64

func (*UpdateBatchResponse) ProtoMessage added in v1.5.0

func (*UpdateBatchResponse) ProtoMessage()

func (*UpdateBatchResponse) ProtoReflect added in v1.5.0

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

func (*UpdateBatchResponse) Reset added in v1.5.0

func (x *UpdateBatchResponse) Reset()

func (*UpdateBatchResponse) String added in v1.5.0

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 */
	// 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 added in v1.4.1

func (x *UpdateCollection) GetHnswConfig() *HnswConfigDiff

func (*UpdateCollection) GetOptimizersConfig

func (x *UpdateCollection) GetOptimizersConfig() *OptimizersConfigDiff

func (*UpdateCollection) GetParams added in v0.11.0

func (x *UpdateCollection) GetParams() *CollectionParamsDiff

func (*UpdateCollection) GetQuantizationConfig added in v1.4.1

func (x *UpdateCollection) GetQuantizationConfig() *QuantizationConfigDiff

func (*UpdateCollection) GetSparseVectorsConfig added in v1.7.0

func (x *UpdateCollection) GetSparseVectorsConfig() *SparseVectorConfig

func (*UpdateCollection) GetTimeout

func (x *UpdateCollection) GetTimeout() uint64

func (*UpdateCollection) GetVectorsConfig added in v1.4.1

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 added in v1.2.0

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
	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 (*UpdateCollectionClusterSetupRequest) Descriptor deprecated added in v1.2.0

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

Deprecated: Use UpdateCollectionClusterSetupRequest.ProtoReflect.Descriptor instead.

func (*UpdateCollectionClusterSetupRequest) GetAbortTransfer added in v1.2.0

func (*UpdateCollectionClusterSetupRequest) GetCollectionName added in v1.2.0

func (x *UpdateCollectionClusterSetupRequest) GetCollectionName() string

func (*UpdateCollectionClusterSetupRequest) GetCreateShardKey added in v1.7.0

func (x *UpdateCollectionClusterSetupRequest) GetCreateShardKey() *CreateShardKey

func (*UpdateCollectionClusterSetupRequest) GetDeleteShardKey added in v1.7.0

func (x *UpdateCollectionClusterSetupRequest) GetDeleteShardKey() *DeleteShardKey

func (*UpdateCollectionClusterSetupRequest) GetDropReplica added in v1.2.0

func (x *UpdateCollectionClusterSetupRequest) GetDropReplica() *Replica

func (*UpdateCollectionClusterSetupRequest) GetMoveShard added in v1.2.0

func (*UpdateCollectionClusterSetupRequest) GetOperation added in v1.2.0

func (m *UpdateCollectionClusterSetupRequest) GetOperation() isUpdateCollectionClusterSetupRequest_Operation

func (*UpdateCollectionClusterSetupRequest) GetReplicateShard added in v1.2.0

func (x *UpdateCollectionClusterSetupRequest) GetReplicateShard() *MoveShard

func (*UpdateCollectionClusterSetupRequest) GetRestartTransfer added in v1.8.0

func (x *UpdateCollectionClusterSetupRequest) GetRestartTransfer() *RestartTransfer

func (*UpdateCollectionClusterSetupRequest) GetTimeout added in v1.2.0

func (*UpdateCollectionClusterSetupRequest) ProtoMessage added in v1.2.0

func (*UpdateCollectionClusterSetupRequest) ProtoMessage()

func (*UpdateCollectionClusterSetupRequest) ProtoReflect added in v1.2.0

func (*UpdateCollectionClusterSetupRequest) Reset added in v1.2.0

func (*UpdateCollectionClusterSetupRequest) String added in v1.2.0

type UpdateCollectionClusterSetupRequest_AbortTransfer added in v1.2.0

type UpdateCollectionClusterSetupRequest_AbortTransfer struct {
	AbortTransfer *AbortShardTransfer `protobuf:"bytes,4,opt,name=abort_transfer,json=abortTransfer,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_CreateShardKey added in v1.7.0

type UpdateCollectionClusterSetupRequest_CreateShardKey struct {
	CreateShardKey *CreateShardKey `protobuf:"bytes,7,opt,name=create_shard_key,json=createShardKey,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_DeleteShardKey added in v1.7.0

type UpdateCollectionClusterSetupRequest_DeleteShardKey struct {
	DeleteShardKey *DeleteShardKey `protobuf:"bytes,8,opt,name=delete_shard_key,json=deleteShardKey,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_DropReplica added in v1.2.0

type UpdateCollectionClusterSetupRequest_DropReplica struct {
	DropReplica *Replica `protobuf:"bytes,5,opt,name=drop_replica,json=dropReplica,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_MoveShard added in v1.2.0

type UpdateCollectionClusterSetupRequest_MoveShard struct {
	MoveShard *MoveShard `protobuf:"bytes,2,opt,name=move_shard,json=moveShard,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_ReplicateShard added in v1.2.0

type UpdateCollectionClusterSetupRequest_ReplicateShard struct {
	ReplicateShard *MoveShard `protobuf:"bytes,3,opt,name=replicate_shard,json=replicateShard,proto3,oneof"`
}

type UpdateCollectionClusterSetupRequest_RestartTransfer added in v1.8.0

type UpdateCollectionClusterSetupRequest_RestartTransfer struct {
	RestartTransfer *RestartTransfer `protobuf:"bytes,9,opt,name=restart_transfer,json=restartTransfer,proto3,oneof"`
}

type UpdateCollectionClusterSetupResponse added in v1.2.0

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

func (*UpdateCollectionClusterSetupResponse) Descriptor deprecated added in v1.2.0

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

Deprecated: Use UpdateCollectionClusterSetupResponse.ProtoReflect.Descriptor instead.

func (*UpdateCollectionClusterSetupResponse) GetResult added in v1.2.0

func (*UpdateCollectionClusterSetupResponse) ProtoMessage added in v1.2.0

func (*UpdateCollectionClusterSetupResponse) ProtoMessage()

func (*UpdateCollectionClusterSetupResponse) ProtoReflect added in v1.2.0

func (*UpdateCollectionClusterSetupResponse) Reset added in v1.2.0

func (*UpdateCollectionClusterSetupResponse) String added in v1.2.0

type UpdatePointVectors added in v1.2.0

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
	// contains filtered or unexported fields
}

func (*UpdatePointVectors) Descriptor deprecated added in v1.2.0

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

Deprecated: Use UpdatePointVectors.ProtoReflect.Descriptor instead.

func (*UpdatePointVectors) GetCollectionName added in v1.2.0

func (x *UpdatePointVectors) GetCollectionName() string

func (*UpdatePointVectors) GetOrdering added in v1.2.0

func (x *UpdatePointVectors) GetOrdering() *WriteOrdering

func (*UpdatePointVectors) GetPoints added in v1.2.0

func (x *UpdatePointVectors) GetPoints() []*PointVectors

func (*UpdatePointVectors) GetShardKeySelector added in v1.7.0

func (x *UpdatePointVectors) GetShardKeySelector() *ShardKeySelector

func (*UpdatePointVectors) GetWait added in v1.2.0

func (x *UpdatePointVectors) GetWait() bool

func (*UpdatePointVectors) ProtoMessage added in v1.2.0

func (*UpdatePointVectors) ProtoMessage()

func (*UpdatePointVectors) ProtoReflect added in v1.2.0

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

func (*UpdatePointVectors) Reset added in v1.2.0

func (x *UpdatePointVectors) Reset()

func (*UpdatePointVectors) String added in v1.2.0

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
	// 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 added in v1.0.0

func (x *UpsertPoints) GetOrdering() *WriteOrdering

func (*UpsertPoints) GetPoints

func (x *UpsertPoints) GetPoints() []*PointStruct

func (*UpsertPoints) GetShardKeySelector added in v1.7.0

func (x *UpsertPoints) GetShardKeySelector() *ShardKeySelector

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 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 (*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 added in v0.10.0

type Vector struct {
	Data    []float32      `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"`
	Indices *SparseIndices `protobuf:"bytes,2,opt,name=indices,proto3,oneof" json:"indices,omitempty"`
	// contains filtered or unexported fields
}

func (*Vector) Descriptor deprecated added in v0.10.0

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

Deprecated: Use Vector.ProtoReflect.Descriptor instead.

func (*Vector) GetData added in v0.10.0

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

func (*Vector) GetIndices added in v1.7.0

func (x *Vector) GetIndices() *SparseIndices

func (*Vector) ProtoMessage added in v0.10.0

func (*Vector) ProtoMessage()

func (*Vector) ProtoReflect added in v0.10.0

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

func (*Vector) Reset added in v0.10.0

func (x *Vector) Reset()

func (*Vector) String added in v0.10.0

func (x *Vector) String() string

type VectorExample added in v1.7.0

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 added in v1.7.0

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

Deprecated: Use VectorExample.ProtoReflect.Descriptor instead.

func (*VectorExample) GetExample added in v1.7.0

func (m *VectorExample) GetExample() isVectorExample_Example

func (*VectorExample) GetId added in v1.7.0

func (x *VectorExample) GetId() *PointId

func (*VectorExample) GetVector added in v1.7.0

func (x *VectorExample) GetVector() *Vector

func (*VectorExample) ProtoMessage added in v1.7.0

func (*VectorExample) ProtoMessage()

func (*VectorExample) ProtoReflect added in v1.7.0

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

func (*VectorExample) Reset added in v1.7.0

func (x *VectorExample) Reset()

func (*VectorExample) String added in v1.7.0

func (x *VectorExample) String() string

type VectorExample_Id added in v1.7.0

type VectorExample_Id struct {
	Id *PointId `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}

type VectorExample_Vector added in v1.7.0

type VectorExample_Vector struct {
	Vector *Vector `protobuf:"bytes,2,opt,name=vector,proto3,oneof"`
}

type VectorParams added in v0.10.0

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
	// contains filtered or unexported fields
}

func (*VectorParams) Descriptor deprecated added in v0.10.0

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

Deprecated: Use VectorParams.ProtoReflect.Descriptor instead.

func (*VectorParams) GetDatatype added in v1.9.0

func (x *VectorParams) GetDatatype() Datatype

func (*VectorParams) GetDistance added in v0.10.0

func (x *VectorParams) GetDistance() Distance

func (*VectorParams) GetHnswConfig added in v1.1.1

func (x *VectorParams) GetHnswConfig() *HnswConfigDiff

func (*VectorParams) GetOnDisk added in v1.2.0

func (x *VectorParams) GetOnDisk() bool

func (*VectorParams) GetQuantizationConfig added in v1.1.1

func (x *VectorParams) GetQuantizationConfig() *QuantizationConfig

func (*VectorParams) GetSize added in v0.10.0

func (x *VectorParams) GetSize() uint64

func (*VectorParams) ProtoMessage added in v0.10.0

func (*VectorParams) ProtoMessage()

func (*VectorParams) ProtoReflect added in v0.10.0

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

func (*VectorParams) Reset added in v0.10.0

func (x *VectorParams) Reset()

func (*VectorParams) String added in v0.10.0

func (x *VectorParams) String() string

type VectorParamsDiff added in v1.4.1

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 added in v1.4.1

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

Deprecated: Use VectorParamsDiff.ProtoReflect.Descriptor instead.

func (*VectorParamsDiff) GetHnswConfig added in v1.4.1

func (x *VectorParamsDiff) GetHnswConfig() *HnswConfigDiff

func (*VectorParamsDiff) GetOnDisk added in v1.4.1

func (x *VectorParamsDiff) GetOnDisk() bool

func (*VectorParamsDiff) GetQuantizationConfig added in v1.4.1

func (x *VectorParamsDiff) GetQuantizationConfig() *QuantizationConfigDiff

func (*VectorParamsDiff) ProtoMessage added in v1.4.1

func (*VectorParamsDiff) ProtoMessage()

func (*VectorParamsDiff) ProtoReflect added in v1.4.1

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

func (*VectorParamsDiff) Reset added in v1.4.1

func (x *VectorParamsDiff) Reset()

func (*VectorParamsDiff) String added in v1.4.1

func (x *VectorParamsDiff) String() string

type VectorParamsDiffMap added in v1.4.1

type VectorParamsDiffMap struct {
	Map map[string]*VectorParamsDiff `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VectorParamsDiffMap) Descriptor deprecated added in v1.4.1

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

Deprecated: Use VectorParamsDiffMap.ProtoReflect.Descriptor instead.

func (*VectorParamsDiffMap) GetMap added in v1.4.1

func (x *VectorParamsDiffMap) GetMap() map[string]*VectorParamsDiff

func (*VectorParamsDiffMap) ProtoMessage added in v1.4.1

func (*VectorParamsDiffMap) ProtoMessage()

func (*VectorParamsDiffMap) ProtoReflect added in v1.4.1

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

func (*VectorParamsDiffMap) Reset added in v1.4.1

func (x *VectorParamsDiffMap) Reset()

func (*VectorParamsDiffMap) String added in v1.4.1

func (x *VectorParamsDiffMap) String() string

type VectorParamsMap added in v0.10.0

type VectorParamsMap struct {
	Map map[string]*VectorParams `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*VectorParamsMap) Descriptor deprecated added in v0.10.0

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

Deprecated: Use VectorParamsMap.ProtoReflect.Descriptor instead.

func (*VectorParamsMap) GetMap added in v0.10.0

func (x *VectorParamsMap) GetMap() map[string]*VectorParams

func (*VectorParamsMap) ProtoMessage added in v0.10.0

func (*VectorParamsMap) ProtoMessage()

func (*VectorParamsMap) ProtoReflect added in v0.10.0

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

func (*VectorParamsMap) Reset added in v0.10.0

func (x *VectorParamsMap) Reset()

func (*VectorParamsMap) String added in v0.10.0

func (x *VectorParamsMap) String() string

type Vectors added in v0.10.0

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 (*Vectors) Descriptor deprecated added in v0.10.0

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

Deprecated: Use Vectors.ProtoReflect.Descriptor instead.

func (*Vectors) GetVector added in v0.10.0

func (x *Vectors) GetVector() *Vector

func (*Vectors) GetVectors added in v0.10.0

func (x *Vectors) GetVectors() *NamedVectors

func (*Vectors) GetVectorsOptions added in v0.10.0

func (m *Vectors) GetVectorsOptions() isVectors_VectorsOptions

func (*Vectors) ProtoMessage added in v0.10.0

func (*Vectors) ProtoMessage()

func (*Vectors) ProtoReflect added in v0.10.0

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

func (*Vectors) Reset added in v0.10.0

func (x *Vectors) Reset()

func (*Vectors) String added in v0.10.0

func (x *Vectors) String() string

type VectorsConfig added in v0.10.0

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 (*VectorsConfig) Descriptor deprecated added in v0.10.0

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

Deprecated: Use VectorsConfig.ProtoReflect.Descriptor instead.

func (*VectorsConfig) GetConfig added in v0.10.0

func (m *VectorsConfig) GetConfig() isVectorsConfig_Config

func (*VectorsConfig) GetParams added in v0.10.0

func (x *VectorsConfig) GetParams() *VectorParams

func (*VectorsConfig) GetParamsMap added in v0.10.0

func (x *VectorsConfig) GetParamsMap() *VectorParamsMap

func (*VectorsConfig) ProtoMessage added in v0.10.0

func (*VectorsConfig) ProtoMessage()

func (*VectorsConfig) ProtoReflect added in v0.10.0

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

func (*VectorsConfig) Reset added in v0.10.0

func (x *VectorsConfig) Reset()

func (*VectorsConfig) String added in v0.10.0

func (x *VectorsConfig) String() string

type VectorsConfigDiff added in v1.4.1

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 (*VectorsConfigDiff) Descriptor deprecated added in v1.4.1

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

Deprecated: Use VectorsConfigDiff.ProtoReflect.Descriptor instead.

func (*VectorsConfigDiff) GetConfig added in v1.4.1

func (m *VectorsConfigDiff) GetConfig() isVectorsConfigDiff_Config

func (*VectorsConfigDiff) GetParams added in v1.4.1

func (x *VectorsConfigDiff) GetParams() *VectorParamsDiff

func (*VectorsConfigDiff) GetParamsMap added in v1.4.1

func (x *VectorsConfigDiff) GetParamsMap() *VectorParamsDiffMap

func (*VectorsConfigDiff) ProtoMessage added in v1.4.1

func (*VectorsConfigDiff) ProtoMessage()

func (*VectorsConfigDiff) ProtoReflect added in v1.4.1

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

func (*VectorsConfigDiff) Reset added in v1.4.1

func (x *VectorsConfigDiff) Reset()

func (*VectorsConfigDiff) String added in v1.4.1

func (x *VectorsConfigDiff) String() string

type VectorsConfigDiff_Params added in v1.4.1

type VectorsConfigDiff_Params struct {
	Params *VectorParamsDiff `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
}

type VectorsConfigDiff_ParamsMap added in v1.4.1

type VectorsConfigDiff_ParamsMap struct {
	ParamsMap *VectorParamsDiffMap `protobuf:"bytes,2,opt,name=params_map,json=paramsMap,proto3,oneof"`
}

type VectorsConfig_Params added in v0.10.0

type VectorsConfig_Params struct {
	Params *VectorParams `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
}

type VectorsConfig_ParamsMap added in v0.10.0

type VectorsConfig_ParamsMap struct {
	ParamsMap *VectorParamsMap `protobuf:"bytes,2,opt,name=params_map,json=paramsMap,proto3,oneof"`
}

type VectorsSelector added in v0.10.0

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 added in v0.10.0

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

Deprecated: Use VectorsSelector.ProtoReflect.Descriptor instead.

func (*VectorsSelector) GetNames added in v0.10.0

func (x *VectorsSelector) GetNames() []string

func (*VectorsSelector) ProtoMessage added in v0.10.0

func (*VectorsSelector) ProtoMessage()

func (*VectorsSelector) ProtoReflect added in v0.10.0

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

func (*VectorsSelector) Reset added in v0.10.0

func (x *VectorsSelector) Reset()

func (*VectorsSelector) String added in v0.10.0

func (x *VectorsSelector) String() string

type Vectors_Vector added in v0.10.0

type Vectors_Vector struct {
	Vector *Vector `protobuf:"bytes,1,opt,name=vector,proto3,oneof"`
}

type Vectors_Vectors added in v0.10.0

type Vectors_Vectors struct {
	Vectors *NamedVectors `protobuf:"bytes,2,opt,name=vectors,proto3,oneof"`
}

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
	// 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) 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 added in v1.3.0

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 added in v1.3.0

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

Deprecated: Use WithLookup.ProtoReflect.Descriptor instead.

func (*WithLookup) GetCollection added in v1.3.0

func (x *WithLookup) GetCollection() string

func (*WithLookup) GetWithPayload added in v1.3.0

func (x *WithLookup) GetWithPayload() *WithPayloadSelector

func (*WithLookup) GetWithVectors added in v1.3.0

func (x *WithLookup) GetWithVectors() *WithVectorsSelector

func (*WithLookup) ProtoMessage added in v1.3.0

func (*WithLookup) ProtoMessage()

func (*WithLookup) ProtoReflect added in v1.3.0

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

func (*WithLookup) Reset added in v1.3.0

func (x *WithLookup) Reset()

func (*WithLookup) String added in v1.3.0

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 (*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 added in v0.10.0

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 (*WithVectorsSelector) Descriptor deprecated added in v0.10.0

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

Deprecated: Use WithVectorsSelector.ProtoReflect.Descriptor instead.

func (*WithVectorsSelector) GetEnable added in v0.10.0

func (x *WithVectorsSelector) GetEnable() bool

func (*WithVectorsSelector) GetInclude added in v0.10.0

func (x *WithVectorsSelector) GetInclude() *VectorsSelector

func (*WithVectorsSelector) GetSelectorOptions added in v0.10.0

func (m *WithVectorsSelector) GetSelectorOptions() isWithVectorsSelector_SelectorOptions

func (*WithVectorsSelector) ProtoMessage added in v0.10.0

func (*WithVectorsSelector) ProtoMessage()

func (*WithVectorsSelector) ProtoReflect added in v0.10.0

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

func (*WithVectorsSelector) Reset added in v0.10.0

func (x *WithVectorsSelector) Reset()

func (*WithVectorsSelector) String added in v0.10.0

func (x *WithVectorsSelector) String() string

type WithVectorsSelector_Enable added in v0.10.0

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 added in v0.10.0

type WithVectorsSelector_Include struct {
	Include *VectorsSelector `protobuf:"bytes,2,opt,name=include,proto3,oneof"` // List of payload keys to include into result
}

type WriteOrdering added in v1.0.0

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 added in v1.0.0

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

Deprecated: Use WriteOrdering.ProtoReflect.Descriptor instead.

func (*WriteOrdering) GetType added in v1.0.0

func (x *WriteOrdering) GetType() WriteOrderingType

func (*WriteOrdering) ProtoMessage added in v1.0.0

func (*WriteOrdering) ProtoMessage()

func (*WriteOrdering) ProtoReflect added in v1.0.0

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

func (*WriteOrdering) Reset added in v1.0.0

func (x *WriteOrdering) Reset()

func (*WriteOrdering) String added in v1.0.0

func (x *WriteOrdering) String() string

type WriteOrderingType added in v1.0.0

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 added in v1.0.0

func (WriteOrderingType) Enum added in v1.0.0

func (WriteOrderingType) EnumDescriptor deprecated added in v1.0.0

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

Deprecated: Use WriteOrderingType.Descriptor instead.

func (WriteOrderingType) Number added in v1.0.0

func (WriteOrderingType) String added in v1.0.0

func (x WriteOrderingType) String() string

func (WriteOrderingType) Type added in v1.0.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL