Documentation
¶
Overview ¶
Qdrant Go Client ¶
Package provides a client for interfacing with the Qdrant - https://qdrant.tech/ gRPC API.
Documentation ¶
- Usage examples are available throughout the Qdrant documentation and API Reference
Index ¶
- Constants
- Variables
- func IsCompatible(clientVersion, serverVersion string) bool
- func NewValueMap(inputMap map[string]any) map[string]*Value
- func PtrOf[T any](t T) *T
- func RegisterCollectionsServer(s grpc.ServiceRegistrar, srv CollectionsServer)
- func RegisterPointsServer(s grpc.ServiceRegistrar, srv PointsServer)
- func RegisterQdrantServer(s grpc.ServiceRegistrar, srv QdrantServer)
- func RegisterSnapshotsServer(s grpc.ServiceRegistrar, srv SnapshotsServer)
- func TryValueMap(inputMap map[string]any) (map[string]*Value, error)
- type AbortShardTransfer
- func (*AbortShardTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *AbortShardTransfer) GetFromPeerId() uint64
- func (x *AbortShardTransfer) GetShardId() uint32
- func (x *AbortShardTransfer) GetToPeerId() uint64
- func (x *AbortShardTransfer) GetToShardId() uint32
- func (*AbortShardTransfer) ProtoMessage()
- func (x *AbortShardTransfer) ProtoReflect() protoreflect.Message
- func (x *AbortShardTransfer) Reset()
- func (x *AbortShardTransfer) String() string
- type AcornSearchParams
- func (*AcornSearchParams) Descriptor() ([]byte, []int)deprecated
- func (x *AcornSearchParams) GetEnable() bool
- func (x *AcornSearchParams) GetMaxSelectivity() float64
- func (*AcornSearchParams) ProtoMessage()
- func (x *AcornSearchParams) ProtoReflect() protoreflect.Message
- func (x *AcornSearchParams) Reset()
- func (x *AcornSearchParams) String() string
- type AliasDescription
- func (*AliasDescription) Descriptor() ([]byte, []int)deprecated
- func (x *AliasDescription) GetAliasName() string
- func (x *AliasDescription) GetCollectionName() string
- func (*AliasDescription) ProtoMessage()
- func (x *AliasDescription) ProtoReflect() protoreflect.Message
- func (x *AliasDescription) Reset()
- func (x *AliasDescription) String() string
- type AliasOperations
- func (*AliasOperations) Descriptor() ([]byte, []int)deprecated
- func (m *AliasOperations) GetAction() isAliasOperations_Action
- func (x *AliasOperations) GetCreateAlias() *CreateAlias
- func (x *AliasOperations) GetDeleteAlias() *DeleteAlias
- func (x *AliasOperations) GetRenameAlias() *RenameAlias
- func (*AliasOperations) ProtoMessage()
- func (x *AliasOperations) ProtoReflect() protoreflect.Message
- func (x *AliasOperations) Reset()
- func (x *AliasOperations) String() string
- type AliasOperations_CreateAlias
- type AliasOperations_DeleteAlias
- type AliasOperations_RenameAlias
- type BatchResult
- type BinaryQuantization
- func (*BinaryQuantization) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryQuantization) GetAlwaysRam() bool
- func (x *BinaryQuantization) GetEncoding() BinaryQuantizationEncoding
- func (x *BinaryQuantization) GetQueryEncoding() *BinaryQuantizationQueryEncoding
- func (*BinaryQuantization) ProtoMessage()
- func (x *BinaryQuantization) ProtoReflect() protoreflect.Message
- func (x *BinaryQuantization) Reset()
- func (x *BinaryQuantization) String() string
- type BinaryQuantizationEncoding
- func (BinaryQuantizationEncoding) Descriptor() protoreflect.EnumDescriptor
- func (x BinaryQuantizationEncoding) Enum() *BinaryQuantizationEncoding
- func (BinaryQuantizationEncoding) EnumDescriptor() ([]byte, []int)deprecated
- func (x BinaryQuantizationEncoding) Number() protoreflect.EnumNumber
- func (x BinaryQuantizationEncoding) String() string
- func (BinaryQuantizationEncoding) Type() protoreflect.EnumType
- type BinaryQuantizationQueryEncoding
- func (*BinaryQuantizationQueryEncoding) Descriptor() ([]byte, []int)deprecated
- func (x *BinaryQuantizationQueryEncoding) GetSetting() BinaryQuantizationQueryEncoding_Setting
- func (m *BinaryQuantizationQueryEncoding) GetVariant() isBinaryQuantizationQueryEncoding_Variant
- func (*BinaryQuantizationQueryEncoding) ProtoMessage()
- func (x *BinaryQuantizationQueryEncoding) ProtoReflect() protoreflect.Message
- func (x *BinaryQuantizationQueryEncoding) Reset()
- func (x *BinaryQuantizationQueryEncoding) String() string
- type BinaryQuantizationQueryEncoding_Setting
- func (BinaryQuantizationQueryEncoding_Setting) Descriptor() protoreflect.EnumDescriptor
- func (x BinaryQuantizationQueryEncoding_Setting) Enum() *BinaryQuantizationQueryEncoding_Setting
- func (BinaryQuantizationQueryEncoding_Setting) EnumDescriptor() ([]byte, []int)deprecated
- func (x BinaryQuantizationQueryEncoding_Setting) Number() protoreflect.EnumNumber
- func (x BinaryQuantizationQueryEncoding_Setting) String() string
- func (BinaryQuantizationQueryEncoding_Setting) Type() protoreflect.EnumType
- type BinaryQuantizationQueryEncoding_Setting_
- type BoolIndexParams
- func (*BoolIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *BoolIndexParams) GetEnableHnsw() bool
- func (x *BoolIndexParams) GetOnDisk() bool
- func (*BoolIndexParams) ProtoMessage()
- func (x *BoolIndexParams) ProtoReflect() protoreflect.Message
- func (x *BoolIndexParams) Reset()
- func (x *BoolIndexParams) String() string
- type ChangeAliases
- func (*ChangeAliases) Descriptor() ([]byte, []int)deprecated
- func (x *ChangeAliases) GetActions() []*AliasOperations
- func (x *ChangeAliases) GetTimeout() uint64
- func (*ChangeAliases) ProtoMessage()
- func (x *ChangeAliases) ProtoReflect() protoreflect.Message
- func (x *ChangeAliases) Reset()
- func (x *ChangeAliases) String() string
- type ClearPayloadPoints
- func (*ClearPayloadPoints) Descriptor() ([]byte, []int)deprecated
- func (x *ClearPayloadPoints) GetCollectionName() string
- func (x *ClearPayloadPoints) GetOrdering() *WriteOrdering
- func (x *ClearPayloadPoints) GetPoints() *PointsSelector
- func (x *ClearPayloadPoints) GetShardKeySelector() *ShardKeySelector
- func (x *ClearPayloadPoints) GetTimeout() uint64
- func (x *ClearPayloadPoints) GetWait() bool
- func (*ClearPayloadPoints) ProtoMessage()
- func (x *ClearPayloadPoints) ProtoReflect() protoreflect.Message
- func (x *ClearPayloadPoints) Reset()
- func (x *ClearPayloadPoints) String() string
- type Client
- func (c *Client) ClearPayload(ctx context.Context, request *ClearPayloadPoints) (*UpdateResult, error)
- func (c *Client) Close() error
- func (c *Client) CollectionExists(ctx context.Context, collectionName string) (bool, error)
- func (c *Client) Count(ctx context.Context, request *CountPoints) (uint64, error)
- func (c *Client) CreateAlias(ctx context.Context, aliasName, collectionName string) error
- func (c *Client) CreateCollection(ctx context.Context, request *CreateCollection) error
- func (c *Client) CreateFieldIndex(ctx context.Context, request *CreateFieldIndexCollection) (*UpdateResult, error)
- func (c *Client) CreateFullSnapshot(ctx context.Context) (*SnapshotDescription, error)
- func (c *Client) CreateShardKey(ctx context.Context, collectionName string, request *CreateShardKey) error
- func (c *Client) CreateSnapshot(ctx context.Context, collection string) (*SnapshotDescription, error)
- func (c *Client) CreateVectorName(ctx context.Context, request *CreateVectorNameRequest) (*UpdateResult, error)
- func (c *Client) Delete(ctx context.Context, request *DeletePoints) (*UpdateResult, error)
- func (c *Client) DeleteAlias(ctx context.Context, aliasName string) error
- func (c *Client) DeleteCollection(ctx context.Context, collectionName string) error
- func (c *Client) DeleteFieldIndex(ctx context.Context, request *DeleteFieldIndexCollection) (*UpdateResult, error)
- func (c *Client) DeleteFullSnapshot(ctx context.Context, snapshot string) error
- func (c *Client) DeletePayload(ctx context.Context, request *DeletePayloadPoints) (*UpdateResult, error)
- func (c *Client) DeleteShardKey(ctx context.Context, collectionName string, request *DeleteShardKey) error
- func (c *Client) DeleteSnapshot(ctx context.Context, collection string, snapshot string) error
- func (c *Client) DeleteVectorName(ctx context.Context, request *DeleteVectorNameRequest) (*UpdateResult, error)
- func (c *Client) DeleteVectors(ctx context.Context, request *DeletePointVectors) (*UpdateResult, error)
- func (c *Client) Facet(ctx context.Context, request *FacetCounts) ([]*FacetHit, error)
- func (c *Client) Get(ctx context.Context, request *GetPoints) ([]*RetrievedPoint, error)
- func (c *Client) GetCollectionClusterInfo(ctx context.Context, collectionName string) (*CollectionClusterInfoResponse, error)
- func (c *Client) GetCollectionInfo(ctx context.Context, collectionName string) (*CollectionInfo, error)
- func (c *Client) GetCollectionsClient() CollectionsClient
- func (c *Client) GetConnection() *grpc.ClientConn
- func (c *Client) GetGrpcClient() *GrpcClient
- func (c *Client) GetPointsClient() PointsClient
- func (c *Client) GetQdrantClient() QdrantClient
- func (c *Client) GetSnapshotsClient() SnapshotsClient
- func (c *Client) HealthCheck(ctx context.Context) (*HealthCheckReply, error)
- func (c *Client) ListAliases(ctx context.Context) ([]*AliasDescription, error)
- func (c *Client) ListCollectionAliases(ctx context.Context, collectionName string) ([]string, error)
- func (c *Client) ListCollections(ctx context.Context) ([]string, error)
- func (c *Client) ListFullSnapshots(ctx context.Context) ([]*SnapshotDescription, error)
- func (c *Client) ListShardKeys(ctx context.Context, collectionName string) ([]*ShardKeyDescription, error)
- func (c *Client) ListSnapshots(ctx context.Context, collection string) ([]*SnapshotDescription, error)
- func (c *Client) OverwritePayload(ctx context.Context, request *SetPayloadPoints) (*UpdateResult, error)
- func (c *Client) Query(ctx context.Context, request *QueryPoints) ([]*ScoredPoint, error)
- func (c *Client) QueryBatch(ctx context.Context, request *QueryBatchPoints) ([]*BatchResult, error)
- func (c *Client) QueryGroups(ctx context.Context, request *QueryPointGroups) ([]*PointGroup, error)
- func (c *Client) RenameAlias(ctx context.Context, oldAliasName, newAliasName string) error
- func (c *Client) Scroll(ctx context.Context, request *ScrollPoints) ([]*RetrievedPoint, error)
- func (c *Client) ScrollAll(ctx context.Context, request *ScrollPoints) *ScrollIterator
- func (c *Client) ScrollAndOffset(ctx context.Context, request *ScrollPoints) ([]*RetrievedPoint, *PointId, error)
- func (c *Client) SearchMatrixOffsets(ctx context.Context, request *SearchMatrixPoints) (*SearchMatrixOffsets, error)
- func (c *Client) SearchMatrixPairs(ctx context.Context, request *SearchMatrixPoints) (*SearchMatrixPairs, error)
- func (c *Client) SetPayload(ctx context.Context, request *SetPayloadPoints) (*UpdateResult, error)
- func (c *Client) UpdateAliases(ctx context.Context, actions []*AliasOperations) error
- func (c *Client) UpdateBatch(ctx context.Context, request *UpdateBatchPoints) ([]*UpdateResult, error)
- func (c *Client) UpdateClusterCollectionSetup(ctx context.Context, request *UpdateCollectionClusterSetupRequest) error
- func (c *Client) UpdateCollection(ctx context.Context, request *UpdateCollection) error
- func (c *Client) UpdateVectors(ctx context.Context, request *UpdatePointVectors) (*UpdateResult, error)
- func (c *Client) Upsert(ctx context.Context, request *UpsertPoints) (*UpdateResult, error)
- type CollectionClusterInfoRequest
- func (*CollectionClusterInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionClusterInfoRequest) GetCollectionName() string
- func (*CollectionClusterInfoRequest) ProtoMessage()
- func (x *CollectionClusterInfoRequest) ProtoReflect() protoreflect.Message
- func (x *CollectionClusterInfoRequest) Reset()
- func (x *CollectionClusterInfoRequest) String() string
- type CollectionClusterInfoResponse
- func (*CollectionClusterInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionClusterInfoResponse) GetLocalShards() []*LocalShardInfo
- func (x *CollectionClusterInfoResponse) GetPeerId() uint64
- func (x *CollectionClusterInfoResponse) GetRemoteShards() []*RemoteShardInfo
- func (x *CollectionClusterInfoResponse) GetReshardingOperations() []*ReshardingInfo
- func (x *CollectionClusterInfoResponse) GetShardCount() uint64
- func (x *CollectionClusterInfoResponse) GetShardTransfers() []*ShardTransferInfo
- func (*CollectionClusterInfoResponse) ProtoMessage()
- func (x *CollectionClusterInfoResponse) ProtoReflect() protoreflect.Message
- func (x *CollectionClusterInfoResponse) Reset()
- func (x *CollectionClusterInfoResponse) String() string
- type CollectionConfig
- func (*CollectionConfig) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionConfig) GetHnswConfig() *HnswConfigDiff
- func (x *CollectionConfig) GetMetadata() map[string]*Value
- func (x *CollectionConfig) GetOptimizerConfig() *OptimizersConfigDiff
- func (x *CollectionConfig) GetParams() *CollectionParams
- func (x *CollectionConfig) GetQuantizationConfig() *QuantizationConfig
- func (x *CollectionConfig) GetStrictModeConfig() *StrictModeConfig
- func (x *CollectionConfig) GetWalConfig() *WalConfigDiff
- func (*CollectionConfig) ProtoMessage()
- func (x *CollectionConfig) ProtoReflect() protoreflect.Message
- func (x *CollectionConfig) Reset()
- func (x *CollectionConfig) String() string
- type CollectionDescription
- func (*CollectionDescription) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionDescription) GetName() string
- func (*CollectionDescription) ProtoMessage()
- func (x *CollectionDescription) ProtoReflect() protoreflect.Message
- func (x *CollectionDescription) Reset()
- func (x *CollectionDescription) String() string
- type CollectionExists
- type CollectionExistsRequest
- func (*CollectionExistsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionExistsRequest) GetCollectionName() string
- func (*CollectionExistsRequest) ProtoMessage()
- func (x *CollectionExistsRequest) ProtoReflect() protoreflect.Message
- func (x *CollectionExistsRequest) Reset()
- func (x *CollectionExistsRequest) String() string
- type CollectionExistsResponse
- func (*CollectionExistsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionExistsResponse) GetResult() *CollectionExists
- func (x *CollectionExistsResponse) GetTime() float64
- func (*CollectionExistsResponse) ProtoMessage()
- func (x *CollectionExistsResponse) ProtoReflect() protoreflect.Message
- func (x *CollectionExistsResponse) Reset()
- func (x *CollectionExistsResponse) String() string
- type CollectionInfo
- func (*CollectionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionInfo) GetConfig() *CollectionConfig
- func (x *CollectionInfo) GetIndexedVectorsCount() uint64
- func (x *CollectionInfo) GetOptimizerStatus() *OptimizerStatus
- func (x *CollectionInfo) GetPayloadSchema() map[string]*PayloadSchemaInfo
- func (x *CollectionInfo) GetPointsCount() uint64
- func (x *CollectionInfo) GetSegmentsCount() uint64
- func (x *CollectionInfo) GetStatus() CollectionStatus
- func (x *CollectionInfo) GetUpdateQueue() *UpdateQueueInfo
- func (x *CollectionInfo) GetWarnings() []*CollectionWarning
- func (*CollectionInfo) ProtoMessage()
- func (x *CollectionInfo) ProtoReflect() protoreflect.Message
- func (x *CollectionInfo) Reset()
- func (x *CollectionInfo) String() string
- type CollectionOperationResponse
- func (*CollectionOperationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionOperationResponse) GetResult() bool
- func (x *CollectionOperationResponse) GetTime() float64
- func (*CollectionOperationResponse) ProtoMessage()
- func (x *CollectionOperationResponse) ProtoReflect() protoreflect.Message
- func (x *CollectionOperationResponse) Reset()
- func (x *CollectionOperationResponse) String() string
- type CollectionParams
- func (*CollectionParams) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionParams) GetOnDiskPayload() bool
- func (x *CollectionParams) GetReadFanOutDelayMs() uint64
- func (x *CollectionParams) GetReadFanOutFactor() uint32
- func (x *CollectionParams) GetReplicationFactor() uint32
- func (x *CollectionParams) GetShardNumber() uint32
- func (x *CollectionParams) GetShardingMethod() ShardingMethod
- func (x *CollectionParams) GetSparseVectorsConfig() *SparseVectorConfig
- func (x *CollectionParams) GetVectorsConfig() *VectorsConfig
- func (x *CollectionParams) GetWriteConsistencyFactor() uint32
- func (*CollectionParams) ProtoMessage()
- func (x *CollectionParams) ProtoReflect() protoreflect.Message
- func (x *CollectionParams) Reset()
- func (x *CollectionParams) String() string
- type CollectionParamsDiff
- func (*CollectionParamsDiff) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionParamsDiff) GetOnDiskPayload() bool
- func (x *CollectionParamsDiff) GetReadFanOutDelayMs() uint64
- func (x *CollectionParamsDiff) GetReadFanOutFactor() uint32
- func (x *CollectionParamsDiff) GetReplicationFactor() uint32
- func (x *CollectionParamsDiff) GetWriteConsistencyFactor() uint32
- func (*CollectionParamsDiff) ProtoMessage()
- func (x *CollectionParamsDiff) ProtoReflect() protoreflect.Message
- func (x *CollectionParamsDiff) Reset()
- func (x *CollectionParamsDiff) String() string
- type CollectionStatus
- func (CollectionStatus) Descriptor() protoreflect.EnumDescriptor
- func (x CollectionStatus) Enum() *CollectionStatus
- func (CollectionStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x CollectionStatus) Number() protoreflect.EnumNumber
- func (x CollectionStatus) String() string
- func (CollectionStatus) Type() protoreflect.EnumType
- type CollectionWarning
- type CollectionsClient
- type CollectionsServer
- type CompressionRatio
- func (CompressionRatio) Descriptor() protoreflect.EnumDescriptor
- func (x CompressionRatio) Enum() *CompressionRatio
- func (CompressionRatio) EnumDescriptor() ([]byte, []int)deprecated
- func (x CompressionRatio) Number() protoreflect.EnumNumber
- func (x CompressionRatio) String() string
- func (CompressionRatio) Type() protoreflect.EnumType
- type Condition
- func NewDatetimeRange(field string, dateTimeRange *DatetimeRange) *Condition
- func NewFilterAsCondition(filter *Filter) *Condition
- func NewGeoBoundingBox(field string, topLeftLat, topLeftLon, bottomRightLat, bottomRightLon float64) *Condition
- func NewGeoPolygon(field string, exterior *GeoLineString, interior ...*GeoLineString) *Condition
- func NewGeoRadius(field string, lat, long float64, radius float32) *Condition
- func NewHasID(ids ...*PointId) *Condition
- func NewHasVector(vector string) *Condition
- func NewIsEmpty(field string) *Condition
- func NewIsNull(field string) *Condition
- func NewMatch(field, keyword string) *Condition
- func NewMatchBool(field string, value bool) *Condition
- func NewMatchExcept(field string, keywords ...string) *Condition
- func NewMatchExceptInts(field string, values ...int64) *Condition
- func NewMatchExceptKeywords(field string, keywords ...string) *Condition
- func NewMatchInt(field string, value int64) *Condition
- func NewMatchInts(field string, values ...int64) *Condition
- func NewMatchKeyword(field, keyword string) *Condition
- func NewMatchKeywords(field string, keywords ...string) *Condition
- func NewMatchPhrase(field, phrase string) *Condition
- func NewMatchText(field, text string) *Condition
- func NewMatchTextAny(field, textAny string) *Condition
- func NewNestedCondition(field string, conditon *Condition) *Condition
- func NewNestedFilter(field string, filter *Filter) *Condition
- func NewRange(field string, rangeVal *Range) *Condition
- func NewValuesCount(field string, valuesCount *ValuesCount) *Condition
- func (*Condition) Descriptor() ([]byte, []int)deprecated
- func (m *Condition) GetConditionOneOf() isCondition_ConditionOneOf
- func (x *Condition) GetField() *FieldCondition
- func (x *Condition) GetFilter() *Filter
- func (x *Condition) GetHasId() *HasIdCondition
- func (x *Condition) GetHasVector() *HasVectorCondition
- func (x *Condition) GetIsEmpty() *IsEmptyCondition
- func (x *Condition) GetIsNull() *IsNullCondition
- func (x *Condition) GetNested() *NestedCondition
- func (*Condition) ProtoMessage()
- func (x *Condition) ProtoReflect() protoreflect.Message
- func (x *Condition) Reset()
- func (x *Condition) String() string
- type Condition_Field
- type Condition_Filter
- type Condition_HasId
- type Condition_HasVector
- type Condition_IsEmpty
- type Condition_IsNull
- type Condition_Nested
- type Config
- type ContextExamplePair
- func (*ContextExamplePair) Descriptor() ([]byte, []int)deprecated
- func (x *ContextExamplePair) GetNegative() *VectorExample
- func (x *ContextExamplePair) GetPositive() *VectorExample
- func (*ContextExamplePair) ProtoMessage()
- func (x *ContextExamplePair) ProtoReflect() protoreflect.Message
- func (x *ContextExamplePair) Reset()
- func (x *ContextExamplePair) String() string
- type ContextInput
- type ContextInputPair
- func (*ContextInputPair) Descriptor() ([]byte, []int)deprecated
- func (x *ContextInputPair) GetNegative() *VectorInput
- func (x *ContextInputPair) GetPositive() *VectorInput
- func (*ContextInputPair) ProtoMessage()
- func (x *ContextInputPair) ProtoReflect() protoreflect.Message
- func (x *ContextInputPair) Reset()
- func (x *ContextInputPair) String() string
- type CountPoints
- func (*CountPoints) Descriptor() ([]byte, []int)deprecated
- func (x *CountPoints) GetCollectionName() string
- func (x *CountPoints) GetExact() bool
- func (x *CountPoints) GetFilter() *Filter
- func (x *CountPoints) GetReadConsistency() *ReadConsistency
- func (x *CountPoints) GetShardKeySelector() *ShardKeySelector
- func (x *CountPoints) GetTimeout() uint64
- func (*CountPoints) ProtoMessage()
- func (x *CountPoints) ProtoReflect() protoreflect.Message
- func (x *CountPoints) Reset()
- func (x *CountPoints) String() string
- type CountResponse
- func (*CountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CountResponse) GetResult() *CountResult
- func (x *CountResponse) GetTime() float64
- func (x *CountResponse) GetUsage() *Usage
- func (*CountResponse) ProtoMessage()
- func (x *CountResponse) ProtoReflect() protoreflect.Message
- func (x *CountResponse) Reset()
- func (x *CountResponse) String() string
- type CountResult
- type CreateAlias
- func (*CreateAlias) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAlias) GetAliasName() string
- func (x *CreateAlias) GetCollectionName() string
- func (*CreateAlias) ProtoMessage()
- func (x *CreateAlias) ProtoReflect() protoreflect.Message
- func (x *CreateAlias) Reset()
- func (x *CreateAlias) String() string
- type CreateCollection
- func (*CreateCollection) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCollection) GetCollectionName() string
- func (x *CreateCollection) GetHnswConfig() *HnswConfigDiff
- func (x *CreateCollection) GetMetadata() map[string]*Value
- func (x *CreateCollection) GetOnDiskPayload() bool
- func (x *CreateCollection) GetOptimizersConfig() *OptimizersConfigDiff
- func (x *CreateCollection) GetQuantizationConfig() *QuantizationConfig
- func (x *CreateCollection) GetReplicationFactor() uint32
- func (x *CreateCollection) GetShardNumber() uint32
- func (x *CreateCollection) GetShardingMethod() ShardingMethod
- func (x *CreateCollection) GetSparseVectorsConfig() *SparseVectorConfig
- func (x *CreateCollection) GetStrictModeConfig() *StrictModeConfig
- func (x *CreateCollection) GetTimeout() uint64
- func (x *CreateCollection) GetVectorsConfig() *VectorsConfig
- func (x *CreateCollection) GetWalConfig() *WalConfigDiff
- func (x *CreateCollection) GetWriteConsistencyFactor() uint32
- func (*CreateCollection) ProtoMessage()
- func (x *CreateCollection) ProtoReflect() protoreflect.Message
- func (x *CreateCollection) Reset()
- func (x *CreateCollection) String() string
- type CreateFieldIndexCollection
- func (*CreateFieldIndexCollection) Descriptor() ([]byte, []int)deprecated
- func (x *CreateFieldIndexCollection) GetCollectionName() string
- func (x *CreateFieldIndexCollection) GetFieldIndexParams() *PayloadIndexParams
- func (x *CreateFieldIndexCollection) GetFieldName() string
- func (x *CreateFieldIndexCollection) GetFieldType() FieldType
- func (x *CreateFieldIndexCollection) GetOrdering() *WriteOrdering
- func (x *CreateFieldIndexCollection) GetTimeout() uint64
- func (x *CreateFieldIndexCollection) GetWait() bool
- func (*CreateFieldIndexCollection) ProtoMessage()
- func (x *CreateFieldIndexCollection) ProtoReflect() protoreflect.Message
- func (x *CreateFieldIndexCollection) Reset()
- func (x *CreateFieldIndexCollection) String() string
- type CreateFullSnapshotRequest
- type CreateShardKey
- func (*CreateShardKey) Descriptor() ([]byte, []int)deprecated
- func (x *CreateShardKey) GetInitialState() ReplicaState
- func (x *CreateShardKey) GetPlacement() []uint64
- func (x *CreateShardKey) GetReplicationFactor() uint32
- func (x *CreateShardKey) GetShardKey() *ShardKey
- func (x *CreateShardKey) GetShardsNumber() uint32
- func (*CreateShardKey) ProtoMessage()
- func (x *CreateShardKey) ProtoReflect() protoreflect.Message
- func (x *CreateShardKey) Reset()
- func (x *CreateShardKey) String() string
- type CreateShardKeyRequest
- func (*CreateShardKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateShardKeyRequest) GetCollectionName() string
- func (x *CreateShardKeyRequest) GetRequest() *CreateShardKey
- func (x *CreateShardKeyRequest) GetTimeout() uint64
- func (*CreateShardKeyRequest) ProtoMessage()
- func (x *CreateShardKeyRequest) ProtoReflect() protoreflect.Message
- func (x *CreateShardKeyRequest) Reset()
- func (x *CreateShardKeyRequest) String() string
- type CreateShardKeyResponse
- func (*CreateShardKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateShardKeyResponse) GetResult() bool
- func (*CreateShardKeyResponse) ProtoMessage()
- func (x *CreateShardKeyResponse) ProtoReflect() protoreflect.Message
- func (x *CreateShardKeyResponse) Reset()
- func (x *CreateShardKeyResponse) String() string
- type CreateSnapshotRequest
- func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotRequest) GetCollectionName() string
- func (*CreateSnapshotRequest) ProtoMessage()
- func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotRequest) Reset()
- func (x *CreateSnapshotRequest) String() string
- type CreateSnapshotResponse
- func (*CreateSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateSnapshotResponse) GetSnapshotDescription() *SnapshotDescription
- func (x *CreateSnapshotResponse) GetTime() float64
- func (*CreateSnapshotResponse) ProtoMessage()
- func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *CreateSnapshotResponse) Reset()
- func (x *CreateSnapshotResponse) String() string
- type CreateVectorNameRequest
- func (*CreateVectorNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateVectorNameRequest) GetCollectionName() string
- func (x *CreateVectorNameRequest) GetDenseConfig() *DenseVectorCreationConfig
- func (x *CreateVectorNameRequest) GetOrdering() *WriteOrdering
- func (x *CreateVectorNameRequest) GetSparseConfig() *SparseVectorCreationConfig
- func (x *CreateVectorNameRequest) GetTimeout() uint64
- func (m *CreateVectorNameRequest) GetVectorConfig() isCreateVectorNameRequest_VectorConfig
- func (x *CreateVectorNameRequest) GetVectorName() string
- func (x *CreateVectorNameRequest) GetWait() bool
- func (*CreateVectorNameRequest) ProtoMessage()
- func (x *CreateVectorNameRequest) ProtoReflect() protoreflect.Message
- func (x *CreateVectorNameRequest) Reset()
- func (x *CreateVectorNameRequest) String() string
- type CreateVectorNameRequest_DenseConfig
- type CreateVectorNameRequest_SparseConfig
- type Datatype
- type DatetimeIndexParams
- func (*DatetimeIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *DatetimeIndexParams) GetEnableHnsw() bool
- func (x *DatetimeIndexParams) GetIsPrincipal() bool
- func (x *DatetimeIndexParams) GetOnDisk() bool
- func (*DatetimeIndexParams) ProtoMessage()
- func (x *DatetimeIndexParams) ProtoReflect() protoreflect.Message
- func (x *DatetimeIndexParams) Reset()
- func (x *DatetimeIndexParams) String() string
- type DatetimeRange
- func (*DatetimeRange) Descriptor() ([]byte, []int)deprecated
- func (x *DatetimeRange) GetGt() *timestamppb.Timestamp
- func (x *DatetimeRange) GetGte() *timestamppb.Timestamp
- func (x *DatetimeRange) GetLt() *timestamppb.Timestamp
- func (x *DatetimeRange) GetLte() *timestamppb.Timestamp
- func (*DatetimeRange) ProtoMessage()
- func (x *DatetimeRange) ProtoReflect() protoreflect.Message
- func (x *DatetimeRange) Reset()
- func (x *DatetimeRange) String() string
- type DecayParamsExpression
- func (*DecayParamsExpression) Descriptor() ([]byte, []int)deprecated
- func (x *DecayParamsExpression) GetMidpoint() float32
- func (x *DecayParamsExpression) GetScale() float32
- func (x *DecayParamsExpression) GetTarget() *Expression
- func (x *DecayParamsExpression) GetX() *Expression
- func (*DecayParamsExpression) ProtoMessage()
- func (x *DecayParamsExpression) ProtoReflect() protoreflect.Message
- func (x *DecayParamsExpression) Reset()
- func (x *DecayParamsExpression) String() string
- type DeleteAlias
- type DeleteCollection
- func (*DeleteCollection) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteCollection) GetCollectionName() string
- func (x *DeleteCollection) GetTimeout() uint64
- func (*DeleteCollection) ProtoMessage()
- func (x *DeleteCollection) ProtoReflect() protoreflect.Message
- func (x *DeleteCollection) Reset()
- func (x *DeleteCollection) String() string
- type DeleteFieldIndexCollection
- func (*DeleteFieldIndexCollection) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFieldIndexCollection) GetCollectionName() string
- func (x *DeleteFieldIndexCollection) GetFieldName() string
- func (x *DeleteFieldIndexCollection) GetOrdering() *WriteOrdering
- func (x *DeleteFieldIndexCollection) GetTimeout() uint64
- func (x *DeleteFieldIndexCollection) GetWait() bool
- func (*DeleteFieldIndexCollection) ProtoMessage()
- func (x *DeleteFieldIndexCollection) ProtoReflect() protoreflect.Message
- func (x *DeleteFieldIndexCollection) Reset()
- func (x *DeleteFieldIndexCollection) String() string
- type DeleteFullSnapshotRequest
- func (*DeleteFullSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteFullSnapshotRequest) GetSnapshotName() string
- func (*DeleteFullSnapshotRequest) ProtoMessage()
- func (x *DeleteFullSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteFullSnapshotRequest) Reset()
- func (x *DeleteFullSnapshotRequest) String() string
- type DeletePayloadPoints
- func (*DeletePayloadPoints) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePayloadPoints) GetCollectionName() string
- func (x *DeletePayloadPoints) GetKeys() []string
- func (x *DeletePayloadPoints) GetOrdering() *WriteOrdering
- func (x *DeletePayloadPoints) GetPointsSelector() *PointsSelector
- func (x *DeletePayloadPoints) GetShardKeySelector() *ShardKeySelector
- func (x *DeletePayloadPoints) GetTimeout() uint64
- func (x *DeletePayloadPoints) GetWait() bool
- func (*DeletePayloadPoints) ProtoMessage()
- func (x *DeletePayloadPoints) ProtoReflect() protoreflect.Message
- func (x *DeletePayloadPoints) Reset()
- func (x *DeletePayloadPoints) String() string
- type DeletePointVectors
- func (*DeletePointVectors) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePointVectors) GetCollectionName() string
- func (x *DeletePointVectors) GetOrdering() *WriteOrdering
- func (x *DeletePointVectors) GetPointsSelector() *PointsSelector
- func (x *DeletePointVectors) GetShardKeySelector() *ShardKeySelector
- func (x *DeletePointVectors) GetTimeout() uint64
- func (x *DeletePointVectors) GetVectors() *VectorsSelector
- func (x *DeletePointVectors) GetWait() bool
- func (*DeletePointVectors) ProtoMessage()
- func (x *DeletePointVectors) ProtoReflect() protoreflect.Message
- func (x *DeletePointVectors) Reset()
- func (x *DeletePointVectors) String() string
- type DeletePoints
- func (*DeletePoints) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePoints) GetCollectionName() string
- func (x *DeletePoints) GetOrdering() *WriteOrdering
- func (x *DeletePoints) GetPoints() *PointsSelector
- func (x *DeletePoints) GetShardKeySelector() *ShardKeySelector
- func (x *DeletePoints) GetTimeout() uint64
- func (x *DeletePoints) GetWait() bool
- func (*DeletePoints) ProtoMessage()
- func (x *DeletePoints) ProtoReflect() protoreflect.Message
- func (x *DeletePoints) Reset()
- func (x *DeletePoints) String() string
- type DeleteShardKey
- type DeleteShardKeyRequest
- func (*DeleteShardKeyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteShardKeyRequest) GetCollectionName() string
- func (x *DeleteShardKeyRequest) GetRequest() *DeleteShardKey
- func (x *DeleteShardKeyRequest) GetTimeout() uint64
- func (*DeleteShardKeyRequest) ProtoMessage()
- func (x *DeleteShardKeyRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteShardKeyRequest) Reset()
- func (x *DeleteShardKeyRequest) String() string
- type DeleteShardKeyResponse
- func (*DeleteShardKeyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteShardKeyResponse) GetResult() bool
- func (*DeleteShardKeyResponse) ProtoMessage()
- func (x *DeleteShardKeyResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteShardKeyResponse) Reset()
- func (x *DeleteShardKeyResponse) String() string
- type DeleteSnapshotRequest
- func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSnapshotRequest) GetCollectionName() string
- func (x *DeleteSnapshotRequest) GetSnapshotName() string
- func (*DeleteSnapshotRequest) ProtoMessage()
- func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteSnapshotRequest) Reset()
- func (x *DeleteSnapshotRequest) String() string
- type DeleteSnapshotResponse
- func (*DeleteSnapshotResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteSnapshotResponse) GetTime() float64
- func (*DeleteSnapshotResponse) ProtoMessage()
- func (x *DeleteSnapshotResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteSnapshotResponse) Reset()
- func (x *DeleteSnapshotResponse) String() string
- type DeleteVectorNameRequest
- func (*DeleteVectorNameRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteVectorNameRequest) GetCollectionName() string
- func (x *DeleteVectorNameRequest) GetOrdering() *WriteOrdering
- func (x *DeleteVectorNameRequest) GetTimeout() uint64
- func (x *DeleteVectorNameRequest) GetVectorName() string
- func (x *DeleteVectorNameRequest) GetWait() bool
- func (*DeleteVectorNameRequest) ProtoMessage()
- func (x *DeleteVectorNameRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteVectorNameRequest) Reset()
- func (x *DeleteVectorNameRequest) String() string
- type DenseVector
- type DenseVectorCreationConfig
- func (*DenseVectorCreationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *DenseVectorCreationConfig) GetDatatype() Datatype
- func (x *DenseVectorCreationConfig) GetDistance() Distance
- func (x *DenseVectorCreationConfig) GetMultivectorConfig() *MultiVectorConfig
- func (x *DenseVectorCreationConfig) GetSize() uint64
- func (*DenseVectorCreationConfig) ProtoMessage()
- func (x *DenseVectorCreationConfig) ProtoReflect() protoreflect.Message
- func (x *DenseVectorCreationConfig) Reset()
- func (x *DenseVectorCreationConfig) String() string
- type Direction
- type Disabled
- type DiscoverBatchPoints
- func (*DiscoverBatchPoints) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverBatchPoints) GetCollectionName() string
- func (x *DiscoverBatchPoints) GetDiscoverPoints() []*DiscoverPoints
- func (x *DiscoverBatchPoints) GetReadConsistency() *ReadConsistency
- func (x *DiscoverBatchPoints) GetTimeout() uint64
- func (*DiscoverBatchPoints) ProtoMessage()
- func (x *DiscoverBatchPoints) ProtoReflect() protoreflect.Message
- func (x *DiscoverBatchPoints) Reset()
- func (x *DiscoverBatchPoints) String() string
- type DiscoverBatchResponse
- func (*DiscoverBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverBatchResponse) GetResult() []*BatchResult
- func (x *DiscoverBatchResponse) GetTime() float64
- func (x *DiscoverBatchResponse) GetUsage() *Usage
- func (*DiscoverBatchResponse) ProtoMessage()
- func (x *DiscoverBatchResponse) ProtoReflect() protoreflect.Message
- func (x *DiscoverBatchResponse) Reset()
- func (x *DiscoverBatchResponse) String() string
- type DiscoverInput
- func (*DiscoverInput) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverInput) GetContext() *ContextInput
- func (x *DiscoverInput) GetTarget() *VectorInput
- func (*DiscoverInput) ProtoMessage()
- func (x *DiscoverInput) ProtoReflect() protoreflect.Message
- func (x *DiscoverInput) Reset()
- func (x *DiscoverInput) String() string
- type DiscoverPoints
- func (*DiscoverPoints) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverPoints) GetCollectionName() string
- func (x *DiscoverPoints) GetContext() []*ContextExamplePair
- func (x *DiscoverPoints) GetFilter() *Filter
- func (x *DiscoverPoints) GetLimit() uint64
- func (x *DiscoverPoints) GetLookupFrom() *LookupLocation
- func (x *DiscoverPoints) GetOffset() uint64
- func (x *DiscoverPoints) GetParams() *SearchParams
- func (x *DiscoverPoints) GetReadConsistency() *ReadConsistency
- func (x *DiscoverPoints) GetShardKeySelector() *ShardKeySelector
- func (x *DiscoverPoints) GetTarget() *TargetVector
- func (x *DiscoverPoints) GetTimeout() uint64
- func (x *DiscoverPoints) GetUsing() string
- func (x *DiscoverPoints) GetWithPayload() *WithPayloadSelector
- func (x *DiscoverPoints) GetWithVectors() *WithVectorsSelector
- func (*DiscoverPoints) ProtoMessage()
- func (x *DiscoverPoints) ProtoReflect() protoreflect.Message
- func (x *DiscoverPoints) Reset()
- func (x *DiscoverPoints) String() string
- type DiscoverResponse
- func (*DiscoverResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DiscoverResponse) GetResult() []*ScoredPoint
- func (x *DiscoverResponse) GetTime() float64
- func (x *DiscoverResponse) GetUsage() *Usage
- func (*DiscoverResponse) ProtoMessage()
- func (x *DiscoverResponse) ProtoReflect() protoreflect.Message
- func (x *DiscoverResponse) Reset()
- func (x *DiscoverResponse) String() string
- type Distance
- type DivExpression
- func (*DivExpression) Descriptor() ([]byte, []int)deprecated
- func (x *DivExpression) GetByZeroDefault() float32
- func (x *DivExpression) GetLeft() *Expression
- func (x *DivExpression) GetRight() *Expression
- func (*DivExpression) ProtoMessage()
- func (x *DivExpression) ProtoReflect() protoreflect.Message
- func (x *DivExpression) Reset()
- func (x *DivExpression) String() string
- type Document
- func (*Document) Descriptor() ([]byte, []int)deprecated
- func (x *Document) GetModel() string
- func (x *Document) GetOptions() map[string]*Value
- func (x *Document) GetText() string
- func (*Document) ProtoMessage()
- func (x *Document) ProtoReflect() protoreflect.Message
- func (x *Document) Reset()
- func (x *Document) String() string
- type Expression
- func NewExpressionAbs(abs *Expression) *Expression
- func NewExpressionCondition(condition *Condition) *Expression
- func NewExpressionConstant(constant float32) *Expression
- func NewExpressionDatetime(datetime string) *Expression
- func NewExpressionDatetimeKey(datetimeKey string) *Expression
- func NewExpressionDiv(div *DivExpression) *Expression
- func NewExpressionExp(exp *Expression) *Expression
- func NewExpressionExpDecay(expDecay *DecayParamsExpression) *Expression
- func NewExpressionGaussDecay(gaussDecay *DecayParamsExpression) *Expression
- func NewExpressionGeoDistance(geoDistance *GeoDistance) *Expression
- func NewExpressionLinDecay(linDecay *DecayParamsExpression) *Expression
- func NewExpressionLn(ln *Expression) *Expression
- func NewExpressionLog10(log10 *Expression) *Expression
- func NewExpressionMult(mult *MultExpression) *Expression
- func NewExpressionNeg(neg *Expression) *Expression
- func NewExpressionPow(pow *PowExpression) *Expression
- func NewExpressionSqrt(sqrt *Expression) *Expression
- func NewExpressionSum(sum *SumExpression) *Expression
- func NewExpressionVariable(variable string) *Expression
- func (*Expression) Descriptor() ([]byte, []int)deprecated
- func (x *Expression) GetAbs() *Expression
- func (x *Expression) GetCondition() *Condition
- func (x *Expression) GetConstant() float32
- func (x *Expression) GetDatetime() string
- func (x *Expression) GetDatetimeKey() string
- func (x *Expression) GetDiv() *DivExpression
- func (x *Expression) GetExp() *Expression
- func (x *Expression) GetExpDecay() *DecayParamsExpression
- func (x *Expression) GetGaussDecay() *DecayParamsExpression
- func (x *Expression) GetGeoDistance() *GeoDistance
- func (x *Expression) GetLinDecay() *DecayParamsExpression
- func (x *Expression) GetLn() *Expression
- func (x *Expression) GetLog10() *Expression
- func (x *Expression) GetMult() *MultExpression
- func (x *Expression) GetNeg() *Expression
- func (x *Expression) GetPow() *PowExpression
- func (x *Expression) GetSqrt() *Expression
- func (x *Expression) GetSum() *SumExpression
- func (x *Expression) GetVariable() string
- func (m *Expression) GetVariant() isExpression_Variant
- func (*Expression) ProtoMessage()
- func (x *Expression) ProtoReflect() protoreflect.Message
- func (x *Expression) Reset()
- func (x *Expression) String() string
- type Expression_Abs
- type Expression_Condition
- type Expression_Constant
- type Expression_Datetime
- type Expression_DatetimeKey
- type Expression_Div
- type Expression_Exp
- type Expression_ExpDecay
- type Expression_GaussDecay
- type Expression_GeoDistance
- type Expression_LinDecay
- type Expression_Ln
- type Expression_Log10
- type Expression_Mult
- type Expression_Neg
- type Expression_Pow
- type Expression_Sqrt
- type Expression_Sum
- type Expression_Variable
- type FacetCounts
- func (*FacetCounts) Descriptor() ([]byte, []int)deprecated
- func (x *FacetCounts) GetCollectionName() string
- func (x *FacetCounts) GetExact() bool
- func (x *FacetCounts) GetFilter() *Filter
- func (x *FacetCounts) GetKey() string
- func (x *FacetCounts) GetLimit() uint64
- func (x *FacetCounts) GetReadConsistency() *ReadConsistency
- func (x *FacetCounts) GetShardKeySelector() *ShardKeySelector
- func (x *FacetCounts) GetTimeout() uint64
- func (*FacetCounts) ProtoMessage()
- func (x *FacetCounts) ProtoReflect() protoreflect.Message
- func (x *FacetCounts) Reset()
- func (x *FacetCounts) String() string
- type FacetHit
- type FacetResponse
- func (*FacetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *FacetResponse) GetHits() []*FacetHit
- func (x *FacetResponse) GetTime() float64
- func (x *FacetResponse) GetUsage() *Usage
- func (*FacetResponse) ProtoMessage()
- func (x *FacetResponse) ProtoReflect() protoreflect.Message
- func (x *FacetResponse) Reset()
- func (x *FacetResponse) String() string
- type FacetValue
- func (*FacetValue) Descriptor() ([]byte, []int)deprecated
- func (x *FacetValue) GetBoolValue() bool
- func (x *FacetValue) GetIntegerValue() int64
- func (x *FacetValue) GetStringValue() string
- func (m *FacetValue) GetVariant() isFacetValue_Variant
- func (*FacetValue) ProtoMessage()
- func (x *FacetValue) ProtoReflect() protoreflect.Message
- func (x *FacetValue) Reset()
- func (x *FacetValue) String() string
- type FacetValue_BoolValue
- type FacetValue_IntegerValue
- type FacetValue_StringValue
- type FeedbackItem
- func (*FeedbackItem) Descriptor() ([]byte, []int)deprecated
- func (x *FeedbackItem) GetExample() *VectorInput
- func (x *FeedbackItem) GetScore() float32
- func (*FeedbackItem) ProtoMessage()
- func (x *FeedbackItem) ProtoReflect() protoreflect.Message
- func (x *FeedbackItem) Reset()
- func (x *FeedbackItem) String() string
- type FeedbackStrategy
- func (*FeedbackStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *FeedbackStrategy) GetNaive() *NaiveFeedbackStrategy
- func (m *FeedbackStrategy) GetVariant() isFeedbackStrategy_Variant
- func (*FeedbackStrategy) ProtoMessage()
- func (x *FeedbackStrategy) ProtoReflect() protoreflect.Message
- func (x *FeedbackStrategy) Reset()
- func (x *FeedbackStrategy) String() string
- type FeedbackStrategy_Naive
- type FieldCondition
- func (*FieldCondition) Descriptor() ([]byte, []int)deprecated
- func (x *FieldCondition) GetDatetimeRange() *DatetimeRange
- func (x *FieldCondition) GetGeoBoundingBox() *GeoBoundingBox
- func (x *FieldCondition) GetGeoPolygon() *GeoPolygon
- func (x *FieldCondition) GetGeoRadius() *GeoRadius
- func (x *FieldCondition) GetIsEmpty() bool
- func (x *FieldCondition) GetIsNull() bool
- func (x *FieldCondition) GetKey() string
- func (x *FieldCondition) GetMatch() *Match
- func (x *FieldCondition) GetRange() *Range
- func (x *FieldCondition) GetValuesCount() *ValuesCount
- func (*FieldCondition) ProtoMessage()
- func (x *FieldCondition) ProtoReflect() protoreflect.Message
- func (x *FieldCondition) Reset()
- func (x *FieldCondition) String() string
- type FieldType
- type Filter
- func (*Filter) Descriptor() ([]byte, []int)deprecated
- func (x *Filter) GetMinShould() *MinShould
- func (x *Filter) GetMust() []*Condition
- func (x *Filter) GetMustNot() []*Condition
- func (x *Filter) GetShould() []*Condition
- func (*Filter) ProtoMessage()
- func (x *Filter) ProtoReflect() protoreflect.Message
- func (x *Filter) Reset()
- func (x *Filter) String() string
- type FloatIndexParams
- func (*FloatIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *FloatIndexParams) GetEnableHnsw() bool
- func (x *FloatIndexParams) GetIsPrincipal() bool
- func (x *FloatIndexParams) GetOnDisk() bool
- func (*FloatIndexParams) ProtoMessage()
- func (x *FloatIndexParams) ProtoReflect() protoreflect.Message
- func (x *FloatIndexParams) Reset()
- func (x *FloatIndexParams) String() string
- type Formula
- type Fusion
- type GeoBoundingBox
- func (*GeoBoundingBox) Descriptor() ([]byte, []int)deprecated
- func (x *GeoBoundingBox) GetBottomRight() *GeoPoint
- func (x *GeoBoundingBox) GetTopLeft() *GeoPoint
- func (*GeoBoundingBox) ProtoMessage()
- func (x *GeoBoundingBox) ProtoReflect() protoreflect.Message
- func (x *GeoBoundingBox) Reset()
- func (x *GeoBoundingBox) String() string
- type GeoDistance
- func (*GeoDistance) Descriptor() ([]byte, []int)deprecated
- func (x *GeoDistance) GetOrigin() *GeoPoint
- func (x *GeoDistance) GetTo() string
- func (*GeoDistance) ProtoMessage()
- func (x *GeoDistance) ProtoReflect() protoreflect.Message
- func (x *GeoDistance) Reset()
- func (x *GeoDistance) String() string
- type GeoIndexParams
- func (*GeoIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *GeoIndexParams) GetEnableHnsw() bool
- func (x *GeoIndexParams) GetOnDisk() bool
- func (*GeoIndexParams) ProtoMessage()
- func (x *GeoIndexParams) ProtoReflect() protoreflect.Message
- func (x *GeoIndexParams) Reset()
- func (x *GeoIndexParams) String() string
- type GeoLineString
- type GeoPoint
- type GeoPolygon
- func (*GeoPolygon) Descriptor() ([]byte, []int)deprecated
- func (x *GeoPolygon) GetExterior() *GeoLineString
- func (x *GeoPolygon) GetInteriors() []*GeoLineString
- func (*GeoPolygon) ProtoMessage()
- func (x *GeoPolygon) ProtoReflect() protoreflect.Message
- func (x *GeoPolygon) Reset()
- func (x *GeoPolygon) String() string
- type GeoRadius
- type GetCollectionInfoRequest
- func (*GetCollectionInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionInfoRequest) GetCollectionName() string
- func (*GetCollectionInfoRequest) ProtoMessage()
- func (x *GetCollectionInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetCollectionInfoRequest) Reset()
- func (x *GetCollectionInfoRequest) String() string
- type GetCollectionInfoResponse
- func (*GetCollectionInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetCollectionInfoResponse) GetResult() *CollectionInfo
- func (x *GetCollectionInfoResponse) GetTime() float64
- func (*GetCollectionInfoResponse) ProtoMessage()
- func (x *GetCollectionInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetCollectionInfoResponse) Reset()
- func (x *GetCollectionInfoResponse) String() string
- type GetPoints
- func (*GetPoints) Descriptor() ([]byte, []int)deprecated
- func (x *GetPoints) GetCollectionName() string
- func (x *GetPoints) GetIds() []*PointId
- func (x *GetPoints) GetReadConsistency() *ReadConsistency
- func (x *GetPoints) GetShardKeySelector() *ShardKeySelector
- func (x *GetPoints) GetTimeout() uint64
- func (x *GetPoints) GetWithPayload() *WithPayloadSelector
- func (x *GetPoints) GetWithVectors() *WithVectorsSelector
- func (*GetPoints) ProtoMessage()
- func (x *GetPoints) ProtoReflect() protoreflect.Message
- func (x *GetPoints) Reset()
- func (x *GetPoints) String() string
- type GetResponse
- func (*GetResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetResponse) GetResult() []*RetrievedPoint
- func (x *GetResponse) GetTime() float64
- func (x *GetResponse) GetUsage() *Usage
- func (*GetResponse) ProtoMessage()
- func (x *GetResponse) ProtoReflect() protoreflect.Message
- func (x *GetResponse) Reset()
- func (x *GetResponse) String() string
- type GroupId
- func (*GroupId) Descriptor() ([]byte, []int)deprecated
- func (x *GroupId) GetIntegerValue() int64
- func (m *GroupId) GetKind() isGroupId_Kind
- func (x *GroupId) GetStringValue() string
- func (x *GroupId) GetUnsignedValue() uint64
- func (*GroupId) ProtoMessage()
- func (x *GroupId) ProtoReflect() protoreflect.Message
- func (x *GroupId) Reset()
- func (x *GroupId) String() string
- type GroupId_IntegerValue
- type GroupId_StringValue
- type GroupId_UnsignedValue
- type GroupsResult
- type GrpcClient
- type HardwareUsage
- func (*HardwareUsage) Descriptor() ([]byte, []int)deprecated
- func (x *HardwareUsage) GetCpu() uint64
- func (x *HardwareUsage) GetPayloadIndexIoRead() uint64
- func (x *HardwareUsage) GetPayloadIndexIoWrite() uint64
- func (x *HardwareUsage) GetPayloadIoRead() uint64
- func (x *HardwareUsage) GetPayloadIoWrite() uint64
- func (x *HardwareUsage) GetVectorIoRead() uint64
- func (x *HardwareUsage) GetVectorIoWrite() uint64
- func (*HardwareUsage) ProtoMessage()
- func (x *HardwareUsage) ProtoReflect() protoreflect.Message
- func (x *HardwareUsage) Reset()
- func (x *HardwareUsage) String() string
- type HasIdCondition
- type HasVectorCondition
- func (*HasVectorCondition) Descriptor() ([]byte, []int)deprecated
- func (x *HasVectorCondition) GetHasVector() string
- func (*HasVectorCondition) ProtoMessage()
- func (x *HasVectorCondition) ProtoReflect() protoreflect.Message
- func (x *HasVectorCondition) Reset()
- func (x *HasVectorCondition) String() string
- type HealthCheckReply
- func (*HealthCheckReply) Descriptor() ([]byte, []int)deprecated
- func (x *HealthCheckReply) GetCommit() string
- func (x *HealthCheckReply) GetTitle() string
- func (x *HealthCheckReply) GetVersion() string
- func (*HealthCheckReply) ProtoMessage()
- func (x *HealthCheckReply) ProtoReflect() protoreflect.Message
- func (x *HealthCheckReply) Reset()
- func (x *HealthCheckReply) String() string
- type HealthCheckRequest
- type HnswConfigDiff
- func (*HnswConfigDiff) Descriptor() ([]byte, []int)deprecated
- func (x *HnswConfigDiff) GetEfConstruct() uint64
- func (x *HnswConfigDiff) GetFullScanThreshold() uint64
- func (x *HnswConfigDiff) GetInlineStorage() bool
- func (x *HnswConfigDiff) GetM() uint64
- func (x *HnswConfigDiff) GetMaxIndexingThreads() uint64
- func (x *HnswConfigDiff) GetOnDisk() bool
- func (x *HnswConfigDiff) GetPayloadM() uint64
- func (*HnswConfigDiff) ProtoMessage()
- func (x *HnswConfigDiff) ProtoReflect() protoreflect.Message
- func (x *HnswConfigDiff) Reset()
- func (x *HnswConfigDiff) String() string
- type Image
- func (*Image) Descriptor() ([]byte, []int)deprecated
- func (x *Image) GetImage() *Value
- func (x *Image) GetModel() string
- func (x *Image) GetOptions() map[string]*Value
- func (*Image) ProtoMessage()
- func (x *Image) ProtoReflect() protoreflect.Message
- func (x *Image) Reset()
- func (x *Image) String() string
- type InferenceObject
- func (*InferenceObject) Descriptor() ([]byte, []int)deprecated
- func (x *InferenceObject) GetModel() string
- func (x *InferenceObject) GetObject() *Value
- func (x *InferenceObject) GetOptions() map[string]*Value
- func (*InferenceObject) ProtoMessage()
- func (x *InferenceObject) ProtoReflect() protoreflect.Message
- func (x *InferenceObject) Reset()
- func (x *InferenceObject) String() string
- type InferenceUsage
- type IntegerIndexParams
- func (*IntegerIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *IntegerIndexParams) GetEnableHnsw() bool
- func (x *IntegerIndexParams) GetIsPrincipal() bool
- func (x *IntegerIndexParams) GetLookup() bool
- func (x *IntegerIndexParams) GetOnDisk() bool
- func (x *IntegerIndexParams) GetRange() bool
- func (*IntegerIndexParams) ProtoMessage()
- func (x *IntegerIndexParams) ProtoReflect() protoreflect.Message
- func (x *IntegerIndexParams) Reset()
- func (x *IntegerIndexParams) String() string
- type IsEmptyCondition
- type IsNullCondition
- type KeywordIndexParams
- func (*KeywordIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *KeywordIndexParams) GetEnableHnsw() bool
- func (x *KeywordIndexParams) GetIsTenant() bool
- func (x *KeywordIndexParams) GetOnDisk() bool
- func (*KeywordIndexParams) ProtoMessage()
- func (x *KeywordIndexParams) ProtoReflect() protoreflect.Message
- func (x *KeywordIndexParams) Reset()
- func (x *KeywordIndexParams) String() string
- type ListAliasesRequest
- type ListAliasesResponse
- func (*ListAliasesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListAliasesResponse) GetAliases() []*AliasDescription
- func (x *ListAliasesResponse) GetTime() float64
- func (*ListAliasesResponse) ProtoMessage()
- func (x *ListAliasesResponse) ProtoReflect() protoreflect.Message
- func (x *ListAliasesResponse) Reset()
- func (x *ListAliasesResponse) String() string
- type ListCollectionAliasesRequest
- func (*ListCollectionAliasesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionAliasesRequest) GetCollectionName() string
- func (*ListCollectionAliasesRequest) ProtoMessage()
- func (x *ListCollectionAliasesRequest) ProtoReflect() protoreflect.Message
- func (x *ListCollectionAliasesRequest) Reset()
- func (x *ListCollectionAliasesRequest) String() string
- type ListCollectionsRequest
- type ListCollectionsResponse
- func (*ListCollectionsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListCollectionsResponse) GetCollections() []*CollectionDescription
- func (x *ListCollectionsResponse) GetTime() float64
- func (*ListCollectionsResponse) ProtoMessage()
- func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message
- func (x *ListCollectionsResponse) Reset()
- func (x *ListCollectionsResponse) String() string
- type ListFullSnapshotsRequest
- type ListShardKeysRequest
- func (*ListShardKeysRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListShardKeysRequest) GetCollectionName() string
- func (*ListShardKeysRequest) ProtoMessage()
- func (x *ListShardKeysRequest) ProtoReflect() protoreflect.Message
- func (x *ListShardKeysRequest) Reset()
- func (x *ListShardKeysRequest) String() string
- type ListShardKeysResponse
- func (*ListShardKeysResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListShardKeysResponse) GetShardKeys() []*ShardKeyDescription
- func (x *ListShardKeysResponse) GetTime() float64
- func (*ListShardKeysResponse) ProtoMessage()
- func (x *ListShardKeysResponse) ProtoReflect() protoreflect.Message
- func (x *ListShardKeysResponse) Reset()
- func (x *ListShardKeysResponse) String() string
- type ListSnapshotsRequest
- func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListSnapshotsRequest) GetCollectionName() string
- func (*ListSnapshotsRequest) ProtoMessage()
- func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Message
- func (x *ListSnapshotsRequest) Reset()
- func (x *ListSnapshotsRequest) String() string
- type ListSnapshotsResponse
- func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListSnapshotsResponse) GetSnapshotDescriptions() []*SnapshotDescription
- func (x *ListSnapshotsResponse) GetTime() float64
- func (*ListSnapshotsResponse) ProtoMessage()
- func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message
- func (x *ListSnapshotsResponse) Reset()
- func (x *ListSnapshotsResponse) String() string
- type ListValue
- type LocalShardInfo
- func (*LocalShardInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LocalShardInfo) GetPointsCount() uint64
- func (x *LocalShardInfo) GetShardId() uint32
- func (x *LocalShardInfo) GetShardKey() *ShardKey
- func (x *LocalShardInfo) GetState() ReplicaState
- func (*LocalShardInfo) ProtoMessage()
- func (x *LocalShardInfo) ProtoReflect() protoreflect.Message
- func (x *LocalShardInfo) Reset()
- func (x *LocalShardInfo) String() string
- type LookupLocation
- func (*LookupLocation) Descriptor() ([]byte, []int)deprecated
- func (x *LookupLocation) GetCollectionName() string
- func (x *LookupLocation) GetShardKeySelector() *ShardKeySelector
- func (x *LookupLocation) GetVectorName() string
- func (*LookupLocation) ProtoMessage()
- func (x *LookupLocation) ProtoReflect() protoreflect.Message
- func (x *LookupLocation) Reset()
- func (x *LookupLocation) String() string
- type Match
- func (*Match) Descriptor() ([]byte, []int)deprecated
- func (x *Match) GetBoolean() bool
- func (x *Match) GetExceptIntegers() *RepeatedIntegers
- func (x *Match) GetExceptKeywords() *RepeatedStrings
- func (x *Match) GetInteger() int64
- func (x *Match) GetIntegers() *RepeatedIntegers
- func (x *Match) GetKeyword() string
- func (x *Match) GetKeywords() *RepeatedStrings
- func (m *Match) GetMatchValue() isMatch_MatchValue
- func (x *Match) GetPhrase() string
- func (x *Match) GetText() string
- func (x *Match) GetTextAny() string
- func (*Match) ProtoMessage()
- func (x *Match) ProtoReflect() protoreflect.Message
- func (x *Match) Reset()
- func (x *Match) String() string
- type Match_Boolean
- type Match_ExceptIntegers
- type Match_ExceptKeywords
- type Match_Integer
- type Match_Integers
- type Match_Keyword
- type Match_Keywords
- type Match_Phrase
- type Match_Text
- type Match_TextAny
- type MaxOptimizationThreads
- func (*MaxOptimizationThreads) Descriptor() ([]byte, []int)deprecated
- func (x *MaxOptimizationThreads) GetSetting() MaxOptimizationThreads_Setting
- func (x *MaxOptimizationThreads) GetValue() uint64
- func (m *MaxOptimizationThreads) GetVariant() isMaxOptimizationThreads_Variant
- func (*MaxOptimizationThreads) ProtoMessage()
- func (x *MaxOptimizationThreads) ProtoReflect() protoreflect.Message
- func (x *MaxOptimizationThreads) Reset()
- func (x *MaxOptimizationThreads) String() string
- type MaxOptimizationThreads_Setting
- func (MaxOptimizationThreads_Setting) Descriptor() protoreflect.EnumDescriptor
- func (x MaxOptimizationThreads_Setting) Enum() *MaxOptimizationThreads_Setting
- func (MaxOptimizationThreads_Setting) EnumDescriptor() ([]byte, []int)deprecated
- func (x MaxOptimizationThreads_Setting) Number() protoreflect.EnumNumber
- func (x MaxOptimizationThreads_Setting) String() string
- func (MaxOptimizationThreads_Setting) Type() protoreflect.EnumType
- type MaxOptimizationThreads_Setting_
- type MaxOptimizationThreads_Value
- type MinShould
- type Mmr
- type ModelUsage
- type Modifier
- type MoveShard
- func (*MoveShard) Descriptor() ([]byte, []int)deprecated
- func (x *MoveShard) GetFromPeerId() uint64
- func (x *MoveShard) GetMethod() ShardTransferMethod
- func (x *MoveShard) GetShardId() uint32
- func (x *MoveShard) GetToPeerId() uint64
- func (x *MoveShard) GetToShardId() uint32
- func (*MoveShard) ProtoMessage()
- func (x *MoveShard) ProtoReflect() protoreflect.Message
- func (x *MoveShard) Reset()
- func (x *MoveShard) String() string
- type MultExpression
- type MultiDenseVector
- type MultiVectorComparator
- func (MultiVectorComparator) Descriptor() protoreflect.EnumDescriptor
- func (x MultiVectorComparator) Enum() *MultiVectorComparator
- func (MultiVectorComparator) EnumDescriptor() ([]byte, []int)deprecated
- func (x MultiVectorComparator) Number() protoreflect.EnumNumber
- func (x MultiVectorComparator) String() string
- func (MultiVectorComparator) Type() protoreflect.EnumType
- type MultiVectorConfig
- func (*MultiVectorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *MultiVectorConfig) GetComparator() MultiVectorComparator
- func (*MultiVectorConfig) ProtoMessage()
- func (x *MultiVectorConfig) ProtoReflect() protoreflect.Message
- func (x *MultiVectorConfig) Reset()
- func (x *MultiVectorConfig) String() string
- type NaiveFeedbackStrategy
- func (*NaiveFeedbackStrategy) Descriptor() ([]byte, []int)deprecated
- func (x *NaiveFeedbackStrategy) GetA() float32
- func (x *NaiveFeedbackStrategy) GetB() float32
- func (x *NaiveFeedbackStrategy) GetC() float32
- func (*NaiveFeedbackStrategy) ProtoMessage()
- func (x *NaiveFeedbackStrategy) ProtoReflect() protoreflect.Message
- func (x *NaiveFeedbackStrategy) Reset()
- func (x *NaiveFeedbackStrategy) String() string
- type NamedVectors
- type NamedVectorsOutput
- func (*NamedVectorsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *NamedVectorsOutput) GetVectors() map[string]*VectorOutput
- func (*NamedVectorsOutput) ProtoMessage()
- func (x *NamedVectorsOutput) ProtoReflect() protoreflect.Message
- func (x *NamedVectorsOutput) Reset()
- func (x *NamedVectorsOutput) String() string
- type NearestInputWithMmr
- func (*NearestInputWithMmr) Descriptor() ([]byte, []int)deprecated
- func (x *NearestInputWithMmr) GetMmr() *Mmr
- func (x *NearestInputWithMmr) GetNearest() *VectorInput
- func (*NearestInputWithMmr) ProtoMessage()
- func (x *NearestInputWithMmr) ProtoReflect() protoreflect.Message
- func (x *NearestInputWithMmr) Reset()
- func (x *NearestInputWithMmr) String() string
- type NestedCondition
- func (*NestedCondition) Descriptor() ([]byte, []int)deprecated
- func (x *NestedCondition) GetFilter() *Filter
- func (x *NestedCondition) GetKey() string
- func (*NestedCondition) ProtoMessage()
- func (x *NestedCondition) ProtoReflect() protoreflect.Message
- func (x *NestedCondition) Reset()
- func (x *NestedCondition) String() string
- type NullValue
- type OptimizerStatus
- func (*OptimizerStatus) Descriptor() ([]byte, []int)deprecated
- func (x *OptimizerStatus) GetError() string
- func (x *OptimizerStatus) GetOk() bool
- func (*OptimizerStatus) ProtoMessage()
- func (x *OptimizerStatus) ProtoReflect() protoreflect.Message
- func (x *OptimizerStatus) Reset()
- func (x *OptimizerStatus) String() string
- type OptimizersConfigDiff
- func (*OptimizersConfigDiff) Descriptor() ([]byte, []int)deprecated
- func (x *OptimizersConfigDiff) GetDefaultSegmentNumber() uint64
- func (x *OptimizersConfigDiff) GetDeletedThreshold() float64
- func (x *OptimizersConfigDiff) GetDeprecatedMaxOptimizationThreads() uint64
- func (x *OptimizersConfigDiff) GetFlushIntervalSec() uint64
- func (x *OptimizersConfigDiff) GetIndexingThreshold() uint64
- func (x *OptimizersConfigDiff) GetMaxOptimizationThreads() *MaxOptimizationThreads
- func (x *OptimizersConfigDiff) GetMaxSegmentSize() uint64
- func (x *OptimizersConfigDiff) GetMemmapThreshold() uint64
- func (x *OptimizersConfigDiff) GetPreventUnoptimized() bool
- func (x *OptimizersConfigDiff) GetVacuumMinVectorNumber() uint64
- func (*OptimizersConfigDiff) ProtoMessage()
- func (x *OptimizersConfigDiff) ProtoReflect() protoreflect.Message
- func (x *OptimizersConfigDiff) Reset()
- func (x *OptimizersConfigDiff) String() string
- type OrderBy
- func (*OrderBy) Descriptor() ([]byte, []int)deprecated
- func (x *OrderBy) GetDirection() Direction
- func (x *OrderBy) GetKey() string
- func (x *OrderBy) GetStartFrom() *StartFrom
- func (*OrderBy) ProtoMessage()
- func (x *OrderBy) ProtoReflect() protoreflect.Message
- func (x *OrderBy) Reset()
- func (x *OrderBy) String() string
- type OrderValue
- func (*OrderValue) Descriptor() ([]byte, []int)deprecated
- func (x *OrderValue) GetFloat() float64
- func (x *OrderValue) GetInt() int64
- func (m *OrderValue) GetVariant() isOrderValue_Variant
- func (*OrderValue) ProtoMessage()
- func (x *OrderValue) ProtoReflect() protoreflect.Message
- func (x *OrderValue) Reset()
- func (x *OrderValue) String() string
- type OrderValue_Float
- type OrderValue_Int
- type PayloadExcludeSelector
- func (*PayloadExcludeSelector) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadExcludeSelector) GetFields() []string
- func (*PayloadExcludeSelector) ProtoMessage()
- func (x *PayloadExcludeSelector) ProtoReflect() protoreflect.Message
- func (x *PayloadExcludeSelector) Reset()
- func (x *PayloadExcludeSelector) String() string
- type PayloadIncludeSelector
- func (*PayloadIncludeSelector) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadIncludeSelector) GetFields() []string
- func (*PayloadIncludeSelector) ProtoMessage()
- func (x *PayloadIncludeSelector) ProtoReflect() protoreflect.Message
- func (x *PayloadIncludeSelector) Reset()
- func (x *PayloadIncludeSelector) String() string
- type PayloadIndexParams
- func NewPayloadIndexParams(params *KeywordIndexParams) *PayloadIndexParams
- func NewPayloadIndexParamsBool(params *BoolIndexParams) *PayloadIndexParams
- func NewPayloadIndexParamsDatetime(params *DatetimeIndexParams) *PayloadIndexParams
- func NewPayloadIndexParamsFloat(params *FloatIndexParams) *PayloadIndexParams
- func NewPayloadIndexParamsGeo(params *GeoIndexParams) *PayloadIndexParams
- func NewPayloadIndexParamsInt(params *IntegerIndexParams) *PayloadIndexParams
- func NewPayloadIndexParamsKeyword(params *KeywordIndexParams) *PayloadIndexParams
- func NewPayloadIndexParamsText(params *TextIndexParams) *PayloadIndexParams
- func NewPayloadIndexParamsUUID(params *UuidIndexParams) *PayloadIndexParams
- func (*PayloadIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadIndexParams) GetBoolIndexParams() *BoolIndexParams
- func (x *PayloadIndexParams) GetDatetimeIndexParams() *DatetimeIndexParams
- func (x *PayloadIndexParams) GetFloatIndexParams() *FloatIndexParams
- func (x *PayloadIndexParams) GetGeoIndexParams() *GeoIndexParams
- func (m *PayloadIndexParams) GetIndexParams() isPayloadIndexParams_IndexParams
- func (x *PayloadIndexParams) GetIntegerIndexParams() *IntegerIndexParams
- func (x *PayloadIndexParams) GetKeywordIndexParams() *KeywordIndexParams
- func (x *PayloadIndexParams) GetTextIndexParams() *TextIndexParams
- func (x *PayloadIndexParams) GetUuidIndexParams() *UuidIndexParams
- func (*PayloadIndexParams) ProtoMessage()
- func (x *PayloadIndexParams) ProtoReflect() protoreflect.Message
- func (x *PayloadIndexParams) Reset()
- func (x *PayloadIndexParams) String() string
- type PayloadIndexParams_BoolIndexParams
- type PayloadIndexParams_DatetimeIndexParams
- type PayloadIndexParams_FloatIndexParams
- type PayloadIndexParams_GeoIndexParams
- type PayloadIndexParams_IntegerIndexParams
- type PayloadIndexParams_KeywordIndexParams
- type PayloadIndexParams_TextIndexParams
- type PayloadIndexParams_UuidIndexParams
- type PayloadSchemaInfo
- func (*PayloadSchemaInfo) Descriptor() ([]byte, []int)deprecated
- func (x *PayloadSchemaInfo) GetDataType() PayloadSchemaType
- func (x *PayloadSchemaInfo) GetParams() *PayloadIndexParams
- func (x *PayloadSchemaInfo) GetPoints() uint64
- func (*PayloadSchemaInfo) ProtoMessage()
- func (x *PayloadSchemaInfo) ProtoReflect() protoreflect.Message
- func (x *PayloadSchemaInfo) Reset()
- func (x *PayloadSchemaInfo) String() string
- type PayloadSchemaType
- func (PayloadSchemaType) Descriptor() protoreflect.EnumDescriptor
- func (x PayloadSchemaType) Enum() *PayloadSchemaType
- func (PayloadSchemaType) EnumDescriptor() ([]byte, []int)deprecated
- func (x PayloadSchemaType) Number() protoreflect.EnumNumber
- func (x PayloadSchemaType) String() string
- func (PayloadSchemaType) Type() protoreflect.EnumType
- type PointGroup
- func (*PointGroup) Descriptor() ([]byte, []int)deprecated
- func (x *PointGroup) GetHits() []*ScoredPoint
- func (x *PointGroup) GetId() *GroupId
- func (x *PointGroup) GetLookup() *RetrievedPoint
- func (*PointGroup) ProtoMessage()
- func (x *PointGroup) ProtoReflect() protoreflect.Message
- func (x *PointGroup) Reset()
- func (x *PointGroup) String() string
- type PointId
- func (*PointId) Descriptor() ([]byte, []int)deprecated
- func (x *PointId) GetNum() uint64
- func (m *PointId) GetPointIdOptions() isPointId_PointIdOptions
- func (x *PointId) GetUuid() string
- func (*PointId) ProtoMessage()
- func (x *PointId) ProtoReflect() protoreflect.Message
- func (x *PointId) Reset()
- func (x *PointId) String() string
- type PointId_Num
- type PointId_Uuid
- type PointStruct
- func (*PointStruct) Descriptor() ([]byte, []int)deprecated
- func (x *PointStruct) GetId() *PointId
- func (x *PointStruct) GetPayload() map[string]*Value
- func (x *PointStruct) GetVectors() *Vectors
- func (*PointStruct) ProtoMessage()
- func (x *PointStruct) ProtoReflect() protoreflect.Message
- func (x *PointStruct) Reset()
- func (x *PointStruct) String() string
- type PointVectors
- func (*PointVectors) Descriptor() ([]byte, []int)deprecated
- func (x *PointVectors) GetId() *PointId
- func (x *PointVectors) GetVectors() *Vectors
- func (*PointVectors) ProtoMessage()
- func (x *PointVectors) ProtoReflect() protoreflect.Message
- func (x *PointVectors) Reset()
- func (x *PointVectors) String() string
- type PointsClient
- type PointsIdsList
- type PointsOperationResponse
- func (*PointsOperationResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PointsOperationResponse) GetResult() *UpdateResult
- func (x *PointsOperationResponse) GetTime() float64
- func (x *PointsOperationResponse) GetUsage() *Usage
- func (*PointsOperationResponse) ProtoMessage()
- func (x *PointsOperationResponse) ProtoReflect() protoreflect.Message
- func (x *PointsOperationResponse) Reset()
- func (x *PointsOperationResponse) String() string
- type PointsSelector
- func (*PointsSelector) Descriptor() ([]byte, []int)deprecated
- func (x *PointsSelector) GetFilter() *Filter
- func (x *PointsSelector) GetPoints() *PointsIdsList
- func (m *PointsSelector) GetPointsSelectorOneOf() isPointsSelector_PointsSelectorOneOf
- func (*PointsSelector) ProtoMessage()
- func (x *PointsSelector) ProtoReflect() protoreflect.Message
- func (x *PointsSelector) Reset()
- func (x *PointsSelector) String() string
- type PointsSelector_Filter
- type PointsSelector_Points
- type PointsServer
- type PointsUpdateOperation
- func NewPointsUpdateClearPayload(clearPayload *PointsUpdateOperation_ClearPayload) *PointsUpdateOperation
- func NewPointsUpdateDeletePayload(deletePayload *PointsUpdateOperation_DeletePayload) *PointsUpdateOperation
- func NewPointsUpdateDeletePoints(deletePoints *PointsUpdateOperation_DeletePoints) *PointsUpdateOperation
- func NewPointsUpdateDeleteVectors(deleteVectors *PointsUpdateOperation_DeleteVectors) *PointsUpdateOperation
- func NewPointsUpdateOverwritePayload(overwritePayload *PointsUpdateOperation_OverwritePayload) *PointsUpdateOperation
- func NewPointsUpdateSetPayload(setPayload *PointsUpdateOperation_SetPayload) *PointsUpdateOperation
- func NewPointsUpdateUpdateVectors(updateVectors *PointsUpdateOperation_UpdateVectors) *PointsUpdateOperation
- func NewPointsUpdateUpsert(upsert *PointsUpdateOperation_PointStructList) *PointsUpdateOperation
- func (*PointsUpdateOperation) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation) GetClearPayload() *PointsUpdateOperation_ClearPayload
- func (x *PointsUpdateOperation) GetClearPayloadDeprecated() *PointsSelectordeprecated
- func (x *PointsUpdateOperation) GetDeleteDeprecated() *PointsSelectordeprecated
- func (x *PointsUpdateOperation) GetDeletePayload() *PointsUpdateOperation_DeletePayload
- func (x *PointsUpdateOperation) GetDeletePoints() *PointsUpdateOperation_DeletePoints
- func (x *PointsUpdateOperation) GetDeleteVectors() *PointsUpdateOperation_DeleteVectors
- func (m *PointsUpdateOperation) GetOperation() isPointsUpdateOperation_Operation
- func (x *PointsUpdateOperation) GetOverwritePayload() *PointsUpdateOperation_OverwritePayload
- func (x *PointsUpdateOperation) GetSetPayload() *PointsUpdateOperation_SetPayload
- func (x *PointsUpdateOperation) GetUpdateVectors() *PointsUpdateOperation_UpdateVectors
- func (x *PointsUpdateOperation) GetUpsert() *PointsUpdateOperation_PointStructList
- func (*PointsUpdateOperation) ProtoMessage()
- func (x *PointsUpdateOperation) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation) Reset()
- func (x *PointsUpdateOperation) String() string
- type PointsUpdateOperation_ClearPayload
- func (*PointsUpdateOperation_ClearPayload) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation_ClearPayload) GetPoints() *PointsSelector
- func (x *PointsUpdateOperation_ClearPayload) GetShardKeySelector() *ShardKeySelector
- func (*PointsUpdateOperation_ClearPayload) ProtoMessage()
- func (x *PointsUpdateOperation_ClearPayload) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation_ClearPayload) Reset()
- func (x *PointsUpdateOperation_ClearPayload) String() string
- type PointsUpdateOperation_ClearPayloadDeprecated
- type PointsUpdateOperation_ClearPayload_
- type PointsUpdateOperation_DeleteDeprecated
- type PointsUpdateOperation_DeletePayload
- func (*PointsUpdateOperation_DeletePayload) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation_DeletePayload) GetKeys() []string
- func (x *PointsUpdateOperation_DeletePayload) GetPointsSelector() *PointsSelector
- func (x *PointsUpdateOperation_DeletePayload) GetShardKeySelector() *ShardKeySelector
- func (*PointsUpdateOperation_DeletePayload) ProtoMessage()
- func (x *PointsUpdateOperation_DeletePayload) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation_DeletePayload) Reset()
- func (x *PointsUpdateOperation_DeletePayload) String() string
- type PointsUpdateOperation_DeletePayload_
- type PointsUpdateOperation_DeletePoints
- func (*PointsUpdateOperation_DeletePoints) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation_DeletePoints) GetPoints() *PointsSelector
- func (x *PointsUpdateOperation_DeletePoints) GetShardKeySelector() *ShardKeySelector
- func (*PointsUpdateOperation_DeletePoints) ProtoMessage()
- func (x *PointsUpdateOperation_DeletePoints) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation_DeletePoints) Reset()
- func (x *PointsUpdateOperation_DeletePoints) String() string
- type PointsUpdateOperation_DeletePoints_
- type PointsUpdateOperation_DeleteVectors
- func (*PointsUpdateOperation_DeleteVectors) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation_DeleteVectors) GetPointsSelector() *PointsSelector
- func (x *PointsUpdateOperation_DeleteVectors) GetShardKeySelector() *ShardKeySelector
- func (x *PointsUpdateOperation_DeleteVectors) GetVectors() *VectorsSelector
- func (*PointsUpdateOperation_DeleteVectors) ProtoMessage()
- func (x *PointsUpdateOperation_DeleteVectors) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation_DeleteVectors) Reset()
- func (x *PointsUpdateOperation_DeleteVectors) String() string
- type PointsUpdateOperation_DeleteVectors_
- type PointsUpdateOperation_OverwritePayload
- func (*PointsUpdateOperation_OverwritePayload) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation_OverwritePayload) GetKey() string
- func (x *PointsUpdateOperation_OverwritePayload) GetPayload() map[string]*Value
- func (x *PointsUpdateOperation_OverwritePayload) GetPointsSelector() *PointsSelector
- func (x *PointsUpdateOperation_OverwritePayload) GetShardKeySelector() *ShardKeySelector
- func (*PointsUpdateOperation_OverwritePayload) ProtoMessage()
- func (x *PointsUpdateOperation_OverwritePayload) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation_OverwritePayload) Reset()
- func (x *PointsUpdateOperation_OverwritePayload) String() string
- type PointsUpdateOperation_OverwritePayload_
- type PointsUpdateOperation_PointStructList
- func (*PointsUpdateOperation_PointStructList) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation_PointStructList) GetPoints() []*PointStruct
- func (x *PointsUpdateOperation_PointStructList) GetShardKeySelector() *ShardKeySelector
- func (x *PointsUpdateOperation_PointStructList) GetUpdateFilter() *Filter
- func (x *PointsUpdateOperation_PointStructList) GetUpdateMode() UpdateMode
- func (*PointsUpdateOperation_PointStructList) ProtoMessage()
- func (x *PointsUpdateOperation_PointStructList) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation_PointStructList) Reset()
- func (x *PointsUpdateOperation_PointStructList) String() string
- type PointsUpdateOperation_SetPayload
- func (*PointsUpdateOperation_SetPayload) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation_SetPayload) GetKey() string
- func (x *PointsUpdateOperation_SetPayload) GetPayload() map[string]*Value
- func (x *PointsUpdateOperation_SetPayload) GetPointsSelector() *PointsSelector
- func (x *PointsUpdateOperation_SetPayload) GetShardKeySelector() *ShardKeySelector
- func (*PointsUpdateOperation_SetPayload) ProtoMessage()
- func (x *PointsUpdateOperation_SetPayload) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation_SetPayload) Reset()
- func (x *PointsUpdateOperation_SetPayload) String() string
- type PointsUpdateOperation_SetPayload_
- type PointsUpdateOperation_UpdateVectors
- func (*PointsUpdateOperation_UpdateVectors) Descriptor() ([]byte, []int)deprecated
- func (x *PointsUpdateOperation_UpdateVectors) GetPoints() []*PointVectors
- func (x *PointsUpdateOperation_UpdateVectors) GetShardKeySelector() *ShardKeySelector
- func (x *PointsUpdateOperation_UpdateVectors) GetUpdateFilter() *Filter
- func (*PointsUpdateOperation_UpdateVectors) ProtoMessage()
- func (x *PointsUpdateOperation_UpdateVectors) ProtoReflect() protoreflect.Message
- func (x *PointsUpdateOperation_UpdateVectors) Reset()
- func (x *PointsUpdateOperation_UpdateVectors) String() string
- type PointsUpdateOperation_UpdateVectors_
- type PointsUpdateOperation_Upsert
- type PowExpression
- func (*PowExpression) Descriptor() ([]byte, []int)deprecated
- func (x *PowExpression) GetBase() *Expression
- func (x *PowExpression) GetExponent() *Expression
- func (*PowExpression) ProtoMessage()
- func (x *PowExpression) ProtoReflect() protoreflect.Message
- func (x *PowExpression) Reset()
- func (x *PowExpression) String() string
- type PrefetchQuery
- func (*PrefetchQuery) Descriptor() ([]byte, []int)deprecated
- func (x *PrefetchQuery) GetFilter() *Filter
- func (x *PrefetchQuery) GetLimit() uint64
- func (x *PrefetchQuery) GetLookupFrom() *LookupLocation
- func (x *PrefetchQuery) GetParams() *SearchParams
- func (x *PrefetchQuery) GetPrefetch() []*PrefetchQuery
- func (x *PrefetchQuery) GetQuery() *Query
- func (x *PrefetchQuery) GetScoreThreshold() float32
- func (x *PrefetchQuery) GetUsing() string
- func (*PrefetchQuery) ProtoMessage()
- func (x *PrefetchQuery) ProtoReflect() protoreflect.Message
- func (x *PrefetchQuery) Reset()
- func (x *PrefetchQuery) String() string
- type ProductQuantization
- func (*ProductQuantization) Descriptor() ([]byte, []int)deprecated
- func (x *ProductQuantization) GetAlwaysRam() bool
- func (x *ProductQuantization) GetCompression() CompressionRatio
- func (*ProductQuantization) ProtoMessage()
- func (x *ProductQuantization) ProtoReflect() protoreflect.Message
- func (x *ProductQuantization) Reset()
- func (x *ProductQuantization) String() string
- type QdrantClient
- type QdrantError
- type QdrantResourceExhaustedError
- type QdrantServer
- type QuantizationConfig
- func (*QuantizationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *QuantizationConfig) GetBinary() *BinaryQuantization
- func (x *QuantizationConfig) GetProduct() *ProductQuantization
- func (m *QuantizationConfig) GetQuantization() isQuantizationConfig_Quantization
- func (x *QuantizationConfig) GetScalar() *ScalarQuantization
- func (x *QuantizationConfig) GetTurboquant() *TurboQuantization
- func (*QuantizationConfig) ProtoMessage()
- func (x *QuantizationConfig) ProtoReflect() protoreflect.Message
- func (x *QuantizationConfig) Reset()
- func (x *QuantizationConfig) String() string
- type QuantizationConfigDiff
- func NewQuantizationDiffBinary(binary *BinaryQuantization) *QuantizationConfigDiff
- func NewQuantizationDiffDisabled() *QuantizationConfigDiff
- func NewQuantizationDiffProduct(product *ProductQuantization) *QuantizationConfigDiff
- func NewQuantizationDiffScalar(scalar *ScalarQuantization) *QuantizationConfigDiff
- func NewQuantizationDiffTurbo(turbo *TurboQuantization) *QuantizationConfigDiff
- func (*QuantizationConfigDiff) Descriptor() ([]byte, []int)deprecated
- func (x *QuantizationConfigDiff) GetBinary() *BinaryQuantization
- func (x *QuantizationConfigDiff) GetDisabled() *Disabled
- func (x *QuantizationConfigDiff) GetProduct() *ProductQuantization
- func (m *QuantizationConfigDiff) GetQuantization() isQuantizationConfigDiff_Quantization
- func (x *QuantizationConfigDiff) GetScalar() *ScalarQuantization
- func (x *QuantizationConfigDiff) GetTurboquant() *TurboQuantization
- func (*QuantizationConfigDiff) ProtoMessage()
- func (x *QuantizationConfigDiff) ProtoReflect() protoreflect.Message
- func (x *QuantizationConfigDiff) Reset()
- func (x *QuantizationConfigDiff) String() string
- type QuantizationConfigDiff_Binary
- type QuantizationConfigDiff_Disabled
- type QuantizationConfigDiff_Product
- type QuantizationConfigDiff_Scalar
- type QuantizationConfigDiff_Turboquant
- type QuantizationConfig_Binary
- type QuantizationConfig_Product
- type QuantizationConfig_Scalar
- type QuantizationConfig_Turboquant
- type QuantizationSearchParams
- func (*QuantizationSearchParams) Descriptor() ([]byte, []int)deprecated
- func (x *QuantizationSearchParams) GetIgnore() bool
- func (x *QuantizationSearchParams) GetOversampling() float64
- func (x *QuantizationSearchParams) GetRescore() bool
- func (*QuantizationSearchParams) ProtoMessage()
- func (x *QuantizationSearchParams) ProtoReflect() protoreflect.Message
- func (x *QuantizationSearchParams) Reset()
- func (x *QuantizationSearchParams) String() string
- type QuantizationType
- func (QuantizationType) Descriptor() protoreflect.EnumDescriptor
- func (x QuantizationType) Enum() *QuantizationType
- func (QuantizationType) EnumDescriptor() ([]byte, []int)deprecated
- func (x QuantizationType) Number() protoreflect.EnumNumber
- func (x QuantizationType) String() string
- func (QuantizationType) Type() protoreflect.EnumType
- type Query
- func NewQuery(values ...float32) *Query
- func NewQueryContext(context *ContextInput) *Query
- func NewQueryDense(vector []float32) *Query
- func NewQueryDiscover(discover *DiscoverInput) *Query
- func NewQueryDocument(document *Document) *Query
- func NewQueryFormula(formula *Formula) *Query
- func NewQueryFusion(fusion Fusion) *Query
- func NewQueryID(id *PointId) *Query
- func NewQueryMMR(nearest *VectorInput, mmr *Mmr) *Query
- func NewQueryMulti(vectors [][]float32) *Query
- func NewQueryNearest(nearest *VectorInput) *Query
- func NewQueryOrderBy(orderBy *OrderBy) *Query
- func NewQueryRRF(rrf *Rrf) *Query
- func NewQueryRecommend(recommend *RecommendInput) *Query
- func NewQueryRelevanceFeedback(relevanceFeedback *RelevanceFeedbackInput) *Query
- func NewQuerySample(sample Sample) *Query
- func NewQuerySparse(indices []uint32, values []float32) *Query
- func (*Query) Descriptor() ([]byte, []int)deprecated
- func (x *Query) GetContext() *ContextInput
- func (x *Query) GetDiscover() *DiscoverInput
- func (x *Query) GetFormula() *Formula
- func (x *Query) GetFusion() Fusion
- func (x *Query) GetNearest() *VectorInput
- func (x *Query) GetNearestWithMmr() *NearestInputWithMmr
- func (x *Query) GetOrderBy() *OrderBy
- func (x *Query) GetRecommend() *RecommendInput
- func (x *Query) GetRelevanceFeedback() *RelevanceFeedbackInput
- func (x *Query) GetRrf() *Rrf
- func (x *Query) GetSample() Sample
- func (m *Query) GetVariant() isQuery_Variant
- func (*Query) ProtoMessage()
- func (x *Query) ProtoReflect() protoreflect.Message
- func (x *Query) Reset()
- func (x *Query) String() string
- type QueryBatchPoints
- func (*QueryBatchPoints) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchPoints) GetCollectionName() string
- func (x *QueryBatchPoints) GetQueryPoints() []*QueryPoints
- func (x *QueryBatchPoints) GetReadConsistency() *ReadConsistency
- func (x *QueryBatchPoints) GetTimeout() uint64
- func (*QueryBatchPoints) ProtoMessage()
- func (x *QueryBatchPoints) ProtoReflect() protoreflect.Message
- func (x *QueryBatchPoints) Reset()
- func (x *QueryBatchPoints) String() string
- type QueryBatchResponse
- func (*QueryBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryBatchResponse) GetResult() []*BatchResult
- func (x *QueryBatchResponse) GetTime() float64
- func (x *QueryBatchResponse) GetUsage() *Usage
- func (*QueryBatchResponse) ProtoMessage()
- func (x *QueryBatchResponse) ProtoReflect() protoreflect.Message
- func (x *QueryBatchResponse) Reset()
- func (x *QueryBatchResponse) String() string
- type QueryGroupsResponse
- func (*QueryGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryGroupsResponse) GetResult() *GroupsResult
- func (x *QueryGroupsResponse) GetTime() float64
- func (x *QueryGroupsResponse) GetUsage() *Usage
- func (*QueryGroupsResponse) ProtoMessage()
- func (x *QueryGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *QueryGroupsResponse) Reset()
- func (x *QueryGroupsResponse) String() string
- type QueryPointGroups
- func (*QueryPointGroups) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPointGroups) GetCollectionName() string
- func (x *QueryPointGroups) GetFilter() *Filter
- func (x *QueryPointGroups) GetGroupBy() string
- func (x *QueryPointGroups) GetGroupSize() uint64
- func (x *QueryPointGroups) GetLimit() uint64
- func (x *QueryPointGroups) GetLookupFrom() *LookupLocation
- func (x *QueryPointGroups) GetParams() *SearchParams
- func (x *QueryPointGroups) GetPrefetch() []*PrefetchQuery
- func (x *QueryPointGroups) GetQuery() *Query
- func (x *QueryPointGroups) GetReadConsistency() *ReadConsistency
- func (x *QueryPointGroups) GetScoreThreshold() float32
- func (x *QueryPointGroups) GetShardKeySelector() *ShardKeySelector
- func (x *QueryPointGroups) GetTimeout() uint64
- func (x *QueryPointGroups) GetUsing() string
- func (x *QueryPointGroups) GetWithLookup() *WithLookup
- func (x *QueryPointGroups) GetWithPayload() *WithPayloadSelector
- func (x *QueryPointGroups) GetWithVectors() *WithVectorsSelector
- func (*QueryPointGroups) ProtoMessage()
- func (x *QueryPointGroups) ProtoReflect() protoreflect.Message
- func (x *QueryPointGroups) Reset()
- func (x *QueryPointGroups) String() string
- type QueryPoints
- func (*QueryPoints) Descriptor() ([]byte, []int)deprecated
- func (x *QueryPoints) GetCollectionName() string
- func (x *QueryPoints) GetFilter() *Filter
- func (x *QueryPoints) GetLimit() uint64
- func (x *QueryPoints) GetLookupFrom() *LookupLocation
- func (x *QueryPoints) GetOffset() uint64
- func (x *QueryPoints) GetParams() *SearchParams
- func (x *QueryPoints) GetPrefetch() []*PrefetchQuery
- func (x *QueryPoints) GetQuery() *Query
- func (x *QueryPoints) GetReadConsistency() *ReadConsistency
- func (x *QueryPoints) GetScoreThreshold() float32
- func (x *QueryPoints) GetShardKeySelector() *ShardKeySelector
- func (x *QueryPoints) GetTimeout() uint64
- func (x *QueryPoints) GetUsing() string
- func (x *QueryPoints) GetWithPayload() *WithPayloadSelector
- func (x *QueryPoints) GetWithVectors() *WithVectorsSelector
- func (*QueryPoints) ProtoMessage()
- func (x *QueryPoints) ProtoReflect() protoreflect.Message
- func (x *QueryPoints) Reset()
- func (x *QueryPoints) String() string
- type QueryResponse
- func (*QueryResponse) Descriptor() ([]byte, []int)deprecated
- func (x *QueryResponse) GetResult() []*ScoredPoint
- func (x *QueryResponse) GetTime() float64
- func (x *QueryResponse) GetUsage() *Usage
- func (*QueryResponse) ProtoMessage()
- func (x *QueryResponse) ProtoReflect() protoreflect.Message
- func (x *QueryResponse) Reset()
- func (x *QueryResponse) String() string
- type Query_Context
- type Query_Discover
- type Query_Formula
- type Query_Fusion
- type Query_Nearest
- type Query_NearestWithMmr
- type Query_OrderBy
- type Query_Recommend
- type Query_RelevanceFeedback
- type Query_Rrf
- type Query_Sample
- type Range
- func (*Range) Descriptor() ([]byte, []int)deprecated
- func (x *Range) GetGt() float64
- func (x *Range) GetGte() float64
- func (x *Range) GetLt() float64
- func (x *Range) GetLte() float64
- func (*Range) ProtoMessage()
- func (x *Range) ProtoReflect() protoreflect.Message
- func (x *Range) Reset()
- func (x *Range) String() string
- type ReadConsistency
- func (*ReadConsistency) Descriptor() ([]byte, []int)deprecated
- func (x *ReadConsistency) GetFactor() uint64
- func (x *ReadConsistency) GetType() ReadConsistencyType
- func (m *ReadConsistency) GetValue() isReadConsistency_Value
- func (*ReadConsistency) ProtoMessage()
- func (x *ReadConsistency) ProtoReflect() protoreflect.Message
- func (x *ReadConsistency) Reset()
- func (x *ReadConsistency) String() string
- type ReadConsistencyType
- func (ReadConsistencyType) Descriptor() protoreflect.EnumDescriptor
- func (x ReadConsistencyType) Enum() *ReadConsistencyType
- func (ReadConsistencyType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReadConsistencyType) Number() protoreflect.EnumNumber
- func (x ReadConsistencyType) String() string
- func (ReadConsistencyType) Type() protoreflect.EnumType
- type ReadConsistency_Factor
- type ReadConsistency_Type
- type RecommendBatchPoints
- func (*RecommendBatchPoints) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendBatchPoints) GetCollectionName() string
- func (x *RecommendBatchPoints) GetReadConsistency() *ReadConsistency
- func (x *RecommendBatchPoints) GetRecommendPoints() []*RecommendPoints
- func (x *RecommendBatchPoints) GetTimeout() uint64
- func (*RecommendBatchPoints) ProtoMessage()
- func (x *RecommendBatchPoints) ProtoReflect() protoreflect.Message
- func (x *RecommendBatchPoints) Reset()
- func (x *RecommendBatchPoints) String() string
- type RecommendBatchResponse
- func (*RecommendBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendBatchResponse) GetResult() []*BatchResult
- func (x *RecommendBatchResponse) GetTime() float64
- func (x *RecommendBatchResponse) GetUsage() *Usage
- func (*RecommendBatchResponse) ProtoMessage()
- func (x *RecommendBatchResponse) ProtoReflect() protoreflect.Message
- func (x *RecommendBatchResponse) Reset()
- func (x *RecommendBatchResponse) String() string
- type RecommendGroupsResponse
- func (*RecommendGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendGroupsResponse) GetResult() *GroupsResult
- func (x *RecommendGroupsResponse) GetTime() float64
- func (x *RecommendGroupsResponse) GetUsage() *Usage
- func (*RecommendGroupsResponse) ProtoMessage()
- func (x *RecommendGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *RecommendGroupsResponse) Reset()
- func (x *RecommendGroupsResponse) String() string
- type RecommendInput
- func (*RecommendInput) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendInput) GetNegative() []*VectorInput
- func (x *RecommendInput) GetPositive() []*VectorInput
- func (x *RecommendInput) GetStrategy() RecommendStrategy
- func (*RecommendInput) ProtoMessage()
- func (x *RecommendInput) ProtoReflect() protoreflect.Message
- func (x *RecommendInput) Reset()
- func (x *RecommendInput) String() string
- type RecommendPointGroups
- func (*RecommendPointGroups) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendPointGroups) GetCollectionName() string
- func (x *RecommendPointGroups) GetFilter() *Filter
- func (x *RecommendPointGroups) GetGroupBy() string
- func (x *RecommendPointGroups) GetGroupSize() uint32
- func (x *RecommendPointGroups) GetLimit() uint32
- func (x *RecommendPointGroups) GetLookupFrom() *LookupLocation
- func (x *RecommendPointGroups) GetNegative() []*PointId
- func (x *RecommendPointGroups) GetNegativeVectors() []*Vector
- func (x *RecommendPointGroups) GetParams() *SearchParams
- func (x *RecommendPointGroups) GetPositive() []*PointId
- func (x *RecommendPointGroups) GetPositiveVectors() []*Vector
- func (x *RecommendPointGroups) GetReadConsistency() *ReadConsistency
- func (x *RecommendPointGroups) GetScoreThreshold() float32
- func (x *RecommendPointGroups) GetShardKeySelector() *ShardKeySelector
- func (x *RecommendPointGroups) GetStrategy() RecommendStrategy
- func (x *RecommendPointGroups) GetTimeout() uint64
- func (x *RecommendPointGroups) GetUsing() string
- func (x *RecommendPointGroups) GetWithLookup() *WithLookup
- func (x *RecommendPointGroups) GetWithPayload() *WithPayloadSelector
- func (x *RecommendPointGroups) GetWithVectors() *WithVectorsSelector
- func (*RecommendPointGroups) ProtoMessage()
- func (x *RecommendPointGroups) ProtoReflect() protoreflect.Message
- func (x *RecommendPointGroups) Reset()
- func (x *RecommendPointGroups) String() string
- type RecommendPoints
- func (*RecommendPoints) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendPoints) GetCollectionName() string
- func (x *RecommendPoints) GetFilter() *Filter
- func (x *RecommendPoints) GetLimit() uint64
- func (x *RecommendPoints) GetLookupFrom() *LookupLocation
- func (x *RecommendPoints) GetNegative() []*PointId
- func (x *RecommendPoints) GetNegativeVectors() []*Vector
- func (x *RecommendPoints) GetOffset() uint64
- func (x *RecommendPoints) GetParams() *SearchParams
- func (x *RecommendPoints) GetPositive() []*PointId
- func (x *RecommendPoints) GetPositiveVectors() []*Vector
- func (x *RecommendPoints) GetReadConsistency() *ReadConsistency
- func (x *RecommendPoints) GetScoreThreshold() float32
- func (x *RecommendPoints) GetShardKeySelector() *ShardKeySelector
- func (x *RecommendPoints) GetStrategy() RecommendStrategy
- func (x *RecommendPoints) GetTimeout() uint64
- func (x *RecommendPoints) GetUsing() string
- func (x *RecommendPoints) GetWithPayload() *WithPayloadSelector
- func (x *RecommendPoints) GetWithVectors() *WithVectorsSelector
- func (*RecommendPoints) ProtoMessage()
- func (x *RecommendPoints) ProtoReflect() protoreflect.Message
- func (x *RecommendPoints) Reset()
- func (x *RecommendPoints) String() string
- type RecommendResponse
- func (*RecommendResponse) Descriptor() ([]byte, []int)deprecated
- func (x *RecommendResponse) GetResult() []*ScoredPoint
- func (x *RecommendResponse) GetTime() float64
- func (x *RecommendResponse) GetUsage() *Usage
- func (*RecommendResponse) ProtoMessage()
- func (x *RecommendResponse) ProtoReflect() protoreflect.Message
- func (x *RecommendResponse) Reset()
- func (x *RecommendResponse) String() string
- type RecommendStrategy
- func (RecommendStrategy) Descriptor() protoreflect.EnumDescriptor
- func (x RecommendStrategy) Enum() *RecommendStrategy
- func (RecommendStrategy) EnumDescriptor() ([]byte, []int)deprecated
- func (x RecommendStrategy) Number() protoreflect.EnumNumber
- func (x RecommendStrategy) String() string
- func (RecommendStrategy) Type() protoreflect.EnumType
- type RelevanceFeedbackInput
- func (*RelevanceFeedbackInput) Descriptor() ([]byte, []int)deprecated
- func (x *RelevanceFeedbackInput) GetFeedback() []*FeedbackItem
- func (x *RelevanceFeedbackInput) GetStrategy() *FeedbackStrategy
- func (x *RelevanceFeedbackInput) GetTarget() *VectorInput
- func (*RelevanceFeedbackInput) ProtoMessage()
- func (x *RelevanceFeedbackInput) ProtoReflect() protoreflect.Message
- func (x *RelevanceFeedbackInput) Reset()
- func (x *RelevanceFeedbackInput) String() string
- type RemoteShardInfo
- func (*RemoteShardInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RemoteShardInfo) GetPeerId() uint64
- func (x *RemoteShardInfo) GetShardId() uint32
- func (x *RemoteShardInfo) GetShardKey() *ShardKey
- func (x *RemoteShardInfo) GetState() ReplicaState
- func (*RemoteShardInfo) ProtoMessage()
- func (x *RemoteShardInfo) ProtoReflect() protoreflect.Message
- func (x *RemoteShardInfo) Reset()
- func (x *RemoteShardInfo) String() string
- type RenameAlias
- func (*RenameAlias) Descriptor() ([]byte, []int)deprecated
- func (x *RenameAlias) GetNewAliasName() string
- func (x *RenameAlias) GetOldAliasName() string
- func (*RenameAlias) ProtoMessage()
- func (x *RenameAlias) ProtoReflect() protoreflect.Message
- func (x *RenameAlias) Reset()
- func (x *RenameAlias) String() string
- type RepeatedIntegers
- type RepeatedStrings
- type Replica
- type ReplicaState
- func (ReplicaState) Descriptor() protoreflect.EnumDescriptor
- func (x ReplicaState) Enum() *ReplicaState
- func (ReplicaState) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReplicaState) Number() protoreflect.EnumNumber
- func (x ReplicaState) String() string
- func (ReplicaState) Type() protoreflect.EnumType
- type ReplicatePoints
- func (*ReplicatePoints) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicatePoints) GetFilter() *Filter
- func (x *ReplicatePoints) GetFromShardKey() *ShardKey
- func (x *ReplicatePoints) GetToShardKey() *ShardKey
- func (*ReplicatePoints) ProtoMessage()
- func (x *ReplicatePoints) ProtoReflect() protoreflect.Message
- func (x *ReplicatePoints) Reset()
- func (x *ReplicatePoints) String() string
- type ReplicateShard
- func (*ReplicateShard) Descriptor() ([]byte, []int)deprecated
- func (x *ReplicateShard) GetFromPeerId() uint64
- func (x *ReplicateShard) GetMethod() ShardTransferMethod
- func (x *ReplicateShard) GetShardId() uint32
- func (x *ReplicateShard) GetToPeerId() uint64
- func (x *ReplicateShard) GetToShardId() uint32
- func (*ReplicateShard) ProtoMessage()
- func (x *ReplicateShard) ProtoReflect() protoreflect.Message
- func (x *ReplicateShard) Reset()
- func (x *ReplicateShard) String() string
- type ReshardingDirection
- func (ReshardingDirection) Descriptor() protoreflect.EnumDescriptor
- func (x ReshardingDirection) Enum() *ReshardingDirection
- func (ReshardingDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x ReshardingDirection) Number() protoreflect.EnumNumber
- func (x ReshardingDirection) String() string
- func (ReshardingDirection) Type() protoreflect.EnumType
- type ReshardingInfo
- func (*ReshardingInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ReshardingInfo) GetDirection() ReshardingDirection
- func (x *ReshardingInfo) GetPeerId() uint64
- func (x *ReshardingInfo) GetShardId() uint32
- func (x *ReshardingInfo) GetShardKey() *ShardKey
- func (*ReshardingInfo) ProtoMessage()
- func (x *ReshardingInfo) ProtoReflect() protoreflect.Message
- func (x *ReshardingInfo) Reset()
- func (x *ReshardingInfo) String() string
- type RestartTransfer
- func (*RestartTransfer) Descriptor() ([]byte, []int)deprecated
- func (x *RestartTransfer) GetFromPeerId() uint64
- func (x *RestartTransfer) GetMethod() ShardTransferMethod
- func (x *RestartTransfer) GetShardId() uint32
- func (x *RestartTransfer) GetToPeerId() uint64
- func (x *RestartTransfer) GetToShardId() uint32
- func (*RestartTransfer) ProtoMessage()
- func (x *RestartTransfer) ProtoReflect() protoreflect.Message
- func (x *RestartTransfer) Reset()
- func (x *RestartTransfer) String() string
- type RetrievedPoint
- func (*RetrievedPoint) Descriptor() ([]byte, []int)deprecated
- func (x *RetrievedPoint) GetId() *PointId
- func (x *RetrievedPoint) GetOrderValue() *OrderValue
- func (x *RetrievedPoint) GetPayload() map[string]*Value
- func (x *RetrievedPoint) GetShardKey() *ShardKey
- func (x *RetrievedPoint) GetVectors() *VectorsOutput
- func (*RetrievedPoint) ProtoMessage()
- func (x *RetrievedPoint) ProtoReflect() protoreflect.Message
- func (x *RetrievedPoint) Reset()
- func (x *RetrievedPoint) String() string
- type RetryConfig
- type Rrf
- type Sample
- type ScalarQuantization
- func (*ScalarQuantization) Descriptor() ([]byte, []int)deprecated
- func (x *ScalarQuantization) GetAlwaysRam() bool
- func (x *ScalarQuantization) GetQuantile() float32
- func (x *ScalarQuantization) GetType() QuantizationType
- func (*ScalarQuantization) ProtoMessage()
- func (x *ScalarQuantization) ProtoReflect() protoreflect.Message
- func (x *ScalarQuantization) Reset()
- func (x *ScalarQuantization) String() string
- type ScoredPoint
- func (*ScoredPoint) Descriptor() ([]byte, []int)deprecated
- func (x *ScoredPoint) GetId() *PointId
- func (x *ScoredPoint) GetOrderValue() *OrderValue
- func (x *ScoredPoint) GetPayload() map[string]*Value
- func (x *ScoredPoint) GetScore() float32
- func (x *ScoredPoint) GetShardKey() *ShardKey
- func (x *ScoredPoint) GetVectors() *VectorsOutput
- func (x *ScoredPoint) GetVersion() uint64
- func (*ScoredPoint) ProtoMessage()
- func (x *ScoredPoint) ProtoReflect() protoreflect.Message
- func (x *ScoredPoint) Reset()
- func (x *ScoredPoint) String() string
- type ScrollIterator
- type ScrollPoints
- func (*ScrollPoints) Descriptor() ([]byte, []int)deprecated
- func (x *ScrollPoints) GetCollectionName() string
- func (x *ScrollPoints) GetFilter() *Filter
- func (x *ScrollPoints) GetLimit() uint32
- func (x *ScrollPoints) GetOffset() *PointId
- func (x *ScrollPoints) GetOrderBy() *OrderBy
- func (x *ScrollPoints) GetReadConsistency() *ReadConsistency
- func (x *ScrollPoints) GetShardKeySelector() *ShardKeySelector
- func (x *ScrollPoints) GetTimeout() uint64
- func (x *ScrollPoints) GetWithPayload() *WithPayloadSelector
- func (x *ScrollPoints) GetWithVectors() *WithVectorsSelector
- func (*ScrollPoints) ProtoMessage()
- func (x *ScrollPoints) ProtoReflect() protoreflect.Message
- func (x *ScrollPoints) Reset()
- func (x *ScrollPoints) String() string
- type ScrollResponse
- func (*ScrollResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ScrollResponse) GetNextPageOffset() *PointId
- func (x *ScrollResponse) GetResult() []*RetrievedPoint
- func (x *ScrollResponse) GetTime() float64
- func (x *ScrollResponse) GetUsage() *Usage
- func (*ScrollResponse) ProtoMessage()
- func (x *ScrollResponse) ProtoReflect() protoreflect.Message
- func (x *ScrollResponse) Reset()
- func (x *ScrollResponse) String() string
- type SearchBatchPoints
- func (*SearchBatchPoints) Descriptor() ([]byte, []int)deprecated
- func (x *SearchBatchPoints) GetCollectionName() string
- func (x *SearchBatchPoints) GetReadConsistency() *ReadConsistency
- func (x *SearchBatchPoints) GetSearchPoints() []*SearchPoints
- func (x *SearchBatchPoints) GetTimeout() uint64
- func (*SearchBatchPoints) ProtoMessage()
- func (x *SearchBatchPoints) ProtoReflect() protoreflect.Message
- func (x *SearchBatchPoints) Reset()
- func (x *SearchBatchPoints) String() string
- type SearchBatchResponse
- func (*SearchBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchBatchResponse) GetResult() []*BatchResult
- func (x *SearchBatchResponse) GetTime() float64
- func (x *SearchBatchResponse) GetUsage() *Usage
- func (*SearchBatchResponse) ProtoMessage()
- func (x *SearchBatchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchBatchResponse) Reset()
- func (x *SearchBatchResponse) String() string
- type SearchGroupsResponse
- func (*SearchGroupsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchGroupsResponse) GetResult() *GroupsResult
- func (x *SearchGroupsResponse) GetTime() float64
- func (x *SearchGroupsResponse) GetUsage() *Usage
- func (*SearchGroupsResponse) ProtoMessage()
- func (x *SearchGroupsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchGroupsResponse) Reset()
- func (x *SearchGroupsResponse) String() string
- type SearchMatrixOffsets
- func (*SearchMatrixOffsets) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatrixOffsets) GetIds() []*PointId
- func (x *SearchMatrixOffsets) GetOffsetsCol() []uint64
- func (x *SearchMatrixOffsets) GetOffsetsRow() []uint64
- func (x *SearchMatrixOffsets) GetScores() []float32
- func (*SearchMatrixOffsets) ProtoMessage()
- func (x *SearchMatrixOffsets) ProtoReflect() protoreflect.Message
- func (x *SearchMatrixOffsets) Reset()
- func (x *SearchMatrixOffsets) String() string
- type SearchMatrixOffsetsResponse
- func (*SearchMatrixOffsetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatrixOffsetsResponse) GetResult() *SearchMatrixOffsets
- func (x *SearchMatrixOffsetsResponse) GetTime() float64
- func (x *SearchMatrixOffsetsResponse) GetUsage() *Usage
- func (*SearchMatrixOffsetsResponse) ProtoMessage()
- func (x *SearchMatrixOffsetsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchMatrixOffsetsResponse) Reset()
- func (x *SearchMatrixOffsetsResponse) String() string
- type SearchMatrixPair
- func (*SearchMatrixPair) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatrixPair) GetA() *PointId
- func (x *SearchMatrixPair) GetB() *PointId
- func (x *SearchMatrixPair) GetScore() float32
- func (*SearchMatrixPair) ProtoMessage()
- func (x *SearchMatrixPair) ProtoReflect() protoreflect.Message
- func (x *SearchMatrixPair) Reset()
- func (x *SearchMatrixPair) String() string
- type SearchMatrixPairs
- func (*SearchMatrixPairs) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatrixPairs) GetPairs() []*SearchMatrixPair
- func (*SearchMatrixPairs) ProtoMessage()
- func (x *SearchMatrixPairs) ProtoReflect() protoreflect.Message
- func (x *SearchMatrixPairs) Reset()
- func (x *SearchMatrixPairs) String() string
- type SearchMatrixPairsResponse
- func (*SearchMatrixPairsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatrixPairsResponse) GetResult() *SearchMatrixPairs
- func (x *SearchMatrixPairsResponse) GetTime() float64
- func (x *SearchMatrixPairsResponse) GetUsage() *Usage
- func (*SearchMatrixPairsResponse) ProtoMessage()
- func (x *SearchMatrixPairsResponse) ProtoReflect() protoreflect.Message
- func (x *SearchMatrixPairsResponse) Reset()
- func (x *SearchMatrixPairsResponse) String() string
- type SearchMatrixPoints
- func (*SearchMatrixPoints) Descriptor() ([]byte, []int)deprecated
- func (x *SearchMatrixPoints) GetCollectionName() string
- func (x *SearchMatrixPoints) GetFilter() *Filter
- func (x *SearchMatrixPoints) GetLimit() uint64
- func (x *SearchMatrixPoints) GetReadConsistency() *ReadConsistency
- func (x *SearchMatrixPoints) GetSample() uint64
- func (x *SearchMatrixPoints) GetShardKeySelector() *ShardKeySelector
- func (x *SearchMatrixPoints) GetTimeout() uint64
- func (x *SearchMatrixPoints) GetUsing() string
- func (*SearchMatrixPoints) ProtoMessage()
- func (x *SearchMatrixPoints) ProtoReflect() protoreflect.Message
- func (x *SearchMatrixPoints) Reset()
- func (x *SearchMatrixPoints) String() string
- type SearchParams
- func (*SearchParams) Descriptor() ([]byte, []int)deprecated
- func (x *SearchParams) GetAcorn() *AcornSearchParams
- func (x *SearchParams) GetExact() bool
- func (x *SearchParams) GetHnswEf() uint64
- func (x *SearchParams) GetIndexedOnly() bool
- func (x *SearchParams) GetQuantization() *QuantizationSearchParams
- func (*SearchParams) ProtoMessage()
- func (x *SearchParams) ProtoReflect() protoreflect.Message
- func (x *SearchParams) Reset()
- func (x *SearchParams) String() string
- type SearchPointGroups
- func (*SearchPointGroups) Descriptor() ([]byte, []int)deprecated
- func (x *SearchPointGroups) GetCollectionName() string
- func (x *SearchPointGroups) GetFilter() *Filter
- func (x *SearchPointGroups) GetGroupBy() string
- func (x *SearchPointGroups) GetGroupSize() uint32
- func (x *SearchPointGroups) GetLimit() uint32
- func (x *SearchPointGroups) GetParams() *SearchParams
- func (x *SearchPointGroups) GetReadConsistency() *ReadConsistency
- func (x *SearchPointGroups) GetScoreThreshold() float32
- func (x *SearchPointGroups) GetShardKeySelector() *ShardKeySelector
- func (x *SearchPointGroups) GetSparseIndices() *SparseIndices
- func (x *SearchPointGroups) GetTimeout() uint64
- func (x *SearchPointGroups) GetVector() []float32
- func (x *SearchPointGroups) GetVectorName() string
- func (x *SearchPointGroups) GetWithLookup() *WithLookup
- func (x *SearchPointGroups) GetWithPayload() *WithPayloadSelector
- func (x *SearchPointGroups) GetWithVectors() *WithVectorsSelector
- func (*SearchPointGroups) ProtoMessage()
- func (x *SearchPointGroups) ProtoReflect() protoreflect.Message
- func (x *SearchPointGroups) Reset()
- func (x *SearchPointGroups) String() string
- type SearchPoints
- func (*SearchPoints) Descriptor() ([]byte, []int)deprecated
- func (x *SearchPoints) GetCollectionName() string
- func (x *SearchPoints) GetFilter() *Filter
- func (x *SearchPoints) GetLimit() uint64
- func (x *SearchPoints) GetOffset() uint64
- func (x *SearchPoints) GetParams() *SearchParams
- func (x *SearchPoints) GetReadConsistency() *ReadConsistency
- func (x *SearchPoints) GetScoreThreshold() float32
- func (x *SearchPoints) GetShardKeySelector() *ShardKeySelector
- func (x *SearchPoints) GetSparseIndices() *SparseIndices
- func (x *SearchPoints) GetTimeout() uint64
- func (x *SearchPoints) GetVector() []float32
- func (x *SearchPoints) GetVectorName() string
- func (x *SearchPoints) GetWithPayload() *WithPayloadSelector
- func (x *SearchPoints) GetWithVectors() *WithVectorsSelector
- func (*SearchPoints) ProtoMessage()
- func (x *SearchPoints) ProtoReflect() protoreflect.Message
- func (x *SearchPoints) Reset()
- func (x *SearchPoints) String() string
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResponse) GetResult() []*ScoredPoint
- func (x *SearchResponse) GetTime() float64
- func (x *SearchResponse) GetUsage() *Usage
- func (*SearchResponse) ProtoMessage()
- func (x *SearchResponse) ProtoReflect() protoreflect.Message
- func (x *SearchResponse) Reset()
- func (x *SearchResponse) String() string
- type SetPayloadPoints
- func (*SetPayloadPoints) Descriptor() ([]byte, []int)deprecated
- func (x *SetPayloadPoints) GetCollectionName() string
- func (x *SetPayloadPoints) GetKey() string
- func (x *SetPayloadPoints) GetOrdering() *WriteOrdering
- func (x *SetPayloadPoints) GetPayload() map[string]*Value
- func (x *SetPayloadPoints) GetPointsSelector() *PointsSelector
- func (x *SetPayloadPoints) GetShardKeySelector() *ShardKeySelector
- func (x *SetPayloadPoints) GetTimeout() uint64
- func (x *SetPayloadPoints) GetWait() bool
- func (*SetPayloadPoints) ProtoMessage()
- func (x *SetPayloadPoints) ProtoReflect() protoreflect.Message
- func (x *SetPayloadPoints) Reset()
- func (x *SetPayloadPoints) String() string
- type ShardKey
- func (*ShardKey) Descriptor() ([]byte, []int)deprecated
- func (m *ShardKey) GetKey() isShardKey_Key
- func (x *ShardKey) GetKeyword() string
- func (x *ShardKey) GetNumber() uint64
- func (*ShardKey) ProtoMessage()
- func (x *ShardKey) ProtoReflect() protoreflect.Message
- func (x *ShardKey) Reset()
- func (x *ShardKey) String() string
- type ShardKeyDescription
- func (*ShardKeyDescription) Descriptor() ([]byte, []int)deprecated
- func (x *ShardKeyDescription) GetKey() *ShardKey
- func (*ShardKeyDescription) ProtoMessage()
- func (x *ShardKeyDescription) ProtoReflect() protoreflect.Message
- func (x *ShardKeyDescription) Reset()
- func (x *ShardKeyDescription) String() string
- type ShardKeySelector
- func (*ShardKeySelector) Descriptor() ([]byte, []int)deprecated
- func (x *ShardKeySelector) GetFallback() *ShardKey
- func (x *ShardKeySelector) GetShardKeys() []*ShardKey
- func (*ShardKeySelector) ProtoMessage()
- func (x *ShardKeySelector) ProtoReflect() protoreflect.Message
- func (x *ShardKeySelector) Reset()
- func (x *ShardKeySelector) String() string
- type ShardKey_Keyword
- type ShardKey_Number
- type ShardTransferInfo
- func (*ShardTransferInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ShardTransferInfo) GetFrom() uint64
- func (x *ShardTransferInfo) GetShardId() uint32
- func (x *ShardTransferInfo) GetSync() bool
- func (x *ShardTransferInfo) GetTo() uint64
- func (x *ShardTransferInfo) GetToShardId() uint32
- func (*ShardTransferInfo) ProtoMessage()
- func (x *ShardTransferInfo) ProtoReflect() protoreflect.Message
- func (x *ShardTransferInfo) Reset()
- func (x *ShardTransferInfo) String() string
- type ShardTransferMethod
- func (ShardTransferMethod) Descriptor() protoreflect.EnumDescriptor
- func (x ShardTransferMethod) Enum() *ShardTransferMethod
- func (ShardTransferMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x ShardTransferMethod) Number() protoreflect.EnumNumber
- func (x ShardTransferMethod) String() string
- func (ShardTransferMethod) Type() protoreflect.EnumType
- type ShardingMethod
- func (ShardingMethod) Descriptor() protoreflect.EnumDescriptor
- func (x ShardingMethod) Enum() *ShardingMethod
- func (ShardingMethod) EnumDescriptor() ([]byte, []int)deprecated
- func (x ShardingMethod) Number() protoreflect.EnumNumber
- func (x ShardingMethod) String() string
- func (ShardingMethod) Type() protoreflect.EnumType
- type SnapshotDescription
- func (*SnapshotDescription) Descriptor() ([]byte, []int)deprecated
- func (x *SnapshotDescription) GetChecksum() string
- func (x *SnapshotDescription) GetCreationTime() *timestamppb.Timestamp
- func (x *SnapshotDescription) GetName() string
- func (x *SnapshotDescription) GetSize() int64
- func (*SnapshotDescription) ProtoMessage()
- func (x *SnapshotDescription) ProtoReflect() protoreflect.Message
- func (x *SnapshotDescription) Reset()
- func (x *SnapshotDescription) String() string
- type SnapshotsClient
- type SnapshotsServer
- type SnowballParams
- type SparseIndexConfig
- func (*SparseIndexConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SparseIndexConfig) GetDatatype() Datatype
- func (x *SparseIndexConfig) GetFullScanThreshold() uint64
- func (x *SparseIndexConfig) GetOnDisk() bool
- func (*SparseIndexConfig) ProtoMessage()
- func (x *SparseIndexConfig) ProtoReflect() protoreflect.Message
- func (x *SparseIndexConfig) Reset()
- func (x *SparseIndexConfig) String() string
- type SparseIndices
- type SparseVector
- func (*SparseVector) Descriptor() ([]byte, []int)deprecated
- func (x *SparseVector) GetIndices() []uint32
- func (x *SparseVector) GetValues() []float32
- func (*SparseVector) ProtoMessage()
- func (x *SparseVector) ProtoReflect() protoreflect.Message
- func (x *SparseVector) Reset()
- func (x *SparseVector) String() string
- type SparseVectorConfig
- func (*SparseVectorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SparseVectorConfig) GetMap() map[string]*SparseVectorParams
- func (*SparseVectorConfig) ProtoMessage()
- func (x *SparseVectorConfig) ProtoReflect() protoreflect.Message
- func (x *SparseVectorConfig) Reset()
- func (x *SparseVectorConfig) String() string
- type SparseVectorCreationConfig
- func (*SparseVectorCreationConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SparseVectorCreationConfig) GetDatatype() Datatype
- func (x *SparseVectorCreationConfig) GetModifier() Modifier
- func (*SparseVectorCreationConfig) ProtoMessage()
- func (x *SparseVectorCreationConfig) ProtoReflect() protoreflect.Message
- func (x *SparseVectorCreationConfig) Reset()
- func (x *SparseVectorCreationConfig) String() string
- type SparseVectorParams
- func (*SparseVectorParams) Descriptor() ([]byte, []int)deprecated
- func (x *SparseVectorParams) GetIndex() *SparseIndexConfig
- func (x *SparseVectorParams) GetModifier() Modifier
- func (*SparseVectorParams) ProtoMessage()
- func (x *SparseVectorParams) ProtoReflect() protoreflect.Message
- func (x *SparseVectorParams) Reset()
- func (x *SparseVectorParams) String() string
- type StartFrom
- func (*StartFrom) Descriptor() ([]byte, []int)deprecated
- func (x *StartFrom) GetDatetime() string
- func (x *StartFrom) GetFloat() float64
- func (x *StartFrom) GetInteger() int64
- func (x *StartFrom) GetTimestamp() *timestamppb.Timestamp
- func (m *StartFrom) GetValue() isStartFrom_Value
- func (*StartFrom) ProtoMessage()
- func (x *StartFrom) ProtoReflect() protoreflect.Message
- func (x *StartFrom) Reset()
- func (x *StartFrom) String() string
- type StartFrom_Datetime
- type StartFrom_Float
- type StartFrom_Integer
- type StartFrom_Timestamp
- type StemmingAlgorithm
- func (*StemmingAlgorithm) Descriptor() ([]byte, []int)deprecated
- func (x *StemmingAlgorithm) GetSnowball() *SnowballParams
- func (m *StemmingAlgorithm) GetStemmingParams() isStemmingAlgorithm_StemmingParams
- func (*StemmingAlgorithm) ProtoMessage()
- func (x *StemmingAlgorithm) ProtoReflect() protoreflect.Message
- func (x *StemmingAlgorithm) Reset()
- func (x *StemmingAlgorithm) String() string
- type StemmingAlgorithm_Snowball
- type StopwordsSet
- func (*StopwordsSet) Descriptor() ([]byte, []int)deprecated
- func (x *StopwordsSet) GetCustom() []string
- func (x *StopwordsSet) GetLanguages() []string
- func (*StopwordsSet) ProtoMessage()
- func (x *StopwordsSet) ProtoReflect() protoreflect.Message
- func (x *StopwordsSet) Reset()
- func (x *StopwordsSet) String() string
- type StrictModeConfig
- func (*StrictModeConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StrictModeConfig) GetConditionMaxSize() uint64
- func (x *StrictModeConfig) GetEnabled() bool
- func (x *StrictModeConfig) GetFilterMaxConditions() uint64
- func (x *StrictModeConfig) GetMaxCollectionPayloadSizeBytes() uint64
- func (x *StrictModeConfig) GetMaxCollectionVectorSizeBytes() uint64
- func (x *StrictModeConfig) GetMaxPayloadIndexCount() uint64
- func (x *StrictModeConfig) GetMaxPointsCount() uint64
- func (x *StrictModeConfig) GetMaxQueryLimit() uint32
- func (x *StrictModeConfig) GetMaxResidentMemoryPercent() uint32
- func (x *StrictModeConfig) GetMaxTimeout() uint32
- func (x *StrictModeConfig) GetMultivectorConfig() *StrictModeMultivectorConfig
- func (x *StrictModeConfig) GetReadRateLimit() uint32
- func (x *StrictModeConfig) GetSearchAllowExact() bool
- func (x *StrictModeConfig) GetSearchMaxBatchsize() uint64
- func (x *StrictModeConfig) GetSearchMaxHnswEf() uint32
- func (x *StrictModeConfig) GetSearchMaxOversampling() float32
- func (x *StrictModeConfig) GetSparseConfig() *StrictModeSparseConfig
- func (x *StrictModeConfig) GetUnindexedFilteringRetrieve() bool
- func (x *StrictModeConfig) GetUnindexedFilteringUpdate() bool
- func (x *StrictModeConfig) GetUpsertMaxBatchsize() uint64
- func (x *StrictModeConfig) GetWriteRateLimit() uint32
- func (*StrictModeConfig) ProtoMessage()
- func (x *StrictModeConfig) ProtoReflect() protoreflect.Message
- func (x *StrictModeConfig) Reset()
- func (x *StrictModeConfig) String() string
- type StrictModeMultivector
- func (*StrictModeMultivector) Descriptor() ([]byte, []int)deprecated
- func (x *StrictModeMultivector) GetMaxVectors() uint64
- func (*StrictModeMultivector) ProtoMessage()
- func (x *StrictModeMultivector) ProtoReflect() protoreflect.Message
- func (x *StrictModeMultivector) Reset()
- func (x *StrictModeMultivector) String() string
- type StrictModeMultivectorConfig
- func (*StrictModeMultivectorConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StrictModeMultivectorConfig) GetMultivectorConfig() map[string]*StrictModeMultivector
- func (*StrictModeMultivectorConfig) ProtoMessage()
- func (x *StrictModeMultivectorConfig) ProtoReflect() protoreflect.Message
- func (x *StrictModeMultivectorConfig) Reset()
- func (x *StrictModeMultivectorConfig) String() string
- type StrictModeSparse
- type StrictModeSparseConfig
- func (*StrictModeSparseConfig) Descriptor() ([]byte, []int)deprecated
- func (x *StrictModeSparseConfig) GetSparseConfig() map[string]*StrictModeSparse
- func (*StrictModeSparseConfig) ProtoMessage()
- func (x *StrictModeSparseConfig) ProtoReflect() protoreflect.Message
- func (x *StrictModeSparseConfig) Reset()
- func (x *StrictModeSparseConfig) String() string
- type Struct
- type SumExpression
- type TargetVector
- func (*TargetVector) Descriptor() ([]byte, []int)deprecated
- func (x *TargetVector) GetSingle() *VectorExample
- func (m *TargetVector) GetTarget() isTargetVector_Target
- func (*TargetVector) ProtoMessage()
- func (x *TargetVector) ProtoReflect() protoreflect.Message
- func (x *TargetVector) Reset()
- func (x *TargetVector) String() string
- type TargetVector_Single
- type TextIndexParams
- func (*TextIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *TextIndexParams) GetAsciiFolding() bool
- func (x *TextIndexParams) GetEnableHnsw() bool
- func (x *TextIndexParams) GetLowercase() bool
- func (x *TextIndexParams) GetMaxTokenLen() uint64
- func (x *TextIndexParams) GetMinTokenLen() uint64
- func (x *TextIndexParams) GetOnDisk() bool
- func (x *TextIndexParams) GetPhraseMatching() bool
- func (x *TextIndexParams) GetStemmer() *StemmingAlgorithm
- func (x *TextIndexParams) GetStopwords() *StopwordsSet
- func (x *TextIndexParams) GetTokenizer() TokenizerType
- func (*TextIndexParams) ProtoMessage()
- func (x *TextIndexParams) ProtoReflect() protoreflect.Message
- func (x *TextIndexParams) Reset()
- func (x *TextIndexParams) String() string
- type TokenizerType
- func (TokenizerType) Descriptor() protoreflect.EnumDescriptor
- func (x TokenizerType) Enum() *TokenizerType
- func (TokenizerType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TokenizerType) Number() protoreflect.EnumNumber
- func (x TokenizerType) String() string
- func (TokenizerType) Type() protoreflect.EnumType
- type TurboQuantBitSize
- func (TurboQuantBitSize) Descriptor() protoreflect.EnumDescriptor
- func (x TurboQuantBitSize) Enum() *TurboQuantBitSize
- func (TurboQuantBitSize) EnumDescriptor() ([]byte, []int)deprecated
- func (x TurboQuantBitSize) Number() protoreflect.EnumNumber
- func (x TurboQuantBitSize) String() string
- func (TurboQuantBitSize) Type() protoreflect.EnumType
- type TurboQuantization
- func (*TurboQuantization) Descriptor() ([]byte, []int)deprecated
- func (x *TurboQuantization) GetAlwaysRam() bool
- func (x *TurboQuantization) GetBits() TurboQuantBitSize
- func (*TurboQuantization) ProtoMessage()
- func (x *TurboQuantization) ProtoReflect() protoreflect.Message
- func (x *TurboQuantization) Reset()
- func (x *TurboQuantization) String() string
- type UnimplementedCollectionsServer
- func (UnimplementedCollectionsServer) CollectionClusterInfo(context.Context, *CollectionClusterInfoRequest) (*CollectionClusterInfoResponse, error)
- func (UnimplementedCollectionsServer) CollectionExists(context.Context, *CollectionExistsRequest) (*CollectionExistsResponse, error)
- func (UnimplementedCollectionsServer) Create(context.Context, *CreateCollection) (*CollectionOperationResponse, error)
- func (UnimplementedCollectionsServer) CreateShardKey(context.Context, *CreateShardKeyRequest) (*CreateShardKeyResponse, error)
- func (UnimplementedCollectionsServer) Delete(context.Context, *DeleteCollection) (*CollectionOperationResponse, error)
- func (UnimplementedCollectionsServer) DeleteShardKey(context.Context, *DeleteShardKeyRequest) (*DeleteShardKeyResponse, error)
- func (UnimplementedCollectionsServer) Get(context.Context, *GetCollectionInfoRequest) (*GetCollectionInfoResponse, error)
- func (UnimplementedCollectionsServer) List(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
- func (UnimplementedCollectionsServer) ListAliases(context.Context, *ListAliasesRequest) (*ListAliasesResponse, error)
- func (UnimplementedCollectionsServer) ListCollectionAliases(context.Context, *ListCollectionAliasesRequest) (*ListAliasesResponse, error)
- func (UnimplementedCollectionsServer) ListShardKeys(context.Context, *ListShardKeysRequest) (*ListShardKeysResponse, error)
- func (UnimplementedCollectionsServer) Update(context.Context, *UpdateCollection) (*CollectionOperationResponse, error)
- func (UnimplementedCollectionsServer) UpdateAliases(context.Context, *ChangeAliases) (*CollectionOperationResponse, error)
- func (UnimplementedCollectionsServer) UpdateCollectionClusterSetup(context.Context, *UpdateCollectionClusterSetupRequest) (*UpdateCollectionClusterSetupResponse, error)
- type UnimplementedPointsServer
- func (UnimplementedPointsServer) ClearPayload(context.Context, *ClearPayloadPoints) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) Count(context.Context, *CountPoints) (*CountResponse, error)
- func (UnimplementedPointsServer) CreateFieldIndex(context.Context, *CreateFieldIndexCollection) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) CreateVectorName(context.Context, *CreateVectorNameRequest) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) Delete(context.Context, *DeletePoints) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) DeleteFieldIndex(context.Context, *DeleteFieldIndexCollection) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) DeletePayload(context.Context, *DeletePayloadPoints) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) DeleteVectorName(context.Context, *DeleteVectorNameRequest) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) DeleteVectors(context.Context, *DeletePointVectors) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) Discover(context.Context, *DiscoverPoints) (*DiscoverResponse, error)
- func (UnimplementedPointsServer) DiscoverBatch(context.Context, *DiscoverBatchPoints) (*DiscoverBatchResponse, error)
- func (UnimplementedPointsServer) Facet(context.Context, *FacetCounts) (*FacetResponse, error)
- func (UnimplementedPointsServer) Get(context.Context, *GetPoints) (*GetResponse, error)
- func (UnimplementedPointsServer) OverwritePayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) Query(context.Context, *QueryPoints) (*QueryResponse, error)
- func (UnimplementedPointsServer) QueryBatch(context.Context, *QueryBatchPoints) (*QueryBatchResponse, error)
- func (UnimplementedPointsServer) QueryGroups(context.Context, *QueryPointGroups) (*QueryGroupsResponse, error)
- func (UnimplementedPointsServer) Recommend(context.Context, *RecommendPoints) (*RecommendResponse, error)
- func (UnimplementedPointsServer) RecommendBatch(context.Context, *RecommendBatchPoints) (*RecommendBatchResponse, error)
- func (UnimplementedPointsServer) RecommendGroups(context.Context, *RecommendPointGroups) (*RecommendGroupsResponse, error)
- func (UnimplementedPointsServer) Scroll(context.Context, *ScrollPoints) (*ScrollResponse, error)
- func (UnimplementedPointsServer) Search(context.Context, *SearchPoints) (*SearchResponse, error)
- func (UnimplementedPointsServer) SearchBatch(context.Context, *SearchBatchPoints) (*SearchBatchResponse, error)
- func (UnimplementedPointsServer) SearchGroups(context.Context, *SearchPointGroups) (*SearchGroupsResponse, error)
- func (UnimplementedPointsServer) SearchMatrixOffsets(context.Context, *SearchMatrixPoints) (*SearchMatrixOffsetsResponse, error)
- func (UnimplementedPointsServer) SearchMatrixPairs(context.Context, *SearchMatrixPoints) (*SearchMatrixPairsResponse, error)
- func (UnimplementedPointsServer) SetPayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) UpdateBatch(context.Context, *UpdateBatchPoints) (*UpdateBatchResponse, error)
- func (UnimplementedPointsServer) UpdateVectors(context.Context, *UpdatePointVectors) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) Upsert(context.Context, *UpsertPoints) (*PointsOperationResponse, error)
- type UnimplementedQdrantServer
- type UnimplementedSnapshotsServer
- func (UnimplementedSnapshotsServer) Create(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
- func (UnimplementedSnapshotsServer) CreateFull(context.Context, *CreateFullSnapshotRequest) (*CreateSnapshotResponse, error)
- func (UnimplementedSnapshotsServer) Delete(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
- func (UnimplementedSnapshotsServer) DeleteFull(context.Context, *DeleteFullSnapshotRequest) (*DeleteSnapshotResponse, error)
- func (UnimplementedSnapshotsServer) List(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
- func (UnimplementedSnapshotsServer) ListFull(context.Context, *ListFullSnapshotsRequest) (*ListSnapshotsResponse, error)
- type UnsafeCollectionsServer
- type UnsafePointsServer
- type UnsafeQdrantServer
- type UnsafeSnapshotsServer
- type UpdateBatchPoints
- func (*UpdateBatchPoints) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBatchPoints) GetCollectionName() string
- func (x *UpdateBatchPoints) GetOperations() []*PointsUpdateOperation
- func (x *UpdateBatchPoints) GetOrdering() *WriteOrdering
- func (x *UpdateBatchPoints) GetTimeout() uint64
- func (x *UpdateBatchPoints) GetWait() bool
- func (*UpdateBatchPoints) ProtoMessage()
- func (x *UpdateBatchPoints) ProtoReflect() protoreflect.Message
- func (x *UpdateBatchPoints) Reset()
- func (x *UpdateBatchPoints) String() string
- type UpdateBatchResponse
- func (*UpdateBatchResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateBatchResponse) GetResult() []*UpdateResult
- func (x *UpdateBatchResponse) GetTime() float64
- func (x *UpdateBatchResponse) GetUsage() *Usage
- func (*UpdateBatchResponse) ProtoMessage()
- func (x *UpdateBatchResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateBatchResponse) Reset()
- func (x *UpdateBatchResponse) String() string
- type UpdateCollection
- func (*UpdateCollection) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollection) GetCollectionName() string
- func (x *UpdateCollection) GetHnswConfig() *HnswConfigDiff
- func (x *UpdateCollection) GetMetadata() map[string]*Value
- func (x *UpdateCollection) GetOptimizersConfig() *OptimizersConfigDiff
- func (x *UpdateCollection) GetParams() *CollectionParamsDiff
- func (x *UpdateCollection) GetQuantizationConfig() *QuantizationConfigDiff
- func (x *UpdateCollection) GetSparseVectorsConfig() *SparseVectorConfig
- func (x *UpdateCollection) GetStrictModeConfig() *StrictModeConfig
- func (x *UpdateCollection) GetTimeout() uint64
- func (x *UpdateCollection) GetVectorsConfig() *VectorsConfigDiff
- func (*UpdateCollection) ProtoMessage()
- func (x *UpdateCollection) ProtoReflect() protoreflect.Message
- func (x *UpdateCollection) Reset()
- func (x *UpdateCollection) String() string
- type UpdateCollectionClusterSetupRequest
- func NewUpdateCollectionClusterAbortTransfer(collectionName string, abortTransfer *AbortShardTransfer) *UpdateCollectionClusterSetupRequest
- func NewUpdateCollectionClusterCreateShardKey(collectionName string, createShardKey *CreateShardKey) *UpdateCollectionClusterSetupRequest
- func NewUpdateCollectionClusterDeleteShardKey(collectionName string, deleteShardKey *DeleteShardKey) *UpdateCollectionClusterSetupRequest
- func NewUpdateCollectionClusterDropReplica(collectionName string, dropReplica *Replica) *UpdateCollectionClusterSetupRequest
- func NewUpdateCollectionClusterMoveShard(collectionName string, moveShard *MoveShard) *UpdateCollectionClusterSetupRequest
- func NewUpdateCollectionClusterReplicatePoints(collectionName string, replicatePoints *ReplicatePoints) *UpdateCollectionClusterSetupRequest
- func NewUpdateCollectionClusterReplicateShard(collectionName string, replicateShard *ReplicateShard) *UpdateCollectionClusterSetupRequest
- func NewUpdateCollectionClusterRestartTransfer(collectionName string, restartTransfer *RestartTransfer) *UpdateCollectionClusterSetupRequest
- func (*UpdateCollectionClusterSetupRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollectionClusterSetupRequest) GetAbortTransfer() *AbortShardTransfer
- func (x *UpdateCollectionClusterSetupRequest) GetCollectionName() string
- func (x *UpdateCollectionClusterSetupRequest) GetCreateShardKey() *CreateShardKey
- func (x *UpdateCollectionClusterSetupRequest) GetDeleteShardKey() *DeleteShardKey
- func (x *UpdateCollectionClusterSetupRequest) GetDropReplica() *Replica
- func (x *UpdateCollectionClusterSetupRequest) GetMoveShard() *MoveShard
- func (m *UpdateCollectionClusterSetupRequest) GetOperation() isUpdateCollectionClusterSetupRequest_Operation
- func (x *UpdateCollectionClusterSetupRequest) GetReplicatePoints() *ReplicatePoints
- func (x *UpdateCollectionClusterSetupRequest) GetReplicateShard() *ReplicateShard
- func (x *UpdateCollectionClusterSetupRequest) GetRestartTransfer() *RestartTransfer
- func (x *UpdateCollectionClusterSetupRequest) GetTimeout() uint64
- func (*UpdateCollectionClusterSetupRequest) ProtoMessage()
- func (x *UpdateCollectionClusterSetupRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionClusterSetupRequest) Reset()
- func (x *UpdateCollectionClusterSetupRequest) String() string
- type UpdateCollectionClusterSetupRequest_AbortTransfer
- type UpdateCollectionClusterSetupRequest_CreateShardKey
- type UpdateCollectionClusterSetupRequest_DeleteShardKey
- type UpdateCollectionClusterSetupRequest_DropReplica
- type UpdateCollectionClusterSetupRequest_MoveShard
- type UpdateCollectionClusterSetupRequest_ReplicatePoints
- type UpdateCollectionClusterSetupRequest_ReplicateShard
- type UpdateCollectionClusterSetupRequest_RestartTransfer
- type UpdateCollectionClusterSetupResponse
- func (*UpdateCollectionClusterSetupResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateCollectionClusterSetupResponse) GetResult() bool
- func (*UpdateCollectionClusterSetupResponse) ProtoMessage()
- func (x *UpdateCollectionClusterSetupResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateCollectionClusterSetupResponse) Reset()
- func (x *UpdateCollectionClusterSetupResponse) String() string
- type UpdateMode
- type UpdatePointVectors
- func (*UpdatePointVectors) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePointVectors) GetCollectionName() string
- func (x *UpdatePointVectors) GetOrdering() *WriteOrdering
- func (x *UpdatePointVectors) GetPoints() []*PointVectors
- func (x *UpdatePointVectors) GetShardKeySelector() *ShardKeySelector
- func (x *UpdatePointVectors) GetTimeout() uint64
- func (x *UpdatePointVectors) GetUpdateFilter() *Filter
- func (x *UpdatePointVectors) GetWait() bool
- func (*UpdatePointVectors) ProtoMessage()
- func (x *UpdatePointVectors) ProtoReflect() protoreflect.Message
- func (x *UpdatePointVectors) Reset()
- func (x *UpdatePointVectors) String() string
- type UpdateQueueInfo
- func (*UpdateQueueInfo) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateQueueInfo) GetDeferredPoints() uint64
- func (x *UpdateQueueInfo) GetLength() uint64
- func (*UpdateQueueInfo) ProtoMessage()
- func (x *UpdateQueueInfo) ProtoReflect() protoreflect.Message
- func (x *UpdateQueueInfo) Reset()
- func (x *UpdateQueueInfo) String() string
- type UpdateResult
- func (*UpdateResult) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateResult) GetOperationId() uint64
- func (x *UpdateResult) GetStatus() UpdateStatus
- func (*UpdateResult) ProtoMessage()
- func (x *UpdateResult) ProtoReflect() protoreflect.Message
- func (x *UpdateResult) Reset()
- func (x *UpdateResult) String() string
- type UpdateStatus
- func (UpdateStatus) Descriptor() protoreflect.EnumDescriptor
- func (x UpdateStatus) Enum() *UpdateStatus
- func (UpdateStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x UpdateStatus) Number() protoreflect.EnumNumber
- func (x UpdateStatus) String() string
- func (UpdateStatus) Type() protoreflect.EnumType
- type UpsertPoints
- func (*UpsertPoints) Descriptor() ([]byte, []int)deprecated
- func (x *UpsertPoints) GetCollectionName() string
- func (x *UpsertPoints) GetOrdering() *WriteOrdering
- func (x *UpsertPoints) GetPoints() []*PointStruct
- func (x *UpsertPoints) GetShardKeySelector() *ShardKeySelector
- func (x *UpsertPoints) GetTimeout() uint64
- func (x *UpsertPoints) GetUpdateFilter() *Filter
- func (x *UpsertPoints) GetUpdateMode() UpdateMode
- func (x *UpsertPoints) GetWait() bool
- func (*UpsertPoints) ProtoMessage()
- func (x *UpsertPoints) ProtoReflect() protoreflect.Message
- func (x *UpsertPoints) Reset()
- func (x *UpsertPoints) String() string
- type Usage
- type UuidIndexParams
- func (*UuidIndexParams) Descriptor() ([]byte, []int)deprecated
- func (x *UuidIndexParams) GetEnableHnsw() bool
- func (x *UuidIndexParams) GetIsTenant() bool
- func (x *UuidIndexParams) GetOnDisk() bool
- func (*UuidIndexParams) ProtoMessage()
- func (x *UuidIndexParams) ProtoReflect() protoreflect.Message
- func (x *UuidIndexParams) Reset()
- func (x *UuidIndexParams) String() string
- type Value
- func NewValue(v any) (*Value, error)
- func NewValueBool(v bool) *Value
- func NewValueDouble(v float64) *Value
- func NewValueFromFields(fields map[string]*Value) *Value
- func NewValueFromList(values ...*Value) *Value
- func NewValueInt(v int64) *Value
- func NewValueList(v *ListValue) *Value
- func NewValueNull() *Value
- func NewValueString(v string) *Value
- func NewValueStruct(v *Struct) *Value
- func (*Value) Descriptor() ([]byte, []int)deprecated
- func (x *Value) GetBoolValue() bool
- func (x *Value) GetDoubleValue() float64
- func (x *Value) GetIntegerValue() int64
- func (m *Value) GetKind() isValue_Kind
- func (x *Value) GetListValue() *ListValue
- func (x *Value) GetNullValue() NullValue
- func (x *Value) GetStringValue() string
- func (x *Value) GetStructValue() *Struct
- func (*Value) ProtoMessage()
- func (x *Value) ProtoReflect() protoreflect.Message
- func (x *Value) Reset()
- func (x *Value) String() string
- type Value_BoolValue
- type Value_DoubleValue
- type Value_IntegerValue
- type Value_ListValue
- type Value_NullValue
- type Value_StringValue
- type Value_StructValue
- type ValuesCount
- func (*ValuesCount) Descriptor() ([]byte, []int)deprecated
- func (x *ValuesCount) GetGt() uint64
- func (x *ValuesCount) GetGte() uint64
- func (x *ValuesCount) GetLt() uint64
- func (x *ValuesCount) GetLte() uint64
- func (*ValuesCount) ProtoMessage()
- func (x *ValuesCount) ProtoReflect() protoreflect.Message
- func (x *ValuesCount) Reset()
- func (x *ValuesCount) String() string
- type Vector
- func NewVector(values ...float32) *Vector
- func NewVectorDense(vector []float32) *Vector
- func NewVectorDocument(document *Document) *Vector
- func NewVectorImage(image *Image) *Vector
- func NewVectorMulti(vectors [][]float32) *Vector
- func NewVectorObject(object *InferenceObject) *Vector
- func NewVectorSparse(indices []uint32, values []float32) *Vector
- func (*Vector) Descriptor() ([]byte, []int)deprecated
- func (x *Vector) GetData() []float32deprecated
- func (x *Vector) GetDense() *DenseVector
- func (x *Vector) GetDocument() *Document
- func (x *Vector) GetImage() *Image
- func (x *Vector) GetIndices() *SparseIndicesdeprecated
- func (x *Vector) GetMultiDense() *MultiDenseVector
- func (x *Vector) GetObject() *InferenceObject
- func (x *Vector) GetSparse() *SparseVector
- func (m *Vector) GetVector() isVector_Vector
- func (x *Vector) GetVectorsCount() uint32deprecated
- func (*Vector) ProtoMessage()
- func (x *Vector) ProtoReflect() protoreflect.Message
- func (x *Vector) Reset()
- func (x *Vector) String() string
- type VectorExample
- func (*VectorExample) Descriptor() ([]byte, []int)deprecated
- func (m *VectorExample) GetExample() isVectorExample_Example
- func (x *VectorExample) GetId() *PointId
- func (x *VectorExample) GetVector() *Vector
- func (*VectorExample) ProtoMessage()
- func (x *VectorExample) ProtoReflect() protoreflect.Message
- func (x *VectorExample) Reset()
- func (x *VectorExample) String() string
- type VectorExample_Id
- type VectorExample_Vector
- type VectorInput
- func NewVectorInput(values ...float32) *VectorInput
- func NewVectorInputDense(vector []float32) *VectorInput
- func NewVectorInputDocument(document *Document) *VectorInput
- func NewVectorInputID(id *PointId) *VectorInput
- func NewVectorInputImage(image *Image) *VectorInput
- func NewVectorInputMulti(vectors [][]float32) *VectorInput
- func NewVectorInputObject(object *InferenceObject) *VectorInput
- func NewVectorInputSparse(indices []uint32, values []float32) *VectorInput
- func (*VectorInput) Descriptor() ([]byte, []int)deprecated
- func (x *VectorInput) GetDense() *DenseVector
- func (x *VectorInput) GetDocument() *Document
- func (x *VectorInput) GetId() *PointId
- func (x *VectorInput) GetImage() *Image
- func (x *VectorInput) GetMultiDense() *MultiDenseVector
- func (x *VectorInput) GetObject() *InferenceObject
- func (x *VectorInput) GetSparse() *SparseVector
- func (m *VectorInput) GetVariant() isVectorInput_Variant
- func (*VectorInput) ProtoMessage()
- func (x *VectorInput) ProtoReflect() protoreflect.Message
- func (x *VectorInput) Reset()
- func (x *VectorInput) String() string
- type VectorInput_Dense
- type VectorInput_Document
- type VectorInput_Id
- type VectorInput_Image
- type VectorInput_MultiDense
- type VectorInput_Object
- type VectorInput_Sparse
- type VectorOutput
- func (*VectorOutput) Descriptor() ([]byte, []int)deprecated
- func (x *VectorOutput) GetData() []float32deprecated
- func (x *VectorOutput) GetDense() *DenseVector
- func (v *VectorOutput) GetDenseVector() *DenseVector
- func (x *VectorOutput) GetIndices() *SparseIndicesdeprecated
- func (x *VectorOutput) GetMultiDense() *MultiDenseVector
- func (v *VectorOutput) GetMultiVector() *MultiDenseVector
- func (x *VectorOutput) GetSparse() *SparseVector
- func (v *VectorOutput) GetSparseVector() *SparseVector
- func (m *VectorOutput) GetVector() isVectorOutput_Vector
- func (x *VectorOutput) GetVectorsCount() uint32deprecated
- func (*VectorOutput) ProtoMessage()
- func (x *VectorOutput) ProtoReflect() protoreflect.Message
- func (x *VectorOutput) Reset()
- func (x *VectorOutput) String() string
- type VectorOutput_Dense
- type VectorOutput_MultiDense
- type VectorOutput_Sparse
- type VectorParams
- func (*VectorParams) Descriptor() ([]byte, []int)deprecated
- func (x *VectorParams) GetDatatype() Datatype
- func (x *VectorParams) GetDistance() Distance
- func (x *VectorParams) GetHnswConfig() *HnswConfigDiff
- func (x *VectorParams) GetMultivectorConfig() *MultiVectorConfig
- func (x *VectorParams) GetOnDisk() bool
- func (x *VectorParams) GetQuantizationConfig() *QuantizationConfig
- func (x *VectorParams) GetSize() uint64
- func (*VectorParams) ProtoMessage()
- func (x *VectorParams) ProtoReflect() protoreflect.Message
- func (x *VectorParams) Reset()
- func (x *VectorParams) String() string
- type VectorParamsDiff
- func (*VectorParamsDiff) Descriptor() ([]byte, []int)deprecated
- func (x *VectorParamsDiff) GetHnswConfig() *HnswConfigDiff
- func (x *VectorParamsDiff) GetOnDisk() bool
- func (x *VectorParamsDiff) GetQuantizationConfig() *QuantizationConfigDiff
- func (*VectorParamsDiff) ProtoMessage()
- func (x *VectorParamsDiff) ProtoReflect() protoreflect.Message
- func (x *VectorParamsDiff) Reset()
- func (x *VectorParamsDiff) String() string
- type VectorParamsDiffMap
- func (*VectorParamsDiffMap) Descriptor() ([]byte, []int)deprecated
- func (x *VectorParamsDiffMap) GetMap() map[string]*VectorParamsDiff
- func (*VectorParamsDiffMap) ProtoMessage()
- func (x *VectorParamsDiffMap) ProtoReflect() protoreflect.Message
- func (x *VectorParamsDiffMap) Reset()
- func (x *VectorParamsDiffMap) String() string
- type VectorParamsMap
- type Vector_Dense
- type Vector_Document
- type Vector_Image
- type Vector_MultiDense
- type Vector_Object
- type Vector_Sparse
- type Vectors
- func NewVectors(values ...float32) *Vectors
- func NewVectorsDense(vector []float32) *Vectors
- func NewVectorsDocument(document *Document) *Vectors
- func NewVectorsImage(image *Image) *Vectors
- func NewVectorsMap(vectors map[string]*Vector) *Vectors
- func NewVectorsMulti(vectors [][]float32) *Vectors
- func NewVectorsObject(object *InferenceObject) *Vectors
- func NewVectorsSparse(indices []uint32, values []float32) *Vectors
- func (*Vectors) Descriptor() ([]byte, []int)deprecated
- func (x *Vectors) GetVector() *Vector
- func (x *Vectors) GetVectors() *NamedVectors
- func (m *Vectors) GetVectorsOptions() isVectors_VectorsOptions
- func (*Vectors) ProtoMessage()
- func (x *Vectors) ProtoReflect() protoreflect.Message
- func (x *Vectors) Reset()
- func (x *Vectors) String() string
- type VectorsConfig
- func (*VectorsConfig) Descriptor() ([]byte, []int)deprecated
- func (m *VectorsConfig) GetConfig() isVectorsConfig_Config
- func (x *VectorsConfig) GetParams() *VectorParams
- func (x *VectorsConfig) GetParamsMap() *VectorParamsMap
- func (*VectorsConfig) ProtoMessage()
- func (x *VectorsConfig) ProtoReflect() protoreflect.Message
- func (x *VectorsConfig) Reset()
- func (x *VectorsConfig) String() string
- type VectorsConfigDiff
- func (*VectorsConfigDiff) Descriptor() ([]byte, []int)deprecated
- func (m *VectorsConfigDiff) GetConfig() isVectorsConfigDiff_Config
- func (x *VectorsConfigDiff) GetParams() *VectorParamsDiff
- func (x *VectorsConfigDiff) GetParamsMap() *VectorParamsDiffMap
- func (*VectorsConfigDiff) ProtoMessage()
- func (x *VectorsConfigDiff) ProtoReflect() protoreflect.Message
- func (x *VectorsConfigDiff) Reset()
- func (x *VectorsConfigDiff) String() string
- type VectorsConfigDiff_Params
- type VectorsConfigDiff_ParamsMap
- type VectorsConfig_Params
- type VectorsConfig_ParamsMap
- type VectorsOutput
- func (*VectorsOutput) Descriptor() ([]byte, []int)deprecated
- func (x *VectorsOutput) GetVector() *VectorOutput
- func (x *VectorsOutput) GetVectors() *NamedVectorsOutput
- func (m *VectorsOutput) GetVectorsOptions() isVectorsOutput_VectorsOptions
- func (*VectorsOutput) ProtoMessage()
- func (x *VectorsOutput) ProtoReflect() protoreflect.Message
- func (x *VectorsOutput) Reset()
- func (x *VectorsOutput) String() string
- type VectorsOutput_Vector
- type VectorsOutput_Vectors
- type VectorsSelector
- type Vectors_Vector
- type Vectors_Vectors
- type Version
- type WalConfigDiff
- func (*WalConfigDiff) Descriptor() ([]byte, []int)deprecated
- func (x *WalConfigDiff) GetWalCapacityMb() uint64
- func (x *WalConfigDiff) GetWalRetainClosed() uint64
- func (x *WalConfigDiff) GetWalSegmentsAhead() uint64
- func (*WalConfigDiff) ProtoMessage()
- func (x *WalConfigDiff) ProtoReflect() protoreflect.Message
- func (x *WalConfigDiff) Reset()
- func (x *WalConfigDiff) String() string
- type WithLookup
- func (*WithLookup) Descriptor() ([]byte, []int)deprecated
- func (x *WithLookup) GetCollection() string
- func (x *WithLookup) GetWithPayload() *WithPayloadSelector
- func (x *WithLookup) GetWithVectors() *WithVectorsSelector
- func (*WithLookup) ProtoMessage()
- func (x *WithLookup) ProtoReflect() protoreflect.Message
- func (x *WithLookup) Reset()
- func (x *WithLookup) String() string
- type WithPayloadSelector
- func (*WithPayloadSelector) Descriptor() ([]byte, []int)deprecated
- func (x *WithPayloadSelector) GetEnable() bool
- func (x *WithPayloadSelector) GetExclude() *PayloadExcludeSelector
- func (x *WithPayloadSelector) GetInclude() *PayloadIncludeSelector
- func (m *WithPayloadSelector) GetSelectorOptions() isWithPayloadSelector_SelectorOptions
- func (*WithPayloadSelector) ProtoMessage()
- func (x *WithPayloadSelector) ProtoReflect() protoreflect.Message
- func (x *WithPayloadSelector) Reset()
- func (x *WithPayloadSelector) String() string
- type WithPayloadSelector_Enable
- type WithPayloadSelector_Exclude
- type WithPayloadSelector_Include
- type WithVectorsSelector
- func (*WithVectorsSelector) Descriptor() ([]byte, []int)deprecated
- func (x *WithVectorsSelector) GetEnable() bool
- func (x *WithVectorsSelector) GetInclude() *VectorsSelector
- func (m *WithVectorsSelector) GetSelectorOptions() isWithVectorsSelector_SelectorOptions
- func (*WithVectorsSelector) ProtoMessage()
- func (x *WithVectorsSelector) ProtoReflect() protoreflect.Message
- func (x *WithVectorsSelector) Reset()
- func (x *WithVectorsSelector) String() string
- type WithVectorsSelector_Enable
- type WithVectorsSelector_Include
- type WriteOrdering
- type WriteOrderingType
- func (WriteOrderingType) Descriptor() protoreflect.EnumDescriptor
- func (x WriteOrderingType) Enum() *WriteOrderingType
- func (WriteOrderingType) EnumDescriptor() ([]byte, []int)deprecated
- func (x WriteOrderingType) Number() protoreflect.EnumNumber
- func (x WriteOrderingType) String() string
- func (WriteOrderingType) Type() protoreflect.EnumType
Constants ¶
const ( Collections_Get_FullMethodName = "/qdrant.Collections/Get" Collections_List_FullMethodName = "/qdrant.Collections/List" Collections_Create_FullMethodName = "/qdrant.Collections/Create" Collections_Update_FullMethodName = "/qdrant.Collections/Update" Collections_Delete_FullMethodName = "/qdrant.Collections/Delete" Collections_UpdateAliases_FullMethodName = "/qdrant.Collections/UpdateAliases" Collections_ListCollectionAliases_FullMethodName = "/qdrant.Collections/ListCollectionAliases" Collections_ListAliases_FullMethodName = "/qdrant.Collections/ListAliases" Collections_CollectionClusterInfo_FullMethodName = "/qdrant.Collections/CollectionClusterInfo" Collections_CollectionExists_FullMethodName = "/qdrant.Collections/CollectionExists" Collections_UpdateCollectionClusterSetup_FullMethodName = "/qdrant.Collections/UpdateCollectionClusterSetup" Collections_CreateShardKey_FullMethodName = "/qdrant.Collections/CreateShardKey" Collections_DeleteShardKey_FullMethodName = "/qdrant.Collections/DeleteShardKey" Collections_ListShardKeys_FullMethodName = "/qdrant.Collections/ListShardKeys" )
const ( Points_Upsert_FullMethodName = "/qdrant.Points/Upsert" Points_Delete_FullMethodName = "/qdrant.Points/Delete" Points_Get_FullMethodName = "/qdrant.Points/Get" Points_UpdateVectors_FullMethodName = "/qdrant.Points/UpdateVectors" Points_DeleteVectors_FullMethodName = "/qdrant.Points/DeleteVectors" Points_SetPayload_FullMethodName = "/qdrant.Points/SetPayload" Points_OverwritePayload_FullMethodName = "/qdrant.Points/OverwritePayload" Points_DeletePayload_FullMethodName = "/qdrant.Points/DeletePayload" Points_ClearPayload_FullMethodName = "/qdrant.Points/ClearPayload" Points_CreateFieldIndex_FullMethodName = "/qdrant.Points/CreateFieldIndex" Points_DeleteFieldIndex_FullMethodName = "/qdrant.Points/DeleteFieldIndex" Points_CreateVectorName_FullMethodName = "/qdrant.Points/CreateVectorName" Points_DeleteVectorName_FullMethodName = "/qdrant.Points/DeleteVectorName" Points_Search_FullMethodName = "/qdrant.Points/Search" Points_SearchBatch_FullMethodName = "/qdrant.Points/SearchBatch" Points_SearchGroups_FullMethodName = "/qdrant.Points/SearchGroups" Points_Scroll_FullMethodName = "/qdrant.Points/Scroll" Points_Recommend_FullMethodName = "/qdrant.Points/Recommend" Points_RecommendBatch_FullMethodName = "/qdrant.Points/RecommendBatch" Points_RecommendGroups_FullMethodName = "/qdrant.Points/RecommendGroups" Points_Discover_FullMethodName = "/qdrant.Points/Discover" Points_DiscoverBatch_FullMethodName = "/qdrant.Points/DiscoverBatch" Points_Count_FullMethodName = "/qdrant.Points/Count" Points_UpdateBatch_FullMethodName = "/qdrant.Points/UpdateBatch" Points_Query_FullMethodName = "/qdrant.Points/Query" Points_QueryBatch_FullMethodName = "/qdrant.Points/QueryBatch" Points_QueryGroups_FullMethodName = "/qdrant.Points/QueryGroups" Points_Facet_FullMethodName = "/qdrant.Points/Facet" Points_SearchMatrixPairs_FullMethodName = "/qdrant.Points/SearchMatrixPairs" Points_SearchMatrixOffsets_FullMethodName = "/qdrant.Points/SearchMatrixOffsets" )
const ( Snapshots_Create_FullMethodName = "/qdrant.Snapshots/Create" Snapshots_List_FullMethodName = "/qdrant.Snapshots/List" Snapshots_Delete_FullMethodName = "/qdrant.Snapshots/Delete" Snapshots_CreateFull_FullMethodName = "/qdrant.Snapshots/CreateFull" Snapshots_ListFull_FullMethodName = "/qdrant.Snapshots/ListFull" Snapshots_DeleteFull_FullMethodName = "/qdrant.Snapshots/DeleteFull" )
const (
Qdrant_HealthCheck_FullMethodName = "/qdrant.Qdrant/HealthCheck"
)
Variables ¶
var ( Datatype_name = map[int32]string{ 0: "Default", 1: "Float32", 2: "Uint8", 3: "Float16", } Datatype_value = map[string]int32{ "Default": 0, "Float32": 1, "Uint8": 2, "Float16": 3, } )
Enum value maps for Datatype.
var ( Modifier_name = map[int32]string{ 0: "None", 1: "Idf", } Modifier_value = map[string]int32{ "None": 0, "Idf": 1, } )
Enum value maps for Modifier.
var ( MultiVectorComparator_name = map[int32]string{ 0: "MaxSim", } MultiVectorComparator_value = map[string]int32{ "MaxSim": 0, } )
Enum value maps for MultiVectorComparator.
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.
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.
var ( PayloadSchemaType_name = map[int32]string{ 0: "UnknownType", 1: "Keyword", 2: "Integer", 3: "Float", 4: "Geo", 5: "Text", 6: "Bool", 7: "Datetime", 8: "Uuid", } PayloadSchemaType_value = map[string]int32{ "UnknownType": 0, "Keyword": 1, "Integer": 2, "Float": 3, "Geo": 4, "Text": 5, "Bool": 6, "Datetime": 7, "Uuid": 8, } )
Enum value maps for PayloadSchemaType.
var ( QuantizationType_name = map[int32]string{ 0: "UnknownQuantization", 1: "Int8", } QuantizationType_value = map[string]int32{ "UnknownQuantization": 0, "Int8": 1, } )
Enum value maps for QuantizationType.
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.
var ( BinaryQuantizationEncoding_name = map[int32]string{ 0: "OneBit", 1: "TwoBits", 2: "OneAndHalfBits", } BinaryQuantizationEncoding_value = map[string]int32{ "OneBit": 0, "TwoBits": 1, "OneAndHalfBits": 2, } )
Enum value maps for BinaryQuantizationEncoding.
var ( TurboQuantBitSize_name = map[int32]string{ 0: "Bits1", 1: "Bits1_5", 2: "Bits2", 3: "Bits4", } TurboQuantBitSize_value = map[string]int32{ "Bits1": 0, "Bits1_5": 1, "Bits2": 2, "Bits4": 3, } )
Enum value maps for TurboQuantBitSize.
var ( ShardingMethod_name = map[int32]string{ 0: "Auto", 1: "Custom", } ShardingMethod_value = map[string]int32{ "Auto": 0, "Custom": 1, } )
Enum value maps for ShardingMethod.
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.
var ( ReplicaState_name = map[int32]string{ 0: "Active", 1: "Dead", 2: "Partial", 3: "Initializing", 4: "Listener", 5: "PartialSnapshot", 6: "Recovery", 7: "Resharding", 8: "ReshardingScaleDown", 9: "ActiveRead", 10: "ManualRecovery", } ReplicaState_value = map[string]int32{ "Active": 0, "Dead": 1, "Partial": 2, "Initializing": 3, "Listener": 4, "PartialSnapshot": 5, "Recovery": 6, "Resharding": 7, "ReshardingScaleDown": 8, "ActiveRead": 9, "ManualRecovery": 10, } )
Enum value maps for ReplicaState.
var ( ReshardingDirection_name = map[int32]string{ 0: "Up", 1: "Down", } ReshardingDirection_value = map[string]int32{ "Up": 0, "Down": 1, } )
Enum value maps for ReshardingDirection.
var ( ShardTransferMethod_name = map[int32]string{ 0: "StreamRecords", 1: "Snapshot", 2: "WalDelta", 3: "ReshardingStreamRecords", } ShardTransferMethod_value = map[string]int32{ "StreamRecords": 0, "Snapshot": 1, "WalDelta": 2, "ReshardingStreamRecords": 3, } )
Enum value maps for ShardTransferMethod.
var ( MaxOptimizationThreads_Setting_name = map[int32]string{ 0: "Auto", } MaxOptimizationThreads_Setting_value = map[string]int32{ "Auto": 0, } )
Enum value maps for MaxOptimizationThreads_Setting.
var ( BinaryQuantizationQueryEncoding_Setting_name = map[int32]string{ 0: "Default", 1: "Binary", 2: "Scalar4Bits", 3: "Scalar8Bits", } BinaryQuantizationQueryEncoding_Setting_value = map[string]int32{ "Default": 0, "Binary": 1, "Scalar4Bits": 2, "Scalar8Bits": 3, } )
Enum value maps for BinaryQuantizationQueryEncoding_Setting.
var ( NullValue_name = map[int32]string{ 0: "NULL_VALUE", } NullValue_value = map[string]int32{ "NULL_VALUE": 0, } )
Enum value maps for NullValue.
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.
var ( UpdateMode_name = map[int32]string{ 0: "Upsert", 1: "InsertOnly", 2: "UpdateOnly", } UpdateMode_value = map[string]int32{ "Upsert": 0, "InsertOnly": 1, "UpdateOnly": 2, } )
Enum value maps for UpdateMode.
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.
var ( FieldType_name = map[int32]string{ 0: "FieldTypeKeyword", 1: "FieldTypeInteger", 2: "FieldTypeFloat", 3: "FieldTypeGeo", 4: "FieldTypeText", 5: "FieldTypeBool", 6: "FieldTypeDatetime", 7: "FieldTypeUuid", } FieldType_value = map[string]int32{ "FieldTypeKeyword": 0, "FieldTypeInteger": 1, "FieldTypeFloat": 2, "FieldTypeGeo": 3, "FieldTypeText": 4, "FieldTypeBool": 5, "FieldTypeDatetime": 6, "FieldTypeUuid": 7, } )
Enum value maps for FieldType.
var ( Direction_name = map[int32]string{ 0: "Asc", 1: "Desc", } Direction_value = map[string]int32{ "Asc": 0, "Desc": 1, } )
Enum value maps for Direction.
var ( RecommendStrategy_name = map[int32]string{ 0: "AverageVector", 1: "BestScore", 2: "SumScores", } RecommendStrategy_value = map[string]int32{ "AverageVector": 0, "BestScore": 1, "SumScores": 2, } )
Enum value maps for RecommendStrategy.
var ( Fusion_name = map[int32]string{ 0: "RRF", 1: "DBSF", } Fusion_value = map[string]int32{ "RRF": 0, "DBSF": 1, } )
Enum value maps for Fusion.
var ( Sample_name = map[int32]string{ 0: "Random", } Sample_value = map[string]int32{ "Random": 0, } )
Enum value maps for Sample.
var ( UpdateStatus_name = map[int32]string{ 0: "UnknownUpdateStatus", 1: "Acknowledged", 2: "Completed", 3: "ClockRejected", 4: "WaitTimeout", } UpdateStatus_value = map[string]int32{ "UnknownUpdateStatus": 0, "Acknowledged": 1, "Completed": 2, "ClockRejected": 3, "WaitTimeout": 4, } )
Enum value maps for UpdateStatus.
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, }, { MethodName: "ListShardKeys", Handler: _Collections_ListShardKeys_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)
var File_collections_proto protoreflect.FileDescriptor
var File_collections_service_proto protoreflect.FileDescriptor
var File_json_with_int_proto protoreflect.FileDescriptor
var File_points_proto protoreflect.FileDescriptor
var File_points_service_proto protoreflect.FileDescriptor
var File_qdrant_common_proto protoreflect.FileDescriptor
var File_qdrant_proto protoreflect.FileDescriptor
var File_snapshots_service_proto protoreflect.FileDescriptor
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: "CreateVectorName", Handler: _Points_CreateVectorName_Handler, }, { MethodName: "DeleteVectorName", Handler: _Points_DeleteVectorName_Handler, }, { MethodName: "Search", Handler: _Points_Search_Handler, }, { MethodName: "SearchBatch", Handler: _Points_SearchBatch_Handler, }, { MethodName: "SearchGroups", Handler: _Points_SearchGroups_Handler, }, { MethodName: "Scroll", Handler: _Points_Scroll_Handler, }, { MethodName: "Recommend", Handler: _Points_Recommend_Handler, }, { MethodName: "RecommendBatch", Handler: _Points_RecommendBatch_Handler, }, { MethodName: "RecommendGroups", Handler: _Points_RecommendGroups_Handler, }, { MethodName: "Discover", Handler: _Points_Discover_Handler, }, { MethodName: "DiscoverBatch", Handler: _Points_DiscoverBatch_Handler, }, { MethodName: "Count", Handler: _Points_Count_Handler, }, { MethodName: "UpdateBatch", Handler: _Points_UpdateBatch_Handler, }, { MethodName: "Query", Handler: _Points_Query_Handler, }, { MethodName: "QueryBatch", Handler: _Points_QueryBatch_Handler, }, { MethodName: "QueryGroups", Handler: _Points_QueryGroups_Handler, }, { MethodName: "Facet", Handler: _Points_Facet_Handler, }, { MethodName: "SearchMatrixPairs", Handler: _Points_SearchMatrixPairs_Handler, }, { MethodName: "SearchMatrixOffsets", Handler: _Points_SearchMatrixOffsets_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "points_service.proto", }
Points_ServiceDesc is the grpc.ServiceDesc for Points service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
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)
var Snapshots_ServiceDesc = grpc.ServiceDesc{ ServiceName: "qdrant.Snapshots", HandlerType: (*SnapshotsServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Create", Handler: _Snapshots_Create_Handler, }, { MethodName: "List", Handler: _Snapshots_List_Handler, }, { MethodName: "Delete", Handler: _Snapshots_Delete_Handler, }, { MethodName: "CreateFull", Handler: _Snapshots_CreateFull_Handler, }, { MethodName: "ListFull", Handler: _Snapshots_ListFull_Handler, }, { MethodName: "DeleteFull", Handler: _Snapshots_DeleteFull_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "snapshots_service.proto", }
Snapshots_ServiceDesc is the grpc.ServiceDesc for Snapshots service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func IsCompatible ¶ added in v1.13.0
func NewValueMap ¶ added in v1.11.1
Converts a map of string to any to a map of string to *grpc.Value NOTE: This function panics if the conversion fails. Use TryValueMap() to have errors returned.
╔════════════════════════╤════════════════════════════════════════════╗
║ Go type │ Conversion ║
╠════════════════════════╪════════════════════════════════════════════╣
║ nil │ stored as NullValue ║
║ bool │ stored as BoolValue ║
║ int, int32, int64 │ stored as IntegerValue ║
║ uint, uint32, uint64 │ stored as IntegerValue ║
║ float32, float64 │ stored as DoubleValue ║
║ string │ stored as StringValue; must be valid UTF-8 ║
║ []byte │ stored as StringValue; base64-encoded ║
║ map[string]interface{} │ stored as StructValue ║
║ []interface{} │ stored as ListValue ║
╚════════════════════════╧════════════════════════════════════════════╝
func 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 {
// Local shard id
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
ToShardId *uint32 `protobuf:"varint,4,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
// contains filtered or unexported fields
}
func (*AbortShardTransfer) Descriptor
deprecated
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) GetToShardId ¶ added in v1.10.0
func (x *AbortShardTransfer) GetToShardId() uint32
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 AcornSearchParams ¶ added in v1.16.0
type AcornSearchParams struct {
// If true, then ACORN may be used for the HNSW search based on filters
// selectivity.
//
// Improves search recall for searches with multiple low-selectivity
// payload filters, at cost of performance.
Enable *bool `protobuf:"varint,1,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
// Maximum selectivity of filters to enable ACORN.
//
// If estimated filters selectivity is higher than this value,
// ACORN will not be used. Selectivity is estimated as:
// `estimated number of points satisfying the filters / total number of points`.
//
// 0.0 for never, 1.0 for always. Default is 0.4.
MaxSelectivity *float64 `protobuf:"fixed64,2,opt,name=max_selectivity,json=maxSelectivity,proto3,oneof" json:"max_selectivity,omitempty"`
// contains filtered or unexported fields
}
func (*AcornSearchParams) Descriptor
deprecated
added in
v1.16.0
func (*AcornSearchParams) Descriptor() ([]byte, []int)
Deprecated: Use AcornSearchParams.ProtoReflect.Descriptor instead.
func (*AcornSearchParams) GetEnable ¶ added in v1.16.0
func (x *AcornSearchParams) GetEnable() bool
func (*AcornSearchParams) GetMaxSelectivity ¶ added in v1.16.0
func (x *AcornSearchParams) GetMaxSelectivity() float64
func (*AcornSearchParams) ProtoMessage ¶ added in v1.16.0
func (*AcornSearchParams) ProtoMessage()
func (*AcornSearchParams) ProtoReflect ¶ added in v1.16.0
func (x *AcornSearchParams) ProtoReflect() protoreflect.Message
func (*AcornSearchParams) Reset ¶ added in v1.16.0
func (x *AcornSearchParams) Reset()
func (*AcornSearchParams) String ¶ added in v1.16.0
func (x *AcornSearchParams) String() string
type AliasDescription ¶ added in v1.0.0
type AliasDescription struct {
// Name of the alias
AliasName string `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`
// Name of the collection
CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// 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 NewAlias ¶ added in v1.11.1
func NewAlias(aliasName, collectionName string) *AliasOperations
Creates an *AliasOperations instance to create an alias. This is an alias for NewAliasCreate().
func NewAliasCreate ¶ added in v1.11.1
func NewAliasCreate(aliasName, collectionName string) *AliasOperations
Creates an *AliasOperations instance to create an alias.
func NewAliasDelete ¶ added in v1.11.1
func NewAliasDelete(aliasName string) *AliasOperations
Creates an *AliasOperations instance to delete an alias.
func NewAliasRename ¶ added in v1.11.1
func NewAliasRename(oldAliasName, newAliasName string) *AliasOperations
Creates an *AliasOperations instance to rename an alias.
func (*AliasOperations) Descriptor
deprecated
func (*AliasOperations) Descriptor() ([]byte, []int)
Deprecated: Use AliasOperations.ProtoReflect.Descriptor instead.
func (*AliasOperations) GetAction ¶
func (m *AliasOperations) GetAction() isAliasOperations_Action
func (*AliasOperations) GetCreateAlias ¶
func (x *AliasOperations) GetCreateAlias() *CreateAlias
func (*AliasOperations) GetDeleteAlias ¶
func (x *AliasOperations) GetDeleteAlias() *DeleteAlias
func (*AliasOperations) GetRenameAlias ¶
func (x *AliasOperations) GetRenameAlias() *RenameAlias
func (*AliasOperations) ProtoMessage ¶
func (*AliasOperations) ProtoMessage()
func (*AliasOperations) ProtoReflect ¶
func (x *AliasOperations) ProtoReflect() protoreflect.Message
func (*AliasOperations) Reset ¶
func (x *AliasOperations) Reset()
func (*AliasOperations) String ¶
func (x *AliasOperations) String() string
type AliasOperations_CreateAlias ¶
type AliasOperations_CreateAlias struct {
CreateAlias *CreateAlias `protobuf:"bytes,1,opt,name=create_alias,json=createAlias,proto3,oneof"`
}
type AliasOperations_DeleteAlias ¶
type AliasOperations_DeleteAlias struct {
DeleteAlias *DeleteAlias `protobuf:"bytes,3,opt,name=delete_alias,json=deleteAlias,proto3,oneof"`
}
type AliasOperations_RenameAlias ¶
type AliasOperations_RenameAlias struct {
RenameAlias *RenameAlias `protobuf:"bytes,2,opt,name=rename_alias,json=renameAlias,proto3,oneof"`
}
type BatchResult ¶ 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 {
// If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
AlwaysRam *bool `protobuf:"varint,1,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"`
// Binary quantization encoding method
Encoding *BinaryQuantizationEncoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=qdrant.BinaryQuantizationEncoding,oneof" json:"encoding,omitempty"`
// Asymmetric quantization configuration allows a query to have different
// quantization than stored vectors.
// It can increase the accuracy of search at the cost of performance.
QueryEncoding *BinaryQuantizationQueryEncoding `protobuf:"bytes,3,opt,name=query_encoding,json=queryEncoding,proto3,oneof" json:"query_encoding,omitempty"`
// contains filtered or unexported fields
}
func (*BinaryQuantization) Descriptor
deprecated
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) GetEncoding ¶ added in v1.15.0
func (x *BinaryQuantization) GetEncoding() BinaryQuantizationEncoding
func (*BinaryQuantization) GetQueryEncoding ¶ added in v1.15.0
func (x *BinaryQuantization) GetQueryEncoding() *BinaryQuantizationQueryEncoding
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 BinaryQuantizationEncoding ¶ added in v1.15.0
type BinaryQuantizationEncoding int32
const ( BinaryQuantizationEncoding_OneBit BinaryQuantizationEncoding = 0 BinaryQuantizationEncoding_TwoBits BinaryQuantizationEncoding = 1 BinaryQuantizationEncoding_OneAndHalfBits BinaryQuantizationEncoding = 2 )
func (BinaryQuantizationEncoding) Descriptor ¶ added in v1.15.0
func (BinaryQuantizationEncoding) Descriptor() protoreflect.EnumDescriptor
func (BinaryQuantizationEncoding) Enum ¶ added in v1.15.0
func (x BinaryQuantizationEncoding) Enum() *BinaryQuantizationEncoding
func (BinaryQuantizationEncoding) EnumDescriptor
deprecated
added in
v1.15.0
func (BinaryQuantizationEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use BinaryQuantizationEncoding.Descriptor instead.
func (BinaryQuantizationEncoding) Number ¶ added in v1.15.0
func (x BinaryQuantizationEncoding) Number() protoreflect.EnumNumber
func (BinaryQuantizationEncoding) String ¶ added in v1.15.0
func (x BinaryQuantizationEncoding) String() string
func (BinaryQuantizationEncoding) Type ¶ added in v1.15.0
func (BinaryQuantizationEncoding) Type() protoreflect.EnumType
type BinaryQuantizationQueryEncoding ¶ added in v1.15.0
type BinaryQuantizationQueryEncoding struct {
// Types that are assignable to Variant:
//
// *BinaryQuantizationQueryEncoding_Setting_
Variant isBinaryQuantizationQueryEncoding_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewBinaryQuantizationQueryEncodingSetting ¶ added in v1.15.1
func NewBinaryQuantizationQueryEncodingSetting(setting BinaryQuantizationQueryEncoding_Setting) *BinaryQuantizationQueryEncoding
Creates a *BinaryQuantizationQueryEncoding instance with a specific setting.
func (*BinaryQuantizationQueryEncoding) Descriptor
deprecated
added in
v1.15.0
func (*BinaryQuantizationQueryEncoding) Descriptor() ([]byte, []int)
Deprecated: Use BinaryQuantizationQueryEncoding.ProtoReflect.Descriptor instead.
func (*BinaryQuantizationQueryEncoding) GetSetting ¶ added in v1.15.0
func (x *BinaryQuantizationQueryEncoding) GetSetting() BinaryQuantizationQueryEncoding_Setting
func (*BinaryQuantizationQueryEncoding) GetVariant ¶ added in v1.15.0
func (m *BinaryQuantizationQueryEncoding) GetVariant() isBinaryQuantizationQueryEncoding_Variant
func (*BinaryQuantizationQueryEncoding) ProtoMessage ¶ added in v1.15.0
func (*BinaryQuantizationQueryEncoding) ProtoMessage()
func (*BinaryQuantizationQueryEncoding) ProtoReflect ¶ added in v1.15.0
func (x *BinaryQuantizationQueryEncoding) ProtoReflect() protoreflect.Message
func (*BinaryQuantizationQueryEncoding) Reset ¶ added in v1.15.0
func (x *BinaryQuantizationQueryEncoding) Reset()
func (*BinaryQuantizationQueryEncoding) String ¶ added in v1.15.0
func (x *BinaryQuantizationQueryEncoding) String() string
type BinaryQuantizationQueryEncoding_Setting ¶ added in v1.15.0
type BinaryQuantizationQueryEncoding_Setting int32
const ( BinaryQuantizationQueryEncoding_Default BinaryQuantizationQueryEncoding_Setting = 0 BinaryQuantizationQueryEncoding_Binary BinaryQuantizationQueryEncoding_Setting = 1 BinaryQuantizationQueryEncoding_Scalar4Bits BinaryQuantizationQueryEncoding_Setting = 2 BinaryQuantizationQueryEncoding_Scalar8Bits BinaryQuantizationQueryEncoding_Setting = 3 )
func (BinaryQuantizationQueryEncoding_Setting) Descriptor ¶ added in v1.15.0
func (BinaryQuantizationQueryEncoding_Setting) Descriptor() protoreflect.EnumDescriptor
func (BinaryQuantizationQueryEncoding_Setting) EnumDescriptor
deprecated
added in
v1.15.0
func (BinaryQuantizationQueryEncoding_Setting) EnumDescriptor() ([]byte, []int)
Deprecated: Use BinaryQuantizationQueryEncoding_Setting.Descriptor instead.
func (BinaryQuantizationQueryEncoding_Setting) Number ¶ added in v1.15.0
func (x BinaryQuantizationQueryEncoding_Setting) Number() protoreflect.EnumNumber
func (BinaryQuantizationQueryEncoding_Setting) String ¶ added in v1.15.0
func (x BinaryQuantizationQueryEncoding_Setting) String() string
func (BinaryQuantizationQueryEncoding_Setting) Type ¶ added in v1.15.0
func (BinaryQuantizationQueryEncoding_Setting) Type() protoreflect.EnumType
type BinaryQuantizationQueryEncoding_Setting_ ¶ added in v1.15.0
type BinaryQuantizationQueryEncoding_Setting_ struct {
Setting BinaryQuantizationQueryEncoding_Setting `protobuf:"varint,4,opt,name=setting,proto3,enum=qdrant.BinaryQuantizationQueryEncoding_Setting,oneof"`
}
type BoolIndexParams ¶ added in v1.11.0
type BoolIndexParams struct {
// If true - store index on disk.
OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Enable HNSW graph building for this payload field.
// If true, builds additional HNSW links (Need payload_m > 0).
// Default: true.
EnableHnsw *bool `protobuf:"varint,2,opt,name=enable_hnsw,json=enableHnsw,proto3,oneof" json:"enable_hnsw,omitempty"`
// contains filtered or unexported fields
}
func (*BoolIndexParams) Descriptor
deprecated
added in
v1.11.0
func (*BoolIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use BoolIndexParams.ProtoReflect.Descriptor instead.
func (*BoolIndexParams) GetEnableHnsw ¶ added in v1.17.0
func (x *BoolIndexParams) GetEnableHnsw() bool
func (*BoolIndexParams) GetOnDisk ¶ added in v1.13.0
func (x *BoolIndexParams) GetOnDisk() bool
func (*BoolIndexParams) ProtoMessage ¶ added in v1.11.0
func (*BoolIndexParams) ProtoMessage()
func (*BoolIndexParams) ProtoReflect ¶ added in v1.11.0
func (x *BoolIndexParams) ProtoReflect() protoreflect.Message
func (*BoolIndexParams) Reset ¶ added in v1.11.0
func (x *BoolIndexParams) Reset()
func (*BoolIndexParams) String ¶ added in v1.11.0
func (x *BoolIndexParams) String() string
type ChangeAliases ¶
type ChangeAliases struct {
// List of actions
Actions []*AliasOperations `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"`
// Wait timeout for operation commit in seconds.
// If not specified - default value will be supplied.
Timeout *uint64 `protobuf:"varint,2,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// Affected points
Points *PointsSelector `protobuf:"bytes,3,opt,name=points,proto3" json:"points,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *ClearPayloadPoints) GetTimeout() uint64
func (*ClearPayloadPoints) GetWait ¶
func (x *ClearPayloadPoints) GetWait() bool
func (*ClearPayloadPoints) ProtoMessage ¶
func (*ClearPayloadPoints) ProtoMessage()
func (*ClearPayloadPoints) ProtoReflect ¶
func (x *ClearPayloadPoints) ProtoReflect() protoreflect.Message
func (*ClearPayloadPoints) Reset ¶
func (x *ClearPayloadPoints) Reset()
func (*ClearPayloadPoints) String ¶
func (x *ClearPayloadPoints) String() string
type Client ¶ added in v1.11.1
type Client struct {
// contains filtered or unexported fields
}
Client is a high-level client for Qdrant. It can manage a single connection or a pool of connections, chosen by setting PoolSize in the Config.
func DefaultClient ¶ added in v1.11.1
Instantiates a new client with the default configuration. Connects to localhost:6334 with TLS disabled.
func NewClient ¶ added in v1.11.1
NewClient creates a new Qdrant client. It checks Config.PoolSize to determine whether to create a single client or a pool of clients. If PoolSize > 1, requests are distributed across the connections in a round-robin fashion.
func (*Client) ClearPayload ¶ added in v1.11.1
func (c *Client) ClearPayload(ctx context.Context, request *ClearPayloadPoints) (*UpdateResult, error)
Removes all payload fields from points in a collection.
Parameters:
- ctx: The context for the request.
- request: The ClearPayloadPoints request specifying which points to clear.
Returns:
- *UpdateResult: The result of the clear operation.
- error: An error if the operation fails.
func (*Client) CollectionExists ¶ added in v1.11.1
Checks the existence of a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to check.
Returns:
- bool: True if the collection exists, false otherwise.
- error: An error if the operation fails.
func (*Client) Count ¶ added in v1.11.1
Returns the number of points in a collection with given filtering conditions. Gets the total count if no filter is provided.
Parameters:
- ctx: The context for the request.
- request: The CountPoints request containing optional filtering conditions.
Returns:
- uint64: The count of points matching the conditions.
- error: An error if the operation fails.
func (*Client) CreateAlias ¶ added in v1.11.1
Creates an alias for a collection.
Parameters:
- ctx: The context for the request.
- aliasName: The name of the alias to create.
- collectionName: The name of the collection to alias.
Returns:
- error: An error if the operation fails.
func (*Client) CreateCollection ¶ added in v1.11.1
func (c *Client) CreateCollection(ctx context.Context, request *CreateCollection) error
Creates a new collection with the given parameters.
Parameters:
- ctx: The context for the request.
- request: The CreateCollection request containing collection parameters.
Returns:
- error: An error if the operation fails.
func (*Client) CreateFieldIndex ¶ added in v1.11.1
func (c *Client) CreateFieldIndex(ctx context.Context, request *CreateFieldIndexCollection) (*UpdateResult, error)
Creates an index for a payload field.
Parameters:
- ctx: The context for the request.
- request: The CreateFieldIndexCollection request specifying the field to index.
Returns:
- *UpdateResult: The result of the index creation operation.
- error: An error if the operation fails.
func (*Client) CreateFullSnapshot ¶ added in v1.11.1
func (c *Client) CreateFullSnapshot(ctx context.Context) (*SnapshotDescription, error)
Creates a snapshot of the entire storage, including all collections. This operation is useful for creating full backups of the Qdrant instance.
Parameters:
- ctx: The context for the request
Returns:
- *SnapshotDescription: Description of the created full snapshot
- error: Any error encountered during the full snapshot creation
func (*Client) CreateShardKey ¶ added in v1.11.1
func (c *Client) CreateShardKey(ctx context.Context, collectionName string, request *CreateShardKey) error
Creates a shard key for a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to create a shard key for.
- request: The CreateShardKey request containing shard key parameters.
Returns:
- error: An error if the operation fails.
func (*Client) CreateSnapshot ¶ added in v1.11.1
func (c *Client) CreateSnapshot(ctx context.Context, collection string) (*SnapshotDescription, error)
Creates a snapshot of a specific collection. Snapshots are read-only copies of the collection data, which can be used for backup and restore purposes. The snapshot is created asynchronously and does not block the collection usage.
Parameters:
- ctx: The context for the request
- collection: The name of the collection to create a snapshot for
Returns:
- *SnapshotDescription: Description of the created snapshot
- error: Any error encountered during the snapshot creation
func (*Client) CreateVectorName ¶ added in v1.18.0
func (c *Client) CreateVectorName(ctx context.Context, request *CreateVectorNameRequest) (*UpdateResult, error)
Creates a new named vector on a collection.
Parameters:
- ctx: The context for the request.
- request: The CreateVectorNameRequest specifying the vector name and configuration.
Returns:
- *UpdateResult: The result of the operation.
- error: An error if the operation fails.
func (*Client) Delete ¶ added in v1.11.1
func (c *Client) Delete(ctx context.Context, request *DeletePoints) (*UpdateResult, error)
Removes points from a collection by IDs or payload filters.
Parameters:
- ctx: The context for the request.
- request: The DeletePoints request specifying which points to delete.
Returns:
- *UpdateResult: The result of the delete operation.
- error: An error if the operation fails.
func (*Client) DeleteAlias ¶ added in v1.11.1
Deletes an alias.
Parameters:
- ctx: The context for the request.
- aliasName: The name of the alias to delete.
Returns:
- error: An error if the operation fails.
func (*Client) DeleteCollection ¶ added in v1.11.1
Drops a collection and all associated data.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to delete.
Returns:
- error: An error if the operation fails.
func (*Client) DeleteFieldIndex ¶ added in v1.11.1
func (c *Client) DeleteFieldIndex(ctx context.Context, request *DeleteFieldIndexCollection) (*UpdateResult, error)
Removes an index for a payload field.
Parameters:
- ctx: The context for the request.
- request: The DeleteFieldIndexCollection request specifying the field index to delete.
Returns:
- *UpdateResult: The result of the index deletion operation.
- error: An error if the operation fails.
func (*Client) DeleteFullSnapshot ¶ added in v1.11.1
Removes a specific full snapshot of the storage.
Parameters:
- ctx: The context for the request
- snapshot: The name of the full snapshot to delete
Returns:
- error: Any error encountered while deleting the full snapshot
func (*Client) DeletePayload ¶ added in v1.11.1
func (c *Client) DeletePayload(ctx context.Context, request *DeletePayloadPoints) (*UpdateResult, error)
Removes payload fields from points in a collection.
Parameters:
- ctx: The context for the request.
- request: The DeletePayloadPoints request specifying which payload fields to delete.
Returns:
- *UpdateResult: The result of the delete operation.
- error: An error if the operation fails.
func (*Client) DeleteShardKey ¶ added in v1.11.1
func (c *Client) DeleteShardKey(ctx context.Context, collectionName string, request *DeleteShardKey) error
Deletes a shard key for a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to delete a shard key from.
- request: The DeleteShardKey request containing shard key parameters.
Returns:
- error: An error if the operation fails.
func (*Client) DeleteSnapshot ¶ added in v1.11.1
Removes a specific snapshot of a collection.
Parameters:
- ctx: The context for the request
- collection: The name of the collection the snapshot belongs to
- snapshot: The name of the snapshot to delete
Returns:
- error: Any error encountered while deleting the snapshot
func (*Client) DeleteVectorName ¶ added in v1.18.0
func (c *Client) DeleteVectorName(ctx context.Context, request *DeleteVectorNameRequest) (*UpdateResult, error)
Deletes a named vector from a collection.
Parameters:
- ctx: The context for the request.
- request: The DeleteVectorNameRequest specifying the vector name to delete.
Returns:
- *UpdateResult: The result of the operation.
- error: An error if the operation fails.
func (*Client) DeleteVectors ¶ added in v1.11.1
func (c *Client) DeleteVectors(ctx context.Context, request *DeletePointVectors) (*UpdateResult, error)
Removes vectors from points in a collection.
Parameters:
- ctx: The context for the request.
- request: The DeletePointVectors request specifying which vectors to delete.
Returns:
- *UpdateResult: The result of the delete operation.
- error: An error if the operation fails.
func (*Client) Facet ¶ added in v1.12.0
Facets the points that would match a filter, with respect to a payload field.
Parameters:
- ctx: The context for the request.
- request: The FacetCounts request containing the facet parameters.
Returns:
- []*FacetHit: A slice of facet hits matching the query. Each hit contains the value and the count for this value
func (*Client) Get ¶ added in v1.11.1
Retrieves points from a collection by IDs.
Parameters:
- ctx: The context for the request.
- request: The GetPoints request specifying which points to retrieve.
Returns:
- []*RetrievedPoint: A slice of retrieved points.
- error: An error if the operation fails.
func (*Client) GetCollectionClusterInfo ¶ added in v1.16.0
func (c *Client) GetCollectionClusterInfo(ctx context.Context, collectionName string) (*CollectionClusterInfoResponse, error)
Get cluster information for a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection.
Returns:
- *CollectionClusterInfoResponse: Detailed information about the collection's cluster.
- error: An error if the operation fails.
func (*Client) GetCollectionInfo ¶ added in v1.11.1
func (c *Client) GetCollectionInfo(ctx context.Context, collectionName string) (*CollectionInfo, error)
Retrieves detailed information about a specified existing collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to retrieve information for.
Returns:
- *CollectionInfo: Detailed information about the collection.
- error: An error if the operation fails.
func (*Client) GetCollectionsClient ¶ added in v1.11.1
func (c *Client) GetCollectionsClient() CollectionsClient
Get the low-level client for the collections gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/collections_service.proto
func (*Client) GetConnection ¶ added in v1.11.1
func (c *Client) GetConnection() *grpc.ClientConn
GetConnection returns one of the underlying gRPC connections from the pool. Useful for debugging or advanced use cases.
func (*Client) GetGrpcClient ¶ added in v1.11.1
func (c *Client) GetGrpcClient() *GrpcClient
Get the underlying gRPC client. In case of a pool, it returns one of the clients in a round-robin fashion.
func (*Client) GetPointsClient ¶ added in v1.11.1
func (c *Client) GetPointsClient() PointsClient
Get the low-level client for the points gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/points_service.proto
func (*Client) GetQdrantClient ¶ added in v1.11.1
func (c *Client) GetQdrantClient() QdrantClient
Get the low-level client for the Qdrant gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/qdrant.proto
func (*Client) GetSnapshotsClient ¶ added in v1.11.1
func (c *Client) GetSnapshotsClient() SnapshotsClient
Get the low-level client for the snapshots gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/snapshots_service.proto
func (*Client) HealthCheck ¶ added in v1.11.1
func (c *Client) HealthCheck(ctx context.Context) (*HealthCheckReply, error)
Check liveliness of the service.
func (*Client) ListAliases ¶ added in v1.11.1
func (c *Client) ListAliases(ctx context.Context) ([]*AliasDescription, error)
Lists all aliases.
Parameters:
- ctx: The context for the request.
Returns:
- []*AliasDescription: A slice of AliasDescription objects.
- error: An error if the operation fails.
func (*Client) ListCollectionAliases ¶ added in v1.11.1
func (c *Client) ListCollectionAliases(ctx context.Context, collectionName string) ([]string, error)
Lists all aliases for a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to list aliases for.
Returns:
- []string: A slice of alias names.
- error: An error if the operation fails.
func (*Client) ListCollections ¶ added in v1.11.1
Retrieves the names of all existing collections.
Parameters:
- ctx: The context for the request.
Returns:
- []string: A slice of collection names.
- error: An error if the operation fails.
func (*Client) ListFullSnapshots ¶ added in v1.11.1
func (c *Client) ListFullSnapshots(ctx context.Context) ([]*SnapshotDescription, error)
ListFullSnapshots retrieves a list of all full snapshots of the storage.
Parameters:
- ctx: The context for the request
Returns:
- []*SnapshotDescription: A slice of full snapshot descriptions
- error: Any error encountered while listing full snapshots
func (*Client) ListShardKeys ¶ added in v1.17.0
func (c *Client) ListShardKeys(ctx context.Context, collectionName string) ([]*ShardKeyDescription, error)
List the shard keys of a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to list shard keys for.
Returns:
- error: An error if the operation fails.
func (*Client) ListSnapshots ¶ added in v1.11.1
func (c *Client) ListSnapshots(ctx context.Context, collection string) ([]*SnapshotDescription, error)
Retrieves a list of all snapshots for a specific collection.
Parameters:
- ctx: The context for the request
- collection: The name of the collection to list snapshots for
Returns:
- []*SnapshotDescription: A slice of snapshot descriptions
- error: Any error encountered while listing snapshots
func (*Client) OverwritePayload ¶ added in v1.11.1
func (c *Client) OverwritePayload(ctx context.Context, request *SetPayloadPoints) (*UpdateResult, error)
Overwrites the entire payload for points in a collection.
Parameters:
- ctx: The context for the request.
- request: The SetPayloadPoints request containing the payload to overwrite.
Returns:
- *UpdateResult: The result of the overwrite operation.
- error: An error if the operation fails.
func (*Client) Query ¶ added in v1.11.1
func (c *Client) Query(ctx context.Context, request *QueryPoints) ([]*ScoredPoint, error)
Performs a universal query on points. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.
Parameters:
- ctx: The context for the request.
- request: The QueryPoints request containing the query parameters.
Returns:
- []*ScoredPoint: A slice of scored points matching the query.
- error: An error if the operation fails.
func (*Client) QueryBatch ¶ added in v1.11.1
func (c *Client) QueryBatch(ctx context.Context, request *QueryBatchPoints) ([]*BatchResult, error)
Performs multiple universal queries on points in a batch. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.
Parameters:
- ctx: The context for the request.
- request: The QueryBatchPoints request containing multiple query parameters.
Returns:
- []*BatchResult: A slice of batch results for each query.
- error: An error if the operation fails.
func (*Client) QueryGroups ¶ added in v1.11.1
func (c *Client) QueryGroups(ctx context.Context, request *QueryPointGroups) ([]*PointGroup, error)
Performs a universal query on points grouped by a payload field. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.
Parameters:
- ctx: The context for the request.
- request: The QueryPointGroups request containing the query parameters.
Returns:
- []*PointGroup: A slice of point groups matching the query.
- error: An error if the operation fails.
func (*Client) RenameAlias ¶ added in v1.11.1
Renames an alias.
Parameters:
- ctx: The context for the request.
- oldAliasName: The current name of the alias.
- newAliasName: The new name for the alias.
Returns:
- error: An error if the operation fails.
func (*Client) Scroll ¶ added in v1.11.1
func (c *Client) Scroll(ctx context.Context, request *ScrollPoints) ([]*RetrievedPoint, error)
Iterates over all or filtered points in a collection.
Parameters:
- ctx: The context for the request.
- request: The ScrollPoints request specifying the scroll parameters.
Returns:
- []*RetrievedPoint: A slice of retrieved points.
- error: An error if the operation fails.
func (*Client) ScrollAll ¶ added in v1.18.0
func (c *Client) ScrollAll(ctx context.Context, request *ScrollPoints) *ScrollIterator
ScrollAll returns a ScrollIterator that automatically paginates through all points matching the given request. Call Next repeatedly to retrieve successive pages. Next returns io.EOF when no more points remain.
func (*Client) ScrollAndOffset ¶ added in v1.14.1
func (c *Client) ScrollAndOffset(ctx context.Context, request *ScrollPoints) ([]*RetrievedPoint, *PointId, error)
Iterates over all or filtered points in a collection with offset.
Parameters:
- ctx: The context for the request.
- request: The ScrollPoints request specifying the scroll parameters.
Returns:
- []*RetrievedPoint: A slice of retrieved points.
- *PointId: The next page offset for pagination.
- error: An error if the operation fails.
func (*Client) SearchMatrixOffsets ¶ added in v1.12.0
func (c *Client) SearchMatrixOffsets(ctx context.Context, request *SearchMatrixPoints) (*SearchMatrixOffsets, error)
Calculates the distances between a random sample of points.
Parameters:
- ctx: The context for the request.
- request: The SearchMatrixPoints request containing the sample size and other parameters.
Returns:
- *SearchMatrixOffsets: Parallel lists of offsets within an id list, and the distance between them.
func (*Client) SearchMatrixPairs ¶ added in v1.12.0
func (c *Client) SearchMatrixPairs(ctx context.Context, request *SearchMatrixPoints) (*SearchMatrixPairs, error)
Calculates the distances between a random sample of points.
Parameters:
- ctx: The context for the request.
- request: The SearchMatrixPoints request containing the sample size and other parameters.
Returns:
- *SearchMatrixPairs: Pairwise representation of distances.
func (*Client) SetPayload ¶ added in v1.11.1
func (c *Client) SetPayload(ctx context.Context, request *SetPayloadPoints) (*UpdateResult, error)
Sets payload fields for points in a collection. Can be used to add new payload fields or update existing ones.
Parameters:
- ctx: The context for the request.
- request: The SetPayloadPoints request containing the payload to set.
Returns:
- *UpdateResult: The result of the set operation.
- error: An error if the operation fails.
func (*Client) UpdateAliases ¶ added in v1.11.1
func (c *Client) UpdateAliases(ctx context.Context, actions []*AliasOperations) error
Updates aliases.
Parameters:
- ctx: The context for the request.
- actions: A slice of AliasOperations to perform.
Returns:
- error: An error if the operation fails.
func (*Client) UpdateBatch ¶ added in v1.11.1
func (c *Client) UpdateBatch(ctx context.Context, request *UpdateBatchPoints) ([]*UpdateResult, error)
Performs multiple update operations in one request.
Parameters:
- ctx: The context for the request.
- request: The UpdateBatchPoints request containing multiple update operations.
Returns:
- []*UpdateResult: A slice of results for each update operation.
- error: An error if the operation fails.
func (*Client) UpdateClusterCollectionSetup ¶ added in v1.16.0
func (c *Client) UpdateClusterCollectionSetup(ctx context.Context, request *UpdateCollectionClusterSetupRequest) error
Update cluster setup for a collection.
Parameters:
- ctx: The context for the request.
- request: The update to perform on the cluster setup.
Returns:
- error: An error if the operation fails.
func (*Client) UpdateCollection ¶ added in v1.11.1
func (c *Client) UpdateCollection(ctx context.Context, request *UpdateCollection) error
Updates parameters of an existing collection.
Parameters:
- ctx: The context for the request.
- request: The UpdateCollection request containing updated parameters.
Returns:
- error: An error if the operation fails.
func (*Client) UpdateVectors ¶ added in v1.11.1
func (c *Client) UpdateVectors(ctx context.Context, request *UpdatePointVectors) (*UpdateResult, error)
Updates vectors for points in a collection.
Parameters:
- ctx: The context for the request.
- request: The UpdatePointVectors request containing the vectors to update.
Returns:
- *UpdateResult: The result of the update operation.
- error: An error if the operation fails.
func (*Client) Upsert ¶ added in v1.11.1
func (c *Client) Upsert(ctx context.Context, request *UpsertPoints) (*UpdateResult, error)
Performs insert + updates on points. If a point with a given ID already exists, it will be overwritten.
Parameters:
- ctx: The context for the request.
- request: The UpsertPoints request containing the points to upsert.
Returns:
- *UpdateResult: The result of the upsert operation.
- error: An error if the operation fails.
type CollectionClusterInfoRequest ¶ added in v1.2.0
type CollectionClusterInfoRequest struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// 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 (x *CollectionClusterInfoRequest) ProtoReflect() protoreflect.Message
func (*CollectionClusterInfoRequest) Reset ¶ added in v1.2.0
func (x *CollectionClusterInfoRequest) Reset()
func (*CollectionClusterInfoRequest) String ¶ added in v1.2.0
func (x *CollectionClusterInfoRequest) String() string
type CollectionClusterInfoResponse ¶ added in v1.2.0
type CollectionClusterInfoResponse struct {
// ID of this peer
PeerId uint64 `protobuf:"varint,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Total number of shards
ShardCount uint64 `protobuf:"varint,2,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"`
// Local shards
LocalShards []*LocalShardInfo `protobuf:"bytes,3,rep,name=local_shards,json=localShards,proto3" json:"local_shards,omitempty"`
// Remote shards
RemoteShards []*RemoteShardInfo `protobuf:"bytes,4,rep,name=remote_shards,json=remoteShards,proto3" json:"remote_shards,omitempty"`
// Shard transfers
ShardTransfers []*ShardTransferInfo `protobuf:"bytes,5,rep,name=shard_transfers,json=shardTransfers,proto3" json:"shard_transfers,omitempty"`
// Resharding operations
ReshardingOperations []*ReshardingInfo `protobuf:"bytes,6,rep,name=resharding_operations,json=reshardingOperations,proto3" json:"resharding_operations,omitempty"`
// 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) GetReshardingOperations ¶ added in v1.13.0
func (x *CollectionClusterInfoResponse) GetReshardingOperations() []*ReshardingInfo
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 (x *CollectionClusterInfoResponse) ProtoReflect() protoreflect.Message
func (*CollectionClusterInfoResponse) Reset ¶ added in v1.2.0
func (x *CollectionClusterInfoResponse) Reset()
func (*CollectionClusterInfoResponse) String ¶ added in v1.2.0
func (x *CollectionClusterInfoResponse) String() string
type CollectionConfig ¶
type CollectionConfig struct {
// Collection parameters
Params *CollectionParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"`
// Configuration of vector index
HnswConfig *HnswConfigDiff `protobuf:"bytes,2,opt,name=hnsw_config,json=hnswConfig,proto3" json:"hnsw_config,omitempty"`
// Configuration of the optimizers
OptimizerConfig *OptimizersConfigDiff `protobuf:"bytes,3,opt,name=optimizer_config,json=optimizerConfig,proto3" json:"optimizer_config,omitempty"`
// Configuration of the Write-Ahead-Log
WalConfig *WalConfigDiff `protobuf:"bytes,4,opt,name=wal_config,json=walConfig,proto3" json:"wal_config,omitempty"`
// Configuration of the vector quantization
QuantizationConfig *QuantizationConfig `protobuf:"bytes,5,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"`
// Configuration of strict mode.
StrictModeConfig *StrictModeConfig `protobuf:"bytes,6,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"`
// Arbitrary JSON metadata for the collection
Metadata map[string]*Value `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CollectionConfig) Descriptor
deprecated
func (*CollectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use CollectionConfig.ProtoReflect.Descriptor instead.
func (*CollectionConfig) GetHnswConfig ¶
func (x *CollectionConfig) GetHnswConfig() *HnswConfigDiff
func (*CollectionConfig) GetMetadata ¶ added in v1.16.0
func (x *CollectionConfig) GetMetadata() map[string]*Value
func (*CollectionConfig) GetOptimizerConfig ¶
func (x *CollectionConfig) GetOptimizerConfig() *OptimizersConfigDiff
func (*CollectionConfig) GetParams ¶
func (x *CollectionConfig) GetParams() *CollectionParams
func (*CollectionConfig) GetQuantizationConfig ¶ added in v1.1.0
func (x *CollectionConfig) GetQuantizationConfig() *QuantizationConfig
func (*CollectionConfig) GetStrictModeConfig ¶ added in v1.12.0
func (x *CollectionConfig) GetStrictModeConfig() *StrictModeConfig
func (*CollectionConfig) GetWalConfig ¶
func (x *CollectionConfig) GetWalConfig() *WalConfigDiff
func (*CollectionConfig) ProtoMessage ¶
func (*CollectionConfig) ProtoMessage()
func (*CollectionConfig) ProtoReflect ¶
func (x *CollectionConfig) ProtoReflect() protoreflect.Message
func (*CollectionConfig) Reset ¶
func (x *CollectionConfig) Reset()
func (*CollectionConfig) String ¶
func (x *CollectionConfig) String() string
type CollectionDescription ¶
type CollectionDescription struct {
// Name of the collection
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
// 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 (x *CollectionExistsResponse) GetResult() *CollectionExists
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 {
// operating condition of the collection
Status CollectionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=qdrant.CollectionStatus" json:"status,omitempty"`
// status of collection optimizers
OptimizerStatus *OptimizerStatus `protobuf:"bytes,2,opt,name=optimizer_status,json=optimizerStatus,proto3" json:"optimizer_status,omitempty"`
// Number of independent segments
SegmentsCount uint64 `protobuf:"varint,4,opt,name=segments_count,json=segmentsCount,proto3" json:"segments_count,omitempty"`
// Configuration
Config *CollectionConfig `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"`
// Collection data types
PayloadSchema map[string]*PayloadSchemaInfo `` /* 188-byte string literal not displayed */
// Approximate number of points in the collection
PointsCount *uint64 `protobuf:"varint,9,opt,name=points_count,json=pointsCount,proto3,oneof" json:"points_count,omitempty"`
// Approximate number of indexed vectors in the collection.
IndexedVectorsCount *uint64 `` /* 128-byte string literal not displayed */
// Warnings related to the collection
Warnings []*CollectionWarning `protobuf:"bytes,11,rep,name=warnings,proto3" json:"warnings,omitempty"`
// Update queue info
UpdateQueue *UpdateQueueInfo `protobuf:"bytes,12,opt,name=update_queue,json=updateQueue,proto3" json:"update_queue,omitempty"`
// 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) GetUpdateQueue ¶ added in v1.17.0
func (x *CollectionInfo) GetUpdateQueue() *UpdateQueueInfo
func (*CollectionInfo) GetWarnings ¶ added in v1.16.0
func (x *CollectionInfo) GetWarnings() []*CollectionWarning
func (*CollectionInfo) ProtoMessage ¶
func (*CollectionInfo) ProtoMessage()
func (*CollectionInfo) ProtoReflect ¶
func (x *CollectionInfo) ProtoReflect() protoreflect.Message
func (*CollectionInfo) Reset ¶
func (x *CollectionInfo) Reset()
func (*CollectionInfo) String ¶
func (x *CollectionInfo) String() string
type CollectionOperationResponse ¶
type CollectionOperationResponse struct {
// if operation made changes
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
// 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 (x *CollectionOperationResponse) ProtoReflect() protoreflect.Message
func (*CollectionOperationResponse) Reset ¶
func (x *CollectionOperationResponse) Reset()
func (*CollectionOperationResponse) String ¶
func (x *CollectionOperationResponse) String() string
type CollectionParams ¶
type CollectionParams struct {
// Number of shards in collection
ShardNumber uint32 `protobuf:"varint,3,opt,name=shard_number,json=shardNumber,proto3" json:"shard_number,omitempty"`
// If true - point's payload will not be stored in memory
OnDiskPayload bool `protobuf:"varint,4,opt,name=on_disk_payload,json=onDiskPayload,proto3" json:"on_disk_payload,omitempty"`
// Configuration for vectors
VectorsConfig *VectorsConfig `protobuf:"bytes,5,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"`
// Number of replicas of each shard that network tries to maintain
ReplicationFactor *uint32 `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"`
// How many replicas should apply the operation for us to consider it successful
WriteConsistencyFactor *uint32 `` /* 136-byte string literal not displayed */
// Fan-out every read request to these many additional remote nodes (and return first available response)
ReadFanOutFactor *uint32 `protobuf:"varint,8,opt,name=read_fan_out_factor,json=readFanOutFactor,proto3,oneof" json:"read_fan_out_factor,omitempty"`
// Sharding method
ShardingMethod *ShardingMethod `` /* 137-byte string literal not displayed */
// Configuration for sparse vectors
SparseVectorsConfig *SparseVectorConfig `` /* 127-byte string literal not displayed */
// Define number of milliseconds to wait before attempting to read from another replica.
ReadFanOutDelayMs *uint64 `` /* 126-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) GetReadFanOutDelayMs ¶ added in v1.17.0
func (x *CollectionParams) GetReadFanOutDelayMs() uint64
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 {
// Number of replicas of each shard that network tries to maintain
ReplicationFactor *uint32 `protobuf:"varint,1,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"`
// How many replicas should apply the operation for us to consider it successful
WriteConsistencyFactor *uint32 `` /* 136-byte string literal not displayed */
// If true - point's payload will not be stored in memory
OnDiskPayload *bool `protobuf:"varint,3,opt,name=on_disk_payload,json=onDiskPayload,proto3,oneof" json:"on_disk_payload,omitempty"`
// Fan-out every read request to these many additional remote nodes (and return first available response)
ReadFanOutFactor *uint32 `protobuf:"varint,4,opt,name=read_fan_out_factor,json=readFanOutFactor,proto3,oneof" json:"read_fan_out_factor,omitempty"`
// Define number of milliseconds to wait before attempting to read from another replica.
ReadFanOutDelayMs *uint64 `protobuf:"varint,5,opt,name=read_fan_out_delay_ms,json=readFanOutDelayMs,proto3,oneof" json:"read_fan_out_delay_ms,omitempty"`
// 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) GetReadFanOutDelayMs ¶ added in v1.17.0
func (x *CollectionParamsDiff) GetReadFanOutDelayMs() uint64
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 // All segments are ready CollectionStatus_Green CollectionStatus = 1 // Optimization in process CollectionStatus_Yellow CollectionStatus = 2 // Something went wrong CollectionStatus_Red CollectionStatus = 3 // Optimization is pending CollectionStatus_Grey CollectionStatus = 4 )
func (CollectionStatus) Descriptor ¶
func (CollectionStatus) Descriptor() protoreflect.EnumDescriptor
func (CollectionStatus) Enum ¶
func (x CollectionStatus) Enum() *CollectionStatus
func (CollectionStatus) EnumDescriptor
deprecated
func (CollectionStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use CollectionStatus.Descriptor instead.
func (CollectionStatus) Number ¶
func (x CollectionStatus) Number() protoreflect.EnumNumber
func (CollectionStatus) String ¶
func (x CollectionStatus) String() string
func (CollectionStatus) Type ¶
func (CollectionStatus) Type() protoreflect.EnumType
type CollectionWarning ¶ added in v1.16.0
type CollectionWarning struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*CollectionWarning) Descriptor
deprecated
added in
v1.16.0
func (*CollectionWarning) Descriptor() ([]byte, []int)
Deprecated: Use CollectionWarning.ProtoReflect.Descriptor instead.
func (*CollectionWarning) GetMessage ¶ added in v1.16.0
func (x *CollectionWarning) GetMessage() string
func (*CollectionWarning) ProtoMessage ¶ added in v1.16.0
func (*CollectionWarning) ProtoMessage()
func (*CollectionWarning) ProtoReflect ¶ added in v1.16.0
func (x *CollectionWarning) ProtoReflect() protoreflect.Message
func (*CollectionWarning) Reset ¶ added in v1.16.0
func (x *CollectionWarning) Reset()
func (*CollectionWarning) String ¶ added in v1.16.0
func (x *CollectionWarning) String() string
type CollectionsClient ¶
type CollectionsClient interface {
// Get detailed information about specified existing collection
Get(ctx context.Context, in *GetCollectionInfoRequest, opts ...grpc.CallOption) (*GetCollectionInfoResponse, error)
// Get list of names 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)
// List shard keys
ListShardKeys(ctx context.Context, in *ListShardKeysRequest, opts ...grpc.CallOption) (*ListShardKeysResponse, 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.
func NewCollectionsClient ¶
func NewCollectionsClient(cc grpc.ClientConnInterface) CollectionsClient
type CollectionsServer ¶
type CollectionsServer interface {
// Get detailed information about specified existing collection
Get(context.Context, *GetCollectionInfoRequest) (*GetCollectionInfoResponse, error)
// Get list of names 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)
// List shard keys
ListShardKeys(context.Context, *ListShardKeysRequest) (*ListShardKeysResponse, 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) Descriptor() protoreflect.EnumDescriptor
func (CompressionRatio) Enum ¶ added in v1.2.0
func (x CompressionRatio) Enum() *CompressionRatio
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 (x CompressionRatio) Number() protoreflect.EnumNumber
func (CompressionRatio) String ¶ added in v1.2.0
func (x CompressionRatio) String() string
func (CompressionRatio) Type ¶ added in v1.2.0
func (CompressionRatio) Type() protoreflect.EnumType
type Condition ¶
type Condition struct {
// Types that are assignable to ConditionOneOf:
//
// *Condition_Field
// *Condition_IsEmpty
// *Condition_HasId
// *Condition_Filter
// *Condition_IsNull
// *Condition_Nested
// *Condition_HasVector
ConditionOneOf isCondition_ConditionOneOf `protobuf_oneof:"condition_one_of"`
// contains filtered or unexported fields
}
func NewDatetimeRange ¶ added in v1.11.1
func NewDatetimeRange(field string, dateTimeRange *DatetimeRange) *Condition
Creates a condition that filters based on a datetime range. See: https://qdrant.tech/documentation/concepts/filtering/#datetime-range
func NewFilterAsCondition ¶ added in v1.11.1
Creates a condition from a filter. This is useful for creating complex nested conditions.
func NewGeoBoundingBox ¶ added in v1.11.1
func NewGeoBoundingBox(field string, topLeftLat, topLeftLon, bottomRightLat, bottomRightLon float64) *Condition
Creates a geo filter condition that matches points within a specified bounding box. See: https://qdrant.tech/documentation/concepts/filtering/#geo-bounding-box
func NewGeoPolygon ¶ added in v1.11.1
func NewGeoPolygon(field string, exterior *GeoLineString, interior ...*GeoLineString) *Condition
Creates a geo filter condition that matches points within a specified polygon. See: https://qdrant.tech/documentation/concepts/filtering/#geo-polygon
func NewGeoRadius ¶ added in v1.11.1
Creates a geo filter condition that matches points within a specified radius from a center point. See: https://qdrant.tech/documentation/concepts/filtering/#geo-radius
func NewHasID ¶ added in v1.11.1
Creates a condition that checks if a point has any of the specified IDs. See: https://qdrant.tech/documentation/concepts/filtering/#has-id
func NewHasVector ¶ added in v1.13.0
Creates a condition that checks if a point has the specified vector. See: https://qdrant.tech/documentation/concepts/filtering/#has-vector
func NewIsEmpty ¶ added in v1.11.1
Creates a condition that checks if a specified field is empty. See: https://qdrant.tech/documentation/concepts/filtering/#is-empty
func NewIsNull ¶ added in v1.11.1
Creates a condition that checks if a specified field is null. See: https://qdrant.tech/documentation/concepts/filtering/#is-null
func NewMatch ¶ added in v1.11.1
Creates a condition that matches an exact keyword in a specified field. This is an alias for NewMatchKeyword(). See: https://qdrant.tech/documentation/concepts/filtering/#match
func NewMatchBool ¶ added in v1.11.1
Creates a condition that matches a boolean value in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match
func NewMatchExcept ¶ added in v1.11.1
Creates a condition that matches any value except the given keywords in a specified field. This is an alias for NewMatchExceptKeywords. See: https://qdrant.tech/documentation/concepts/filtering/#match-except
func NewMatchExceptInts ¶ added in v1.11.1
Creates a condition that matches any value except the given integer values in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match-except
func NewMatchExceptKeywords ¶ added in v1.11.1
Creates a condition that matches any value except the given keywords in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match-except
func NewMatchInt ¶ added in v1.11.1
Creates a condition that matches an integer value in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match
func NewMatchInts ¶ added in v1.11.1
Creates a condition that matches any of the given integer values in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match-any
func NewMatchKeyword ¶ added in v1.11.1
Creates a condition that matches an exact keyword in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match
func NewMatchKeywords ¶ added in v1.11.1
Creates a condition that matches any of the given keywords in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match-any
func NewMatchPhrase ¶ added in v1.15.1
Creates a condition that matches a phrase.
func NewMatchText ¶ added in v1.11.1
Creates a condition to match a specific substring, token or phrase. Exact texts that will match the condition depend on full-text index configuration. See: https://qdrant.tech/documentation/concepts/filtering/#full-text-match
func NewMatchTextAny ¶ added in v1.16.0
Creates a condition that matches any word in the text.
func NewNestedCondition ¶ added in v1.11.1
Creates a nested condition for filtering on nested fields. See: https://qdrant.tech/documentation/concepts/filtering/#nested
func NewNestedFilter ¶ added in v1.11.1
Creates a nested filter for filtering on nested fields. See: https://qdrant.tech/documentation/concepts/filtering/#nested
func NewRange ¶ added in v1.11.1
Creates a range condition for numeric or date fields. See: https://qdrant.tech/documentation/concepts/filtering/#range
func NewValuesCount ¶ added in v1.11.1
func NewValuesCount(field string, valuesCount *ValuesCount) *Condition
Creates a condition that filters based on the number of values in an array field. See: https://qdrant.tech/documentation/concepts/filtering/#values-count
func (*Condition) Descriptor
deprecated
func (*Condition) GetConditionOneOf ¶
func (m *Condition) GetConditionOneOf() isCondition_ConditionOneOf
func (*Condition) GetField ¶
func (x *Condition) GetField() *FieldCondition
func (*Condition) GetHasId ¶
func (x *Condition) GetHasId() *HasIdCondition
func (*Condition) GetHasVector ¶ added in v1.13.0
func (x *Condition) GetHasVector() *HasVectorCondition
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
type Condition_Field ¶
type Condition_Field struct {
Field *FieldCondition `protobuf:"bytes,1,opt,name=field,proto3,oneof"`
}
type Condition_Filter ¶
type Condition_Filter struct {
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3,oneof"`
}
type Condition_HasId ¶
type Condition_HasId struct {
HasId *HasIdCondition `protobuf:"bytes,3,opt,name=has_id,json=hasId,proto3,oneof"`
}
type Condition_HasVector ¶ added in v1.13.0
type Condition_HasVector struct {
HasVector *HasVectorCondition `protobuf:"bytes,7,opt,name=has_vector,json=hasVector,proto3,oneof"`
}
type Condition_IsEmpty ¶
type Condition_IsEmpty struct {
IsEmpty *IsEmptyCondition `protobuf:"bytes,2,opt,name=is_empty,json=isEmpty,proto3,oneof"`
}
type Condition_IsNull ¶ 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 Config ¶ added in v1.11.1
type Config struct {
// Hostname of the Qdrant server. Defaults to "localhost".
Host string
// gRPC port of the Qdrant server. Defaults to 6334.
Port int
// API key to use for authentication. Defaults to "".
APIKey string
// Whether to use TLS for the connection. Defaults to false.
UseTLS bool
// TLS configuration to use for the connection.
// If not provided, uses default config with minimum TLS version set to 1.3
TLSConfig *tls.Config
// Additional gRPC options to use for the connection.
GrpcOptions []grpc.DialOption
// Whether to check compatibility between server's version and client's. Defaults to false.
SkipCompatibilityCheck bool
// PoolSize specifies the number of connections to create.
// If 0, the default of 3 will be used.
// If 1 a single connection is used (aka no pool).
// If greater than 1, a pool of connections is created and requests are distributed in a round-robin fashion.
PoolSize uint
// KeepAliveTime specifies the duration after which if the client does not see any activity (in seconds),
// it pings the server to check if the transport is still alive.
// If 0, the default is 10 seconds.
// If set to -1, keepalive is disabled.
KeepAliveTime int
// KeepAliveTimeout specifies the duration the client waits for a response from the server after
// sending a ping (in seconds).
// If the server does not respond within this timeout, the connection is closed.
// If set to 0, defaults to 2 seconds.
// This setting is only used if keepalive is active (see KeepAliveTime).
KeepAliveTimeout uint
// RetryConfig enables automatic retries with exponential backoff for
// transient gRPC errors (ResourceExhausted, Unavailable).
// If nil, no automatic retries are performed.
RetryConfig *RetryConfig
// VersionCheckTimeout specifies the timeout used when probing the server for its
// version during client construction (compatibility check).
// If 0, defaults to 1 minute.
VersionCheckTimeout time.Duration
// Headers specifies optional headers to send with every gRPC request.
Headers map[string]string
}
Configuration options for the client.
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 ContextInput ¶ added in v1.10.0
type ContextInput struct {
// Search space will be constrained by these pairs of vectors
Pairs []*ContextInputPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"`
// contains filtered or unexported fields
}
func (*ContextInput) Descriptor
deprecated
added in
v1.10.0
func (*ContextInput) Descriptor() ([]byte, []int)
Deprecated: Use ContextInput.ProtoReflect.Descriptor instead.
func (*ContextInput) GetPairs ¶ added in v1.10.0
func (x *ContextInput) GetPairs() []*ContextInputPair
func (*ContextInput) ProtoMessage ¶ added in v1.10.0
func (*ContextInput) ProtoMessage()
func (*ContextInput) ProtoReflect ¶ added in v1.10.0
func (x *ContextInput) ProtoReflect() protoreflect.Message
func (*ContextInput) Reset ¶ added in v1.10.0
func (x *ContextInput) Reset()
func (*ContextInput) String ¶ added in v1.10.0
func (x *ContextInput) String() string
type ContextInputPair ¶ added in v1.10.0
type ContextInputPair struct {
// A positive vector
Positive *VectorInput `protobuf:"bytes,1,opt,name=positive,proto3" json:"positive,omitempty"`
// Repel from this vector
Negative *VectorInput `protobuf:"bytes,2,opt,name=negative,proto3" json:"negative,omitempty"`
// contains filtered or unexported fields
}
func (*ContextInputPair) Descriptor
deprecated
added in
v1.10.0
func (*ContextInputPair) Descriptor() ([]byte, []int)
Deprecated: Use ContextInputPair.ProtoReflect.Descriptor instead.
func (*ContextInputPair) GetNegative ¶ added in v1.10.0
func (x *ContextInputPair) GetNegative() *VectorInput
func (*ContextInputPair) GetPositive ¶ added in v1.10.0
func (x *ContextInputPair) GetPositive() *VectorInput
func (*ContextInputPair) ProtoMessage ¶ added in v1.10.0
func (*ContextInputPair) ProtoMessage()
func (*ContextInputPair) ProtoReflect ¶ added in v1.10.0
func (x *ContextInputPair) ProtoReflect() protoreflect.Message
func (*ContextInputPair) Reset ¶ added in v1.10.0
func (x *ContextInputPair) Reset()
func (*ContextInputPair) String ¶ added in v1.10.0
func (x *ContextInputPair) String() string
type CountPoints ¶ added in v0.8.4
type CountPoints struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// If `true` - return exact count, if `false` - return approximate count
Exact *bool `protobuf:"varint,3,opt,name=exact,proto3,oneof" json:"exact,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,4,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.11.0
func (x *CountPoints) GetTimeout() uint64
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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// 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) GetUsage ¶ added in v1.13.0
func (x *CountResponse) GetUsage() *Usage
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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// New name of the alias
AliasName string `protobuf:"bytes,2,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`
// 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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Configuration of vector index
HnswConfig *HnswConfigDiff `protobuf:"bytes,4,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"`
// Configuration of the Write-Ahead-Log
WalConfig *WalConfigDiff `protobuf:"bytes,5,opt,name=wal_config,json=walConfig,proto3,oneof" json:"wal_config,omitempty"`
// Configuration of the optimizers
OptimizersConfig *OptimizersConfigDiff `protobuf:"bytes,6,opt,name=optimizers_config,json=optimizersConfig,proto3,oneof" json:"optimizers_config,omitempty"`
// Number of shards in the collection, default is 1 for standalone, otherwise
// equal to the number of nodes. Minimum is 1
ShardNumber *uint32 `protobuf:"varint,7,opt,name=shard_number,json=shardNumber,proto3,oneof" json:"shard_number,omitempty"`
// If true - point's payload will not be stored in memory
OnDiskPayload *bool `protobuf:"varint,8,opt,name=on_disk_payload,json=onDiskPayload,proto3,oneof" json:"on_disk_payload,omitempty"`
// Wait timeout for operation commit in seconds, if not specified - default
// value will be supplied
Timeout *uint64 `protobuf:"varint,9,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Configuration for vectors
VectorsConfig *VectorsConfig `protobuf:"bytes,10,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"`
// Number of replicas of each shard that network tries to maintain, default = 1
ReplicationFactor *uint32 `protobuf:"varint,11,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"`
// How many replicas should apply the operation for us to consider it successful, default = 1
WriteConsistencyFactor *uint32 `` /* 137-byte string literal not displayed */
// Quantization configuration of vector
QuantizationConfig *QuantizationConfig `protobuf:"bytes,14,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"`
// Sharding method
ShardingMethod *ShardingMethod `` /* 138-byte string literal not displayed */
// Configuration for sparse vectors
SparseVectorsConfig *SparseVectorConfig `` /* 127-byte string literal not displayed */
// Configuration for strict mode
StrictModeConfig *StrictModeConfig `protobuf:"bytes,17,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"`
// Arbitrary JSON metadata for the collection
Metadata map[string]*Value `` /* 158-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CreateCollection) Descriptor
deprecated
func (*CreateCollection) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollection.ProtoReflect.Descriptor instead.
func (*CreateCollection) GetCollectionName ¶
func (x *CreateCollection) GetCollectionName() string
func (*CreateCollection) GetHnswConfig ¶
func (x *CreateCollection) GetHnswConfig() *HnswConfigDiff
func (*CreateCollection) GetMetadata ¶ added in v1.16.0
func (x *CreateCollection) GetMetadata() map[string]*Value
func (*CreateCollection) GetOnDiskPayload ¶
func (x *CreateCollection) GetOnDiskPayload() bool
func (*CreateCollection) GetOptimizersConfig ¶
func (x *CreateCollection) GetOptimizersConfig() *OptimizersConfigDiff
func (*CreateCollection) GetQuantizationConfig ¶ 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) GetStrictModeConfig ¶ added in v1.12.0
func (x *CreateCollection) GetStrictModeConfig() *StrictModeConfig
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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// Field name to index
FieldName string `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
// Field type.
FieldType *FieldType `protobuf:"varint,4,opt,name=field_type,json=fieldType,proto3,enum=qdrant.FieldType,oneof" json:"field_type,omitempty"`
// Payload index params.
FieldIndexParams *PayloadIndexParams `protobuf:"bytes,5,opt,name=field_index_params,json=fieldIndexParams,proto3,oneof" json:"field_index_params,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,7,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *CreateFieldIndexCollection) GetTimeout() uint64
func (*CreateFieldIndexCollection) GetWait ¶
func (x *CreateFieldIndexCollection) GetWait() bool
func (*CreateFieldIndexCollection) ProtoMessage ¶
func (*CreateFieldIndexCollection) ProtoMessage()
func (*CreateFieldIndexCollection) ProtoReflect ¶
func (x *CreateFieldIndexCollection) ProtoReflect() protoreflect.Message
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 (x *CreateFullSnapshotRequest) ProtoReflect() protoreflect.Message
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 {
// User-defined shard key
ShardKey *ShardKey `protobuf:"bytes,1,opt,name=shard_key,json=shardKey,proto3" json:"shard_key,omitempty"`
// Number of shards to create per shard key
ShardsNumber *uint32 `protobuf:"varint,2,opt,name=shards_number,json=shardsNumber,proto3,oneof" json:"shards_number,omitempty"`
// Number of replicas of each shard to create
ReplicationFactor *uint32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"`
// List of peer ids, allowed to create shards. If empty - all peers are allowed
Placement []uint64 `protobuf:"varint,4,rep,packed,name=placement,proto3" json:"placement,omitempty"`
// Initial state of created replicas. Warning: use with care.
InitialState *ReplicaState `` /* 129-byte string literal not displayed */
// 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) GetInitialState ¶ added in v1.16.0
func (x *CreateShardKey) GetInitialState() ReplicaState
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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Request to create shard key
Request *CreateShardKey `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
// Wait timeout for operation commit in seconds.
// If not specified - default value will be supplied.
Timeout *uint64 `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
// 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 CreateVectorNameRequest ¶ added in v1.18.0
type CreateVectorNameRequest struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// Name of the new vector
VectorName string `protobuf:"bytes,3,opt,name=vector_name,json=vectorName,proto3" json:"vector_name,omitempty"`
// Configuration for the new vector - either dense or sparse
//
// Types that are assignable to VectorConfig:
//
// *CreateVectorNameRequest_DenseConfig
// *CreateVectorNameRequest_SparseConfig
VectorConfig isCreateVectorNameRequest_VectorConfig `protobuf_oneof:"vector_config"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,7,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// contains filtered or unexported fields
}
func (*CreateVectorNameRequest) Descriptor
deprecated
added in
v1.18.0
func (*CreateVectorNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateVectorNameRequest.ProtoReflect.Descriptor instead.
func (*CreateVectorNameRequest) GetCollectionName ¶ added in v1.18.0
func (x *CreateVectorNameRequest) GetCollectionName() string
func (*CreateVectorNameRequest) GetDenseConfig ¶ added in v1.18.0
func (x *CreateVectorNameRequest) GetDenseConfig() *DenseVectorCreationConfig
func (*CreateVectorNameRequest) GetOrdering ¶ added in v1.18.0
func (x *CreateVectorNameRequest) GetOrdering() *WriteOrdering
func (*CreateVectorNameRequest) GetSparseConfig ¶ added in v1.18.0
func (x *CreateVectorNameRequest) GetSparseConfig() *SparseVectorCreationConfig
func (*CreateVectorNameRequest) GetTimeout ¶ added in v1.18.0
func (x *CreateVectorNameRequest) GetTimeout() uint64
func (*CreateVectorNameRequest) GetVectorConfig ¶ added in v1.18.0
func (m *CreateVectorNameRequest) GetVectorConfig() isCreateVectorNameRequest_VectorConfig
func (*CreateVectorNameRequest) GetVectorName ¶ added in v1.18.0
func (x *CreateVectorNameRequest) GetVectorName() string
func (*CreateVectorNameRequest) GetWait ¶ added in v1.18.0
func (x *CreateVectorNameRequest) GetWait() bool
func (*CreateVectorNameRequest) ProtoMessage ¶ added in v1.18.0
func (*CreateVectorNameRequest) ProtoMessage()
func (*CreateVectorNameRequest) ProtoReflect ¶ added in v1.18.0
func (x *CreateVectorNameRequest) ProtoReflect() protoreflect.Message
func (*CreateVectorNameRequest) Reset ¶ added in v1.18.0
func (x *CreateVectorNameRequest) Reset()
func (*CreateVectorNameRequest) String ¶ added in v1.18.0
func (x *CreateVectorNameRequest) String() string
type CreateVectorNameRequest_DenseConfig ¶ added in v1.18.0
type CreateVectorNameRequest_DenseConfig struct {
// Dense vector parameters
DenseConfig *DenseVectorCreationConfig `protobuf:"bytes,4,opt,name=dense_config,json=denseConfig,proto3,oneof"`
}
type CreateVectorNameRequest_SparseConfig ¶ added in v1.18.0
type CreateVectorNameRequest_SparseConfig struct {
// Sparse vector parameters
SparseConfig *SparseVectorCreationConfig `protobuf:"bytes,5,opt,name=sparse_config,json=sparseConfig,proto3,oneof"`
}
type Datatype ¶ added in v1.9.0
type Datatype int32
func (Datatype) Descriptor ¶ added in v1.9.0
func (Datatype) Descriptor() protoreflect.EnumDescriptor
func (Datatype) EnumDescriptor
deprecated
added in
v1.9.0
func (Datatype) Number ¶ added in v1.9.0
func (x Datatype) Number() protoreflect.EnumNumber
func (Datatype) Type ¶ added in v1.9.0
func (Datatype) Type() protoreflect.EnumType
type DatetimeIndexParams ¶ added in v1.11.0
type DatetimeIndexParams struct {
// If true - store index on disk.
OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// If true - use this key to organize storage of the collection data.
// This option assumes that this key will be used in majority of filtered requests.
IsPrincipal *bool `protobuf:"varint,2,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"`
// Enable HNSW graph building for this payload field.
// If true, builds additional HNSW links (Need payload_m > 0).
// Default: true.
EnableHnsw *bool `protobuf:"varint,3,opt,name=enable_hnsw,json=enableHnsw,proto3,oneof" json:"enable_hnsw,omitempty"`
// contains filtered or unexported fields
}
func (*DatetimeIndexParams) Descriptor
deprecated
added in
v1.11.0
func (*DatetimeIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use DatetimeIndexParams.ProtoReflect.Descriptor instead.
func (*DatetimeIndexParams) GetEnableHnsw ¶ added in v1.17.0
func (x *DatetimeIndexParams) GetEnableHnsw() bool
func (*DatetimeIndexParams) GetIsPrincipal ¶ added in v1.11.0
func (x *DatetimeIndexParams) GetIsPrincipal() bool
func (*DatetimeIndexParams) GetOnDisk ¶ added in v1.11.0
func (x *DatetimeIndexParams) GetOnDisk() bool
func (*DatetimeIndexParams) ProtoMessage ¶ added in v1.11.0
func (*DatetimeIndexParams) ProtoMessage()
func (*DatetimeIndexParams) ProtoReflect ¶ added in v1.11.0
func (x *DatetimeIndexParams) ProtoReflect() protoreflect.Message
func (*DatetimeIndexParams) Reset ¶ added in v1.11.0
func (x *DatetimeIndexParams) Reset()
func (*DatetimeIndexParams) String ¶ added in v1.11.0
func (x *DatetimeIndexParams) String() string
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 DecayParamsExpression ¶ added in v1.14.0
type DecayParamsExpression struct {
// The variable to decay
X *Expression `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
// The target value to start decaying from. Defaults to 0.
Target *Expression `protobuf:"bytes,2,opt,name=target,proto3,oneof" json:"target,omitempty"`
// The scale factor of the decay, in terms of `x`.
// Defaults to 1.0. Must be a non-zero positive number.
Scale *float32 `protobuf:"fixed32,3,opt,name=scale,proto3,oneof" json:"scale,omitempty"`
// The midpoint of the decay.
// Should be between 0 and 1. Defaults to 0.5.
// Output will be this value when `|x - target| == scale`.
Midpoint *float32 `protobuf:"fixed32,4,opt,name=midpoint,proto3,oneof" json:"midpoint,omitempty"`
// contains filtered or unexported fields
}
func (*DecayParamsExpression) Descriptor
deprecated
added in
v1.14.0
func (*DecayParamsExpression) Descriptor() ([]byte, []int)
Deprecated: Use DecayParamsExpression.ProtoReflect.Descriptor instead.
func (*DecayParamsExpression) GetMidpoint ¶ added in v1.14.0
func (x *DecayParamsExpression) GetMidpoint() float32
func (*DecayParamsExpression) GetScale ¶ added in v1.14.0
func (x *DecayParamsExpression) GetScale() float32
func (*DecayParamsExpression) GetTarget ¶ added in v1.14.0
func (x *DecayParamsExpression) GetTarget() *Expression
func (*DecayParamsExpression) GetX ¶ added in v1.14.0
func (x *DecayParamsExpression) GetX() *Expression
func (*DecayParamsExpression) ProtoMessage ¶ added in v1.14.0
func (*DecayParamsExpression) ProtoMessage()
func (*DecayParamsExpression) ProtoReflect ¶ added in v1.14.0
func (x *DecayParamsExpression) ProtoReflect() protoreflect.Message
func (*DecayParamsExpression) Reset ¶ added in v1.14.0
func (x *DecayParamsExpression) Reset()
func (*DecayParamsExpression) String ¶ added in v1.14.0
func (x *DecayParamsExpression) String() string
type DeleteAlias ¶
type DeleteAlias struct {
// Name of the alias
AliasName string `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"`
// 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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait timeout for operation commit in seconds.
// If not specified - default value will be supplied.
Timeout *uint64 `protobuf:"varint,2,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// Field name to delete
FieldName string `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,5,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *DeleteFieldIndexCollection) GetTimeout() uint64
func (*DeleteFieldIndexCollection) GetWait ¶
func (x *DeleteFieldIndexCollection) GetWait() bool
func (*DeleteFieldIndexCollection) ProtoMessage ¶
func (*DeleteFieldIndexCollection) ProtoMessage()
func (*DeleteFieldIndexCollection) ProtoReflect ¶
func (x *DeleteFieldIndexCollection) ProtoReflect() protoreflect.Message
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 {
// Name of the full snapshot
SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
// 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 (x *DeleteFullSnapshotRequest) ProtoReflect() protoreflect.Message
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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// List of keys to delete
Keys []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"`
// Affected points
PointsSelector *PointsSelector `protobuf:"bytes,5,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,8,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *DeletePayloadPoints) GetTimeout() uint64
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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// Affected points
PointsSelector *PointsSelector `protobuf:"bytes,3,opt,name=points_selector,json=pointsSelector,proto3" json:"points_selector,omitempty"`
// List of vector names to delete
Vectors *VectorsSelector `protobuf:"bytes,4,opt,name=vectors,proto3" json:"vectors,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,5,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,6,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,7,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *DeletePointVectors) GetTimeout() uint64
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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// Affected points
Points *PointsSelector `protobuf:"bytes,3,opt,name=points,proto3" json:"points,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *DeletePoints) GetTimeout() uint64
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 {
// Shard key to delete
ShardKey *ShardKey `protobuf:"bytes,1,opt,name=shard_key,json=shardKey,proto3" json:"shard_key,omitempty"`
// 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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Request to delete shard key
Request *DeleteShardKey `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"`
// Wait timeout for operation commit in seconds.
// If not specified - default value will be supplied.
Timeout *uint64 `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Name of the collection snapshot
SnapshotName string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,1,opt,name=time,proto3" json:"time,omitempty"`
// 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 DeleteVectorNameRequest ¶ added in v1.18.0
type DeleteVectorNameRequest struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// Name of the vector to delete
VectorName string `protobuf:"bytes,3,opt,name=vector_name,json=vectorName,proto3" json:"vector_name,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,5,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteVectorNameRequest) Descriptor
deprecated
added in
v1.18.0
func (*DeleteVectorNameRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteVectorNameRequest.ProtoReflect.Descriptor instead.
func (*DeleteVectorNameRequest) GetCollectionName ¶ added in v1.18.0
func (x *DeleteVectorNameRequest) GetCollectionName() string
func (*DeleteVectorNameRequest) GetOrdering ¶ added in v1.18.0
func (x *DeleteVectorNameRequest) GetOrdering() *WriteOrdering
func (*DeleteVectorNameRequest) GetTimeout ¶ added in v1.18.0
func (x *DeleteVectorNameRequest) GetTimeout() uint64
func (*DeleteVectorNameRequest) GetVectorName ¶ added in v1.18.0
func (x *DeleteVectorNameRequest) GetVectorName() string
func (*DeleteVectorNameRequest) GetWait ¶ added in v1.18.0
func (x *DeleteVectorNameRequest) GetWait() bool
func (*DeleteVectorNameRequest) ProtoMessage ¶ added in v1.18.0
func (*DeleteVectorNameRequest) ProtoMessage()
func (*DeleteVectorNameRequest) ProtoReflect ¶ added in v1.18.0
func (x *DeleteVectorNameRequest) ProtoReflect() protoreflect.Message
func (*DeleteVectorNameRequest) Reset ¶ added in v1.18.0
func (x *DeleteVectorNameRequest) Reset()
func (*DeleteVectorNameRequest) String ¶ added in v1.18.0
func (x *DeleteVectorNameRequest) String() string
type DenseVector ¶ added in v1.10.0
type DenseVector struct {
Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*DenseVector) Descriptor
deprecated
added in
v1.10.0
func (*DenseVector) Descriptor() ([]byte, []int)
Deprecated: Use DenseVector.ProtoReflect.Descriptor instead.
func (*DenseVector) GetData ¶ added in v1.10.0
func (x *DenseVector) GetData() []float32
func (*DenseVector) ProtoMessage ¶ added in v1.10.0
func (*DenseVector) ProtoMessage()
func (*DenseVector) ProtoReflect ¶ added in v1.10.0
func (x *DenseVector) ProtoReflect() protoreflect.Message
func (*DenseVector) Reset ¶ added in v1.10.0
func (x *DenseVector) Reset()
func (*DenseVector) String ¶ added in v1.10.0
func (x *DenseVector) String() string
type DenseVectorCreationConfig ¶ added in v1.18.0
type DenseVectorCreationConfig struct {
// Size/dimensionality of the vectors
Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
// Distance function used for comparing vectors
Distance Distance `protobuf:"varint,2,opt,name=distance,proto3,enum=qdrant.Distance" json:"distance,omitempty"`
// Configuration for multi-vector search (e.g., ColBERT)
MultivectorConfig *MultiVectorConfig `protobuf:"bytes,3,opt,name=multivector_config,json=multivectorConfig,proto3,oneof" json:"multivector_config,omitempty"`
// Data type of the vectors (Float32, Float16, Uint8)
Datatype *Datatype `protobuf:"varint,4,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"`
// contains filtered or unexported fields
}
Dense vector creation parameters. Only includes immutable properties that define the vector space. Storage type, index, and quantization are configured separately.
func (*DenseVectorCreationConfig) Descriptor
deprecated
added in
v1.18.0
func (*DenseVectorCreationConfig) Descriptor() ([]byte, []int)
Deprecated: Use DenseVectorCreationConfig.ProtoReflect.Descriptor instead.
func (*DenseVectorCreationConfig) GetDatatype ¶ added in v1.18.0
func (x *DenseVectorCreationConfig) GetDatatype() Datatype
func (*DenseVectorCreationConfig) GetDistance ¶ added in v1.18.0
func (x *DenseVectorCreationConfig) GetDistance() Distance
func (*DenseVectorCreationConfig) GetMultivectorConfig ¶ added in v1.18.0
func (x *DenseVectorCreationConfig) GetMultivectorConfig() *MultiVectorConfig
func (*DenseVectorCreationConfig) GetSize ¶ added in v1.18.0
func (x *DenseVectorCreationConfig) GetSize() uint64
func (*DenseVectorCreationConfig) ProtoMessage ¶ added in v1.18.0
func (*DenseVectorCreationConfig) ProtoMessage()
func (*DenseVectorCreationConfig) ProtoReflect ¶ added in v1.18.0
func (x *DenseVectorCreationConfig) ProtoReflect() protoreflect.Message
func (*DenseVectorCreationConfig) Reset ¶ added in v1.18.0
func (x *DenseVectorCreationConfig) Reset()
func (*DenseVectorCreationConfig) String ¶ added in v1.18.0
func (x *DenseVectorCreationConfig) String() string
type Direction ¶ added in v1.8.0
type Direction int32
func (Direction) Descriptor ¶ added in v1.8.0
func (Direction) Descriptor() protoreflect.EnumDescriptor
func (Direction) EnumDescriptor
deprecated
added in
v1.8.0
func (Direction) Number ¶ added in v1.8.0
func (x Direction) Number() protoreflect.EnumNumber
func (Direction) Type ¶ added in v1.8.0
func (Direction) Type() protoreflect.EnumType
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) ProtoMessage ¶ added in v1.4.1
func (*Disabled) ProtoMessage()
func (*Disabled) ProtoReflect ¶ added in v1.4.1
func (x *Disabled) ProtoReflect() protoreflect.Message
type DiscoverBatchPoints ¶ added in v1.7.0
type DiscoverBatchPoints struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
DiscoverPoints []*DiscoverPoints `protobuf:"bytes,2,rep,name=discover_points,json=discoverPoints,proto3" json:"discover_points,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// 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) GetUsage ¶ added in v1.13.0
func (x *DiscoverBatchResponse) GetUsage() *Usage
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 DiscoverInput ¶ added in v1.10.0
type DiscoverInput struct {
// Use this as the primary search objective
Target *VectorInput `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// Search space will be constrained by these pairs of vectors
Context *ContextInput `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"`
// contains filtered or unexported fields
}
func (*DiscoverInput) Descriptor
deprecated
added in
v1.10.0
func (*DiscoverInput) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverInput.ProtoReflect.Descriptor instead.
func (*DiscoverInput) GetContext ¶ added in v1.10.0
func (x *DiscoverInput) GetContext() *ContextInput
func (*DiscoverInput) GetTarget ¶ added in v1.10.0
func (x *DiscoverInput) GetTarget() *VectorInput
func (*DiscoverInput) ProtoMessage ¶ added in v1.10.0
func (*DiscoverInput) ProtoMessage()
func (*DiscoverInput) ProtoReflect ¶ added in v1.10.0
func (x *DiscoverInput) ProtoReflect() protoreflect.Message
func (*DiscoverInput) Reset ¶ added in v1.10.0
func (x *DiscoverInput) Reset()
func (*DiscoverInput) String ¶ added in v1.10.0
func (x *DiscoverInput) String() string
type DiscoverPoints ¶ added in v1.7.0
type DiscoverPoints struct {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Use this as the primary search objective
Target *TargetVector `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"`
// Search will be constrained by these pairs of examples
Context []*ContextExamplePair `protobuf:"bytes,3,rep,name=context,proto3" json:"context,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Max number of result
Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
// Options for specifying which payload to include or not
WithPayload *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`
// Search config
Params *SearchParams `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"`
// Offset of the result
Offset *uint64 `protobuf:"varint,8,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// Define which vector to use for recommendation, if not specified - default vector
Using *string `protobuf:"bytes,9,opt,name=using,proto3,oneof" json:"using,omitempty"`
// Options for specifying which vectors to include into response
WithVectors *WithVectorsSelector `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// Name of the collection to use for points lookup, if not specified - use current collection
LookupFrom *LookupLocation `protobuf:"bytes,11,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,13,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,14,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// 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) GetUsage ¶ added in v1.13.0
func (x *DiscoverResponse) GetUsage() *Usage
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
func (Distance) Descriptor ¶
func (Distance) Descriptor() protoreflect.EnumDescriptor
func (Distance) EnumDescriptor
deprecated
func (Distance) Number ¶
func (x Distance) Number() protoreflect.EnumNumber
func (Distance) Type ¶
func (Distance) Type() protoreflect.EnumType
type DivExpression ¶ added in v1.14.0
type DivExpression struct {
Left *Expression `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
Right *Expression `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"`
ByZeroDefault *float32 `protobuf:"fixed32,3,opt,name=by_zero_default,json=byZeroDefault,proto3,oneof" json:"by_zero_default,omitempty"`
// contains filtered or unexported fields
}
func (*DivExpression) Descriptor
deprecated
added in
v1.14.0
func (*DivExpression) Descriptor() ([]byte, []int)
Deprecated: Use DivExpression.ProtoReflect.Descriptor instead.
func (*DivExpression) GetByZeroDefault ¶ added in v1.14.0
func (x *DivExpression) GetByZeroDefault() float32
func (*DivExpression) GetLeft ¶ added in v1.14.0
func (x *DivExpression) GetLeft() *Expression
func (*DivExpression) GetRight ¶ added in v1.14.0
func (x *DivExpression) GetRight() *Expression
func (*DivExpression) ProtoMessage ¶ added in v1.14.0
func (*DivExpression) ProtoMessage()
func (*DivExpression) ProtoReflect ¶ added in v1.14.0
func (x *DivExpression) ProtoReflect() protoreflect.Message
func (*DivExpression) Reset ¶ added in v1.14.0
func (x *DivExpression) Reset()
func (*DivExpression) String ¶ added in v1.14.0
func (x *DivExpression) String() string
type Document ¶ added in v1.13.0
type Document struct {
// Text of the document
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
// Model name
Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
// Model options
Options map[string]*Value `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Document) Descriptor
deprecated
added in
v1.13.0
func (*Document) GetOptions ¶ added in v1.13.0
func (*Document) ProtoMessage ¶ added in v1.13.0
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶ added in v1.13.0
func (x *Document) ProtoReflect() protoreflect.Message
type Expression ¶ added in v1.14.0
type Expression struct {
// Types that are assignable to Variant:
//
// *Expression_Constant
// *Expression_Variable
// *Expression_Condition
// *Expression_GeoDistance
// *Expression_Datetime
// *Expression_DatetimeKey
// *Expression_Mult
// *Expression_Sum
// *Expression_Div
// *Expression_Neg
// *Expression_Abs
// *Expression_Sqrt
// *Expression_Pow
// *Expression_Exp
// *Expression_Log10
// *Expression_Ln
// *Expression_ExpDecay
// *Expression_GaussDecay
// *Expression_LinDecay
Variant isExpression_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewExpressionAbs ¶ added in v1.14.0
func NewExpressionAbs(abs *Expression) *Expression
Creates a *Expression instance for absolute value.
func NewExpressionCondition ¶ added in v1.14.0
func NewExpressionCondition(condition *Condition) *Expression
Creates a *Expression instance from a *Condition. If true, becomes 1.0; otherwise 0.0.
func NewExpressionConstant ¶ added in v1.14.0
func NewExpressionConstant(constant float32) *Expression
Creates a *Expression instance from a constant.
func NewExpressionDatetime ¶ added in v1.14.0
func NewExpressionDatetime(datetime string) *Expression
Creates a *Expression instance from a datetime constant string.
func NewExpressionDatetimeKey ¶ added in v1.14.0
func NewExpressionDatetimeKey(datetimeKey string) *Expression
Creates a *Expression instance from a datetime key in the payload.
func NewExpressionDiv ¶ added in v1.14.0
func NewExpressionDiv(div *DivExpression) *Expression
Creates a *Expression instance for division.
func NewExpressionExp ¶ added in v1.14.0
func NewExpressionExp(exp *Expression) *Expression
Creates a *Expression instance for exponential.
func NewExpressionExpDecay ¶ added in v1.14.0
func NewExpressionExpDecay(expDecay *DecayParamsExpression) *Expression
Creates a *Expression instance for exponential decay.
func NewExpressionGaussDecay ¶ added in v1.14.0
func NewExpressionGaussDecay(gaussDecay *DecayParamsExpression) *Expression
Creates a *Expression instance for Gaussian decay.
func NewExpressionGeoDistance ¶ added in v1.14.0
func NewExpressionGeoDistance(geoDistance *GeoDistance) *Expression
Creates a *Expression instance from a *GeoDistance.
func NewExpressionLinDecay ¶ added in v1.14.0
func NewExpressionLinDecay(linDecay *DecayParamsExpression) *Expression
Creates a *Expression instance for linear decay.
func NewExpressionLn ¶ added in v1.14.0
func NewExpressionLn(ln *Expression) *Expression
Creates a *Expression instance for natural logarithm.
func NewExpressionLog10 ¶ added in v1.14.0
func NewExpressionLog10(log10 *Expression) *Expression
Creates a *Expression instance for base-10 logarithm.
func NewExpressionMult ¶ added in v1.14.0
func NewExpressionMult(mult *MultExpression) *Expression
Creates a *Expression instance for multiplication.
func NewExpressionNeg ¶ added in v1.14.0
func NewExpressionNeg(neg *Expression) *Expression
Creates a *Expression instance to negate a value.
func NewExpressionPow ¶ added in v1.14.0
func NewExpressionPow(pow *PowExpression) *Expression
Creates a *Expression instance for power expression.
func NewExpressionSqrt ¶ added in v1.14.0
func NewExpressionSqrt(sqrt *Expression) *Expression
Creates a *Expression instance for square root.
func NewExpressionSum ¶ added in v1.14.0
func NewExpressionSum(sum *SumExpression) *Expression
Creates a *Expression instance for summation.
func NewExpressionVariable ¶ added in v1.14.0
func NewExpressionVariable(variable string) *Expression
Creates a *Expression instance from a variable (payload key or score reference).
func (*Expression) Descriptor
deprecated
added in
v1.14.0
func (*Expression) Descriptor() ([]byte, []int)
Deprecated: Use Expression.ProtoReflect.Descriptor instead.
func (*Expression) GetAbs ¶ added in v1.14.0
func (x *Expression) GetAbs() *Expression
func (*Expression) GetCondition ¶ added in v1.14.0
func (x *Expression) GetCondition() *Condition
func (*Expression) GetConstant ¶ added in v1.14.0
func (x *Expression) GetConstant() float32
func (*Expression) GetDatetime ¶ added in v1.14.0
func (x *Expression) GetDatetime() string
func (*Expression) GetDatetimeKey ¶ added in v1.14.0
func (x *Expression) GetDatetimeKey() string
func (*Expression) GetDiv ¶ added in v1.14.0
func (x *Expression) GetDiv() *DivExpression
func (*Expression) GetExp ¶ added in v1.14.0
func (x *Expression) GetExp() *Expression
func (*Expression) GetExpDecay ¶ added in v1.14.0
func (x *Expression) GetExpDecay() *DecayParamsExpression
func (*Expression) GetGaussDecay ¶ added in v1.14.0
func (x *Expression) GetGaussDecay() *DecayParamsExpression
func (*Expression) GetGeoDistance ¶ added in v1.14.0
func (x *Expression) GetGeoDistance() *GeoDistance
func (*Expression) GetLinDecay ¶ added in v1.14.0
func (x *Expression) GetLinDecay() *DecayParamsExpression
func (*Expression) GetLn ¶ added in v1.14.0
func (x *Expression) GetLn() *Expression
func (*Expression) GetLog10 ¶ added in v1.14.0
func (x *Expression) GetLog10() *Expression
func (*Expression) GetMult ¶ added in v1.14.0
func (x *Expression) GetMult() *MultExpression
func (*Expression) GetNeg ¶ added in v1.14.0
func (x *Expression) GetNeg() *Expression
func (*Expression) GetPow ¶ added in v1.14.0
func (x *Expression) GetPow() *PowExpression
func (*Expression) GetSqrt ¶ added in v1.14.0
func (x *Expression) GetSqrt() *Expression
func (*Expression) GetSum ¶ added in v1.14.0
func (x *Expression) GetSum() *SumExpression
func (*Expression) GetVariable ¶ added in v1.14.0
func (x *Expression) GetVariable() string
func (*Expression) GetVariant ¶ added in v1.14.0
func (m *Expression) GetVariant() isExpression_Variant
func (*Expression) ProtoMessage ¶ added in v1.14.0
func (*Expression) ProtoMessage()
func (*Expression) ProtoReflect ¶ added in v1.14.0
func (x *Expression) ProtoReflect() protoreflect.Message
func (*Expression) Reset ¶ added in v1.14.0
func (x *Expression) Reset()
func (*Expression) String ¶ added in v1.14.0
func (x *Expression) String() string
type Expression_Abs ¶ added in v1.14.0
type Expression_Abs struct {
// Absolute value
Abs *Expression `protobuf:"bytes,11,opt,name=abs,proto3,oneof"`
}
type Expression_Condition ¶ added in v1.14.0
type Expression_Condition struct {
// Payload condition. If true, becomes 1.0; otherwise 0.0
Condition *Condition `protobuf:"bytes,3,opt,name=condition,proto3,oneof"`
}
type Expression_Constant ¶ added in v1.14.0
type Expression_Constant struct {
Constant float32 `protobuf:"fixed32,1,opt,name=constant,proto3,oneof"`
}
type Expression_Datetime ¶ added in v1.14.0
type Expression_Datetime struct {
// Date-time constant
Datetime string `protobuf:"bytes,5,opt,name=datetime,proto3,oneof"`
}
type Expression_DatetimeKey ¶ added in v1.14.0
type Expression_DatetimeKey struct {
// Payload key with date-time values
DatetimeKey string `protobuf:"bytes,6,opt,name=datetime_key,json=datetimeKey,proto3,oneof"`
}
type Expression_Div ¶ added in v1.14.0
type Expression_Div struct {
// Divide
Div *DivExpression `protobuf:"bytes,9,opt,name=div,proto3,oneof"`
}
type Expression_Exp ¶ added in v1.14.0
type Expression_Exp struct {
// Exponential
Exp *Expression `protobuf:"bytes,14,opt,name=exp,proto3,oneof"`
}
type Expression_ExpDecay ¶ added in v1.14.0
type Expression_ExpDecay struct {
// Exponential decay
ExpDecay *DecayParamsExpression `protobuf:"bytes,17,opt,name=exp_decay,json=expDecay,proto3,oneof"`
}
type Expression_GaussDecay ¶ added in v1.14.0
type Expression_GaussDecay struct {
// Gaussian decay
GaussDecay *DecayParamsExpression `protobuf:"bytes,18,opt,name=gauss_decay,json=gaussDecay,proto3,oneof"`
}
type Expression_GeoDistance ¶ added in v1.14.0
type Expression_GeoDistance struct {
// Geographic distance in meters
GeoDistance *GeoDistance `protobuf:"bytes,4,opt,name=geo_distance,json=geoDistance,proto3,oneof"`
}
type Expression_LinDecay ¶ added in v1.14.0
type Expression_LinDecay struct {
// Linear decay
LinDecay *DecayParamsExpression `protobuf:"bytes,19,opt,name=lin_decay,json=linDecay,proto3,oneof"`
}
type Expression_Ln ¶ added in v1.14.0
type Expression_Ln struct {
// Natural logarithm
Ln *Expression `protobuf:"bytes,16,opt,name=ln,proto3,oneof"`
}
type Expression_Log10 ¶ added in v1.14.0
type Expression_Log10 struct {
// Logarithm
Log10 *Expression `protobuf:"bytes,15,opt,name=log10,proto3,oneof"`
}
type Expression_Mult ¶ added in v1.14.0
type Expression_Mult struct {
// Multiply
Mult *MultExpression `protobuf:"bytes,7,opt,name=mult,proto3,oneof"`
}
type Expression_Neg ¶ added in v1.14.0
type Expression_Neg struct {
// Negate
Neg *Expression `protobuf:"bytes,10,opt,name=neg,proto3,oneof"`
}
type Expression_Pow ¶ added in v1.14.0
type Expression_Pow struct {
// Power
Pow *PowExpression `protobuf:"bytes,13,opt,name=pow,proto3,oneof"`
}
type Expression_Sqrt ¶ added in v1.14.0
type Expression_Sqrt struct {
// Square root
Sqrt *Expression `protobuf:"bytes,12,opt,name=sqrt,proto3,oneof"`
}
type Expression_Sum ¶ added in v1.14.0
type Expression_Sum struct {
// Sum
Sum *SumExpression `protobuf:"bytes,8,opt,name=sum,proto3,oneof"`
}
type Expression_Variable ¶ added in v1.14.0
type Expression_Variable struct {
// Payload key or reference to score.
Variable string `protobuf:"bytes,2,opt,name=variable,proto3,oneof"`
}
type FacetCounts ¶ added in v1.12.0
type FacetCounts struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Payload key of the facet
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions.
Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// Max number of facets. Default is 10.
Limit *uint64 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// If true, return exact counts, slower but useful for debugging purposes. Default is false.
Exact *bool `protobuf:"varint,5,opt,name=exact,proto3,oneof" json:"exact,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,7,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,8,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// contains filtered or unexported fields
}
func (*FacetCounts) Descriptor
deprecated
added in
v1.12.0
func (*FacetCounts) Descriptor() ([]byte, []int)
Deprecated: Use FacetCounts.ProtoReflect.Descriptor instead.
func (*FacetCounts) GetCollectionName ¶ added in v1.12.0
func (x *FacetCounts) GetCollectionName() string
func (*FacetCounts) GetExact ¶ added in v1.12.0
func (x *FacetCounts) GetExact() bool
func (*FacetCounts) GetFilter ¶ added in v1.12.0
func (x *FacetCounts) GetFilter() *Filter
func (*FacetCounts) GetKey ¶ added in v1.12.0
func (x *FacetCounts) GetKey() string
func (*FacetCounts) GetLimit ¶ added in v1.12.0
func (x *FacetCounts) GetLimit() uint64
func (*FacetCounts) GetReadConsistency ¶ added in v1.12.0
func (x *FacetCounts) GetReadConsistency() *ReadConsistency
func (*FacetCounts) GetShardKeySelector ¶ added in v1.12.0
func (x *FacetCounts) GetShardKeySelector() *ShardKeySelector
func (*FacetCounts) GetTimeout ¶ added in v1.12.0
func (x *FacetCounts) GetTimeout() uint64
func (*FacetCounts) ProtoMessage ¶ added in v1.12.0
func (*FacetCounts) ProtoMessage()
func (*FacetCounts) ProtoReflect ¶ added in v1.12.0
func (x *FacetCounts) ProtoReflect() protoreflect.Message
func (*FacetCounts) Reset ¶ added in v1.12.0
func (x *FacetCounts) Reset()
func (*FacetCounts) String ¶ added in v1.12.0
func (x *FacetCounts) String() string
type FacetHit ¶ added in v1.12.0
type FacetHit struct {
// Value from the facet
Value *FacetValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// Number of points with this value
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*FacetHit) Descriptor
deprecated
added in
v1.12.0
func (*FacetHit) GetValue ¶ added in v1.12.0
func (x *FacetHit) GetValue() *FacetValue
func (*FacetHit) ProtoMessage ¶ added in v1.12.0
func (*FacetHit) ProtoMessage()
func (*FacetHit) ProtoReflect ¶ added in v1.12.0
func (x *FacetHit) ProtoReflect() protoreflect.Message
type FacetResponse ¶ added in v1.12.0
type FacetResponse struct {
Hits []*FacetHit `protobuf:"bytes,1,rep,name=hits,proto3" json:"hits,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*FacetResponse) Descriptor
deprecated
added in
v1.12.0
func (*FacetResponse) Descriptor() ([]byte, []int)
Deprecated: Use FacetResponse.ProtoReflect.Descriptor instead.
func (*FacetResponse) GetHits ¶ added in v1.12.0
func (x *FacetResponse) GetHits() []*FacetHit
func (*FacetResponse) GetTime ¶ added in v1.12.0
func (x *FacetResponse) GetTime() float64
func (*FacetResponse) GetUsage ¶ added in v1.16.0
func (x *FacetResponse) GetUsage() *Usage
func (*FacetResponse) ProtoMessage ¶ added in v1.12.0
func (*FacetResponse) ProtoMessage()
func (*FacetResponse) ProtoReflect ¶ added in v1.12.0
func (x *FacetResponse) ProtoReflect() protoreflect.Message
func (*FacetResponse) Reset ¶ added in v1.12.0
func (x *FacetResponse) Reset()
func (*FacetResponse) String ¶ added in v1.12.0
func (x *FacetResponse) String() string
type FacetValue ¶ added in v1.11.0
type FacetValue struct {
// Types that are assignable to Variant:
//
// *FacetValue_StringValue
// *FacetValue_IntegerValue
// *FacetValue_BoolValue
Variant isFacetValue_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewFacetValue ¶ added in v1.11.1
func NewFacetValue(value string) *FacetValue
Creates a *FacetValue instance from a string.
func (*FacetValue) Descriptor
deprecated
added in
v1.11.0
func (*FacetValue) Descriptor() ([]byte, []int)
Deprecated: Use FacetValue.ProtoReflect.Descriptor instead.
func (*FacetValue) GetBoolValue ¶ added in v1.12.0
func (x *FacetValue) GetBoolValue() bool
func (*FacetValue) GetIntegerValue ¶ added in v1.12.0
func (x *FacetValue) GetIntegerValue() int64
func (*FacetValue) GetStringValue ¶ added in v1.11.0
func (x *FacetValue) GetStringValue() string
func (*FacetValue) GetVariant ¶ added in v1.11.0
func (m *FacetValue) GetVariant() isFacetValue_Variant
func (*FacetValue) ProtoMessage ¶ added in v1.11.0
func (*FacetValue) ProtoMessage()
func (*FacetValue) ProtoReflect ¶ added in v1.11.0
func (x *FacetValue) ProtoReflect() protoreflect.Message
func (*FacetValue) Reset ¶ added in v1.11.0
func (x *FacetValue) Reset()
func (*FacetValue) String ¶ added in v1.11.0
func (x *FacetValue) String() string
type FacetValue_BoolValue ¶ added in v1.12.0
type FacetValue_BoolValue struct {
// Boolean value from the facet
BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"`
}
type FacetValue_IntegerValue ¶ added in v1.12.0
type FacetValue_IntegerValue struct {
// Integer value from the facet
IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
}
type FacetValue_StringValue ¶ added in v1.11.0
type FacetValue_StringValue struct {
// String value from the facet
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type FeedbackItem ¶ added in v1.17.0
type FeedbackItem struct {
Example *VectorInput `protobuf:"bytes,1,opt,name=example,proto3" json:"example,omitempty"` // The id or vector from the original model
Score float32 `protobuf:"fixed32,2,opt,name=score,proto3" json:"score,omitempty"` // Score for this vector as determined by the feedback provider
// contains filtered or unexported fields
}
func (*FeedbackItem) Descriptor
deprecated
added in
v1.17.0
func (*FeedbackItem) Descriptor() ([]byte, []int)
Deprecated: Use FeedbackItem.ProtoReflect.Descriptor instead.
func (*FeedbackItem) GetExample ¶ added in v1.17.0
func (x *FeedbackItem) GetExample() *VectorInput
func (*FeedbackItem) GetScore ¶ added in v1.17.0
func (x *FeedbackItem) GetScore() float32
func (*FeedbackItem) ProtoMessage ¶ added in v1.17.0
func (*FeedbackItem) ProtoMessage()
func (*FeedbackItem) ProtoReflect ¶ added in v1.17.0
func (x *FeedbackItem) ProtoReflect() protoreflect.Message
func (*FeedbackItem) Reset ¶ added in v1.17.0
func (x *FeedbackItem) Reset()
func (*FeedbackItem) String ¶ added in v1.17.0
func (x *FeedbackItem) String() string
type FeedbackStrategy ¶ added in v1.17.0
type FeedbackStrategy struct {
// Types that are assignable to Variant:
//
// *FeedbackStrategy_Naive
Variant isFeedbackStrategy_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewFeedbackStrategyNaive ¶ added in v1.17.1
func NewFeedbackStrategyNaive(naive *NaiveFeedbackStrategy) *FeedbackStrategy
Creates a *FeedbackStrategy instance from an instance of *NaiveFeedbackStrategy.
func (*FeedbackStrategy) Descriptor
deprecated
added in
v1.17.0
func (*FeedbackStrategy) Descriptor() ([]byte, []int)
Deprecated: Use FeedbackStrategy.ProtoReflect.Descriptor instead.
func (*FeedbackStrategy) GetNaive ¶ added in v1.17.0
func (x *FeedbackStrategy) GetNaive() *NaiveFeedbackStrategy
func (*FeedbackStrategy) GetVariant ¶ added in v1.17.0
func (m *FeedbackStrategy) GetVariant() isFeedbackStrategy_Variant
func (*FeedbackStrategy) ProtoMessage ¶ added in v1.17.0
func (*FeedbackStrategy) ProtoMessage()
func (*FeedbackStrategy) ProtoReflect ¶ added in v1.17.0
func (x *FeedbackStrategy) ProtoReflect() protoreflect.Message
func (*FeedbackStrategy) Reset ¶ added in v1.17.0
func (x *FeedbackStrategy) Reset()
func (*FeedbackStrategy) String ¶ added in v1.17.0
func (x *FeedbackStrategy) String() string
type FeedbackStrategy_Naive ¶ added in v1.17.0
type FeedbackStrategy_Naive struct {
// a * score + sim(confidence^b * c * delta)
Naive *NaiveFeedbackStrategy `protobuf:"bytes,1,opt,name=naive,proto3,oneof"`
}
type FieldCondition ¶
type FieldCondition struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Check if point has field with a given value
Match *Match `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"`
// Check if points value lies in a given range
Range *Range `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"`
// Check if points geolocation lies in a given area
GeoBoundingBox *GeoBoundingBox `protobuf:"bytes,4,opt,name=geo_bounding_box,json=geoBoundingBox,proto3" json:"geo_bounding_box,omitempty"`
// Check if geo point is within a given radius
GeoRadius *GeoRadius `protobuf:"bytes,5,opt,name=geo_radius,json=geoRadius,proto3" json:"geo_radius,omitempty"`
// Check number of values for a specific field
ValuesCount *ValuesCount `protobuf:"bytes,6,opt,name=values_count,json=valuesCount,proto3" json:"values_count,omitempty"`
// Check if geo point is within a given polygon
GeoPolygon *GeoPolygon `protobuf:"bytes,7,opt,name=geo_polygon,json=geoPolygon,proto3" json:"geo_polygon,omitempty"`
// Check if datetime is within a given range
DatetimeRange *DatetimeRange `protobuf:"bytes,8,opt,name=datetime_range,json=datetimeRange,proto3" json:"datetime_range,omitempty"`
// Check if field is empty
IsEmpty *bool `protobuf:"varint,9,opt,name=is_empty,json=isEmpty,proto3,oneof" json:"is_empty,omitempty"`
// Check if field is null
IsNull *bool `protobuf:"varint,10,opt,name=is_null,json=isNull,proto3,oneof" json:"is_null,omitempty"`
// 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) GetIsEmpty ¶ added in v1.14.0
func (x *FieldCondition) GetIsEmpty() bool
func (*FieldCondition) GetIsNull ¶ added in v1.14.0
func (x *FieldCondition) GetIsNull() bool
func (*FieldCondition) GetKey ¶
func (x *FieldCondition) GetKey() string
func (*FieldCondition) GetMatch ¶
func (x *FieldCondition) GetMatch() *Match
func (*FieldCondition) GetRange ¶
func (x *FieldCondition) GetRange() *Range
func (*FieldCondition) GetValuesCount ¶
func (x *FieldCondition) GetValuesCount() *ValuesCount
func (*FieldCondition) ProtoMessage ¶
func (*FieldCondition) ProtoMessage()
func (*FieldCondition) ProtoReflect ¶
func (x *FieldCondition) ProtoReflect() protoreflect.Message
func (*FieldCondition) Reset ¶
func (x *FieldCondition) Reset()
func (*FieldCondition) String ¶
func (x *FieldCondition) String() string
type FieldType ¶
type FieldType int32
const ( FieldType_FieldTypeKeyword FieldType = 0 FieldType_FieldTypeInteger FieldType = 1 FieldType_FieldTypeFloat FieldType = 2 FieldType_FieldTypeGeo FieldType = 3 FieldType_FieldTypeText FieldType = 4 FieldType_FieldTypeBool FieldType = 5 FieldType_FieldTypeDatetime FieldType = 6 FieldType_FieldTypeUuid FieldType = 7 )
func (FieldType) Descriptor ¶
func (FieldType) Descriptor() protoreflect.EnumDescriptor
func (FieldType) EnumDescriptor
deprecated
func (FieldType) Number ¶
func (x FieldType) Number() protoreflect.EnumNumber
func (FieldType) Type ¶
func (FieldType) Type() protoreflect.EnumType
type Filter ¶
type Filter struct {
// At least one of those conditions should match
Should []*Condition `protobuf:"bytes,1,rep,name=should,proto3" json:"should,omitempty"`
// All conditions must match
Must []*Condition `protobuf:"bytes,2,rep,name=must,proto3" json:"must,omitempty"`
// All conditions must NOT match
MustNot []*Condition `protobuf:"bytes,3,rep,name=must_not,json=mustNot,proto3" json:"must_not,omitempty"`
// At least minimum amount of given conditions should match
MinShould *MinShould `protobuf:"bytes,4,opt,name=min_should,json=minShould,proto3,oneof" json:"min_should,omitempty"`
// contains filtered or unexported fields
}
func (*Filter) Descriptor
deprecated
func (*Filter) GetMinShould ¶ added in v1.8.0
func (*Filter) GetMustNot ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type FloatIndexParams ¶ added in v1.11.0
type FloatIndexParams struct {
// If true - store index on disk.
OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// If true - use this key to organize storage of the collection data.
// This option assumes that this key will be used in majority of filtered requests.
IsPrincipal *bool `protobuf:"varint,2,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"`
// Enable HNSW graph building for this payload field.
// If true, builds additional HNSW links (Need payload_m > 0).
// Default: true.
EnableHnsw *bool `protobuf:"varint,3,opt,name=enable_hnsw,json=enableHnsw,proto3,oneof" json:"enable_hnsw,omitempty"`
// contains filtered or unexported fields
}
func (*FloatIndexParams) Descriptor
deprecated
added in
v1.11.0
func (*FloatIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use FloatIndexParams.ProtoReflect.Descriptor instead.
func (*FloatIndexParams) GetEnableHnsw ¶ added in v1.17.0
func (x *FloatIndexParams) GetEnableHnsw() bool
func (*FloatIndexParams) GetIsPrincipal ¶ added in v1.11.0
func (x *FloatIndexParams) GetIsPrincipal() bool
func (*FloatIndexParams) GetOnDisk ¶ added in v1.11.0
func (x *FloatIndexParams) GetOnDisk() bool
func (*FloatIndexParams) ProtoMessage ¶ added in v1.11.0
func (*FloatIndexParams) ProtoMessage()
func (*FloatIndexParams) ProtoReflect ¶ added in v1.11.0
func (x *FloatIndexParams) ProtoReflect() protoreflect.Message
func (*FloatIndexParams) Reset ¶ added in v1.11.0
func (x *FloatIndexParams) Reset()
func (*FloatIndexParams) String ¶ added in v1.11.0
func (x *FloatIndexParams) String() string
type Formula ¶ added in v1.14.0
type Formula struct {
Expression *Expression `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
Defaults map[string]*Value `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Formula) Descriptor
deprecated
added in
v1.14.0
func (*Formula) GetDefaults ¶ added in v1.14.0
func (*Formula) GetExpression ¶ added in v1.14.0
func (x *Formula) GetExpression() *Expression
func (*Formula) ProtoMessage ¶ added in v1.14.0
func (*Formula) ProtoMessage()
func (*Formula) ProtoReflect ¶ added in v1.14.0
func (x *Formula) ProtoReflect() protoreflect.Message
type Fusion ¶ added in v1.10.0
type Fusion int32
func (Fusion) Descriptor ¶ added in v1.10.0
func (Fusion) Descriptor() protoreflect.EnumDescriptor
func (Fusion) EnumDescriptor
deprecated
added in
v1.10.0
func (Fusion) Number ¶ added in v1.10.0
func (x Fusion) Number() protoreflect.EnumNumber
func (Fusion) Type ¶ added in v1.10.0
func (Fusion) Type() protoreflect.EnumType
type GeoBoundingBox ¶
type GeoBoundingBox struct {
// north-west corner
TopLeft *GeoPoint `protobuf:"bytes,1,opt,name=top_left,json=topLeft,proto3" json:"top_left,omitempty"`
// south-east corner
BottomRight *GeoPoint `protobuf:"bytes,2,opt,name=bottom_right,json=bottomRight,proto3" json:"bottom_right,omitempty"`
// contains filtered or unexported fields
}
func (*GeoBoundingBox) Descriptor
deprecated
func (*GeoBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use GeoBoundingBox.ProtoReflect.Descriptor instead.
func (*GeoBoundingBox) GetBottomRight ¶
func (x *GeoBoundingBox) GetBottomRight() *GeoPoint
func (*GeoBoundingBox) GetTopLeft ¶
func (x *GeoBoundingBox) GetTopLeft() *GeoPoint
func (*GeoBoundingBox) ProtoMessage ¶
func (*GeoBoundingBox) ProtoMessage()
func (*GeoBoundingBox) ProtoReflect ¶
func (x *GeoBoundingBox) ProtoReflect() protoreflect.Message
func (*GeoBoundingBox) Reset ¶
func (x *GeoBoundingBox) Reset()
func (*GeoBoundingBox) String ¶
func (x *GeoBoundingBox) String() string
type GeoDistance ¶ added in v1.14.0
type GeoDistance struct {
Origin *GeoPoint `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
// contains filtered or unexported fields
}
func (*GeoDistance) Descriptor
deprecated
added in
v1.14.0
func (*GeoDistance) Descriptor() ([]byte, []int)
Deprecated: Use GeoDistance.ProtoReflect.Descriptor instead.
func (*GeoDistance) GetOrigin ¶ added in v1.14.0
func (x *GeoDistance) GetOrigin() *GeoPoint
func (*GeoDistance) GetTo ¶ added in v1.14.0
func (x *GeoDistance) GetTo() string
func (*GeoDistance) ProtoMessage ¶ added in v1.14.0
func (*GeoDistance) ProtoMessage()
func (*GeoDistance) ProtoReflect ¶ added in v1.14.0
func (x *GeoDistance) ProtoReflect() protoreflect.Message
func (*GeoDistance) Reset ¶ added in v1.14.0
func (x *GeoDistance) Reset()
func (*GeoDistance) String ¶ added in v1.14.0
func (x *GeoDistance) String() string
type GeoIndexParams ¶ added in v1.11.0
type GeoIndexParams struct {
// If true - store index on disk.
OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Enable HNSW graph building for this payload field.
// If true, builds additional HNSW links (Need payload_m > 0).
// Default: true.
EnableHnsw *bool `protobuf:"varint,2,opt,name=enable_hnsw,json=enableHnsw,proto3,oneof" json:"enable_hnsw,omitempty"`
// contains filtered or unexported fields
}
func (*GeoIndexParams) Descriptor
deprecated
added in
v1.11.0
func (*GeoIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use GeoIndexParams.ProtoReflect.Descriptor instead.
func (*GeoIndexParams) GetEnableHnsw ¶ added in v1.17.0
func (x *GeoIndexParams) GetEnableHnsw() bool
func (*GeoIndexParams) GetOnDisk ¶ added in v1.12.0
func (x *GeoIndexParams) GetOnDisk() bool
func (*GeoIndexParams) ProtoMessage ¶ added in v1.11.0
func (*GeoIndexParams) ProtoMessage()
func (*GeoIndexParams) ProtoReflect ¶ added in v1.11.0
func (x *GeoIndexParams) ProtoReflect() protoreflect.Message
func (*GeoIndexParams) Reset ¶ added in v1.11.0
func (x *GeoIndexParams) Reset()
func (*GeoIndexParams) String ¶ added in v1.11.0
func (x *GeoIndexParams) String() string
type GeoLineString ¶ added in v1.6.0
type GeoLineString struct {
// Ordered sequence of GeoPoints representing the line
Points []*GeoPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
// 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) ProtoMessage ¶
func (*GeoPoint) ProtoMessage()
func (*GeoPoint) ProtoReflect ¶
func (x *GeoPoint) ProtoReflect() protoreflect.Message
type GeoPolygon ¶ added in v1.4.1
type GeoPolygon struct {
// The exterior line bounds the surface
Exterior *GeoLineString `protobuf:"bytes,1,opt,name=exterior,proto3" json:"exterior,omitempty"`
// Interior lines (if present) bound holes within the surface
Interiors []*GeoLineString `protobuf:"bytes,2,rep,name=interiors,proto3" json:"interiors,omitempty"`
// 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 of the circle
Center *GeoPoint `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"`
// In meters
Radius float32 `protobuf:"fixed32,2,opt,name=radius,proto3" json:"radius,omitempty"`
// contains filtered or unexported fields
}
func (*GeoRadius) Descriptor
deprecated
func (*GeoRadius) ProtoMessage ¶
func (*GeoRadius) ProtoMessage()
func (*GeoRadius) ProtoReflect ¶
func (x *GeoRadius) ProtoReflect() protoreflect.Message
type GetCollectionInfoRequest ¶
type GetCollectionInfoRequest struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
// 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 (x *GetCollectionInfoResponse) ProtoReflect() protoreflect.Message
func (*GetCollectionInfoResponse) Reset ¶
func (x *GetCollectionInfoResponse) Reset()
func (*GetCollectionInfoResponse) String ¶
func (x *GetCollectionInfoResponse) String() string
type GetPoints ¶
type GetPoints struct {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// List of points to retrieve
Ids []*PointId `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"`
// Options for specifying which payload to include or not
WithPayload *WithPayloadSelector `protobuf:"bytes,4,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`
// Options for specifying which vectors to include into response
WithVectors *WithVectorsSelector `protobuf:"bytes,5,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,6,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,8,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func (*GetPoints) Descriptor
deprecated
func (*GetPoints) GetCollectionName ¶
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) GetTimeout ¶ added in v1.11.0
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
type GetResponse ¶
type GetResponse struct {
Result []*RetrievedPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetResult ¶
func (x *GetResponse) GetResult() []*RetrievedPoint
func (*GetResponse) GetTime ¶
func (x *GetResponse) GetTime() float64
func (*GetResponse) GetUsage ¶ added in v1.14.0
func (x *GetResponse) GetUsage() *Usage
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GroupId ¶ 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 NewGroupIDInt ¶ added in v1.11.1
Creates a *GroupId instance from an integer.
func NewGroupIDString ¶ added in v1.11.1
Creates a *GroupId instance from a string.
func NewGroupIDUnsigned ¶ added in v1.11.1
Creates a *OrderValue instance from an unsigned integer.
func (*GroupId) Descriptor
deprecated
added in
v1.2.0
func (*GroupId) GetIntegerValue ¶ added in v1.2.0
func (*GroupId) GetStringValue ¶ added in v1.2.0
func (*GroupId) GetUnsignedValue ¶ added in v1.2.0
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
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 an unsigned integer 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
Groups []*PointGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
// 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 GrpcClient ¶ added in v1.11.1
type GrpcClient struct {
// contains filtered or unexported fields
}
Lower level client for Qdrant gRPC API.
func NewDefaultGrpcClient ¶ added in v1.11.1
func NewDefaultGrpcClient() (*GrpcClient, error)
Create a new gRPC client with default configuration.
func NewGrpcClient ¶ added in v1.11.1
func NewGrpcClient(config *Config) (*GrpcClient, error)
Create a new gRPC client with custom configuration.
func NewGrpcClientFromConn ¶ added in v1.11.1
func NewGrpcClientFromConn(conn *grpc.ClientConn) *GrpcClient
Create a new gRPC client from existing connection.
func (*GrpcClient) Close ¶ added in v1.11.1
func (c *GrpcClient) Close() error
Tears down the *grpc.ClientConn and all underlying connections.
func (*GrpcClient) Collections ¶ added in v1.11.1
func (c *GrpcClient) Collections() CollectionsClient
Get the Points service interface.
func (*GrpcClient) Conn ¶ added in v1.11.1
func (c *GrpcClient) Conn() *grpc.ClientConn
Get the underlying gRPC connection.
func (*GrpcClient) Points ¶ added in v1.11.1
func (c *GrpcClient) Points() PointsClient
Get the Collections service interface.
func (*GrpcClient) Qdrant ¶ added in v1.11.1
func (c *GrpcClient) Qdrant() QdrantClient
Get the Qdrant service interface.
func (*GrpcClient) Snapshots ¶ added in v1.11.1
func (c *GrpcClient) Snapshots() SnapshotsClient
Get the Snapshots service interface.
type HardwareUsage ¶ added in v1.13.0
type HardwareUsage struct {
Cpu uint64 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
PayloadIoRead uint64 `protobuf:"varint,2,opt,name=payload_io_read,json=payloadIoRead,proto3" json:"payload_io_read,omitempty"`
PayloadIoWrite uint64 `protobuf:"varint,3,opt,name=payload_io_write,json=payloadIoWrite,proto3" json:"payload_io_write,omitempty"`
PayloadIndexIoRead uint64 `protobuf:"varint,4,opt,name=payload_index_io_read,json=payloadIndexIoRead,proto3" json:"payload_index_io_read,omitempty"`
PayloadIndexIoWrite uint64 `protobuf:"varint,5,opt,name=payload_index_io_write,json=payloadIndexIoWrite,proto3" json:"payload_index_io_write,omitempty"`
VectorIoRead uint64 `protobuf:"varint,6,opt,name=vector_io_read,json=vectorIoRead,proto3" json:"vector_io_read,omitempty"`
VectorIoWrite uint64 `protobuf:"varint,7,opt,name=vector_io_write,json=vectorIoWrite,proto3" json:"vector_io_write,omitempty"`
// contains filtered or unexported fields
}
func (*HardwareUsage) Descriptor
deprecated
added in
v1.13.0
func (*HardwareUsage) Descriptor() ([]byte, []int)
Deprecated: Use HardwareUsage.ProtoReflect.Descriptor instead.
func (*HardwareUsage) GetCpu ¶ added in v1.13.0
func (x *HardwareUsage) GetCpu() uint64
func (*HardwareUsage) GetPayloadIndexIoRead ¶ added in v1.14.0
func (x *HardwareUsage) GetPayloadIndexIoRead() uint64
func (*HardwareUsage) GetPayloadIndexIoWrite ¶ added in v1.14.0
func (x *HardwareUsage) GetPayloadIndexIoWrite() uint64
func (*HardwareUsage) GetPayloadIoRead ¶ added in v1.14.0
func (x *HardwareUsage) GetPayloadIoRead() uint64
func (*HardwareUsage) GetPayloadIoWrite ¶ added in v1.14.0
func (x *HardwareUsage) GetPayloadIoWrite() uint64
func (*HardwareUsage) GetVectorIoRead ¶ added in v1.14.0
func (x *HardwareUsage) GetVectorIoRead() uint64
func (*HardwareUsage) GetVectorIoWrite ¶ added in v1.14.0
func (x *HardwareUsage) GetVectorIoWrite() uint64
func (*HardwareUsage) ProtoMessage ¶ added in v1.13.0
func (*HardwareUsage) ProtoMessage()
func (*HardwareUsage) ProtoReflect ¶ added in v1.13.0
func (x *HardwareUsage) ProtoReflect() protoreflect.Message
func (*HardwareUsage) Reset ¶ added in v1.13.0
func (x *HardwareUsage) Reset()
func (*HardwareUsage) String ¶ added in v1.13.0
func (x *HardwareUsage) String() string
type HasIdCondition ¶
type HasIdCondition struct {
HasId []*PointId `protobuf:"bytes,1,rep,name=has_id,json=hasId,proto3" json:"has_id,omitempty"`
// contains filtered or unexported fields
}
func (*HasIdCondition) Descriptor
deprecated
func (*HasIdCondition) Descriptor() ([]byte, []int)
Deprecated: Use HasIdCondition.ProtoReflect.Descriptor instead.
func (*HasIdCondition) GetHasId ¶
func (x *HasIdCondition) GetHasId() []*PointId
func (*HasIdCondition) ProtoMessage ¶
func (*HasIdCondition) ProtoMessage()
func (*HasIdCondition) ProtoReflect ¶
func (x *HasIdCondition) ProtoReflect() protoreflect.Message
func (*HasIdCondition) Reset ¶
func (x *HasIdCondition) Reset()
func (*HasIdCondition) String ¶
func (x *HasIdCondition) String() string
type HasVectorCondition ¶ added in v1.13.0
type HasVectorCondition struct {
HasVector string `protobuf:"bytes,1,opt,name=has_vector,json=hasVector,proto3" json:"has_vector,omitempty"`
// contains filtered or unexported fields
}
func (*HasVectorCondition) Descriptor
deprecated
added in
v1.13.0
func (*HasVectorCondition) Descriptor() ([]byte, []int)
Deprecated: Use HasVectorCondition.ProtoReflect.Descriptor instead.
func (*HasVectorCondition) GetHasVector ¶ added in v1.13.0
func (x *HasVectorCondition) GetHasVector() string
func (*HasVectorCondition) ProtoMessage ¶ added in v1.13.0
func (*HasVectorCondition) ProtoMessage()
func (*HasVectorCondition) ProtoReflect ¶ added in v1.13.0
func (x *HasVectorCondition) ProtoReflect() protoreflect.Message
func (*HasVectorCondition) Reset ¶ added in v1.13.0
func (x *HasVectorCondition) Reset()
func (*HasVectorCondition) String ¶ added in v1.13.0
func (x *HasVectorCondition) String() string
type HealthCheckReply ¶
type HealthCheckReply struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Commit *string `protobuf:"bytes,3,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
// contains filtered or unexported fields
}
func (*HealthCheckReply) Descriptor
deprecated
func (*HealthCheckReply) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckReply.ProtoReflect.Descriptor instead.
func (*HealthCheckReply) GetCommit ¶ 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 threshold (in KiloBytes) below which full-scan is preferred over HNSW search.
// This measures the total size of vectors being queried against.
// When the maximum estimated amount of points that a condition satisfies is smaller than
// `full_scan_threshold`, the query planner will use full-scan search instead of HNSW index
// traversal for better performance.
// Note: 1Kb = 1 vector of size 256
FullScanThreshold *uint64 `protobuf:"varint,3,opt,name=full_scan_threshold,json=fullScanThreshold,proto3,oneof" json:"full_scan_threshold,omitempty"`
// Number of parallel threads used for background index building.
// If 0 - automatically select from 8 to 16.
// Best to keep between 8 and 16 to prevent likelihood of building broken/inefficient HNSW graphs.
// On small CPUs, less threads are used.
MaxIndexingThreads *uint64 `protobuf:"varint,4,opt,name=max_indexing_threads,json=maxIndexingThreads,proto3,oneof" json:"max_indexing_threads,omitempty"`
// Store HNSW index on disk. If set to false, the index will be stored in RAM.
OnDisk *bool `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Number of additional payload-aware links per node in the index graph.
// If not set - regular M parameter will be used.
PayloadM *uint64 `protobuf:"varint,6,opt,name=payload_m,json=payloadM,proto3,oneof" json:"payload_m,omitempty"`
// Store copies of original and quantized vectors within the HNSW index file. Default: false.
// Enabling this option will trade the search speed for disk usage by reducing amount of
// random seeks during the search.
// Requires quantized vectors to be enabled. Multi-vectors are not supported.
InlineStorage *bool `protobuf:"varint,7,opt,name=inline_storage,json=inlineStorage,proto3,oneof" json:"inline_storage,omitempty"`
// contains filtered or unexported fields
}
func (*HnswConfigDiff) Descriptor
deprecated
func (*HnswConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use HnswConfigDiff.ProtoReflect.Descriptor instead.
func (*HnswConfigDiff) GetEfConstruct ¶
func (x *HnswConfigDiff) GetEfConstruct() uint64
func (*HnswConfigDiff) GetFullScanThreshold ¶
func (x *HnswConfigDiff) GetFullScanThreshold() uint64
func (*HnswConfigDiff) GetInlineStorage ¶ added in v1.16.0
func (x *HnswConfigDiff) GetInlineStorage() bool
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 Image ¶ added in v1.13.0
type Image struct {
// Image data, either base64 encoded or URL
Image *Value `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
// Model name
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
// Model options
Options map[string]*Value `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Image) Descriptor
deprecated
added in
v1.13.0
func (*Image) GetOptions ¶ added in v1.13.0
func (*Image) ProtoMessage ¶ added in v1.13.0
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶ added in v1.13.0
func (x *Image) ProtoReflect() protoreflect.Message
type InferenceObject ¶ added in v1.13.0
type InferenceObject struct {
// Object to infer
Object *Value `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
// Model name
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"`
// Model options
Options map[string]*Value `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*InferenceObject) Descriptor
deprecated
added in
v1.13.0
func (*InferenceObject) Descriptor() ([]byte, []int)
Deprecated: Use InferenceObject.ProtoReflect.Descriptor instead.
func (*InferenceObject) GetModel ¶ added in v1.13.0
func (x *InferenceObject) GetModel() string
func (*InferenceObject) GetObject ¶ added in v1.13.0
func (x *InferenceObject) GetObject() *Value
func (*InferenceObject) GetOptions ¶ added in v1.13.0
func (x *InferenceObject) GetOptions() map[string]*Value
func (*InferenceObject) ProtoMessage ¶ added in v1.13.0
func (*InferenceObject) ProtoMessage()
func (*InferenceObject) ProtoReflect ¶ added in v1.13.0
func (x *InferenceObject) ProtoReflect() protoreflect.Message
func (*InferenceObject) Reset ¶ added in v1.13.0
func (x *InferenceObject) Reset()
func (*InferenceObject) String ¶ added in v1.13.0
func (x *InferenceObject) String() string
type InferenceUsage ¶ added in v1.15.0
type InferenceUsage struct {
Models map[string]*ModelUsage `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*InferenceUsage) Descriptor
deprecated
added in
v1.15.0
func (*InferenceUsage) Descriptor() ([]byte, []int)
Deprecated: Use InferenceUsage.ProtoReflect.Descriptor instead.
func (*InferenceUsage) GetModels ¶ added in v1.15.0
func (x *InferenceUsage) GetModels() map[string]*ModelUsage
func (*InferenceUsage) ProtoMessage ¶ added in v1.15.0
func (*InferenceUsage) ProtoMessage()
func (*InferenceUsage) ProtoReflect ¶ added in v1.15.0
func (x *InferenceUsage) ProtoReflect() protoreflect.Message
func (*InferenceUsage) Reset ¶ added in v1.15.0
func (x *InferenceUsage) Reset()
func (*InferenceUsage) String ¶ added in v1.15.0
func (x *InferenceUsage) String() string
type IntegerIndexParams ¶ added in v1.8.0
type IntegerIndexParams struct {
// If true - support direct lookups. Default is true.
Lookup *bool `protobuf:"varint,1,opt,name=lookup,proto3,oneof" json:"lookup,omitempty"`
// If true - support ranges filters. Default is true.
Range *bool `protobuf:"varint,2,opt,name=range,proto3,oneof" json:"range,omitempty"`
// If true - use this key to organize storage of the collection data.
// This option assumes that this key will be used in majority of filtered requests.
// Default is false.
IsPrincipal *bool `protobuf:"varint,3,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"`
// If true - store index on disk. Default is false.
OnDisk *bool `protobuf:"varint,4,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Enable HNSW graph building for this payload field.
// If true, builds additional HNSW links (Need payload_m > 0).
// Default: true.
EnableHnsw *bool `protobuf:"varint,5,opt,name=enable_hnsw,json=enableHnsw,proto3,oneof" json:"enable_hnsw,omitempty"`
// 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) GetEnableHnsw ¶ added in v1.17.0
func (x *IntegerIndexParams) GetEnableHnsw() bool
func (*IntegerIndexParams) GetIsPrincipal ¶ added in v1.11.0
func (x *IntegerIndexParams) GetIsPrincipal() bool
func (*IntegerIndexParams) GetLookup ¶ added in v1.8.0
func (x *IntegerIndexParams) GetLookup() bool
func (*IntegerIndexParams) GetOnDisk ¶ added in v1.11.0
func (x *IntegerIndexParams) GetOnDisk() 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 KeywordIndexParams ¶ added in v1.11.0
type KeywordIndexParams struct {
// If true - used for tenant optimization.
IsTenant *bool `protobuf:"varint,1,opt,name=is_tenant,json=isTenant,proto3,oneof" json:"is_tenant,omitempty"`
// If true - store index on disk.
OnDisk *bool `protobuf:"varint,2,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Enable HNSW graph building for this payload field.
// If true, builds additional HNSW links (Need payload_m > 0).
// Default: true.
EnableHnsw *bool `protobuf:"varint,3,opt,name=enable_hnsw,json=enableHnsw,proto3,oneof" json:"enable_hnsw,omitempty"`
// contains filtered or unexported fields
}
func (*KeywordIndexParams) Descriptor
deprecated
added in
v1.11.0
func (*KeywordIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use KeywordIndexParams.ProtoReflect.Descriptor instead.
func (*KeywordIndexParams) GetEnableHnsw ¶ added in v1.17.0
func (x *KeywordIndexParams) GetEnableHnsw() bool
func (*KeywordIndexParams) GetIsTenant ¶ added in v1.11.0
func (x *KeywordIndexParams) GetIsTenant() bool
func (*KeywordIndexParams) GetOnDisk ¶ added in v1.11.0
func (x *KeywordIndexParams) GetOnDisk() bool
func (*KeywordIndexParams) ProtoMessage ¶ added in v1.11.0
func (*KeywordIndexParams) ProtoMessage()
func (*KeywordIndexParams) ProtoReflect ¶ added in v1.11.0
func (x *KeywordIndexParams) ProtoReflect() protoreflect.Message
func (*KeywordIndexParams) Reset ¶ added in v1.11.0
func (x *KeywordIndexParams) Reset()
func (*KeywordIndexParams) String ¶ added in v1.11.0
func (x *KeywordIndexParams) 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
// 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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// 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 (x *ListCollectionAliasesRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionAliasesRequest) Reset ¶ added in v1.0.0
func (x *ListCollectionAliasesRequest) Reset()
func (*ListCollectionAliasesRequest) String ¶ added in v1.0.0
func (x *ListCollectionAliasesRequest) String() string
type ListCollectionsRequest ¶
type ListCollectionsRequest struct {
// contains filtered or unexported fields
}
func (*ListCollectionsRequest) Descriptor
deprecated
func (*ListCollectionsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsRequest.ProtoReflect.Descriptor instead.
func (*ListCollectionsRequest) ProtoMessage ¶
func (*ListCollectionsRequest) ProtoMessage()
func (*ListCollectionsRequest) ProtoReflect ¶
func (x *ListCollectionsRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionsRequest) Reset ¶
func (x *ListCollectionsRequest) Reset()
func (*ListCollectionsRequest) String ¶
func (x *ListCollectionsRequest) String() string
type ListCollectionsResponse ¶
type ListCollectionsResponse struct {
Collections []*CollectionDescription `protobuf:"bytes,1,rep,name=collections,proto3" json:"collections,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
// 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 ListShardKeysRequest ¶ added in v1.17.0
type ListShardKeysRequest struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// contains filtered or unexported fields
}
func (*ListShardKeysRequest) Descriptor
deprecated
added in
v1.17.0
func (*ListShardKeysRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListShardKeysRequest.ProtoReflect.Descriptor instead.
func (*ListShardKeysRequest) GetCollectionName ¶ added in v1.17.0
func (x *ListShardKeysRequest) GetCollectionName() string
func (*ListShardKeysRequest) ProtoMessage ¶ added in v1.17.0
func (*ListShardKeysRequest) ProtoMessage()
func (*ListShardKeysRequest) ProtoReflect ¶ added in v1.17.0
func (x *ListShardKeysRequest) ProtoReflect() protoreflect.Message
func (*ListShardKeysRequest) Reset ¶ added in v1.17.0
func (x *ListShardKeysRequest) Reset()
func (*ListShardKeysRequest) String ¶ added in v1.17.0
func (x *ListShardKeysRequest) String() string
type ListShardKeysResponse ¶ added in v1.17.0
type ListShardKeysResponse struct {
ShardKeys []*ShardKeyDescription `protobuf:"bytes,1,rep,name=shard_keys,json=shardKeys,proto3" json:"shard_keys,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
// contains filtered or unexported fields
}
func (*ListShardKeysResponse) Descriptor
deprecated
added in
v1.17.0
func (*ListShardKeysResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListShardKeysResponse.ProtoReflect.Descriptor instead.
func (*ListShardKeysResponse) GetShardKeys ¶ added in v1.17.0
func (x *ListShardKeysResponse) GetShardKeys() []*ShardKeyDescription
func (*ListShardKeysResponse) GetTime ¶ added in v1.17.0
func (x *ListShardKeysResponse) GetTime() float64
func (*ListShardKeysResponse) ProtoMessage ¶ added in v1.17.0
func (*ListShardKeysResponse) ProtoMessage()
func (*ListShardKeysResponse) ProtoReflect ¶ added in v1.17.0
func (x *ListShardKeysResponse) ProtoReflect() protoreflect.Message
func (*ListShardKeysResponse) Reset ¶ added in v1.17.0
func (x *ListShardKeysResponse) Reset()
func (*ListShardKeysResponse) String ¶ added in v1.17.0
func (x *ListShardKeysResponse) String() string
type ListSnapshotsRequest ¶ added in v0.8.4
type ListSnapshotsRequest struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
// 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 NewListValue ¶ added in v1.11.1
Constructs a ListValue from a general-purpose Go slice. The slice elements are converted using NewValue().
func (*ListValue) Descriptor
deprecated
func (*ListValue) ProtoMessage ¶
func (*ListValue) ProtoMessage()
func (*ListValue) ProtoReflect ¶
func (x *ListValue) ProtoReflect() protoreflect.Message
type LocalShardInfo ¶ added in v1.2.0
type LocalShardInfo struct {
// Local shard id
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
// Number of points in the shard
PointsCount uint64 `protobuf:"varint,2,opt,name=points_count,json=pointsCount,proto3" json:"points_count,omitempty"`
// Is replica active
State ReplicaState `protobuf:"varint,3,opt,name=state,proto3,enum=qdrant.ReplicaState" json:"state,omitempty"`
// User-defined shard key
ShardKey *ShardKey `protobuf:"bytes,4,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`
// 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"`
// Which vector to use for search, if not specified - use default vector
VectorName *string `protobuf:"bytes,2,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// 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
// *Match_Phrase
// *Match_TextAny
MatchValue isMatch_MatchValue `protobuf_oneof:"match_value"`
// contains filtered or unexported fields
}
func (*Match) Descriptor
deprecated
func (*Match) GetBoolean ¶
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 (*Match) GetIntegers ¶ added in v1.1.0
func (x *Match) GetIntegers() *RepeatedIntegers
func (*Match) GetKeyword ¶
func (*Match) GetKeywords ¶ added in v1.1.0
func (x *Match) GetKeywords() *RepeatedStrings
func (*Match) GetMatchValue ¶
func (m *Match) GetMatchValue() isMatch_MatchValue
func (*Match) GetTextAny ¶ added in v1.16.0
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
type Match_Boolean ¶
type Match_Boolean struct {
// Match boolean
Boolean bool `protobuf:"varint,3,opt,name=boolean,proto3,oneof"`
}
type Match_ExceptIntegers ¶ added in v1.2.0
type Match_ExceptIntegers struct {
// Match any other value except those integers
ExceptIntegers *RepeatedIntegers `protobuf:"bytes,7,opt,name=except_integers,json=exceptIntegers,proto3,oneof"`
}
type Match_ExceptKeywords ¶ added in v1.2.0
type Match_ExceptKeywords struct {
// Match any other value except those keywords
ExceptKeywords *RepeatedStrings `protobuf:"bytes,8,opt,name=except_keywords,json=exceptKeywords,proto3,oneof"`
}
type Match_Integer ¶
type Match_Integer struct {
// Match integer
Integer int64 `protobuf:"varint,2,opt,name=integer,proto3,oneof"`
}
type Match_Integers ¶ added in v1.1.0
type Match_Integers struct {
// Match multiple integers
Integers *RepeatedIntegers `protobuf:"bytes,6,opt,name=integers,proto3,oneof"`
}
type Match_Keyword ¶
type Match_Keyword struct {
// Match string keyword
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3,oneof"`
}
type Match_Keywords ¶ added in v1.1.0
type Match_Keywords struct {
// Match multiple keywords
Keywords *RepeatedStrings `protobuf:"bytes,5,opt,name=keywords,proto3,oneof"`
}
type Match_Phrase ¶ added in v1.15.0
type Match_Phrase struct {
// Match phrase text
Phrase string `protobuf:"bytes,9,opt,name=phrase,proto3,oneof"`
}
type Match_Text ¶ added in v0.10.0
type Match_Text struct {
// Match text
Text string `protobuf:"bytes,4,opt,name=text,proto3,oneof"`
}
type Match_TextAny ¶ added in v1.16.0
type Match_TextAny struct {
// Match any word in the text
TextAny string `protobuf:"bytes,10,opt,name=text_any,json=textAny,proto3,oneof"`
}
type MaxOptimizationThreads ¶ added in v1.13.0
type MaxOptimizationThreads struct {
// Types that are assignable to Variant:
//
// *MaxOptimizationThreads_Value
// *MaxOptimizationThreads_Setting_
Variant isMaxOptimizationThreads_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewMaxOptimizationThreads ¶ added in v1.13.0
func NewMaxOptimizationThreads(value uint64) *MaxOptimizationThreads
Creates a *MaxOptimizationThreads instance from the number of specified threads.
func NewMaxOptimizationThreadsSetting ¶ added in v1.13.0
func NewMaxOptimizationThreadsSetting(setting MaxOptimizationThreads_Setting) *MaxOptimizationThreads
Creates a *MaxOptimizationThreads instance from the specified settings.
func (*MaxOptimizationThreads) Descriptor
deprecated
added in
v1.13.0
func (*MaxOptimizationThreads) Descriptor() ([]byte, []int)
Deprecated: Use MaxOptimizationThreads.ProtoReflect.Descriptor instead.
func (*MaxOptimizationThreads) GetSetting ¶ added in v1.13.0
func (x *MaxOptimizationThreads) GetSetting() MaxOptimizationThreads_Setting
func (*MaxOptimizationThreads) GetValue ¶ added in v1.13.0
func (x *MaxOptimizationThreads) GetValue() uint64
func (*MaxOptimizationThreads) GetVariant ¶ added in v1.13.0
func (m *MaxOptimizationThreads) GetVariant() isMaxOptimizationThreads_Variant
func (*MaxOptimizationThreads) ProtoMessage ¶ added in v1.13.0
func (*MaxOptimizationThreads) ProtoMessage()
func (*MaxOptimizationThreads) ProtoReflect ¶ added in v1.13.0
func (x *MaxOptimizationThreads) ProtoReflect() protoreflect.Message
func (*MaxOptimizationThreads) Reset ¶ added in v1.13.0
func (x *MaxOptimizationThreads) Reset()
func (*MaxOptimizationThreads) String ¶ added in v1.13.0
func (x *MaxOptimizationThreads) String() string
type MaxOptimizationThreads_Setting ¶ added in v1.13.0
type MaxOptimizationThreads_Setting int32
const (
MaxOptimizationThreads_Auto MaxOptimizationThreads_Setting = 0
)
func (MaxOptimizationThreads_Setting) Descriptor ¶ added in v1.13.0
func (MaxOptimizationThreads_Setting) Descriptor() protoreflect.EnumDescriptor
func (MaxOptimizationThreads_Setting) Enum ¶ added in v1.13.0
func (x MaxOptimizationThreads_Setting) Enum() *MaxOptimizationThreads_Setting
func (MaxOptimizationThreads_Setting) EnumDescriptor
deprecated
added in
v1.13.0
func (MaxOptimizationThreads_Setting) EnumDescriptor() ([]byte, []int)
Deprecated: Use MaxOptimizationThreads_Setting.Descriptor instead.
func (MaxOptimizationThreads_Setting) Number ¶ added in v1.13.0
func (x MaxOptimizationThreads_Setting) Number() protoreflect.EnumNumber
func (MaxOptimizationThreads_Setting) String ¶ added in v1.13.0
func (x MaxOptimizationThreads_Setting) String() string
func (MaxOptimizationThreads_Setting) Type ¶ added in v1.13.0
func (MaxOptimizationThreads_Setting) Type() protoreflect.EnumType
type MaxOptimizationThreads_Setting_ ¶ added in v1.13.0
type MaxOptimizationThreads_Setting_ struct {
Setting MaxOptimizationThreads_Setting `protobuf:"varint,2,opt,name=setting,proto3,enum=qdrant.MaxOptimizationThreads_Setting,oneof"`
}
type MaxOptimizationThreads_Value ¶ added in v1.13.0
type MaxOptimizationThreads_Value struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3,oneof"`
}
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) GetConditions ¶ added in v1.8.0
func (*MinShould) GetMinCount ¶ added in v1.8.0
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
type Mmr ¶ added in v1.15.0
type Mmr struct {
// Tunable parameter for the MMR algorithm.
// Determines the balance between diversity and relevance.
//
// A higher value favors diversity (dissimilarity to selected results),
// while a lower value favors relevance (similarity to the query vector).
//
// Must be in the range [0, 1].
// Default value is 0.5.
Diversity *float32 `protobuf:"fixed32,2,opt,name=diversity,proto3,oneof" json:"diversity,omitempty"`
// The maximum number of candidates to consider for re-ranking.
//
// If not specified, the `limit` value is used.
CandidatesLimit *uint32 `protobuf:"varint,3,opt,name=candidates_limit,json=candidatesLimit,proto3,oneof" json:"candidates_limit,omitempty"`
// contains filtered or unexported fields
}
Maximal Marginal Relevance (MMR) algorithm for re-ranking the points.
func (*Mmr) Descriptor
deprecated
added in
v1.15.0
func (*Mmr) GetCandidatesLimit ¶ added in v1.15.0
func (*Mmr) GetDiversity ¶ added in v1.15.0
func (*Mmr) ProtoMessage ¶ added in v1.15.0
func (*Mmr) ProtoMessage()
func (*Mmr) ProtoReflect ¶ added in v1.15.0
func (x *Mmr) ProtoReflect() protoreflect.Message
type ModelUsage ¶ added in v1.15.0
type ModelUsage struct {
Tokens uint64 `protobuf:"varint,1,opt,name=tokens,proto3" json:"tokens,omitempty"`
// contains filtered or unexported fields
}
func (*ModelUsage) Descriptor
deprecated
added in
v1.15.0
func (*ModelUsage) Descriptor() ([]byte, []int)
Deprecated: Use ModelUsage.ProtoReflect.Descriptor instead.
func (*ModelUsage) GetTokens ¶ added in v1.15.0
func (x *ModelUsage) GetTokens() uint64
func (*ModelUsage) ProtoMessage ¶ added in v1.15.0
func (*ModelUsage) ProtoMessage()
func (*ModelUsage) ProtoReflect ¶ added in v1.15.0
func (x *ModelUsage) ProtoReflect() protoreflect.Message
func (*ModelUsage) Reset ¶ added in v1.15.0
func (x *ModelUsage) Reset()
func (*ModelUsage) String ¶ added in v1.15.0
func (x *ModelUsage) String() string
type Modifier ¶ added in v1.10.0
type Modifier int32
func (Modifier) Descriptor ¶ added in v1.10.0
func (Modifier) Descriptor() protoreflect.EnumDescriptor
func (Modifier) EnumDescriptor
deprecated
added in
v1.10.0
func (Modifier) Number ¶ added in v1.10.0
func (x Modifier) Number() protoreflect.EnumNumber
func (Modifier) Type ¶ added in v1.10.0
func (Modifier) Type() protoreflect.EnumType
type MoveShard ¶ added in v1.2.0
type MoveShard struct {
// Local shard id
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
Method *ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod,oneof" json:"method,omitempty"`
// contains filtered or unexported fields
}
func (*MoveShard) Descriptor
deprecated
added in
v1.2.0
func (*MoveShard) GetFromPeerId ¶ added in v1.2.0
func (*MoveShard) GetMethod ¶ added in v1.7.0
func (x *MoveShard) GetMethod() ShardTransferMethod
func (*MoveShard) GetShardId ¶ added in v1.2.0
func (*MoveShard) GetToPeerId ¶ added in v1.2.0
func (*MoveShard) GetToShardId ¶ added in v1.10.0
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
type MultExpression ¶ added in v1.14.0
type MultExpression struct {
Mult []*Expression `protobuf:"bytes,1,rep,name=mult,proto3" json:"mult,omitempty"`
// contains filtered or unexported fields
}
func (*MultExpression) Descriptor
deprecated
added in
v1.14.0
func (*MultExpression) Descriptor() ([]byte, []int)
Deprecated: Use MultExpression.ProtoReflect.Descriptor instead.
func (*MultExpression) GetMult ¶ added in v1.14.0
func (x *MultExpression) GetMult() []*Expression
func (*MultExpression) ProtoMessage ¶ added in v1.14.0
func (*MultExpression) ProtoMessage()
func (*MultExpression) ProtoReflect ¶ added in v1.14.0
func (x *MultExpression) ProtoReflect() protoreflect.Message
func (*MultExpression) Reset ¶ added in v1.14.0
func (x *MultExpression) Reset()
func (*MultExpression) String ¶ added in v1.14.0
func (x *MultExpression) String() string
type MultiDenseVector ¶ added in v1.10.0
type MultiDenseVector struct {
Vectors []*DenseVector `protobuf:"bytes,1,rep,name=vectors,proto3" json:"vectors,omitempty"`
// contains filtered or unexported fields
}
func (*MultiDenseVector) Descriptor
deprecated
added in
v1.10.0
func (*MultiDenseVector) Descriptor() ([]byte, []int)
Deprecated: Use MultiDenseVector.ProtoReflect.Descriptor instead.
func (*MultiDenseVector) GetVectors ¶ added in v1.10.0
func (x *MultiDenseVector) GetVectors() []*DenseVector
func (*MultiDenseVector) ProtoMessage ¶ added in v1.10.0
func (*MultiDenseVector) ProtoMessage()
func (*MultiDenseVector) ProtoReflect ¶ added in v1.10.0
func (x *MultiDenseVector) ProtoReflect() protoreflect.Message
func (*MultiDenseVector) Reset ¶ added in v1.10.0
func (x *MultiDenseVector) Reset()
func (*MultiDenseVector) String ¶ added in v1.10.0
func (x *MultiDenseVector) String() string
type MultiVectorComparator ¶ added in v1.10.0
type MultiVectorComparator int32
const (
MultiVectorComparator_MaxSim MultiVectorComparator = 0
)
func (MultiVectorComparator) Descriptor ¶ added in v1.10.0
func (MultiVectorComparator) Descriptor() protoreflect.EnumDescriptor
func (MultiVectorComparator) Enum ¶ added in v1.10.0
func (x MultiVectorComparator) Enum() *MultiVectorComparator
func (MultiVectorComparator) EnumDescriptor
deprecated
added in
v1.10.0
func (MultiVectorComparator) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiVectorComparator.Descriptor instead.
func (MultiVectorComparator) Number ¶ added in v1.10.0
func (x MultiVectorComparator) Number() protoreflect.EnumNumber
func (MultiVectorComparator) String ¶ added in v1.10.0
func (x MultiVectorComparator) String() string
func (MultiVectorComparator) Type ¶ added in v1.10.0
func (MultiVectorComparator) Type() protoreflect.EnumType
type MultiVectorConfig ¶ added in v1.10.0
type MultiVectorConfig struct {
// Comparator for multi-vector search
Comparator MultiVectorComparator `protobuf:"varint,1,opt,name=comparator,proto3,enum=qdrant.MultiVectorComparator" json:"comparator,omitempty"`
// contains filtered or unexported fields
}
func (*MultiVectorConfig) Descriptor
deprecated
added in
v1.10.0
func (*MultiVectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use MultiVectorConfig.ProtoReflect.Descriptor instead.
func (*MultiVectorConfig) GetComparator ¶ added in v1.10.0
func (x *MultiVectorConfig) GetComparator() MultiVectorComparator
func (*MultiVectorConfig) ProtoMessage ¶ added in v1.10.0
func (*MultiVectorConfig) ProtoMessage()
func (*MultiVectorConfig) ProtoReflect ¶ added in v1.10.0
func (x *MultiVectorConfig) ProtoReflect() protoreflect.Message
func (*MultiVectorConfig) Reset ¶ added in v1.10.0
func (x *MultiVectorConfig) Reset()
func (*MultiVectorConfig) String ¶ added in v1.10.0
func (x *MultiVectorConfig) String() string
type NaiveFeedbackStrategy ¶ added in v1.17.0
type NaiveFeedbackStrategy struct {
A float32 `protobuf:"fixed32,1,opt,name=a,proto3" json:"a,omitempty"`
B float32 `protobuf:"fixed32,2,opt,name=b,proto3" json:"b,omitempty"`
C float32 `protobuf:"fixed32,3,opt,name=c,proto3" json:"c,omitempty"`
// contains filtered or unexported fields
}
func (*NaiveFeedbackStrategy) Descriptor
deprecated
added in
v1.17.0
func (*NaiveFeedbackStrategy) Descriptor() ([]byte, []int)
Deprecated: Use NaiveFeedbackStrategy.ProtoReflect.Descriptor instead.
func (*NaiveFeedbackStrategy) GetA ¶ added in v1.17.0
func (x *NaiveFeedbackStrategy) GetA() float32
func (*NaiveFeedbackStrategy) GetB ¶ added in v1.17.0
func (x *NaiveFeedbackStrategy) GetB() float32
func (*NaiveFeedbackStrategy) GetC ¶ added in v1.17.0
func (x *NaiveFeedbackStrategy) GetC() float32
func (*NaiveFeedbackStrategy) ProtoMessage ¶ added in v1.17.0
func (*NaiveFeedbackStrategy) ProtoMessage()
func (*NaiveFeedbackStrategy) ProtoReflect ¶ added in v1.17.0
func (x *NaiveFeedbackStrategy) ProtoReflect() protoreflect.Message
func (*NaiveFeedbackStrategy) Reset ¶ added in v1.17.0
func (x *NaiveFeedbackStrategy) Reset()
func (*NaiveFeedbackStrategy) String ¶ added in v1.17.0
func (x *NaiveFeedbackStrategy) 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 NamedVectorsOutput ¶ added in v1.13.0
type NamedVectorsOutput struct {
Vectors map[string]*VectorOutput `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*NamedVectorsOutput) Descriptor
deprecated
added in
v1.13.0
func (*NamedVectorsOutput) Descriptor() ([]byte, []int)
Deprecated: Use NamedVectorsOutput.ProtoReflect.Descriptor instead.
func (*NamedVectorsOutput) GetVectors ¶ added in v1.13.0
func (x *NamedVectorsOutput) GetVectors() map[string]*VectorOutput
func (*NamedVectorsOutput) ProtoMessage ¶ added in v1.13.0
func (*NamedVectorsOutput) ProtoMessage()
func (*NamedVectorsOutput) ProtoReflect ¶ added in v1.13.0
func (x *NamedVectorsOutput) ProtoReflect() protoreflect.Message
func (*NamedVectorsOutput) Reset ¶ added in v1.13.0
func (x *NamedVectorsOutput) Reset()
func (*NamedVectorsOutput) String ¶ added in v1.13.0
func (x *NamedVectorsOutput) String() string
type NearestInputWithMmr ¶ added in v1.15.0
type NearestInputWithMmr struct {
// The vector to search for nearest neighbors.
Nearest *VectorInput `protobuf:"bytes,1,opt,name=nearest,proto3" json:"nearest,omitempty"`
// Perform MMR (Maximal Marginal Relevance) reranking after search,
// using the same vector in this query to calculate relevance.
Mmr *Mmr `protobuf:"bytes,2,opt,name=mmr,proto3" json:"mmr,omitempty"`
// contains filtered or unexported fields
}
func (*NearestInputWithMmr) Descriptor
deprecated
added in
v1.15.0
func (*NearestInputWithMmr) Descriptor() ([]byte, []int)
Deprecated: Use NearestInputWithMmr.ProtoReflect.Descriptor instead.
func (*NearestInputWithMmr) GetMmr ¶ added in v1.15.0
func (x *NearestInputWithMmr) GetMmr() *Mmr
func (*NearestInputWithMmr) GetNearest ¶ added in v1.15.0
func (x *NearestInputWithMmr) GetNearest() *VectorInput
func (*NearestInputWithMmr) ProtoMessage ¶ added in v1.15.0
func (*NearestInputWithMmr) ProtoMessage()
func (*NearestInputWithMmr) ProtoReflect ¶ added in v1.15.0
func (x *NearestInputWithMmr) ProtoReflect() protoreflect.Message
func (*NearestInputWithMmr) Reset ¶ added in v1.15.0
func (x *NearestInputWithMmr) Reset()
func (*NearestInputWithMmr) String ¶ added in v1.15.0
func (x *NearestInputWithMmr) String() string
type NestedCondition ¶ added in v1.2.0
type NestedCondition struct {
// Path to nested object
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Filter condition
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// 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) EnumDescriptor
deprecated
func (NullValue) Number ¶
func (x NullValue) Number() protoreflect.EnumNumber
func (NullValue) Type ¶
func (NullValue) Type() protoreflect.EnumType
type OptimizerStatus ¶
type OptimizerStatus struct {
Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
// contains filtered or unexported fields
}
func (*OptimizerStatus) Descriptor
deprecated
func (*OptimizerStatus) Descriptor() ([]byte, []int)
Deprecated: Use OptimizerStatus.ProtoReflect.Descriptor instead.
func (*OptimizerStatus) GetError ¶
func (x *OptimizerStatus) GetError() string
func (*OptimizerStatus) GetOk ¶
func (x *OptimizerStatus) GetOk() bool
func (*OptimizerStatus) ProtoMessage ¶
func (*OptimizerStatus) ProtoMessage()
func (*OptimizerStatus) ProtoReflect ¶
func (x *OptimizerStatus) ProtoReflect() protoreflect.Message
func (*OptimizerStatus) Reset ¶
func (x *OptimizerStatus) Reset()
func (*OptimizerStatus) String ¶
func (x *OptimizerStatus) String() string
type OptimizersConfigDiff ¶
type OptimizersConfigDiff struct {
// The minimal fraction of deleted vectors in a segment, required to perform
// segment optimization
DeletedThreshold *float64 `protobuf:"fixed64,1,opt,name=deleted_threshold,json=deletedThreshold,proto3,oneof" json:"deleted_threshold,omitempty"`
// The minimal number of vectors in a segment, required to perform segment
// optimization
VacuumMinVectorNumber *uint64 `` /* 135-byte string literal not displayed */
// Target amount of segments the optimizer will try to keep.
// Real amount of segments may vary depending on multiple parameters:
//
// - Amount of stored points.
// - Current write RPS.
//
// It is recommended to select the default number of segments as a factor of the number of search threads,
// so that each segment would be handled evenly by one of the threads.
DefaultSegmentNumber *uint64 `` /* 130-byte string literal not displayed */
// Deprecated:
//
// Do not create segments larger this size (in kilobytes).
// Large segments might require disproportionately long indexation times,
// therefore it makes sense to limit the size of segments.
//
// If indexing speed is more important - make this parameter lower.
// If search speed is more important - make this parameter higher.
// Note: 1Kb = 1 vector of size 256
// If not set, will be automatically selected considering the number of available CPUs.
MaxSegmentSize *uint64 `protobuf:"varint,4,opt,name=max_segment_size,json=maxSegmentSize,proto3,oneof" json:"max_segment_size,omitempty"`
// Maximum size (in kilobytes) of vectors to store in-memory per segment.
// Segments larger than this threshold will be stored as read-only memmapped file.
//
// Memmap storage is disabled by default, to enable it, set this threshold to a reasonable value.
//
// To disable memmap storage, set this to `0`.
//
// Note: 1Kb = 1 vector of size 256
MemmapThreshold *uint64 `protobuf:"varint,5,opt,name=memmap_threshold,json=memmapThreshold,proto3,oneof" json:"memmap_threshold,omitempty"`
// Maximum size (in kilobytes) of vectors allowed for plain index, exceeding
// this threshold will enable vector indexing
//
// Default value is 20,000, based on
// <https://github.com/google-research/google-research/blob/master/scann/docs/algorithms.md>.
//
// To disable vector indexing, set to `0`.
//
// Note: 1kB = 1 vector of size 256.
IndexingThreshold *uint64 `protobuf:"varint,6,opt,name=indexing_threshold,json=indexingThreshold,proto3,oneof" json:"indexing_threshold,omitempty"`
// Interval between forced flushes.
FlushIntervalSec *uint64 `protobuf:"varint,7,opt,name=flush_interval_sec,json=flushIntervalSec,proto3,oneof" json:"flush_interval_sec,omitempty"`
// Deprecated in favor of `max_optimization_threads`
DeprecatedMaxOptimizationThreads *uint64 `` /* 168-byte string literal not displayed */
// Max number of threads (jobs) for running optimizations per shard.
// Note: each optimization job will also use `max_indexing_threads` threads by itself for index building.
// If "auto" - have no limit and choose dynamically to saturate CPU.
// If 0 - no optimization threads, optimizations will be disabled.
MaxOptimizationThreads *MaxOptimizationThreads `` /* 135-byte string literal not displayed */
// If this option is set, service will try to prevent creation of large unoptimized segments.
// When enabled, updates may be blocked at request level if there are unoptimized segments larger than indexing threshold.
// Updates will be resumed when optimization is completed and segments are optimized below the threshold.
// Using this option may lead to increased delay between submitting an update and its application.
// Default is disabled.
PreventUnoptimized *bool `protobuf:"varint,10,opt,name=prevent_unoptimized,json=preventUnoptimized,proto3,oneof" json:"prevent_unoptimized,omitempty"`
// contains filtered or unexported fields
}
func (*OptimizersConfigDiff) Descriptor
deprecated
func (*OptimizersConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use OptimizersConfigDiff.ProtoReflect.Descriptor instead.
func (*OptimizersConfigDiff) GetDefaultSegmentNumber ¶
func (x *OptimizersConfigDiff) GetDefaultSegmentNumber() uint64
func (*OptimizersConfigDiff) GetDeletedThreshold ¶
func (x *OptimizersConfigDiff) GetDeletedThreshold() float64
func (*OptimizersConfigDiff) GetDeprecatedMaxOptimizationThreads ¶ added in v1.13.0
func (x *OptimizersConfigDiff) GetDeprecatedMaxOptimizationThreads() uint64
func (*OptimizersConfigDiff) GetFlushIntervalSec ¶
func (x *OptimizersConfigDiff) GetFlushIntervalSec() uint64
func (*OptimizersConfigDiff) GetIndexingThreshold ¶
func (x *OptimizersConfigDiff) GetIndexingThreshold() uint64
func (*OptimizersConfigDiff) GetMaxOptimizationThreads ¶
func (x *OptimizersConfigDiff) GetMaxOptimizationThreads() *MaxOptimizationThreads
func (*OptimizersConfigDiff) GetMaxSegmentSize ¶
func (x *OptimizersConfigDiff) GetMaxSegmentSize() uint64
func (*OptimizersConfigDiff) GetMemmapThreshold ¶
func (x *OptimizersConfigDiff) GetMemmapThreshold() uint64
func (*OptimizersConfigDiff) GetPreventUnoptimized ¶ added in v1.17.0
func (x *OptimizersConfigDiff) GetPreventUnoptimized() bool
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 {
// Payload key to order by
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// Ascending or descending order
Direction *Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=qdrant.Direction,oneof" json:"direction,omitempty"`
// Start from this value
StartFrom *StartFrom `protobuf:"bytes,3,opt,name=start_from,json=startFrom,proto3,oneof" json:"start_from,omitempty"`
// contains filtered or unexported fields
}
func (*OrderBy) Descriptor
deprecated
added in
v1.8.0
func (*OrderBy) GetDirection ¶ added in v1.8.0
func (*OrderBy) GetStartFrom ¶ added in v1.8.0
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
type OrderValue ¶ added in v1.10.0
type OrderValue struct {
// Types that are assignable to Variant:
//
// *OrderValue_Int
// *OrderValue_Float
Variant isOrderValue_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewOrderValueFloat ¶ added in v1.11.1
func NewOrderValueFloat(value float64) *OrderValue
Creates a *OrderValue instance from a float.
func NewOrderValueInt ¶ added in v1.11.1
func NewOrderValueInt(value int64) *OrderValue
Creates a *OrderValue instance from an integer.
func (*OrderValue) Descriptor
deprecated
added in
v1.10.0
func (*OrderValue) Descriptor() ([]byte, []int)
Deprecated: Use OrderValue.ProtoReflect.Descriptor instead.
func (*OrderValue) GetFloat ¶ added in v1.10.0
func (x *OrderValue) GetFloat() float64
func (*OrderValue) GetInt ¶ added in v1.10.0
func (x *OrderValue) GetInt() int64
func (*OrderValue) GetVariant ¶ added in v1.10.0
func (m *OrderValue) GetVariant() isOrderValue_Variant
func (*OrderValue) ProtoMessage ¶ added in v1.10.0
func (*OrderValue) ProtoMessage()
func (*OrderValue) ProtoReflect ¶ added in v1.10.0
func (x *OrderValue) ProtoReflect() protoreflect.Message
func (*OrderValue) Reset ¶ added in v1.10.0
func (x *OrderValue) Reset()
func (*OrderValue) String ¶ added in v1.10.0
func (x *OrderValue) String() string
type OrderValue_Float ¶ added in v1.10.0
type OrderValue_Float struct {
Float float64 `protobuf:"fixed64,2,opt,name=float,proto3,oneof"`
}
type OrderValue_Int ¶ added in v1.10.0
type OrderValue_Int struct {
Int int64 `protobuf:"varint,1,opt,name=int,proto3,oneof"`
}
type PayloadExcludeSelector ¶
type PayloadExcludeSelector struct {
// List of payload keys to exclude from the result
Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
// 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 {
// List of payload keys to include into result
Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
// 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_KeywordIndexParams
// *PayloadIndexParams_IntegerIndexParams
// *PayloadIndexParams_FloatIndexParams
// *PayloadIndexParams_GeoIndexParams
// *PayloadIndexParams_TextIndexParams
// *PayloadIndexParams_BoolIndexParams
// *PayloadIndexParams_DatetimeIndexParams
// *PayloadIndexParams_UuidIndexParams
IndexParams isPayloadIndexParams_IndexParams `protobuf_oneof:"index_params"`
// contains filtered or unexported fields
}
func NewPayloadIndexParams ¶ added in v1.11.1
func NewPayloadIndexParams(params *KeywordIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *KeywordIndexParams. This is an alias for NewPayloadIndexParamsKeyword().
func NewPayloadIndexParamsBool ¶ added in v1.11.1
func NewPayloadIndexParamsBool(params *BoolIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *BoolIndexParams.
func NewPayloadIndexParamsDatetime ¶ added in v1.11.1
func NewPayloadIndexParamsDatetime(params *DatetimeIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *DatetimeIndexParams.
func NewPayloadIndexParamsFloat ¶ added in v1.11.1
func NewPayloadIndexParamsFloat(params *FloatIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *FloatIndexParams.
func NewPayloadIndexParamsGeo ¶ added in v1.11.1
func NewPayloadIndexParamsGeo(params *GeoIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *GeoIndexParams.
func NewPayloadIndexParamsInt ¶ added in v1.11.1
func NewPayloadIndexParamsInt(params *IntegerIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *IntegerIndexParams.
func NewPayloadIndexParamsKeyword ¶ added in v1.11.1
func NewPayloadIndexParamsKeyword(params *KeywordIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *KeywordIndexParams.
func NewPayloadIndexParamsText ¶ added in v1.11.1
func NewPayloadIndexParamsText(params *TextIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *TextIndexParams.
func NewPayloadIndexParamsUUID ¶ added in v1.11.1
func NewPayloadIndexParamsUUID(params *UuidIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *UuidIndexParams.
func (*PayloadIndexParams) Descriptor
deprecated
added in
v0.10.0
func (*PayloadIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use PayloadIndexParams.ProtoReflect.Descriptor instead.
func (*PayloadIndexParams) GetBoolIndexParams ¶ added in v1.11.0
func (x *PayloadIndexParams) GetBoolIndexParams() *BoolIndexParams
func (*PayloadIndexParams) GetDatetimeIndexParams ¶ added in v1.11.0
func (x *PayloadIndexParams) GetDatetimeIndexParams() *DatetimeIndexParams
func (*PayloadIndexParams) GetFloatIndexParams ¶ added in v1.11.0
func (x *PayloadIndexParams) GetFloatIndexParams() *FloatIndexParams
func (*PayloadIndexParams) GetGeoIndexParams ¶ added in v1.11.0
func (x *PayloadIndexParams) GetGeoIndexParams() *GeoIndexParams
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) GetKeywordIndexParams ¶ added in v1.11.0
func (x *PayloadIndexParams) GetKeywordIndexParams() *KeywordIndexParams
func (*PayloadIndexParams) GetTextIndexParams ¶ added in v0.10.0
func (x *PayloadIndexParams) GetTextIndexParams() *TextIndexParams
func (*PayloadIndexParams) GetUuidIndexParams ¶ added in v1.11.0
func (x *PayloadIndexParams) GetUuidIndexParams() *UuidIndexParams
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_BoolIndexParams ¶ added in v1.11.0
type PayloadIndexParams_BoolIndexParams struct {
// Parameters for bool index
BoolIndexParams *BoolIndexParams `protobuf:"bytes,6,opt,name=bool_index_params,json=boolIndexParams,proto3,oneof"`
}
type PayloadIndexParams_DatetimeIndexParams ¶ added in v1.11.0
type PayloadIndexParams_DatetimeIndexParams struct {
// Parameters for datetime index
DatetimeIndexParams *DatetimeIndexParams `protobuf:"bytes,7,opt,name=datetime_index_params,json=datetimeIndexParams,proto3,oneof"`
}
type PayloadIndexParams_FloatIndexParams ¶ added in v1.11.0
type PayloadIndexParams_FloatIndexParams struct {
// Parameters for float index
FloatIndexParams *FloatIndexParams `protobuf:"bytes,4,opt,name=float_index_params,json=floatIndexParams,proto3,oneof"`
}
type PayloadIndexParams_GeoIndexParams ¶ added in v1.11.0
type PayloadIndexParams_GeoIndexParams struct {
// Parameters for geo index
GeoIndexParams *GeoIndexParams `protobuf:"bytes,5,opt,name=geo_index_params,json=geoIndexParams,proto3,oneof"`
}
type PayloadIndexParams_IntegerIndexParams ¶ added in v1.8.0
type PayloadIndexParams_IntegerIndexParams struct {
// Parameters for integer index
IntegerIndexParams *IntegerIndexParams `protobuf:"bytes,2,opt,name=integer_index_params,json=integerIndexParams,proto3,oneof"`
}
type PayloadIndexParams_KeywordIndexParams ¶ added in v1.11.0
type PayloadIndexParams_KeywordIndexParams struct {
// Parameters for keyword index
KeywordIndexParams *KeywordIndexParams `protobuf:"bytes,3,opt,name=keyword_index_params,json=keywordIndexParams,proto3,oneof"`
}
type PayloadIndexParams_TextIndexParams ¶ added in v0.10.0
type PayloadIndexParams_TextIndexParams struct {
// Parameters for text index
TextIndexParams *TextIndexParams `protobuf:"bytes,1,opt,name=text_index_params,json=textIndexParams,proto3,oneof"`
}
type PayloadIndexParams_UuidIndexParams ¶ added in v1.11.0
type PayloadIndexParams_UuidIndexParams struct {
// Parameters for uuid index
UuidIndexParams *UuidIndexParams `protobuf:"bytes,8,opt,name=uuid_index_params,json=uuidIndexParams,proto3,oneof"`
}
type PayloadSchemaInfo ¶
type PayloadSchemaInfo struct {
// Field data type
DataType PayloadSchemaType `protobuf:"varint,1,opt,name=data_type,json=dataType,proto3,enum=qdrant.PayloadSchemaType" json:"data_type,omitempty"`
// Field index parameters
Params *PayloadIndexParams `protobuf:"bytes,2,opt,name=params,proto3,oneof" json:"params,omitempty"`
// Number of points indexed within this field
Points *uint64 `protobuf:"varint,3,opt,name=points,proto3,oneof" json:"points,omitempty"`
// 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 PayloadSchemaType_Uuid PayloadSchemaType = 8 )
func (PayloadSchemaType) Descriptor ¶
func (PayloadSchemaType) Descriptor() protoreflect.EnumDescriptor
func (PayloadSchemaType) Enum ¶
func (x PayloadSchemaType) Enum() *PayloadSchemaType
func (PayloadSchemaType) EnumDescriptor
deprecated
func (PayloadSchemaType) EnumDescriptor() ([]byte, []int)
Deprecated: Use PayloadSchemaType.Descriptor instead.
func (PayloadSchemaType) Number ¶
func (x PayloadSchemaType) Number() protoreflect.EnumNumber
func (PayloadSchemaType) String ¶
func (x PayloadSchemaType) String() string
func (PayloadSchemaType) Type ¶
func (PayloadSchemaType) Type() protoreflect.EnumType
type PointGroup ¶ added in v1.2.0
type PointGroup struct {
// Group id
Id *GroupId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Points in the group
Hits []*ScoredPoint `protobuf:"bytes,2,rep,name=hits,proto3" json:"hits,omitempty"`
// Point(s) from the lookup collection that matches the group id
Lookup *RetrievedPoint `protobuf:"bytes,3,opt,name=lookup,proto3" json:"lookup,omitempty"`
// 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) GetPointIdOptions ¶
func (m *PointId) GetPointIdOptions() isPointId_PointIdOptions
func (*PointId) ProtoMessage ¶
func (*PointId) ProtoMessage()
func (*PointId) ProtoReflect ¶
func (x *PointId) ProtoReflect() protoreflect.Message
type PointId_Num ¶
type PointId_Num struct {
// Numerical ID of the point
Num uint64 `protobuf:"varint,1,opt,name=num,proto3,oneof"`
}
type PointId_Uuid ¶
type PointId_Uuid struct {
// UUID
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3,oneof"`
}
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 to update vectors for
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Named vectors to update, leave others intact
Vectors *Vectors `protobuf:"bytes,2,opt,name=vectors,proto3" json:"vectors,omitempty"`
// 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)
// Create a new named vector on the collection
CreateVectorName(ctx context.Context, in *CreateVectorNameRequest, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Delete a named vector from the collection
DeleteVectorName(ctx context.Context, in *DeleteVectorNameRequest, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Retrieve closest points based on vector similarity and given filtering
// conditions
Search(ctx context.Context, in *SearchPoints, opts ...grpc.CallOption) (*SearchResponse, error)
// Retrieve closest points based on vector similarity and given filtering
// conditions
SearchBatch(ctx context.Context, in *SearchBatchPoints, opts ...grpc.CallOption) (*SearchBatchResponse, error)
// Retrieve closest points based on vector similarity and given filtering
// conditions, grouped by a given field
SearchGroups(ctx context.Context, in *SearchPointGroups, opts ...grpc.CallOption) (*SearchGroupsResponse, error)
// Iterate over all or filtered points
Scroll(ctx context.Context, in *ScrollPoints, opts ...grpc.CallOption) (*ScrollResponse, error)
// Look for the points which are closer to stored positive examples and at
// the same time further to negative examples.
Recommend(ctx context.Context, in *RecommendPoints, opts ...grpc.CallOption) (*RecommendResponse, error)
// Look for the points which are closer to stored positive examples and at
// the same time further to negative examples.
RecommendBatch(ctx context.Context, in *RecommendBatchPoints, opts ...grpc.CallOption) (*RecommendBatchResponse, error)
// Look for the points which are closer to stored positive examples and at
// the same time further to negative examples, grouped by a given field
RecommendGroups(ctx context.Context, in *RecommendPointGroups, opts ...grpc.CallOption) (*RecommendGroupsResponse, error)
// Use context and a target to find the most similar points to the target,
// constrained by the context.
//
// When using only the context (without a target), a special search - called
// context search - is performed where pairs of points are used to generate a
// loss that guides the search towards the zone where most positive examples
// overlap. This means that the score minimizes the scenario of finding a
// point closer to a negative than to a positive part of a pair.
//
// Since the score of a context relates to loss, the maximum score a point
// can get is 0.0, and it becomes normal that many points can have a score of
// 0.0.
//
// When using target (with or without context), the score behaves a little
// different: The integer part of the score represents the rank with respect
// to the context, while the decimal part of the score relates to the
// distance to the target. The context part of the score for each pair is
// calculated +1 if the point is closer to a positive than to a negative part
// of a pair, and -1 otherwise.
Discover(ctx context.Context, in *DiscoverPoints, opts ...grpc.CallOption) (*DiscoverResponse, error)
// Batch request points based on { positive, negative } pairs of examples, and/or a target
DiscoverBatch(ctx context.Context, in *DiscoverBatchPoints, opts ...grpc.CallOption) (*DiscoverBatchResponse, error)
// Count points in collection with given filtering conditions
Count(ctx context.Context, in *CountPoints, opts ...grpc.CallOption) (*CountResponse, error)
// Perform multiple update operations in one request
UpdateBatch(ctx context.Context, in *UpdateBatchPoints, opts ...grpc.CallOption) (*UpdateBatchResponse, error)
// Universally query points.
// This endpoint covers all capabilities of search, recommend, discover, filters.
// But also enables hybrid and multi-stage queries.
Query(ctx context.Context, in *QueryPoints, opts ...grpc.CallOption) (*QueryResponse, error)
// Universally query points in a batch fashion.
// This endpoint covers all capabilities of search, recommend, discover, filters.
// But also enables hybrid and multi-stage queries.
QueryBatch(ctx context.Context, in *QueryBatchPoints, opts ...grpc.CallOption) (*QueryBatchResponse, error)
// Universally query points in a group fashion.
// This endpoint covers all capabilities of search, recommend, discover, filters.
// But also enables hybrid and multi-stage queries.
QueryGroups(ctx context.Context, in *QueryPointGroups, opts ...grpc.CallOption) (*QueryGroupsResponse, error)
// Perform facet counts.
// For each value in the field, count the number of points that have this
// value and match the conditions.
Facet(ctx context.Context, in *FacetCounts, opts ...grpc.CallOption) (*FacetResponse, error)
// Compute distance matrix for sampled points with a pair based output format
SearchMatrixPairs(ctx context.Context, in *SearchMatrixPoints, opts ...grpc.CallOption) (*SearchMatrixPairsResponse, error)
// Compute distance matrix for sampled points with an offset based output format
SearchMatrixOffsets(ctx context.Context, in *SearchMatrixPoints, opts ...grpc.CallOption) (*SearchMatrixOffsetsResponse, error)
}
PointsClient is the client API for Points service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPointsClient ¶
func NewPointsClient(cc grpc.ClientConnInterface) PointsClient
type PointsIdsList ¶
type PointsIdsList struct {
Ids []*PointId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
// contains filtered or unexported fields
}
func (*PointsIdsList) Descriptor
deprecated
func (*PointsIdsList) Descriptor() ([]byte, []int)
Deprecated: Use PointsIdsList.ProtoReflect.Descriptor instead.
func (*PointsIdsList) GetIds ¶
func (x *PointsIdsList) GetIds() []*PointId
func (*PointsIdsList) ProtoMessage ¶
func (*PointsIdsList) ProtoMessage()
func (*PointsIdsList) ProtoReflect ¶
func (x *PointsIdsList) ProtoReflect() protoreflect.Message
func (*PointsIdsList) Reset ¶
func (x *PointsIdsList) Reset()
func (*PointsIdsList) String ¶
func (x *PointsIdsList) String() string
type PointsOperationResponse ¶
type PointsOperationResponse struct {
Result *UpdateResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*PointsOperationResponse) Descriptor
deprecated
func (*PointsOperationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PointsOperationResponse.ProtoReflect.Descriptor instead.
func (*PointsOperationResponse) GetResult ¶
func (x *PointsOperationResponse) GetResult() *UpdateResult
func (*PointsOperationResponse) GetTime ¶
func (x *PointsOperationResponse) GetTime() float64
func (*PointsOperationResponse) GetUsage ¶ added in v1.14.0
func (x *PointsOperationResponse) GetUsage() *Usage
func (*PointsOperationResponse) ProtoMessage ¶
func (*PointsOperationResponse) ProtoMessage()
func (*PointsOperationResponse) ProtoReflect ¶
func (x *PointsOperationResponse) ProtoReflect() protoreflect.Message
func (*PointsOperationResponse) Reset ¶
func (x *PointsOperationResponse) Reset()
func (*PointsOperationResponse) String ¶
func (x *PointsOperationResponse) String() string
type PointsSelector ¶
type PointsSelector struct {
// Types that are assignable to PointsSelectorOneOf:
//
// *PointsSelector_Points
// *PointsSelector_Filter
PointsSelectorOneOf isPointsSelector_PointsSelectorOneOf `protobuf_oneof:"points_selector_one_of"`
// contains filtered or unexported fields
}
func NewPointsSelector ¶ added in v1.11.1
func NewPointsSelector(ids ...*PointId) *PointsSelector
Creates a *PointsSelector instance for selecting points by IDs. This is an alias for NewPointsSelectorIDs().
func NewPointsSelectorFilter ¶ added in v1.11.1
func NewPointsSelectorFilter(filter *Filter) *PointsSelector
Creates a *PointsSelector instance for selecting points by filter.
func NewPointsSelectorIDs ¶ added in v1.11.1
func NewPointsSelectorIDs(ids []*PointId) *PointsSelector
Creates a *PointsSelector instance for selecting points by IDs.
func (*PointsSelector) Descriptor
deprecated
func (*PointsSelector) Descriptor() ([]byte, []int)
Deprecated: Use PointsSelector.ProtoReflect.Descriptor instead.
func (*PointsSelector) GetFilter ¶
func (x *PointsSelector) GetFilter() *Filter
func (*PointsSelector) GetPoints ¶
func (x *PointsSelector) GetPoints() *PointsIdsList
func (*PointsSelector) GetPointsSelectorOneOf ¶
func (m *PointsSelector) GetPointsSelectorOneOf() isPointsSelector_PointsSelectorOneOf
func (*PointsSelector) ProtoMessage ¶
func (*PointsSelector) ProtoMessage()
func (*PointsSelector) ProtoReflect ¶
func (x *PointsSelector) ProtoReflect() protoreflect.Message
func (*PointsSelector) Reset ¶
func (x *PointsSelector) Reset()
func (*PointsSelector) String ¶
func (x *PointsSelector) String() string
type PointsSelector_Filter ¶
type PointsSelector_Filter struct {
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3,oneof"`
}
type PointsSelector_Points ¶
type PointsSelector_Points struct {
Points *PointsIdsList `protobuf:"bytes,1,opt,name=points,proto3,oneof"`
}
type PointsServer ¶
type PointsServer interface {
// Perform insert + updates on points.
// If a point with a given ID already exists - it will be overwritten.
Upsert(context.Context, *UpsertPoints) (*PointsOperationResponse, error)
// Delete points
Delete(context.Context, *DeletePoints) (*PointsOperationResponse, error)
// Retrieve points
Get(context.Context, *GetPoints) (*GetResponse, error)
// Update named vectors for point
UpdateVectors(context.Context, *UpdatePointVectors) (*PointsOperationResponse, error)
// Delete named vectors for points
DeleteVectors(context.Context, *DeletePointVectors) (*PointsOperationResponse, error)
// Set payload for points
SetPayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
// Overwrite payload for points
OverwritePayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
// Delete specified key payload for points
DeletePayload(context.Context, *DeletePayloadPoints) (*PointsOperationResponse, error)
// Remove all payload for specified points
ClearPayload(context.Context, *ClearPayloadPoints) (*PointsOperationResponse, error)
// Create index for field in collection
CreateFieldIndex(context.Context, *CreateFieldIndexCollection) (*PointsOperationResponse, error)
// Delete field index for collection
DeleteFieldIndex(context.Context, *DeleteFieldIndexCollection) (*PointsOperationResponse, error)
// Create a new named vector on the collection
CreateVectorName(context.Context, *CreateVectorNameRequest) (*PointsOperationResponse, error)
// Delete a named vector from the collection
DeleteVectorName(context.Context, *DeleteVectorNameRequest) (*PointsOperationResponse, error)
// Retrieve closest points based on vector similarity and given filtering
// conditions
Search(context.Context, *SearchPoints) (*SearchResponse, error)
// Retrieve closest points based on vector similarity and given filtering
// conditions
SearchBatch(context.Context, *SearchBatchPoints) (*SearchBatchResponse, error)
// Retrieve closest points based on vector similarity and given filtering
// conditions, grouped by a given field
SearchGroups(context.Context, *SearchPointGroups) (*SearchGroupsResponse, error)
// Iterate over all or filtered points
Scroll(context.Context, *ScrollPoints) (*ScrollResponse, error)
// Look for the points which are closer to stored positive examples and at
// the same time further to negative examples.
Recommend(context.Context, *RecommendPoints) (*RecommendResponse, error)
// Look for the points which are closer to stored positive examples and at
// the same time further to negative examples.
RecommendBatch(context.Context, *RecommendBatchPoints) (*RecommendBatchResponse, error)
// Look for the points which are closer to stored positive examples and at
// the same time further to negative examples, grouped by a given field
RecommendGroups(context.Context, *RecommendPointGroups) (*RecommendGroupsResponse, error)
// Use context and a target to find the most similar points to the target,
// constrained by the context.
//
// When using only the context (without a target), a special search - called
// context search - is performed where pairs of points are used to generate a
// loss that guides the search towards the zone where most positive examples
// overlap. This means that the score minimizes the scenario of finding a
// point closer to a negative than to a positive part of a pair.
//
// Since the score of a context relates to loss, the maximum score a point
// can get is 0.0, and it becomes normal that many points can have a score of
// 0.0.
//
// When using target (with or without context), the score behaves a little
// different: The integer part of the score represents the rank with respect
// to the context, while the decimal part of the score relates to the
// distance to the target. The context part of the score for each pair is
// calculated +1 if the point is closer to a positive than to a negative part
// of a pair, and -1 otherwise.
Discover(context.Context, *DiscoverPoints) (*DiscoverResponse, error)
// Batch request points based on { positive, negative } pairs of examples, and/or a target
DiscoverBatch(context.Context, *DiscoverBatchPoints) (*DiscoverBatchResponse, error)
// Count points in collection with given filtering conditions
Count(context.Context, *CountPoints) (*CountResponse, error)
// Perform multiple update operations in one request
UpdateBatch(context.Context, *UpdateBatchPoints) (*UpdateBatchResponse, error)
// Universally query points.
// This endpoint covers all capabilities of search, recommend, discover, filters.
// But also enables hybrid and multi-stage queries.
Query(context.Context, *QueryPoints) (*QueryResponse, error)
// Universally query points in a batch fashion.
// This endpoint covers all capabilities of search, recommend, discover, filters.
// But also enables hybrid and multi-stage queries.
QueryBatch(context.Context, *QueryBatchPoints) (*QueryBatchResponse, error)
// Universally query points in a group fashion.
// This endpoint covers all capabilities of search, recommend, discover, filters.
// But also enables hybrid and multi-stage queries.
QueryGroups(context.Context, *QueryPointGroups) (*QueryGroupsResponse, error)
// Perform facet counts.
// For each value in the field, count the number of points that have this
// value and match the conditions.
Facet(context.Context, *FacetCounts) (*FacetResponse, error)
// Compute distance matrix for sampled points with a pair based output format
SearchMatrixPairs(context.Context, *SearchMatrixPoints) (*SearchMatrixPairsResponse, error)
// Compute distance matrix for sampled points with an offset based output format
SearchMatrixOffsets(context.Context, *SearchMatrixPoints) (*SearchMatrixOffsetsResponse, error)
// contains filtered or unexported methods
}
PointsServer is the server API for Points service. All implementations must embed UnimplementedPointsServer for forward compatibility.
type PointsUpdateOperation ¶ 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 NewPointsUpdateClearPayload ¶ added in v1.11.1
func NewPointsUpdateClearPayload(clearPayload *PointsUpdateOperation_ClearPayload) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for clearing payload.
func NewPointsUpdateDeletePayload ¶ added in v1.11.1
func NewPointsUpdateDeletePayload(deletePayload *PointsUpdateOperation_DeletePayload) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for deleting payload fields.
func NewPointsUpdateDeletePoints ¶ added in v1.11.1
func NewPointsUpdateDeletePoints(deletePoints *PointsUpdateOperation_DeletePoints) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for deleting points.
func NewPointsUpdateDeleteVectors ¶ added in v1.11.1
func NewPointsUpdateDeleteVectors(deleteVectors *PointsUpdateOperation_DeleteVectors) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for deleting vectors.
func NewPointsUpdateOverwritePayload ¶ added in v1.11.1
func NewPointsUpdateOverwritePayload(overwritePayload *PointsUpdateOperation_OverwritePayload) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for overwriting payload.
func NewPointsUpdateSetPayload ¶ added in v1.11.1
func NewPointsUpdateSetPayload(setPayload *PointsUpdateOperation_SetPayload) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for setting payload.
func NewPointsUpdateUpdateVectors ¶ added in v1.11.1
func NewPointsUpdateUpdateVectors(updateVectors *PointsUpdateOperation_UpdateVectors) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for updating vectors.
func NewPointsUpdateUpsert ¶ added in v1.11.1
func NewPointsUpdateUpsert(upsert *PointsUpdateOperation_PointStructList) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for upserting points.
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 (x *PointsUpdateOperation) GetClearPayload() *PointsUpdateOperation_ClearPayload
func (*PointsUpdateOperation) GetClearPayloadDeprecated
deprecated
added in
v1.7.0
func (x *PointsUpdateOperation) GetClearPayloadDeprecated() *PointsSelector
Deprecated: Marked as deprecated in points.proto.
func (*PointsUpdateOperation) GetDeleteDeprecated
deprecated
added in
v1.7.0
func (x *PointsUpdateOperation) GetDeleteDeprecated() *PointsSelector
Deprecated: Marked as deprecated in points.proto.
func (*PointsUpdateOperation) GetDeletePayload ¶ added in v1.5.0
func (x *PointsUpdateOperation) GetDeletePayload() *PointsUpdateOperation_DeletePayload
func (*PointsUpdateOperation) GetDeletePoints ¶ added in v1.7.0
func (x *PointsUpdateOperation) GetDeletePoints() *PointsUpdateOperation_DeletePoints
func (*PointsUpdateOperation) GetDeleteVectors ¶ added in v1.5.0
func (x *PointsUpdateOperation) GetDeleteVectors() *PointsUpdateOperation_DeleteVectors
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_OverwritePayload
func (*PointsUpdateOperation) GetSetPayload ¶ added in v1.5.0
func (x *PointsUpdateOperation) GetSetPayload() *PointsUpdateOperation_SetPayload
func (*PointsUpdateOperation) GetUpdateVectors ¶ added in v1.5.0
func (x *PointsUpdateOperation) GetUpdateVectors() *PointsUpdateOperation_UpdateVectors
func (*PointsUpdateOperation) GetUpsert ¶ added in v1.5.0
func (x *PointsUpdateOperation) GetUpsert() *PointsUpdateOperation_PointStructList
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 {
// Affected points
Points *PointsSelector `protobuf:"bytes,1,opt,name=points,proto3" json:"points,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// 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 (x *PointsUpdateOperation_ClearPayload) GetPoints() *PointsSelector
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 (x *PointsUpdateOperation_ClearPayload) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_ClearPayload) Reset ¶ added in v1.7.0
func (x *PointsUpdateOperation_ClearPayload) Reset()
func (*PointsUpdateOperation_ClearPayload) String ¶ added in v1.7.0
func (x *PointsUpdateOperation_ClearPayload) String() string
type PointsUpdateOperation_ClearPayloadDeprecated ¶ added in v1.7.0
type PointsUpdateOperation_ClearPayloadDeprecated struct {
// Deprecated: Marked as deprecated in points.proto.
ClearPayloadDeprecated *PointsSelector `protobuf:"bytes,6,opt,name=clear_payload_deprecated,json=clearPayloadDeprecated,proto3,oneof"`
}
type PointsUpdateOperation_ClearPayload_ ¶ 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: Marked as deprecated in points.proto.
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"`
// Affected points
PointsSelector *PointsSelector `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// 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 (x *PointsUpdateOperation_DeletePayload) GetKeys() []string
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 (x *PointsUpdateOperation_DeletePayload) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_DeletePayload) Reset ¶ added in v1.5.0
func (x *PointsUpdateOperation_DeletePayload) Reset()
func (*PointsUpdateOperation_DeletePayload) String ¶ added in v1.5.0
func (x *PointsUpdateOperation_DeletePayload) String() string
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 {
// Affected points
Points *PointsSelector `protobuf:"bytes,1,opt,name=points,proto3" json:"points,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// 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 (x *PointsUpdateOperation_DeletePoints) GetPoints() *PointsSelector
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 (x *PointsUpdateOperation_DeletePoints) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_DeletePoints) Reset ¶ added in v1.7.0
func (x *PointsUpdateOperation_DeletePoints) Reset()
func (*PointsUpdateOperation_DeletePoints) String ¶ added in v1.7.0
func (x *PointsUpdateOperation_DeletePoints) String() string
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 {
// Affected points
PointsSelector *PointsSelector `protobuf:"bytes,1,opt,name=points_selector,json=pointsSelector,proto3" json:"points_selector,omitempty"`
// List of vector names to delete
Vectors *VectorsSelector `protobuf:"bytes,2,opt,name=vectors,proto3" json:"vectors,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// 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 (x *PointsUpdateOperation_DeleteVectors) GetVectors() *VectorsSelector
func (*PointsUpdateOperation_DeleteVectors) ProtoMessage ¶ added in v1.5.0
func (*PointsUpdateOperation_DeleteVectors) ProtoMessage()
func (*PointsUpdateOperation_DeleteVectors) ProtoReflect ¶ added in v1.5.0
func (x *PointsUpdateOperation_DeleteVectors) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_DeleteVectors) Reset ¶ added in v1.5.0
func (x *PointsUpdateOperation_DeleteVectors) Reset()
func (*PointsUpdateOperation_DeleteVectors) String ¶ added in v1.5.0
func (x *PointsUpdateOperation_DeleteVectors) String() string
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 {
Payload map[string]*Value `` /* 155-byte string literal not displayed */
// Affected points
PointsSelector *PointsSelector `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Option for indicate property of payload
Key *string `protobuf:"bytes,4,opt,name=key,proto3,oneof" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_OverwritePayload) Descriptor
deprecated
added in
v1.10.0
func (*PointsUpdateOperation_OverwritePayload) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_OverwritePayload.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_OverwritePayload) GetKey ¶ added in v1.10.0
func (x *PointsUpdateOperation_OverwritePayload) GetKey() string
func (*PointsUpdateOperation_OverwritePayload) GetPayload ¶ added in v1.10.0
func (x *PointsUpdateOperation_OverwritePayload) GetPayload() map[string]*Value
func (*PointsUpdateOperation_OverwritePayload) GetPointsSelector ¶ added in v1.10.0
func (x *PointsUpdateOperation_OverwritePayload) GetPointsSelector() *PointsSelector
func (*PointsUpdateOperation_OverwritePayload) GetShardKeySelector ¶ added in v1.10.0
func (x *PointsUpdateOperation_OverwritePayload) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_OverwritePayload) ProtoMessage ¶ added in v1.10.0
func (*PointsUpdateOperation_OverwritePayload) ProtoMessage()
func (*PointsUpdateOperation_OverwritePayload) ProtoReflect ¶ added in v1.10.0
func (x *PointsUpdateOperation_OverwritePayload) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_OverwritePayload) Reset ¶ added in v1.10.0
func (x *PointsUpdateOperation_OverwritePayload) Reset()
func (*PointsUpdateOperation_OverwritePayload) String ¶ added in v1.10.0
func (x *PointsUpdateOperation_OverwritePayload) String() string
type PointsUpdateOperation_OverwritePayload_ ¶ added in v1.10.0
type PointsUpdateOperation_OverwritePayload_ struct {
OverwritePayload *PointsUpdateOperation_OverwritePayload `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"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Filter to apply when updating existing points. Only points matching this filter will be updated.
// Points that don't match will keep their current state. New points will be inserted regardless of the filter.
UpdateFilter *Filter `protobuf:"bytes,3,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"`
// Mode of the upsert operation: insert_only, upsert (default), update_only
UpdateMode *UpdateMode `protobuf:"varint,4,opt,name=update_mode,json=updateMode,proto3,enum=qdrant.UpdateMode,oneof" json:"update_mode,omitempty"`
// 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 (x *PointsUpdateOperation_PointStructList) GetPoints() []*PointStruct
func (*PointsUpdateOperation_PointStructList) GetShardKeySelector ¶ added in v1.7.0
func (x *PointsUpdateOperation_PointStructList) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_PointStructList) GetUpdateFilter ¶ added in v1.16.0
func (x *PointsUpdateOperation_PointStructList) GetUpdateFilter() *Filter
func (*PointsUpdateOperation_PointStructList) GetUpdateMode ¶ added in v1.17.0
func (x *PointsUpdateOperation_PointStructList) GetUpdateMode() UpdateMode
func (*PointsUpdateOperation_PointStructList) ProtoMessage ¶ added in v1.5.0
func (*PointsUpdateOperation_PointStructList) ProtoMessage()
func (*PointsUpdateOperation_PointStructList) ProtoReflect ¶ added in v1.5.0
func (x *PointsUpdateOperation_PointStructList) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_PointStructList) Reset ¶ added in v1.5.0
func (x *PointsUpdateOperation_PointStructList) Reset()
func (*PointsUpdateOperation_PointStructList) String ¶ added in v1.5.0
func (x *PointsUpdateOperation_PointStructList) String() string
type PointsUpdateOperation_SetPayload ¶ added in v1.5.0
type PointsUpdateOperation_SetPayload struct {
Payload map[string]*Value `` /* 155-byte string literal not displayed */
// Affected points
PointsSelector *PointsSelector `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Option for indicate property of payload
Key *string `protobuf:"bytes,4,opt,name=key,proto3,oneof" json:"key,omitempty"`
// 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 (x *PointsUpdateOperation_SetPayload) GetKey() string
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 (x *PointsUpdateOperation_SetPayload) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_SetPayload) Reset ¶ added in v1.5.0
func (x *PointsUpdateOperation_SetPayload) Reset()
func (*PointsUpdateOperation_SetPayload) String ¶ added in v1.5.0
func (x *PointsUpdateOperation_SetPayload) String() string
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 {
// List of points and vectors to update
Points []*PointVectors `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// If specified, only points that match this filter will be updated
UpdateFilter *Filter `protobuf:"bytes,3,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"`
// 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 (x *PointsUpdateOperation_UpdateVectors) GetPoints() []*PointVectors
func (*PointsUpdateOperation_UpdateVectors) GetShardKeySelector ¶ added in v1.7.0
func (x *PointsUpdateOperation_UpdateVectors) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_UpdateVectors) GetUpdateFilter ¶ added in v1.16.0
func (x *PointsUpdateOperation_UpdateVectors) GetUpdateFilter() *Filter
func (*PointsUpdateOperation_UpdateVectors) ProtoMessage ¶ added in v1.5.0
func (*PointsUpdateOperation_UpdateVectors) ProtoMessage()
func (*PointsUpdateOperation_UpdateVectors) ProtoReflect ¶ added in v1.5.0
func (x *PointsUpdateOperation_UpdateVectors) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_UpdateVectors) Reset ¶ added in v1.5.0
func (x *PointsUpdateOperation_UpdateVectors) Reset()
func (*PointsUpdateOperation_UpdateVectors) String ¶ added in v1.5.0
func (x *PointsUpdateOperation_UpdateVectors) String() string
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 PowExpression ¶ added in v1.14.0
type PowExpression struct {
Base *Expression `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Exponent *Expression `protobuf:"bytes,2,opt,name=exponent,proto3" json:"exponent,omitempty"`
// contains filtered or unexported fields
}
func (*PowExpression) Descriptor
deprecated
added in
v1.14.0
func (*PowExpression) Descriptor() ([]byte, []int)
Deprecated: Use PowExpression.ProtoReflect.Descriptor instead.
func (*PowExpression) GetBase ¶ added in v1.14.0
func (x *PowExpression) GetBase() *Expression
func (*PowExpression) GetExponent ¶ added in v1.14.0
func (x *PowExpression) GetExponent() *Expression
func (*PowExpression) ProtoMessage ¶ added in v1.14.0
func (*PowExpression) ProtoMessage()
func (*PowExpression) ProtoReflect ¶ added in v1.14.0
func (x *PowExpression) ProtoReflect() protoreflect.Message
func (*PowExpression) Reset ¶ added in v1.14.0
func (x *PowExpression) Reset()
func (*PowExpression) String ¶ added in v1.14.0
func (x *PowExpression) String() string
type PrefetchQuery ¶ added in v1.10.0
type PrefetchQuery struct {
// Sub-requests to perform first.
// If present, the query will be performed on the results of the prefetches.
Prefetch []*PrefetchQuery `protobuf:"bytes,1,rep,name=prefetch,proto3" json:"prefetch,omitempty"`
// Query to perform.
// If missing, returns points ordered by their IDs.
Query *Query `protobuf:"bytes,2,opt,name=query,proto3,oneof" json:"query,omitempty"`
// Define which vector to use for querying.
// If missing, the default vector is used.
Using *string `protobuf:"bytes,3,opt,name=using,proto3,oneof" json:"using,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions.
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// Search params for when there is no prefetch.
Params *SearchParams `protobuf:"bytes,5,opt,name=params,proto3,oneof" json:"params,omitempty"`
// Return points with scores better than this threshold.
ScoreThreshold *float32 `protobuf:"fixed32,6,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`
// Max number of points. Default is 10
Limit *uint64 `protobuf:"varint,7,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// The location to use for IDs lookup.
// If not specified - use the current collection and the 'using' vector.
LookupFrom *LookupLocation `protobuf:"bytes,8,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`
// contains filtered or unexported fields
}
func (*PrefetchQuery) Descriptor
deprecated
added in
v1.10.0
func (*PrefetchQuery) Descriptor() ([]byte, []int)
Deprecated: Use PrefetchQuery.ProtoReflect.Descriptor instead.
func (*PrefetchQuery) GetFilter ¶ added in v1.10.0
func (x *PrefetchQuery) GetFilter() *Filter
func (*PrefetchQuery) GetLimit ¶ added in v1.10.0
func (x *PrefetchQuery) GetLimit() uint64
func (*PrefetchQuery) GetLookupFrom ¶ added in v1.10.0
func (x *PrefetchQuery) GetLookupFrom() *LookupLocation
func (*PrefetchQuery) GetParams ¶ added in v1.10.0
func (x *PrefetchQuery) GetParams() *SearchParams
func (*PrefetchQuery) GetPrefetch ¶ added in v1.10.0
func (x *PrefetchQuery) GetPrefetch() []*PrefetchQuery
func (*PrefetchQuery) GetQuery ¶ added in v1.10.0
func (x *PrefetchQuery) GetQuery() *Query
func (*PrefetchQuery) GetScoreThreshold ¶ added in v1.10.0
func (x *PrefetchQuery) GetScoreThreshold() float32
func (*PrefetchQuery) GetUsing ¶ added in v1.10.0
func (x *PrefetchQuery) GetUsing() string
func (*PrefetchQuery) ProtoMessage ¶ added in v1.10.0
func (*PrefetchQuery) ProtoMessage()
func (*PrefetchQuery) ProtoReflect ¶ added in v1.10.0
func (x *PrefetchQuery) ProtoReflect() protoreflect.Message
func (*PrefetchQuery) Reset ¶ added in v1.10.0
func (x *PrefetchQuery) Reset()
func (*PrefetchQuery) String ¶ added in v1.10.0
func (x *PrefetchQuery) String() string
type ProductQuantization ¶ added in v1.2.0
type ProductQuantization struct {
// Compression ratio
Compression CompressionRatio `protobuf:"varint,1,opt,name=compression,proto3,enum=qdrant.CompressionRatio" json:"compression,omitempty"`
// If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
AlwaysRam *bool `protobuf:"varint,2,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"`
// 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 QdrantError ¶ added in v1.11.1
type QdrantError struct {
// contains filtered or unexported fields
}
func (*QdrantError) Error ¶ added in v1.11.1
func (e *QdrantError) Error() string
Error returns the error as string.
func (*QdrantError) Unwrap ¶ added in v1.11.1
func (e *QdrantError) Unwrap() error
Unwrap returns the inner error.
type QdrantResourceExhaustedError ¶ added in v1.14.0
func (*QdrantResourceExhaustedError) Error ¶ added in v1.14.0
func (e *QdrantResourceExhaustedError) Error() string
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
// *QuantizationConfig_Turboquant
Quantization isQuantizationConfig_Quantization `protobuf_oneof:"quantization"`
// contains filtered or unexported fields
}
func NewQuantizationBinary ¶ added in v1.11.1
func NewQuantizationBinary(binary *BinaryQuantization) *QuantizationConfig
Creates a *QuantizationConfig instance from *BinaryQuantization.
func NewQuantizationProduct ¶ added in v1.11.1
func NewQuantizationProduct(product *ProductQuantization) *QuantizationConfig
Creates a *QuantizationConfig instance from *ProductQuantization.
func NewQuantizationScalar ¶ added in v1.11.1
func NewQuantizationScalar(scalar *ScalarQuantization) *QuantizationConfig
Creates a *QuantizationConfig instance from *ScalarQuantization.
func NewQuantizationTurbo ¶ added in v1.18.0
func NewQuantizationTurbo(turbo *TurboQuantization) *QuantizationConfig
Creates a *QuantizationConfig instance from *TurboQuantization.
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) GetTurboquant ¶ added in v1.18.0
func (x *QuantizationConfig) GetTurboquant() *TurboQuantization
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
// *QuantizationConfigDiff_Turboquant
Quantization isQuantizationConfigDiff_Quantization `protobuf_oneof:"quantization"`
// contains filtered or unexported fields
}
func NewQuantizationDiffBinary ¶ added in v1.11.1
func NewQuantizationDiffBinary(binary *BinaryQuantization) *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance from *BinaryQuantization.
func NewQuantizationDiffDisabled ¶ added in v1.11.1
func NewQuantizationDiffDisabled() *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance with quantization disabled.
func NewQuantizationDiffProduct ¶ added in v1.11.1
func NewQuantizationDiffProduct(product *ProductQuantization) *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance from *ProductQuantization.
func NewQuantizationDiffScalar ¶ added in v1.11.1
func NewQuantizationDiffScalar(scalar *ScalarQuantization) *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance from *ScalarQuantization.
func NewQuantizationDiffTurbo ¶ added in v1.18.0
func NewQuantizationDiffTurbo(turbo *TurboQuantization) *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance from *TurboQuantization.
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 (x *QuantizationConfigDiff) GetBinary() *BinaryQuantization
func (*QuantizationConfigDiff) GetDisabled ¶ added in v1.4.1
func (x *QuantizationConfigDiff) GetDisabled() *Disabled
func (*QuantizationConfigDiff) GetProduct ¶ added in v1.4.1
func (x *QuantizationConfigDiff) GetProduct() *ProductQuantization
func (*QuantizationConfigDiff) GetQuantization ¶ added in v1.4.1
func (m *QuantizationConfigDiff) GetQuantization() isQuantizationConfigDiff_Quantization
func (*QuantizationConfigDiff) GetScalar ¶ added in v1.4.1
func (x *QuantizationConfigDiff) GetScalar() *ScalarQuantization
func (*QuantizationConfigDiff) GetTurboquant ¶ added in v1.18.0
func (x *QuantizationConfigDiff) GetTurboquant() *TurboQuantization
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 QuantizationConfigDiff_Turboquant ¶ added in v1.18.0
type QuantizationConfigDiff_Turboquant struct {
Turboquant *TurboQuantization `protobuf:"bytes,5,opt,name=turboquant,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 QuantizationConfig_Turboquant ¶ added in v1.18.0
type QuantizationConfig_Turboquant struct {
Turboquant *TurboQuantization `protobuf:"bytes,4,opt,name=turboquant,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 preselected 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 preselected 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) Descriptor() protoreflect.EnumDescriptor
func (QuantizationType) Enum ¶ added in v1.1.0
func (x QuantizationType) Enum() *QuantizationType
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 (x QuantizationType) Number() protoreflect.EnumNumber
func (QuantizationType) String ¶ added in v1.1.0
func (x QuantizationType) String() string
func (QuantizationType) Type ¶ added in v1.1.0
func (QuantizationType) Type() protoreflect.EnumType
type Query ¶ added in v1.10.0
type Query struct {
// Types that are assignable to Variant:
//
// *Query_Nearest
// *Query_Recommend
// *Query_Discover
// *Query_Context
// *Query_OrderBy
// *Query_Fusion
// *Query_Sample
// *Query_Formula
// *Query_NearestWithMmr
// *Query_Rrf
// *Query_RelevanceFeedback
Variant isQuery_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewQuery ¶ added in v1.11.1
Creates a *Query instance for a nearest query from dense vectors. This is an alias for NewQueryDense().
func NewQueryContext ¶ added in v1.11.1
func NewQueryContext(context *ContextInput) *Query
Creates a *Query instance for a context query from *ContextInput.
func NewQueryDense ¶ added in v1.11.1
Creates a *Query instance for a nearest query from dense vectors.
func NewQueryDiscover ¶ added in v1.11.1
func NewQueryDiscover(discover *DiscoverInput) *Query
Creates a *Query instance for a discover query from *DiscoverInput.
func NewQueryDocument ¶ added in v1.16.0
Creates a *Query instance for a nearest query from a *Document input.
func NewQueryFormula ¶ added in v1.14.0
Creates a *Query instance for score boosting via an arbitrary formula.
func NewQueryFusion ¶ added in v1.11.1
Creeates a *Query instance for combining prefetch results with Fusion.
func NewQueryID ¶ added in v1.11.1
Creates a *Query instance for a nearest query from *PointId.
func NewQueryMMR ¶ added in v1.15.1
func NewQueryMMR(nearest *VectorInput, mmr *Mmr) *Query
Creates a *Query instance for re-ranking points with MMR (Maximal Marginal Relevance).
func NewQueryMulti ¶ added in v1.11.1
Creates a *Query instance for a nearest query from multi vectors.
func NewQueryNearest ¶ added in v1.11.1
func NewQueryNearest(nearest *VectorInput) *Query
Creates a *Query instance for a nearest query from *VectorInput.
func NewQueryOrderBy ¶ added in v1.11.1
Creates a *Query instance for ordering points with *OrderBy.
func NewQueryRRF ¶ added in v1.16.0
Creates a *Query instance for combining prefetch results with RRF (Reciprocal Rank Fusion).
func NewQueryRecommend ¶ added in v1.11.1
func NewQueryRecommend(recommend *RecommendInput) *Query
Creates a *Query instance for recommend query from *RecommendInput.
func NewQueryRelevanceFeedback ¶ added in v1.17.0
func NewQueryRelevanceFeedback(relevanceFeedback *RelevanceFeedbackInput) *Query
Creates a *Query instance for search with feedback from some oracle.
func NewQuerySample ¶ added in v1.11.1
Creates a *Query instance for sampling points.
func NewQuerySparse ¶ added in v1.11.1
Creates a *Query instance for a nearest query from sparse vectors.
func (*Query) Descriptor
deprecated
added in
v1.10.0
func (*Query) GetContext ¶ added in v1.10.0
func (x *Query) GetContext() *ContextInput
func (*Query) GetDiscover ¶ added in v1.10.0
func (x *Query) GetDiscover() *DiscoverInput
func (*Query) GetFormula ¶ added in v1.14.0
func (*Query) GetNearest ¶ added in v1.10.0
func (x *Query) GetNearest() *VectorInput
func (*Query) GetNearestWithMmr ¶ added in v1.15.0
func (x *Query) GetNearestWithMmr() *NearestInputWithMmr
func (*Query) GetOrderBy ¶ added in v1.10.0
func (*Query) GetRecommend ¶ added in v1.10.0
func (x *Query) GetRecommend() *RecommendInput
func (*Query) GetRelevanceFeedback ¶ added in v1.17.0
func (x *Query) GetRelevanceFeedback() *RelevanceFeedbackInput
func (*Query) GetVariant ¶ added in v1.10.0
func (m *Query) GetVariant() isQuery_Variant
func (*Query) ProtoMessage ¶ added in v1.10.0
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶ added in v1.10.0
func (x *Query) ProtoReflect() protoreflect.Message
type QueryBatchPoints ¶ added in v1.10.0
type QueryBatchPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
QueryPoints []*QueryPoints `protobuf:"bytes,2,rep,name=query_points,json=queryPoints,proto3" json:"query_points,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func (*QueryBatchPoints) Descriptor
deprecated
added in
v1.10.0
func (*QueryBatchPoints) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchPoints.ProtoReflect.Descriptor instead.
func (*QueryBatchPoints) GetCollectionName ¶ added in v1.10.0
func (x *QueryBatchPoints) GetCollectionName() string
func (*QueryBatchPoints) GetQueryPoints ¶ added in v1.10.0
func (x *QueryBatchPoints) GetQueryPoints() []*QueryPoints
func (*QueryBatchPoints) GetReadConsistency ¶ added in v1.10.0
func (x *QueryBatchPoints) GetReadConsistency() *ReadConsistency
func (*QueryBatchPoints) GetTimeout ¶ added in v1.10.0
func (x *QueryBatchPoints) GetTimeout() uint64
func (*QueryBatchPoints) ProtoMessage ¶ added in v1.10.0
func (*QueryBatchPoints) ProtoMessage()
func (*QueryBatchPoints) ProtoReflect ¶ added in v1.10.0
func (x *QueryBatchPoints) ProtoReflect() protoreflect.Message
func (*QueryBatchPoints) Reset ¶ added in v1.10.0
func (x *QueryBatchPoints) Reset()
func (*QueryBatchPoints) String ¶ added in v1.10.0
func (x *QueryBatchPoints) String() string
type QueryBatchResponse ¶ added in v1.10.0
type QueryBatchResponse struct {
Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*QueryBatchResponse) Descriptor
deprecated
added in
v1.10.0
func (*QueryBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchResponse.ProtoReflect.Descriptor instead.
func (*QueryBatchResponse) GetResult ¶ added in v1.10.0
func (x *QueryBatchResponse) GetResult() []*BatchResult
func (*QueryBatchResponse) GetTime ¶ added in v1.10.0
func (x *QueryBatchResponse) GetTime() float64
func (*QueryBatchResponse) GetUsage ¶ added in v1.13.0
func (x *QueryBatchResponse) GetUsage() *Usage
func (*QueryBatchResponse) ProtoMessage ¶ added in v1.10.0
func (*QueryBatchResponse) ProtoMessage()
func (*QueryBatchResponse) ProtoReflect ¶ added in v1.10.0
func (x *QueryBatchResponse) ProtoReflect() protoreflect.Message
func (*QueryBatchResponse) Reset ¶ added in v1.10.0
func (x *QueryBatchResponse) Reset()
func (*QueryBatchResponse) String ¶ added in v1.10.0
func (x *QueryBatchResponse) String() string
type QueryGroupsResponse ¶ added in v1.11.0
type QueryGroupsResponse struct {
Result *GroupsResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGroupsResponse) Descriptor
deprecated
added in
v1.11.0
func (*QueryGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGroupsResponse.ProtoReflect.Descriptor instead.
func (*QueryGroupsResponse) GetResult ¶ added in v1.11.0
func (x *QueryGroupsResponse) GetResult() *GroupsResult
func (*QueryGroupsResponse) GetTime ¶ added in v1.11.0
func (x *QueryGroupsResponse) GetTime() float64
func (*QueryGroupsResponse) GetUsage ¶ added in v1.13.0
func (x *QueryGroupsResponse) GetUsage() *Usage
func (*QueryGroupsResponse) ProtoMessage ¶ added in v1.11.0
func (*QueryGroupsResponse) ProtoMessage()
func (*QueryGroupsResponse) ProtoReflect ¶ added in v1.11.0
func (x *QueryGroupsResponse) ProtoReflect() protoreflect.Message
func (*QueryGroupsResponse) Reset ¶ added in v1.11.0
func (x *QueryGroupsResponse) Reset()
func (*QueryGroupsResponse) String ¶ added in v1.11.0
func (x *QueryGroupsResponse) String() string
type QueryPointGroups ¶ added in v1.11.0
type QueryPointGroups struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Sub-requests to perform first.
// If present, the query will be performed on the results of the prefetches.
Prefetch []*PrefetchQuery `protobuf:"bytes,2,rep,name=prefetch,proto3" json:"prefetch,omitempty"`
// Query to perform. If missing, returns points ordered by their IDs.
Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof" json:"query,omitempty"`
// Define which vector to use for querying.
// If missing, the default vector is used.
Using *string `protobuf:"bytes,4,opt,name=using,proto3,oneof" json:"using,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions.
Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// Search params for when there is no prefetch.
Params *SearchParams `protobuf:"bytes,6,opt,name=params,proto3,oneof" json:"params,omitempty"`
// Return points with scores better than this threshold.
ScoreThreshold *float32 `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`
// Options for specifying which payload to include or not
WithPayload *WithPayloadSelector `protobuf:"bytes,8,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`
// Options for specifying which vectors to include into response
WithVectors *WithVectorsSelector `protobuf:"bytes,9,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// The location to use for IDs lookup.
// If not specified - use the current collection and the 'using' vector.
LookupFrom *LookupLocation `protobuf:"bytes,10,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`
// Max number of points. Default is 3.
Limit *uint64 `protobuf:"varint,11,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// Maximum amount of points to return per group. Defaults to 10.
GroupSize *uint64 `protobuf:"varint,12,opt,name=group_size,json=groupSize,proto3,oneof" json:"group_size,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.
GroupBy string `protobuf:"bytes,13,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Options for specifying how to use the group id to lookup points in another collection
WithLookup *WithLookup `protobuf:"bytes,15,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,16,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,17,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// contains filtered or unexported fields
}
func (*QueryPointGroups) Descriptor
deprecated
added in
v1.11.0
func (*QueryPointGroups) Descriptor() ([]byte, []int)
Deprecated: Use QueryPointGroups.ProtoReflect.Descriptor instead.
func (*QueryPointGroups) GetCollectionName ¶ added in v1.11.0
func (x *QueryPointGroups) GetCollectionName() string
func (*QueryPointGroups) GetFilter ¶ added in v1.11.0
func (x *QueryPointGroups) GetFilter() *Filter
func (*QueryPointGroups) GetGroupBy ¶ added in v1.11.0
func (x *QueryPointGroups) GetGroupBy() string
func (*QueryPointGroups) GetGroupSize ¶ added in v1.11.0
func (x *QueryPointGroups) GetGroupSize() uint64
func (*QueryPointGroups) GetLimit ¶ added in v1.11.0
func (x *QueryPointGroups) GetLimit() uint64
func (*QueryPointGroups) GetLookupFrom ¶ added in v1.11.0
func (x *QueryPointGroups) GetLookupFrom() *LookupLocation
func (*QueryPointGroups) GetParams ¶ added in v1.11.0
func (x *QueryPointGroups) GetParams() *SearchParams
func (*QueryPointGroups) GetPrefetch ¶ added in v1.11.0
func (x *QueryPointGroups) GetPrefetch() []*PrefetchQuery
func (*QueryPointGroups) GetQuery ¶ added in v1.11.0
func (x *QueryPointGroups) GetQuery() *Query
func (*QueryPointGroups) GetReadConsistency ¶ added in v1.11.0
func (x *QueryPointGroups) GetReadConsistency() *ReadConsistency
func (*QueryPointGroups) GetScoreThreshold ¶ added in v1.11.0
func (x *QueryPointGroups) GetScoreThreshold() float32
func (*QueryPointGroups) GetShardKeySelector ¶ added in v1.11.0
func (x *QueryPointGroups) GetShardKeySelector() *ShardKeySelector
func (*QueryPointGroups) GetTimeout ¶ added in v1.11.0
func (x *QueryPointGroups) GetTimeout() uint64
func (*QueryPointGroups) GetUsing ¶ added in v1.11.0
func (x *QueryPointGroups) GetUsing() string
func (*QueryPointGroups) GetWithLookup ¶ added in v1.11.0
func (x *QueryPointGroups) GetWithLookup() *WithLookup
func (*QueryPointGroups) GetWithPayload ¶ added in v1.11.0
func (x *QueryPointGroups) GetWithPayload() *WithPayloadSelector
func (*QueryPointGroups) GetWithVectors ¶ added in v1.11.0
func (x *QueryPointGroups) GetWithVectors() *WithVectorsSelector
func (*QueryPointGroups) ProtoMessage ¶ added in v1.11.0
func (*QueryPointGroups) ProtoMessage()
func (*QueryPointGroups) ProtoReflect ¶ added in v1.11.0
func (x *QueryPointGroups) ProtoReflect() protoreflect.Message
func (*QueryPointGroups) Reset ¶ added in v1.11.0
func (x *QueryPointGroups) Reset()
func (*QueryPointGroups) String ¶ added in v1.11.0
func (x *QueryPointGroups) String() string
type QueryPoints ¶ added in v1.10.0
type QueryPoints struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Sub-requests to perform first.
// If present, the query will be performed on the results of the prefetches.
Prefetch []*PrefetchQuery `protobuf:"bytes,2,rep,name=prefetch,proto3" json:"prefetch,omitempty"`
// Query to perform. If missing, returns points ordered by their IDs.
Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof" json:"query,omitempty"`
// Define which vector to use for querying.
// If missing, the default vector is used.
Using *string `protobuf:"bytes,4,opt,name=using,proto3,oneof" json:"using,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions.
Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// Search params for when there is no prefetch.
Params *SearchParams `protobuf:"bytes,6,opt,name=params,proto3,oneof" json:"params,omitempty"`
// Return points with scores better than this threshold.
ScoreThreshold *float32 `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`
// Max number of points. Default is 10.
Limit *uint64 `protobuf:"varint,8,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// Offset of the result. Skip this many points. Default is 0.
Offset *uint64 `protobuf:"varint,9,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// Options for specifying which vectors to include into the response.
WithVectors *WithVectorsSelector `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// Options for specifying which payload to include or not.
WithPayload *WithPayloadSelector `protobuf:"bytes,11,opt,name=with_payload,json=withPayload,proto3,oneof" json:"with_payload,omitempty"`
// Options for specifying read consistency guarantees.
ReadConsistency *ReadConsistency `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Specify in which shards to look for the points.
// If not specified - look in all shards.
ShardKeySelector *ShardKeySelector `protobuf:"bytes,13,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// The location to use for IDs lookup.
// If not specified - use the current collection and the 'using' vector.
LookupFrom *LookupLocation `protobuf:"bytes,14,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,15,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func (*QueryPoints) Descriptor
deprecated
added in
v1.10.0
func (*QueryPoints) Descriptor() ([]byte, []int)
Deprecated: Use QueryPoints.ProtoReflect.Descriptor instead.
func (*QueryPoints) GetCollectionName ¶ added in v1.10.0
func (x *QueryPoints) GetCollectionName() string
func (*QueryPoints) GetFilter ¶ added in v1.10.0
func (x *QueryPoints) GetFilter() *Filter
func (*QueryPoints) GetLimit ¶ added in v1.10.0
func (x *QueryPoints) GetLimit() uint64
func (*QueryPoints) GetLookupFrom ¶ added in v1.10.0
func (x *QueryPoints) GetLookupFrom() *LookupLocation
func (*QueryPoints) GetOffset ¶ added in v1.10.0
func (x *QueryPoints) GetOffset() uint64
func (*QueryPoints) GetParams ¶ added in v1.10.0
func (x *QueryPoints) GetParams() *SearchParams
func (*QueryPoints) GetPrefetch ¶ added in v1.10.0
func (x *QueryPoints) GetPrefetch() []*PrefetchQuery
func (*QueryPoints) GetQuery ¶ added in v1.10.0
func (x *QueryPoints) GetQuery() *Query
func (*QueryPoints) GetReadConsistency ¶ added in v1.10.0
func (x *QueryPoints) GetReadConsistency() *ReadConsistency
func (*QueryPoints) GetScoreThreshold ¶ added in v1.10.0
func (x *QueryPoints) GetScoreThreshold() float32
func (*QueryPoints) GetShardKeySelector ¶ added in v1.10.0
func (x *QueryPoints) GetShardKeySelector() *ShardKeySelector
func (*QueryPoints) GetTimeout ¶ added in v1.10.0
func (x *QueryPoints) GetTimeout() uint64
func (*QueryPoints) GetUsing ¶ added in v1.10.0
func (x *QueryPoints) GetUsing() string
func (*QueryPoints) GetWithPayload ¶ added in v1.10.0
func (x *QueryPoints) GetWithPayload() *WithPayloadSelector
func (*QueryPoints) GetWithVectors ¶ added in v1.10.0
func (x *QueryPoints) GetWithVectors() *WithVectorsSelector
func (*QueryPoints) ProtoMessage ¶ added in v1.10.0
func (*QueryPoints) ProtoMessage()
func (*QueryPoints) ProtoReflect ¶ added in v1.10.0
func (x *QueryPoints) ProtoReflect() protoreflect.Message
func (*QueryPoints) Reset ¶ added in v1.10.0
func (x *QueryPoints) Reset()
func (*QueryPoints) String ¶ added in v1.10.0
func (x *QueryPoints) String() string
type QueryResponse ¶ added in v1.10.0
type QueryResponse struct {
Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*QueryResponse) Descriptor
deprecated
added in
v1.10.0
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetResult ¶ added in v1.10.0
func (x *QueryResponse) GetResult() []*ScoredPoint
func (*QueryResponse) GetTime ¶ added in v1.10.0
func (x *QueryResponse) GetTime() float64
func (*QueryResponse) GetUsage ¶ added in v1.13.0
func (x *QueryResponse) GetUsage() *Usage
func (*QueryResponse) ProtoMessage ¶ added in v1.10.0
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶ added in v1.10.0
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶ added in v1.10.0
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶ added in v1.10.0
func (x *QueryResponse) String() string
type Query_Context ¶ added in v1.10.0
type Query_Context struct {
// Return points that live in positive areas.
Context *ContextInput `protobuf:"bytes,4,opt,name=context,proto3,oneof"`
}
type Query_Discover ¶ added in v1.10.0
type Query_Discover struct {
// Search for nearest points, but constrain the search space with context
Discover *DiscoverInput `protobuf:"bytes,3,opt,name=discover,proto3,oneof"`
}
type Query_Formula ¶ added in v1.14.0
type Query_Formula struct {
// Score boosting via an arbitrary formula
Formula *Formula `protobuf:"bytes,8,opt,name=formula,proto3,oneof"`
}
type Query_Fusion ¶ added in v1.10.0
type Query_Fusion struct {
// Fuse the results of multiple prefetches.
Fusion Fusion `protobuf:"varint,6,opt,name=fusion,proto3,enum=qdrant.Fusion,oneof"`
}
type Query_Nearest ¶ added in v1.10.0
type Query_Nearest struct {
// Find the nearest neighbors to this vector.
Nearest *VectorInput `protobuf:"bytes,1,opt,name=nearest,proto3,oneof"`
}
type Query_NearestWithMmr ¶ added in v1.15.0
type Query_NearestWithMmr struct {
// Search nearest neighbors, but re-rank based on the Maximal Marginal Relevance algorithm.
NearestWithMmr *NearestInputWithMmr `protobuf:"bytes,9,opt,name=nearest_with_mmr,json=nearestWithMmr,proto3,oneof"`
}
type Query_OrderBy ¶ added in v1.10.0
type Query_OrderBy struct {
// Order the points by a payload field.
OrderBy *OrderBy `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3,oneof"`
}
type Query_Recommend ¶ added in v1.10.0
type Query_Recommend struct {
// Use multiple positive and negative vectors to find the results.
Recommend *RecommendInput `protobuf:"bytes,2,opt,name=recommend,proto3,oneof"`
}
type Query_RelevanceFeedback ¶ added in v1.17.0
type Query_RelevanceFeedback struct {
// Search with feedback from some oracle.
RelevanceFeedback *RelevanceFeedbackInput `protobuf:"bytes,11,opt,name=relevance_feedback,json=relevanceFeedback,proto3,oneof"`
}
type Query_Rrf ¶ added in v1.16.0
type Query_Rrf struct {
// Parameterized reciprocal rank fusion
Rrf *Rrf `protobuf:"bytes,10,opt,name=rrf,proto3,oneof"`
}
type Query_Sample ¶ added in v1.11.0
type Query_Sample struct {
// Sample points from the collection.
Sample Sample `protobuf:"varint,7,opt,name=sample,proto3,enum=qdrant.Sample,oneof"`
}
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) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
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 NewReadConsistency ¶ added in v1.11.1
func NewReadConsistency(readConsistencyType ReadConsistencyType) *ReadConsistency
Creates a *ReadConsistency instance from a ReadConsistencyType. This is an alias for NewReadConsistencyType().
func NewReadConsistencyFactor ¶ added in v1.11.1
func NewReadConsistencyFactor(readConsistencyFactor uint64) *ReadConsistency
Creates a *ReadConsistency instance from a factor in uint64.
func NewReadConsistencyType ¶ added in v1.11.1
func NewReadConsistencyType(readConsistencyType ReadConsistencyType) *ReadConsistency
Creates a *ReadConsistency instance from a ReadConsistencyType.
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 ( // Send request to all nodes and return points which are present on all of them ReadConsistencyType_All ReadConsistencyType = 0 // Send requests to all nodes and return points which are present on majority of them ReadConsistencyType_Majority ReadConsistencyType = 1 // Send requests to half + 1 nodes, return points which are present on all of them ReadConsistencyType_Quorum ReadConsistencyType = 2 )
func (ReadConsistencyType) Descriptor ¶ added in v1.0.0
func (ReadConsistencyType) Descriptor() protoreflect.EnumDescriptor
func (ReadConsistencyType) Enum ¶ added in v1.0.0
func (x ReadConsistencyType) Enum() *ReadConsistencyType
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 (x ReadConsistencyType) Number() protoreflect.EnumNumber
func (ReadConsistencyType) String ¶ added in v1.0.0
func (x ReadConsistencyType) String() string
func (ReadConsistencyType) Type ¶ added in v1.0.0
func (ReadConsistencyType) Type() protoreflect.EnumType
type ReadConsistency_Factor ¶ added in v1.0.0
type ReadConsistency_Factor struct {
// Send request to a specified number of nodes,
// and return points which are present on all of them
Factor uint64 `protobuf:"varint,2,opt,name=factor,proto3,oneof"`
}
type ReadConsistency_Type ¶ added in v1.0.0
type ReadConsistency_Type struct {
// Common read consistency configurations
Type ReadConsistencyType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.ReadConsistencyType,oneof"`
}
type RecommendBatchPoints ¶ added in v0.10.0
type RecommendBatchPoints struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
RecommendPoints []*RecommendPoints `protobuf:"bytes,2,rep,name=recommend_points,json=recommendPoints,proto3" json:"recommend_points,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// 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) GetUsage ¶ added in v1.13.0
func (x *RecommendBatchResponse) GetUsage() *Usage
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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// 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) GetUsage ¶ added in v1.13.0
func (x *RecommendGroupsResponse) GetUsage() *Usage
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 RecommendInput ¶ added in v1.10.0
type RecommendInput struct {
// Look for vectors closest to the vectors from these points
Positive []*VectorInput `protobuf:"bytes,1,rep,name=positive,proto3" json:"positive,omitempty"`
// Try to avoid vectors like the vector from these points
Negative []*VectorInput `protobuf:"bytes,2,rep,name=negative,proto3" json:"negative,omitempty"`
// How to use the provided vectors to find the results
Strategy *RecommendStrategy `protobuf:"varint,3,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"`
// contains filtered or unexported fields
}
func (*RecommendInput) Descriptor
deprecated
added in
v1.10.0
func (*RecommendInput) Descriptor() ([]byte, []int)
Deprecated: Use RecommendInput.ProtoReflect.Descriptor instead.
func (*RecommendInput) GetNegative ¶ added in v1.10.0
func (x *RecommendInput) GetNegative() []*VectorInput
func (*RecommendInput) GetPositive ¶ added in v1.10.0
func (x *RecommendInput) GetPositive() []*VectorInput
func (*RecommendInput) GetStrategy ¶ added in v1.10.0
func (x *RecommendInput) GetStrategy() RecommendStrategy
func (*RecommendInput) ProtoMessage ¶ added in v1.10.0
func (*RecommendInput) ProtoMessage()
func (*RecommendInput) ProtoReflect ¶ added in v1.10.0
func (x *RecommendInput) ProtoReflect() protoreflect.Message
func (*RecommendInput) Reset ¶ added in v1.10.0
func (x *RecommendInput) Reset()
func (*RecommendInput) String ¶ added in v1.10.0
func (x *RecommendInput) String() string
type RecommendPointGroups ¶ added in v1.2.0
type RecommendPointGroups struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Look for vectors closest to the vectors from these points
Positive []*PointId `protobuf:"bytes,2,rep,name=positive,proto3" json:"positive,omitempty"`
// Try to avoid vectors like the vector from these points
Negative []*PointId `protobuf:"bytes,3,rep,name=negative,proto3" json:"negative,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Max number of groups in result
Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
// Options for specifying which payload to include or not
WithPayload *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`
// Search config
Params *SearchParams `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"`
// If provided - cut off results with worse scores
ScoreThreshold *float32 `protobuf:"fixed32,8,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`
// Define which vector to use for recommendation, if not specified - default vector
Using *string `protobuf:"bytes,9,opt,name=using,proto3,oneof" json:"using,omitempty"`
// Options for specifying which vectors to include into response
WithVectors *WithVectorsSelector `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// Name of the collection to use for points lookup, if not specified - use current collection
LookupFrom *LookupLocation `protobuf:"bytes,11,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,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.
GroupBy string `protobuf:"bytes,12,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
// Maximum amount of points to return per group
GroupSize uint32 `protobuf:"varint,13,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Options for specifying how to use the group id to lookup points in another collection
WithLookup *WithLookup `protobuf:"bytes,15,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"`
// How to use the example vectors to find the results
Strategy *RecommendStrategy `protobuf:"varint,17,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"`
// Look for vectors closest to those
PositiveVectors []*Vector `protobuf:"bytes,18,rep,name=positive_vectors,json=positiveVectors,proto3" json:"positive_vectors,omitempty"`
// Try to avoid vectors like this
NegativeVectors []*Vector `protobuf:"bytes,19,rep,name=negative_vectors,json=negativeVectors,proto3" json:"negative_vectors,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,20,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,21,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// 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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Look for vectors closest to the vectors from these points
Positive []*PointId `protobuf:"bytes,2,rep,name=positive,proto3" json:"positive,omitempty"`
// Try to avoid vectors like the vector from these points
Negative []*PointId `protobuf:"bytes,3,rep,name=negative,proto3" json:"negative,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"`
// Max number of result
Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"`
// Options for specifying which payload to include or not
WithPayload *WithPayloadSelector `protobuf:"bytes,7,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`
// Search config
Params *SearchParams `protobuf:"bytes,8,opt,name=params,proto3" json:"params,omitempty"`
// If provided - cut off results with worse scores
ScoreThreshold *float32 `protobuf:"fixed32,9,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`
// Offset of the result
Offset *uint64 `protobuf:"varint,10,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// Define which vector to use for recommendation, if not specified - default vector
Using *string `protobuf:"bytes,11,opt,name=using,proto3,oneof" json:"using,omitempty"`
// Options for specifying which vectors to include into response
WithVectors *WithVectorsSelector `protobuf:"bytes,12,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// Name of the collection to use for points lookup, if not specified - use current collection
LookupFrom *LookupLocation `protobuf:"bytes,13,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// How to use the example vectors to find the results
Strategy *RecommendStrategy `protobuf:"varint,16,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"`
// Look for vectors closest to those
PositiveVectors []*Vector `protobuf:"bytes,17,rep,name=positive_vectors,json=positiveVectors,proto3" json:"positive_vectors,omitempty"`
// Try to avoid vectors like this
NegativeVectors []*Vector `protobuf:"bytes,18,rep,name=negative_vectors,json=negativeVectors,proto3" json:"negative_vectors,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,19,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,20,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*RecommendResponse) Descriptor
deprecated
func (*RecommendResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecommendResponse.ProtoReflect.Descriptor instead.
func (*RecommendResponse) GetResult ¶
func (x *RecommendResponse) GetResult() []*ScoredPoint
func (*RecommendResponse) GetTime ¶
func (x *RecommendResponse) GetTime() float64
func (*RecommendResponse) GetUsage ¶ added in v1.13.0
func (x *RecommendResponse) GetUsage() *Usage
func (*RecommendResponse) ProtoMessage ¶
func (*RecommendResponse) ProtoMessage()
func (*RecommendResponse) ProtoReflect ¶
func (x *RecommendResponse) ProtoReflect() protoreflect.Message
func (*RecommendResponse) Reset ¶
func (x *RecommendResponse) Reset()
func (*RecommendResponse) String ¶
func (x *RecommendResponse) String() string
type RecommendStrategy ¶ 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 // Uses custom search objective. Compares against all inputs, sums all the scores. // Scores against positive vectors are added, against negatives are subtracted. RecommendStrategy_SumScores RecommendStrategy = 2 )
func (RecommendStrategy) Descriptor ¶ added in v1.6.0
func (RecommendStrategy) Descriptor() protoreflect.EnumDescriptor
func (RecommendStrategy) Enum ¶ added in v1.6.0
func (x RecommendStrategy) Enum() *RecommendStrategy
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 (x RecommendStrategy) Number() protoreflect.EnumNumber
func (RecommendStrategy) String ¶ added in v1.6.0
func (x RecommendStrategy) String() string
func (RecommendStrategy) Type ¶ added in v1.6.0
func (RecommendStrategy) Type() protoreflect.EnumType
type RelevanceFeedbackInput ¶ added in v1.17.0
type RelevanceFeedbackInput struct {
// The original query vector
Target *VectorInput `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"`
// Previous results scored by the feedback provider.
Feedback []*FeedbackItem `protobuf:"bytes,2,rep,name=feedback,proto3" json:"feedback,omitempty"`
// Formula and trained coefficients to use.
Strategy *FeedbackStrategy `protobuf:"bytes,3,opt,name=strategy,proto3" json:"strategy,omitempty"`
// contains filtered or unexported fields
}
func (*RelevanceFeedbackInput) Descriptor
deprecated
added in
v1.17.0
func (*RelevanceFeedbackInput) Descriptor() ([]byte, []int)
Deprecated: Use RelevanceFeedbackInput.ProtoReflect.Descriptor instead.
func (*RelevanceFeedbackInput) GetFeedback ¶ added in v1.17.0
func (x *RelevanceFeedbackInput) GetFeedback() []*FeedbackItem
func (*RelevanceFeedbackInput) GetStrategy ¶ added in v1.17.0
func (x *RelevanceFeedbackInput) GetStrategy() *FeedbackStrategy
func (*RelevanceFeedbackInput) GetTarget ¶ added in v1.17.0
func (x *RelevanceFeedbackInput) GetTarget() *VectorInput
func (*RelevanceFeedbackInput) ProtoMessage ¶ added in v1.17.0
func (*RelevanceFeedbackInput) ProtoMessage()
func (*RelevanceFeedbackInput) ProtoReflect ¶ added in v1.17.0
func (x *RelevanceFeedbackInput) ProtoReflect() protoreflect.Message
func (*RelevanceFeedbackInput) Reset ¶ added in v1.17.0
func (x *RelevanceFeedbackInput) Reset()
func (*RelevanceFeedbackInput) String ¶ added in v1.17.0
func (x *RelevanceFeedbackInput) String() string
type RemoteShardInfo ¶ added in v1.2.0
type RemoteShardInfo struct {
// Local shard id
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
// Remote peer id
PeerId uint64 `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// Is replica active
State ReplicaState `protobuf:"varint,3,opt,name=state,proto3,enum=qdrant.ReplicaState" json:"state,omitempty"`
// User-defined shard key
ShardKey *ShardKey `protobuf:"bytes,4,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`
// 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 {
// Name of the alias to rename
OldAliasName string `protobuf:"bytes,1,opt,name=old_alias_name,json=oldAliasName,proto3" json:"old_alias_name,omitempty"`
// Name of the alias
NewAliasName string `protobuf:"bytes,2,opt,name=new_alias_name,json=newAliasName,proto3" json:"new_alias_name,omitempty"`
// 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) GetShardId ¶ added in v1.2.0
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
type ReplicaState ¶ added in v1.2.0
type ReplicaState int32
const ( // Active and sound ReplicaState_Active ReplicaState = 0 // Failed for some reason ReplicaState_Dead ReplicaState = 1 // The shard is partially loaded and is currently receiving data from other shards ReplicaState_Partial ReplicaState = 2 // Collection is being created ReplicaState_Initializing ReplicaState = 3 // A shard which receives data, but is not used for search. // Useful for backup shards. ReplicaState_Listener ReplicaState = 4 // Deprecated: snapshot shard transfer is in progress. // Updates should not be sent to (and are ignored by) the shard. ReplicaState_PartialSnapshot ReplicaState = 5 // Shard is undergoing recovery by an external node. // Normally rejects updates, accepts updates if force is true. ReplicaState_Recovery ReplicaState = 6 // Points are being migrated to this shard as part of scale-up resharding ReplicaState_Resharding ReplicaState = 7 // Points are being migrated to this shard as part of scale-down resharding ReplicaState_ReshardingScaleDown ReplicaState = 8 // Active for readers, Partial for writers ReplicaState_ActiveRead ReplicaState = 9 // State for manually creation/recovery of a shard. // Usually when snapshot is uploaded. // This state is equivalent to `Partial`, except: // - it can't receive updates // - it is not treated as broken on startup ReplicaState_ManualRecovery ReplicaState = 10 )
func (ReplicaState) Descriptor ¶ added in v1.2.0
func (ReplicaState) Descriptor() protoreflect.EnumDescriptor
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 (x ReplicaState) Number() protoreflect.EnumNumber
func (ReplicaState) String ¶ added in v1.2.0
func (x ReplicaState) String() string
func (ReplicaState) Type ¶ added in v1.2.0
func (ReplicaState) Type() protoreflect.EnumType
type ReplicatePoints ¶ added in v1.16.0
type ReplicatePoints struct {
// Source shard key
FromShardKey *ShardKey `protobuf:"bytes,1,opt,name=from_shard_key,json=fromShardKey,proto3" json:"from_shard_key,omitempty"`
// Target shard key
ToShardKey *ShardKey `protobuf:"bytes,2,opt,name=to_shard_key,json=toShardKey,proto3" json:"to_shard_key,omitempty"`
// If set - only points matching the filter will be replicated
Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// contains filtered or unexported fields
}
func (*ReplicatePoints) Descriptor
deprecated
added in
v1.16.0
func (*ReplicatePoints) Descriptor() ([]byte, []int)
Deprecated: Use ReplicatePoints.ProtoReflect.Descriptor instead.
func (*ReplicatePoints) GetFilter ¶ added in v1.16.0
func (x *ReplicatePoints) GetFilter() *Filter
func (*ReplicatePoints) GetFromShardKey ¶ added in v1.16.0
func (x *ReplicatePoints) GetFromShardKey() *ShardKey
func (*ReplicatePoints) GetToShardKey ¶ added in v1.16.0
func (x *ReplicatePoints) GetToShardKey() *ShardKey
func (*ReplicatePoints) ProtoMessage ¶ added in v1.16.0
func (*ReplicatePoints) ProtoMessage()
func (*ReplicatePoints) ProtoReflect ¶ added in v1.16.0
func (x *ReplicatePoints) ProtoReflect() protoreflect.Message
func (*ReplicatePoints) Reset ¶ added in v1.16.0
func (x *ReplicatePoints) Reset()
func (*ReplicatePoints) String ¶ added in v1.16.0
func (x *ReplicatePoints) String() string
type ReplicateShard ¶ added in v1.10.0
type ReplicateShard struct {
// Local shard id
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
Method *ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod,oneof" json:"method,omitempty"`
// contains filtered or unexported fields
}
func (*ReplicateShard) Descriptor
deprecated
added in
v1.10.0
func (*ReplicateShard) Descriptor() ([]byte, []int)
Deprecated: Use ReplicateShard.ProtoReflect.Descriptor instead.
func (*ReplicateShard) GetFromPeerId ¶ added in v1.10.0
func (x *ReplicateShard) GetFromPeerId() uint64
func (*ReplicateShard) GetMethod ¶ added in v1.10.0
func (x *ReplicateShard) GetMethod() ShardTransferMethod
func (*ReplicateShard) GetShardId ¶ added in v1.10.0
func (x *ReplicateShard) GetShardId() uint32
func (*ReplicateShard) GetToPeerId ¶ added in v1.10.0
func (x *ReplicateShard) GetToPeerId() uint64
func (*ReplicateShard) GetToShardId ¶ added in v1.10.0
func (x *ReplicateShard) GetToShardId() uint32
func (*ReplicateShard) ProtoMessage ¶ added in v1.10.0
func (*ReplicateShard) ProtoMessage()
func (*ReplicateShard) ProtoReflect ¶ added in v1.10.0
func (x *ReplicateShard) ProtoReflect() protoreflect.Message
func (*ReplicateShard) Reset ¶ added in v1.10.0
func (x *ReplicateShard) Reset()
func (*ReplicateShard) String ¶ added in v1.10.0
func (x *ReplicateShard) String() string
type ReshardingDirection ¶ added in v1.13.0
type ReshardingDirection int32
Resharding direction, scale up or down in number of shards
const ( // Scale up, add a new shard ReshardingDirection_Up ReshardingDirection = 0 // Scale down, remove a shard ReshardingDirection_Down ReshardingDirection = 1 )
func (ReshardingDirection) Descriptor ¶ added in v1.13.0
func (ReshardingDirection) Descriptor() protoreflect.EnumDescriptor
func (ReshardingDirection) Enum ¶ added in v1.13.0
func (x ReshardingDirection) Enum() *ReshardingDirection
func (ReshardingDirection) EnumDescriptor
deprecated
added in
v1.13.0
func (ReshardingDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReshardingDirection.Descriptor instead.
func (ReshardingDirection) Number ¶ added in v1.13.0
func (x ReshardingDirection) Number() protoreflect.EnumNumber
func (ReshardingDirection) String ¶ added in v1.13.0
func (x ReshardingDirection) String() string
func (ReshardingDirection) Type ¶ added in v1.13.0
func (ReshardingDirection) Type() protoreflect.EnumType
type ReshardingInfo ¶ added in v1.11.0
type ReshardingInfo struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
PeerId uint64 `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
ShardKey *ShardKey `protobuf:"bytes,3,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`
Direction ReshardingDirection `protobuf:"varint,4,opt,name=direction,proto3,enum=qdrant.ReshardingDirection" json:"direction,omitempty"`
// contains filtered or unexported fields
}
func (*ReshardingInfo) Descriptor
deprecated
added in
v1.11.0
func (*ReshardingInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReshardingInfo.ProtoReflect.Descriptor instead.
func (*ReshardingInfo) GetDirection ¶ added in v1.13.0
func (x *ReshardingInfo) GetDirection() ReshardingDirection
func (*ReshardingInfo) GetPeerId ¶ added in v1.11.0
func (x *ReshardingInfo) GetPeerId() uint64
func (*ReshardingInfo) GetShardId ¶ added in v1.11.0
func (x *ReshardingInfo) GetShardId() uint32
func (*ReshardingInfo) GetShardKey ¶ added in v1.11.0
func (x *ReshardingInfo) GetShardKey() *ShardKey
func (*ReshardingInfo) ProtoMessage ¶ added in v1.11.0
func (*ReshardingInfo) ProtoMessage()
func (*ReshardingInfo) ProtoReflect ¶ added in v1.11.0
func (x *ReshardingInfo) ProtoReflect() protoreflect.Message
func (*ReshardingInfo) Reset ¶ added in v1.11.0
func (x *ReshardingInfo) Reset()
func (*ReshardingInfo) String ¶ added in v1.11.0
func (x *ReshardingInfo) String() string
type RestartTransfer ¶ added in v1.8.0
type RestartTransfer struct {
// Local shard id
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
Method ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod" json:"method,omitempty"`
// contains filtered or unexported fields
}
func (*RestartTransfer) Descriptor
deprecated
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) GetToShardId ¶ added in v1.10.0
func (x *RestartTransfer) GetToShardId() uint32
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 *VectorsOutput `protobuf:"bytes,4,opt,name=vectors,proto3,oneof" json:"vectors,omitempty"`
// Shard key
ShardKey *ShardKey `protobuf:"bytes,5,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`
// Order-by value
OrderValue *OrderValue `protobuf:"bytes,6,opt,name=order_value,json=orderValue,proto3,oneof" json:"order_value,omitempty"`
// contains filtered or unexported fields
}
func (*RetrievedPoint) Descriptor
deprecated
func (*RetrievedPoint) Descriptor() ([]byte, []int)
Deprecated: Use RetrievedPoint.ProtoReflect.Descriptor instead.
func (*RetrievedPoint) GetId ¶
func (x *RetrievedPoint) GetId() *PointId
func (*RetrievedPoint) GetOrderValue ¶ added in v1.10.0
func (x *RetrievedPoint) GetOrderValue() *OrderValue
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() *VectorsOutput
func (*RetrievedPoint) ProtoMessage ¶
func (*RetrievedPoint) ProtoMessage()
func (*RetrievedPoint) ProtoReflect ¶
func (x *RetrievedPoint) ProtoReflect() protoreflect.Message
func (*RetrievedPoint) Reset ¶
func (x *RetrievedPoint) Reset()
func (*RetrievedPoint) String ¶
func (x *RetrievedPoint) String() string
type RetryConfig ¶ added in v1.18.0
type RetryConfig struct {
// MaxRetries is the maximum number of retry attempts.
// Zero means no retries.
MaxRetries uint
// BaseBackoff is the initial wait duration before the first retry.
// Defaults to 100ms if zero.
BaseBackoff time.Duration
// MaxBackoff caps the backoff duration between retries.
// Defaults to 5s if zero.
MaxBackoff time.Duration
}
RetryConfig controls automatic retry behavior for transient gRPC failures. When set on Config, a unary interceptor is registered that retries calls receiving ResourceExhausted or Unavailable status codes.
type Rrf ¶ added in v1.16.0
type Rrf struct {
// K parameter for reciprocal rank fusion
K *uint32 `protobuf:"varint,1,opt,name=k,proto3,oneof" json:"k,omitempty"`
// Weights for each prefetch source.
// Higher weight gives more influence on the final ranking.
// If not specified, all prefetches are weighted equally.
// The number of weights should match the number of prefetches.
Weights []float32 `protobuf:"fixed32,2,rep,packed,name=weights,proto3" json:"weights,omitempty"`
// contains filtered or unexported fields
}
Parameterized reciprocal rank fusion
func (*Rrf) Descriptor
deprecated
added in
v1.16.0
func (*Rrf) GetWeights ¶ added in v1.17.0
func (*Rrf) ProtoMessage ¶ added in v1.16.0
func (*Rrf) ProtoMessage()
func (*Rrf) ProtoReflect ¶ added in v1.16.0
func (x *Rrf) ProtoReflect() protoreflect.Message
type Sample ¶ added in v1.11.0
type Sample int32
Sample points from the collection
Available sampling methods:
* `random` - Random sampling
const (
Sample_Random Sample = 0
)
func (Sample) Descriptor ¶ added in v1.11.0
func (Sample) Descriptor() protoreflect.EnumDescriptor
func (Sample) EnumDescriptor
deprecated
added in
v1.11.0
func (Sample) Number ¶ added in v1.11.0
func (x Sample) Number() protoreflect.EnumNumber
func (Sample) Type ¶ added in v1.11.0
func (Sample) Type() protoreflect.EnumType
type ScalarQuantization ¶ added in v1.1.0
type ScalarQuantization struct {
// Type of quantization
Type QuantizationType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.QuantizationType" json:"type,omitempty"`
// Number of bits to use for quantization
Quantile *float32 `protobuf:"fixed32,2,opt,name=quantile,proto3,oneof" json:"quantile,omitempty"`
// If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
AlwaysRam *bool `protobuf:"varint,3,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"`
// 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 {
// Point id
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Payload
Payload map[string]*Value `` /* 155-byte string literal not displayed */
// Similarity score
Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
// Last update operation applied to this point
Version uint64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
// Vectors to search
Vectors *VectorsOutput `protobuf:"bytes,6,opt,name=vectors,proto3,oneof" json:"vectors,omitempty"`
// Shard key
ShardKey *ShardKey `protobuf:"bytes,7,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`
// Order by value
OrderValue *OrderValue `protobuf:"bytes,8,opt,name=order_value,json=orderValue,proto3,oneof" json:"order_value,omitempty"`
// contains filtered or unexported fields
}
func (*ScoredPoint) Descriptor
deprecated
func (*ScoredPoint) Descriptor() ([]byte, []int)
Deprecated: Use ScoredPoint.ProtoReflect.Descriptor instead.
func (*ScoredPoint) GetId ¶
func (x *ScoredPoint) GetId() *PointId
func (*ScoredPoint) GetOrderValue ¶ added in v1.10.0
func (x *ScoredPoint) GetOrderValue() *OrderValue
func (*ScoredPoint) GetPayload ¶
func (x *ScoredPoint) GetPayload() map[string]*Value
func (*ScoredPoint) GetScore ¶
func (x *ScoredPoint) GetScore() float32
func (*ScoredPoint) GetShardKey ¶ added in v1.7.0
func (x *ScoredPoint) GetShardKey() *ShardKey
func (*ScoredPoint) GetVectors ¶ added in v0.10.0
func (x *ScoredPoint) GetVectors() *VectorsOutput
func (*ScoredPoint) GetVersion ¶
func (x *ScoredPoint) GetVersion() uint64
func (*ScoredPoint) ProtoMessage ¶
func (*ScoredPoint) ProtoMessage()
func (*ScoredPoint) ProtoReflect ¶
func (x *ScoredPoint) ProtoReflect() protoreflect.Message
func (*ScoredPoint) Reset ¶
func (x *ScoredPoint) Reset()
func (*ScoredPoint) String ¶
func (x *ScoredPoint) String() string
type ScrollIterator ¶ added in v1.18.0
type ScrollIterator struct {
// contains filtered or unexported fields
}
ScrollIterator paginates through points in a collection by repeatedly calling ScrollAndOffset under the hood. Obtain one via ScrollAll.
func (*ScrollIterator) Next ¶ added in v1.18.0
func (it *ScrollIterator) Next() ([]*RetrievedPoint, error)
Next returns the next page of points. When all points have been consumed, it returns nil and io.EOF. Callers should check for io.EOF to detect the end of iteration.
type ScrollPoints ¶
type ScrollPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
// Start with this ID
Offset *PointId `protobuf:"bytes,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// Max number of result
Limit *uint32 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// Options for specifying which payload to include or not
WithPayload *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`
// Options for specifying which vectors to include into response
WithVectors *WithVectorsSelector `protobuf:"bytes,7,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,8,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,9,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Order the records by a payload field
OrderBy *OrderBy `protobuf:"bytes,10,opt,name=order_by,json=orderBy,proto3,oneof" json:"order_by,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,11,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.11.0
func (x *ScrollPoints) GetTimeout() uint64
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 {
// Use this offset for the next query
NextPageOffset *PointId `protobuf:"bytes,1,opt,name=next_page_offset,json=nextPageOffset,proto3,oneof" json:"next_page_offset,omitempty"`
Result []*RetrievedPoint `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,3,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,4,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*ScrollResponse) Descriptor
deprecated
func (*ScrollResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScrollResponse.ProtoReflect.Descriptor instead.
func (*ScrollResponse) GetNextPageOffset ¶
func (x *ScrollResponse) GetNextPageOffset() *PointId
func (*ScrollResponse) GetResult ¶
func (x *ScrollResponse) GetResult() []*RetrievedPoint
func (*ScrollResponse) GetTime ¶
func (x *ScrollResponse) GetTime() float64
func (*ScrollResponse) GetUsage ¶ added in v1.14.0
func (x *ScrollResponse) GetUsage() *Usage
func (*ScrollResponse) ProtoMessage ¶
func (*ScrollResponse) ProtoMessage()
func (*ScrollResponse) ProtoReflect ¶
func (x *ScrollResponse) ProtoReflect() protoreflect.Message
func (*ScrollResponse) Reset ¶
func (x *ScrollResponse) Reset()
func (*ScrollResponse) String ¶
func (x *ScrollResponse) String() string
type SearchBatchPoints ¶ added in v0.10.0
type SearchBatchPoints struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
SearchPoints []*SearchPoints `protobuf:"bytes,2,rep,name=search_points,json=searchPoints,proto3" json:"search_points,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// 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) GetUsage ¶ added in v1.13.0
func (x *SearchBatchResponse) GetUsage() *Usage
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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// 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) GetUsage ¶ added in v1.13.0
func (x *SearchGroupsResponse) GetUsage() *Usage
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 SearchMatrixOffsets ¶ added in v1.12.0
type SearchMatrixOffsets struct {
// Row indices of the matrix
OffsetsRow []uint64 `protobuf:"varint,1,rep,packed,name=offsets_row,json=offsetsRow,proto3" json:"offsets_row,omitempty"`
// Column indices of the matrix
OffsetsCol []uint64 `protobuf:"varint,2,rep,packed,name=offsets_col,json=offsetsCol,proto3" json:"offsets_col,omitempty"`
// Scores associated with matrix coordinates
Scores []float32 `protobuf:"fixed32,3,rep,packed,name=scores,proto3" json:"scores,omitempty"`
// Ids of the points in order
Ids []*PointId `protobuf:"bytes,4,rep,name=ids,proto3" json:"ids,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatrixOffsets) Descriptor
deprecated
added in
v1.12.0
func (*SearchMatrixOffsets) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixOffsets.ProtoReflect.Descriptor instead.
func (*SearchMatrixOffsets) GetIds ¶ added in v1.12.0
func (x *SearchMatrixOffsets) GetIds() []*PointId
func (*SearchMatrixOffsets) GetOffsetsCol ¶ added in v1.12.0
func (x *SearchMatrixOffsets) GetOffsetsCol() []uint64
func (*SearchMatrixOffsets) GetOffsetsRow ¶ added in v1.12.0
func (x *SearchMatrixOffsets) GetOffsetsRow() []uint64
func (*SearchMatrixOffsets) GetScores ¶ added in v1.12.0
func (x *SearchMatrixOffsets) GetScores() []float32
func (*SearchMatrixOffsets) ProtoMessage ¶ added in v1.12.0
func (*SearchMatrixOffsets) ProtoMessage()
func (*SearchMatrixOffsets) ProtoReflect ¶ added in v1.12.0
func (x *SearchMatrixOffsets) ProtoReflect() protoreflect.Message
func (*SearchMatrixOffsets) Reset ¶ added in v1.12.0
func (x *SearchMatrixOffsets) Reset()
func (*SearchMatrixOffsets) String ¶ added in v1.12.0
func (x *SearchMatrixOffsets) String() string
type SearchMatrixOffsetsResponse ¶ added in v1.12.0
type SearchMatrixOffsetsResponse struct {
Result *SearchMatrixOffsets `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatrixOffsetsResponse) Descriptor
deprecated
added in
v1.12.0
func (*SearchMatrixOffsetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixOffsetsResponse.ProtoReflect.Descriptor instead.
func (*SearchMatrixOffsetsResponse) GetResult ¶ added in v1.12.0
func (x *SearchMatrixOffsetsResponse) GetResult() *SearchMatrixOffsets
func (*SearchMatrixOffsetsResponse) GetTime ¶ added in v1.12.0
func (x *SearchMatrixOffsetsResponse) GetTime() float64
func (*SearchMatrixOffsetsResponse) GetUsage ¶ added in v1.13.0
func (x *SearchMatrixOffsetsResponse) GetUsage() *Usage
func (*SearchMatrixOffsetsResponse) ProtoMessage ¶ added in v1.12.0
func (*SearchMatrixOffsetsResponse) ProtoMessage()
func (*SearchMatrixOffsetsResponse) ProtoReflect ¶ added in v1.12.0
func (x *SearchMatrixOffsetsResponse) ProtoReflect() protoreflect.Message
func (*SearchMatrixOffsetsResponse) Reset ¶ added in v1.12.0
func (x *SearchMatrixOffsetsResponse) Reset()
func (*SearchMatrixOffsetsResponse) String ¶ added in v1.12.0
func (x *SearchMatrixOffsetsResponse) String() string
type SearchMatrixPair ¶ added in v1.12.0
type SearchMatrixPair struct {
// first id of the pair
A *PointId `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"`
// second id of the pair
B *PointId `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"`
// score of the pair
Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatrixPair) Descriptor
deprecated
added in
v1.12.0
func (*SearchMatrixPair) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixPair.ProtoReflect.Descriptor instead.
func (*SearchMatrixPair) GetA ¶ added in v1.12.0
func (x *SearchMatrixPair) GetA() *PointId
func (*SearchMatrixPair) GetB ¶ added in v1.12.0
func (x *SearchMatrixPair) GetB() *PointId
func (*SearchMatrixPair) GetScore ¶ added in v1.12.0
func (x *SearchMatrixPair) GetScore() float32
func (*SearchMatrixPair) ProtoMessage ¶ added in v1.12.0
func (*SearchMatrixPair) ProtoMessage()
func (*SearchMatrixPair) ProtoReflect ¶ added in v1.12.0
func (x *SearchMatrixPair) ProtoReflect() protoreflect.Message
func (*SearchMatrixPair) Reset ¶ added in v1.12.0
func (x *SearchMatrixPair) Reset()
func (*SearchMatrixPair) String ¶ added in v1.12.0
func (x *SearchMatrixPair) String() string
type SearchMatrixPairs ¶ added in v1.12.0
type SearchMatrixPairs struct {
// List of pairs of points with scores
Pairs []*SearchMatrixPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatrixPairs) Descriptor
deprecated
added in
v1.12.0
func (*SearchMatrixPairs) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixPairs.ProtoReflect.Descriptor instead.
func (*SearchMatrixPairs) GetPairs ¶ added in v1.12.0
func (x *SearchMatrixPairs) GetPairs() []*SearchMatrixPair
func (*SearchMatrixPairs) ProtoMessage ¶ added in v1.12.0
func (*SearchMatrixPairs) ProtoMessage()
func (*SearchMatrixPairs) ProtoReflect ¶ added in v1.12.0
func (x *SearchMatrixPairs) ProtoReflect() protoreflect.Message
func (*SearchMatrixPairs) Reset ¶ added in v1.12.0
func (x *SearchMatrixPairs) Reset()
func (*SearchMatrixPairs) String ¶ added in v1.12.0
func (x *SearchMatrixPairs) String() string
type SearchMatrixPairsResponse ¶ added in v1.12.0
type SearchMatrixPairsResponse struct {
Result *SearchMatrixPairs `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
// Time spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatrixPairsResponse) Descriptor
deprecated
added in
v1.12.0
func (*SearchMatrixPairsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixPairsResponse.ProtoReflect.Descriptor instead.
func (*SearchMatrixPairsResponse) GetResult ¶ added in v1.12.0
func (x *SearchMatrixPairsResponse) GetResult() *SearchMatrixPairs
func (*SearchMatrixPairsResponse) GetTime ¶ added in v1.12.0
func (x *SearchMatrixPairsResponse) GetTime() float64
func (*SearchMatrixPairsResponse) GetUsage ¶ added in v1.13.0
func (x *SearchMatrixPairsResponse) GetUsage() *Usage
func (*SearchMatrixPairsResponse) ProtoMessage ¶ added in v1.12.0
func (*SearchMatrixPairsResponse) ProtoMessage()
func (*SearchMatrixPairsResponse) ProtoReflect ¶ added in v1.12.0
func (x *SearchMatrixPairsResponse) ProtoReflect() protoreflect.Message
func (*SearchMatrixPairsResponse) Reset ¶ added in v1.12.0
func (x *SearchMatrixPairsResponse) Reset()
func (*SearchMatrixPairsResponse) String ¶ added in v1.12.0
func (x *SearchMatrixPairsResponse) String() string
type SearchMatrixPoints ¶ added in v1.12.0
type SearchMatrixPoints struct {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions.
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3,oneof" json:"filter,omitempty"`
// How many points to select and search within. Default is 10.
Sample *uint64 `protobuf:"varint,3,opt,name=sample,proto3,oneof" json:"sample,omitempty"`
// How many neighbours per sample to find. Default is 3.
Limit *uint64 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"`
// Define which vector to use for querying. If missing, the default vector is used.
Using *string `protobuf:"bytes,5,opt,name=using,proto3,oneof" json:"using,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,7,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,8,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatrixPoints) Descriptor
deprecated
added in
v1.12.0
func (*SearchMatrixPoints) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixPoints.ProtoReflect.Descriptor instead.
func (*SearchMatrixPoints) GetCollectionName ¶ added in v1.12.0
func (x *SearchMatrixPoints) GetCollectionName() string
func (*SearchMatrixPoints) GetFilter ¶ added in v1.12.0
func (x *SearchMatrixPoints) GetFilter() *Filter
func (*SearchMatrixPoints) GetLimit ¶ added in v1.12.0
func (x *SearchMatrixPoints) GetLimit() uint64
func (*SearchMatrixPoints) GetReadConsistency ¶ added in v1.12.0
func (x *SearchMatrixPoints) GetReadConsistency() *ReadConsistency
func (*SearchMatrixPoints) GetSample ¶ added in v1.12.0
func (x *SearchMatrixPoints) GetSample() uint64
func (*SearchMatrixPoints) GetShardKeySelector ¶ added in v1.12.0
func (x *SearchMatrixPoints) GetShardKeySelector() *ShardKeySelector
func (*SearchMatrixPoints) GetTimeout ¶ added in v1.12.0
func (x *SearchMatrixPoints) GetTimeout() uint64
func (*SearchMatrixPoints) GetUsing ¶ added in v1.12.0
func (x *SearchMatrixPoints) GetUsing() string
func (*SearchMatrixPoints) ProtoMessage ¶ added in v1.12.0
func (*SearchMatrixPoints) ProtoMessage()
func (*SearchMatrixPoints) ProtoReflect ¶ added in v1.12.0
func (x *SearchMatrixPoints) ProtoReflect() protoreflect.Message
func (*SearchMatrixPoints) Reset ¶ added in v1.12.0
func (x *SearchMatrixPoints) Reset()
func (*SearchMatrixPoints) String ¶ added in v1.12.0
func (x *SearchMatrixPoints) String() string
type SearchParams ¶
type SearchParams struct {
// Params relevant to HNSW index. Size of the beam in a beam-search.
// Larger the value - more accurate the result, more time required for search.
HnswEf *uint64 `protobuf:"varint,1,opt,name=hnsw_ef,json=hnswEf,proto3,oneof" json:"hnsw_ef,omitempty"`
// Search without approximation. If set to true, search may run long but with exact results.
Exact *bool `protobuf:"varint,2,opt,name=exact,proto3,oneof" json:"exact,omitempty"`
// If set to true, search will ignore quantized vector data
Quantization *QuantizationSearchParams `protobuf:"bytes,3,opt,name=quantization,proto3,oneof" json:"quantization,omitempty"`
// If enabled, the engine will only perform search among indexed or small segments.
// Using this option prevents slow searches in case of delayed index, but does not
// guarantee that all uploaded vectors will be included in search results
IndexedOnly *bool `protobuf:"varint,4,opt,name=indexed_only,json=indexedOnly,proto3,oneof" json:"indexed_only,omitempty"`
// ACORN search params
Acorn *AcornSearchParams `protobuf:"bytes,5,opt,name=acorn,proto3,oneof" json:"acorn,omitempty"`
// contains filtered or unexported fields
}
func (*SearchParams) Descriptor
deprecated
func (*SearchParams) Descriptor() ([]byte, []int)
Deprecated: Use SearchParams.ProtoReflect.Descriptor instead.
func (*SearchParams) GetAcorn ¶ added in v1.16.0
func (x *SearchParams) GetAcorn() *AcornSearchParams
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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Vector to compare against
Vector []float32 `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions
Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// Max number of result
Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
// Options for specifying which payload to include or not
WithPayload *WithPayloadSelector `protobuf:"bytes,5,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`
// Search config
Params *SearchParams `protobuf:"bytes,6,opt,name=params,proto3" json:"params,omitempty"`
// If provided - cut off results with worse scores
ScoreThreshold *float32 `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`
// Which vector to use for search, if not specified - use default vector
VectorName *string `protobuf:"bytes,8,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"`
// Options for specifying which vectors to include into response
WithVectors *WithVectorsSelector `protobuf:"bytes,9,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,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.
GroupBy string `protobuf:"bytes,10,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"`
// Maximum amount of points to return per group
GroupSize uint32 `protobuf:"varint,11,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// Options for specifying how to use the group id to lookup points in another collection
WithLookup *WithLookup `protobuf:"bytes,13,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,14,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,15,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// vector
Vector []float32 `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"`
// Filter conditions - return only those points that satisfy the specified conditions
Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
// Max number of result
Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"`
// Options for specifying which payload to include or not
WithPayload *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"`
// Search config
Params *SearchParams `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"`
// If provided - cut off results with worse scores
ScoreThreshold *float32 `protobuf:"fixed32,8,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"`
// Offset of the result
Offset *uint64 `protobuf:"varint,9,opt,name=offset,proto3,oneof" json:"offset,omitempty"`
// Which vector to use for search, if not specified - use default vector
VectorName *string `protobuf:"bytes,10,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"`
// Options for specifying which vectors to include into response
WithVectors *WithVectorsSelector `protobuf:"bytes,11,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// Options for specifying read consistency guarantees
ReadConsistency *ReadConsistency `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"`
// If set, overrides global timeout setting for this request. Unit is seconds.
Timeout *uint64 `protobuf:"varint,13,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Specify in which shards to look for the points, if not specified - look in all shards
ShardKeySelector *ShardKeySelector `protobuf:"bytes,14,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetResult ¶
func (x *SearchResponse) GetResult() []*ScoredPoint
func (*SearchResponse) GetTime ¶
func (x *SearchResponse) GetTime() float64
func (*SearchResponse) GetUsage ¶ added in v1.13.0
func (x *SearchResponse) GetUsage() *Usage
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type SetPayloadPoints ¶
type SetPayloadPoints struct {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// New payload values
Payload map[string]*Value `` /* 155-byte string literal not displayed */
// Affected points
PointsSelector *PointsSelector `protobuf:"bytes,5,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Option for indicate property of payload
Key *string `protobuf:"bytes,8,opt,name=key,proto3,oneof" json:"key,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,9,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *SetPayloadPoints) GetTimeout() uint64
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 NewShardKey ¶ added in v1.11.1
Creates a *ShardKey instance from a string. This is an alias for NewShardKeyKeyword().
func NewShardKeyKeyword ¶ added in v1.11.1
Creates a *ShardKey instance from a string.
func NewShardKeyNum ¶ added in v1.11.1
Creates a *ShardKey instance from a uint64.
func (*ShardKey) Descriptor
deprecated
added in
v1.7.0
func (*ShardKey) GetKeyword ¶ added in v1.7.0
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
type ShardKeyDescription ¶ added in v1.17.0
type ShardKeyDescription struct {
Key *ShardKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*ShardKeyDescription) Descriptor
deprecated
added in
v1.17.0
func (*ShardKeyDescription) Descriptor() ([]byte, []int)
Deprecated: Use ShardKeyDescription.ProtoReflect.Descriptor instead.
func (*ShardKeyDescription) GetKey ¶ added in v1.17.0
func (x *ShardKeyDescription) GetKey() *ShardKey
func (*ShardKeyDescription) ProtoMessage ¶ added in v1.17.0
func (*ShardKeyDescription) ProtoMessage()
func (*ShardKeyDescription) ProtoReflect ¶ added in v1.17.0
func (x *ShardKeyDescription) ProtoReflect() protoreflect.Message
func (*ShardKeyDescription) Reset ¶ added in v1.17.0
func (x *ShardKeyDescription) Reset()
func (*ShardKeyDescription) String ¶ added in v1.17.0
func (x *ShardKeyDescription) String() string
type ShardKeySelector ¶ added in v1.7.0
type ShardKeySelector struct {
// List of shard keys which should be used in the request
ShardKeys []*ShardKey `protobuf:"bytes,1,rep,name=shard_keys,json=shardKeys,proto3" json:"shard_keys,omitempty"`
Fallback *ShardKey `protobuf:"bytes,2,opt,name=fallback,proto3,oneof" json:"fallback,omitempty"`
// contains filtered or unexported fields
}
func (*ShardKeySelector) Descriptor
deprecated
added in
v1.7.0
func (*ShardKeySelector) Descriptor() ([]byte, []int)
Deprecated: Use ShardKeySelector.ProtoReflect.Descriptor instead.
func (*ShardKeySelector) GetFallback ¶ added in v1.16.0
func (x *ShardKeySelector) GetFallback() *ShardKey
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 {
// String key
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3,oneof"`
}
type ShardKey_Number ¶ added in v1.7.0
type ShardKey_Number struct {
// Number key
Number uint64 `protobuf:"varint,2,opt,name=number,proto3,oneof"`
}
type ShardTransferInfo ¶ added in v1.2.0
type ShardTransferInfo struct {
// Local shard id
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
To uint64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
// If `true` transfer is a synchronization of a replicas;
// If `false` transfer is a moving of a shard from one peer to another
Sync bool `protobuf:"varint,4,opt,name=sync,proto3" json:"sync,omitempty"`
// 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) GetToShardId ¶ added in v1.10.0
func (x *ShardTransferInfo) GetToShardId() uint32
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 ( // Stream shard records in batches ShardTransferMethod_StreamRecords ShardTransferMethod = 0 // Snapshot the shard and recover it on the target peer ShardTransferMethod_Snapshot ShardTransferMethod = 1 // Resolve WAL delta between peers and transfer the difference ShardTransferMethod_WalDelta ShardTransferMethod = 2 // Stream shard records in batches for resharding ShardTransferMethod_ReshardingStreamRecords ShardTransferMethod = 3 )
func (ShardTransferMethod) Descriptor ¶ added in v1.7.0
func (ShardTransferMethod) Descriptor() protoreflect.EnumDescriptor
func (ShardTransferMethod) Enum ¶ added in v1.7.0
func (x ShardTransferMethod) Enum() *ShardTransferMethod
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 (x ShardTransferMethod) Number() protoreflect.EnumNumber
func (ShardTransferMethod) String ¶ added in v1.7.0
func (x ShardTransferMethod) String() string
func (ShardTransferMethod) Type ¶ added in v1.7.0
func (ShardTransferMethod) Type() protoreflect.EnumType
type ShardingMethod ¶ added in v1.7.0
type ShardingMethod int32
const ( // Auto-sharding based on record ids ShardingMethod_Auto ShardingMethod = 0 // Shard by user-defined key ShardingMethod_Custom ShardingMethod = 1 )
func (ShardingMethod) Descriptor ¶ added in v1.7.0
func (ShardingMethod) Descriptor() protoreflect.EnumDescriptor
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 (x ShardingMethod) Number() protoreflect.EnumNumber
func (ShardingMethod) String ¶ added in v1.7.0
func (x ShardingMethod) String() string
func (ShardingMethod) Type ¶ added in v1.7.0
func (ShardingMethod) Type() protoreflect.EnumType
type SnapshotDescription ¶ added in v0.8.4
type SnapshotDescription struct {
// Name of the snapshot
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
// Creation time of the snapshot
CreationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"`
// Size of the snapshot in bytes
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
// SHA256 digest of the snapshot file
Checksum *string `protobuf:"bytes,4,opt,name=checksum,proto3,oneof" json:"checksum,omitempty"`
// 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 SnowballParams ¶ added in v1.15.0
type SnowballParams struct {
// Which language the algorithm should stem.
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"`
// contains filtered or unexported fields
}
func (*SnowballParams) Descriptor
deprecated
added in
v1.15.0
func (*SnowballParams) Descriptor() ([]byte, []int)
Deprecated: Use SnowballParams.ProtoReflect.Descriptor instead.
func (*SnowballParams) GetLanguage ¶ added in v1.15.0
func (x *SnowballParams) GetLanguage() string
func (*SnowballParams) ProtoMessage ¶ added in v1.15.0
func (*SnowballParams) ProtoMessage()
func (*SnowballParams) ProtoReflect ¶ added in v1.15.0
func (x *SnowballParams) ProtoReflect() protoreflect.Message
func (*SnowballParams) Reset ¶ added in v1.15.0
func (x *SnowballParams) Reset()
func (*SnowballParams) String ¶ added in v1.15.0
func (x *SnowballParams) String() string
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"`
// Datatype used to store weights in the index.
Datatype *Datatype `protobuf:"varint,3,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"`
// contains filtered or unexported fields
}
func (*SparseIndexConfig) Descriptor
deprecated
added in
v1.7.0
func (*SparseIndexConfig) Descriptor() ([]byte, []int)
Deprecated: Use SparseIndexConfig.ProtoReflect.Descriptor instead.
func (*SparseIndexConfig) GetDatatype ¶ added in v1.10.0
func (x *SparseIndexConfig) GetDatatype() Datatype
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 SparseVector ¶ added in v1.10.0
type SparseVector struct {
Values []float32 `protobuf:"fixed32,1,rep,packed,name=values,proto3" json:"values,omitempty"`
Indices []uint32 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"`
// contains filtered or unexported fields
}
func (*SparseVector) Descriptor
deprecated
added in
v1.10.0
func (*SparseVector) Descriptor() ([]byte, []int)
Deprecated: Use SparseVector.ProtoReflect.Descriptor instead.
func (*SparseVector) GetIndices ¶ added in v1.10.0
func (x *SparseVector) GetIndices() []uint32
func (*SparseVector) GetValues ¶ added in v1.10.0
func (x *SparseVector) GetValues() []float32
func (*SparseVector) ProtoMessage ¶ added in v1.10.0
func (*SparseVector) ProtoMessage()
func (*SparseVector) ProtoReflect ¶ added in v1.10.0
func (x *SparseVector) ProtoReflect() protoreflect.Message
func (*SparseVector) Reset ¶ added in v1.10.0
func (x *SparseVector) Reset()
func (*SparseVector) String ¶ added in v1.10.0
func (x *SparseVector) 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 NewSparseVectorsConfig ¶ added in v1.11.1
func NewSparseVectorsConfig(paramsMap map[string]*SparseVectorParams) *SparseVectorConfig
Creates a *SparseVectorConfig instance from a map of *SparseVectorParams.
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 SparseVectorCreationConfig ¶ added in v1.18.0
type SparseVectorCreationConfig struct {
// If set - apply modifier to the vector values (e.g., IDF)
Modifier *Modifier `protobuf:"varint,1,opt,name=modifier,proto3,enum=qdrant.Modifier,oneof" json:"modifier,omitempty"`
// Data type used to store weights in the index
Datatype *Datatype `protobuf:"varint,2,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"`
// contains filtered or unexported fields
}
Sparse vector creation parameters. Only includes immutable properties that define the vector space.
func (*SparseVectorCreationConfig) Descriptor
deprecated
added in
v1.18.0
func (*SparseVectorCreationConfig) Descriptor() ([]byte, []int)
Deprecated: Use SparseVectorCreationConfig.ProtoReflect.Descriptor instead.
func (*SparseVectorCreationConfig) GetDatatype ¶ added in v1.18.0
func (x *SparseVectorCreationConfig) GetDatatype() Datatype
func (*SparseVectorCreationConfig) GetModifier ¶ added in v1.18.0
func (x *SparseVectorCreationConfig) GetModifier() Modifier
func (*SparseVectorCreationConfig) ProtoMessage ¶ added in v1.18.0
func (*SparseVectorCreationConfig) ProtoMessage()
func (*SparseVectorCreationConfig) ProtoReflect ¶ added in v1.18.0
func (x *SparseVectorCreationConfig) ProtoReflect() protoreflect.Message
func (*SparseVectorCreationConfig) Reset ¶ added in v1.18.0
func (x *SparseVectorCreationConfig) Reset()
func (*SparseVectorCreationConfig) String ¶ added in v1.18.0
func (x *SparseVectorCreationConfig) String() string
type SparseVectorParams ¶ added in v1.7.0
type SparseVectorParams struct {
// Configuration of sparse index
Index *SparseIndexConfig `protobuf:"bytes,1,opt,name=index,proto3,oneof" json:"index,omitempty"`
// If set - apply modifier to the vector values
Modifier *Modifier `protobuf:"varint,2,opt,name=modifier,proto3,enum=qdrant.Modifier,oneof" json:"modifier,omitempty"`
// 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) GetModifier ¶ added in v1.10.0
func (x *SparseVectorParams) GetModifier() Modifier
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 NewStartFromDatetime ¶ added in v1.11.1
Creates a *StartFrom instance for a datetime string in the RFC3339 format.
func NewStartFromFloat ¶ added in v1.11.1
Creates a *StartFrom instance for a float value.
func NewStartFromInt ¶ added in v1.11.1
Creates a *StartFrom instance for an integer value.
func NewStartFromTimestamp ¶ added in v1.11.1
Creates a *StartFrom instance for a timestamp value. Parameters: seconds: Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. nanos: Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.
func (*StartFrom) Descriptor
deprecated
added in
v1.8.0
func (*StartFrom) GetDatetime ¶ added in v1.8.0
func (*StartFrom) GetInteger ¶ added in v1.8.0
func (*StartFrom) GetTimestamp ¶ added in v1.8.0
func (x *StartFrom) GetTimestamp() *timestamppb.Timestamp
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
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 StemmingAlgorithm ¶ added in v1.15.0
type StemmingAlgorithm struct {
// Types that are assignable to StemmingParams:
//
// *StemmingAlgorithm_Snowball
StemmingParams isStemmingAlgorithm_StemmingParams `protobuf_oneof:"stemming_params"`
// contains filtered or unexported fields
}
func NewStemmingAlgorithmSnowball ¶ added in v1.15.1
func NewStemmingAlgorithmSnowball(snowBall *SnowballParams) *StemmingAlgorithm
Creates a *StemmingAlgorithm instance using Snowball stemmer.
func (*StemmingAlgorithm) Descriptor
deprecated
added in
v1.15.0
func (*StemmingAlgorithm) Descriptor() ([]byte, []int)
Deprecated: Use StemmingAlgorithm.ProtoReflect.Descriptor instead.
func (*StemmingAlgorithm) GetSnowball ¶ added in v1.15.0
func (x *StemmingAlgorithm) GetSnowball() *SnowballParams
func (*StemmingAlgorithm) GetStemmingParams ¶ added in v1.15.0
func (m *StemmingAlgorithm) GetStemmingParams() isStemmingAlgorithm_StemmingParams
func (*StemmingAlgorithm) ProtoMessage ¶ added in v1.15.0
func (*StemmingAlgorithm) ProtoMessage()
func (*StemmingAlgorithm) ProtoReflect ¶ added in v1.15.0
func (x *StemmingAlgorithm) ProtoReflect() protoreflect.Message
func (*StemmingAlgorithm) Reset ¶ added in v1.15.0
func (x *StemmingAlgorithm) Reset()
func (*StemmingAlgorithm) String ¶ added in v1.15.0
func (x *StemmingAlgorithm) String() string
type StemmingAlgorithm_Snowball ¶ added in v1.15.0
type StemmingAlgorithm_Snowball struct {
// Parameters for snowball stemming
Snowball *SnowballParams `protobuf:"bytes,1,opt,name=snowball,proto3,oneof"`
}
type StopwordsSet ¶ added in v1.15.0
type StopwordsSet struct {
// List of languages to use stopwords from
Languages []string `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"`
// List of custom stopwords
Custom []string `protobuf:"bytes,2,rep,name=custom,proto3" json:"custom,omitempty"`
// contains filtered or unexported fields
}
func (*StopwordsSet) Descriptor
deprecated
added in
v1.15.0
func (*StopwordsSet) Descriptor() ([]byte, []int)
Deprecated: Use StopwordsSet.ProtoReflect.Descriptor instead.
func (*StopwordsSet) GetCustom ¶ added in v1.15.0
func (x *StopwordsSet) GetCustom() []string
func (*StopwordsSet) GetLanguages ¶ added in v1.15.0
func (x *StopwordsSet) GetLanguages() []string
func (*StopwordsSet) ProtoMessage ¶ added in v1.15.0
func (*StopwordsSet) ProtoMessage()
func (*StopwordsSet) ProtoReflect ¶ added in v1.15.0
func (x *StopwordsSet) ProtoReflect() protoreflect.Message
func (*StopwordsSet) Reset ¶ added in v1.15.0
func (x *StopwordsSet) Reset()
func (*StopwordsSet) String ¶ added in v1.15.0
func (x *StopwordsSet) String() string
type StrictModeConfig ¶ added in v1.12.0
type StrictModeConfig struct {
// Whether strict mode is enabled for a collection or not.
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"`
// Max allowed `limit` parameter for all APIs that don't have their own max limit.
MaxQueryLimit *uint32 `protobuf:"varint,2,opt,name=max_query_limit,json=maxQueryLimit,proto3,oneof" json:"max_query_limit,omitempty"`
// Max allowed `timeout` parameter.
MaxTimeout *uint32 `protobuf:"varint,3,opt,name=max_timeout,json=maxTimeout,proto3,oneof" json:"max_timeout,omitempty"`
// Allow usage of unindexed fields in retrieval based (e.g. search) filters.
UnindexedFilteringRetrieve *bool `` /* 148-byte string literal not displayed */
// Allow usage of unindexed fields in filtered updates (e.g. delete by payload).
UnindexedFilteringUpdate *bool `` /* 142-byte string literal not displayed */
// Max HNSW ef value allowed in search parameters.
SearchMaxHnswEf *uint32 `protobuf:"varint,6,opt,name=search_max_hnsw_ef,json=searchMaxHnswEf,proto3,oneof" json:"search_max_hnsw_ef,omitempty"`
// Whether exact search is allowed.
SearchAllowExact *bool `protobuf:"varint,7,opt,name=search_allow_exact,json=searchAllowExact,proto3,oneof" json:"search_allow_exact,omitempty"`
// Max oversampling value allowed in search
SearchMaxOversampling *float32 `` /* 134-byte string literal not displayed */
// Max batchsize when upserting
UpsertMaxBatchsize *uint64 `protobuf:"varint,9,opt,name=upsert_max_batchsize,json=upsertMaxBatchsize,proto3,oneof" json:"upsert_max_batchsize,omitempty"`
// Max batchsize when searching
SearchMaxBatchsize *uint64 `protobuf:"varint,20,opt,name=search_max_batchsize,json=searchMaxBatchsize,proto3,oneof" json:"search_max_batchsize,omitempty"`
// Max size of a collections vector storage in bytes, ignoring replicas.
MaxCollectionVectorSizeBytes *uint64 `` /* 159-byte string literal not displayed */
// Max number of read operations per minute per replica
ReadRateLimit *uint32 `protobuf:"varint,11,opt,name=read_rate_limit,json=readRateLimit,proto3,oneof" json:"read_rate_limit,omitempty"`
// Max number of write operations per minute per replica
WriteRateLimit *uint32 `protobuf:"varint,12,opt,name=write_rate_limit,json=writeRateLimit,proto3,oneof" json:"write_rate_limit,omitempty"`
// Max size of a collections payload storage in bytes, ignoring replicas.
MaxCollectionPayloadSizeBytes *uint64 `` /* 162-byte string literal not displayed */
// Max conditions a filter can have.
FilterMaxConditions *uint64 `` /* 128-byte string literal not displayed */
// Max size of a condition, eg. items in `MatchAny`.
ConditionMaxSize *uint64 `protobuf:"varint,15,opt,name=condition_max_size,json=conditionMaxSize,proto3,oneof" json:"condition_max_size,omitempty"`
// Multivector strict mode configuration
MultivectorConfig *StrictModeMultivectorConfig `protobuf:"bytes,16,opt,name=multivector_config,json=multivectorConfig,proto3,oneof" json:"multivector_config,omitempty"`
// Sparse vector strict mode configuration
SparseConfig *StrictModeSparseConfig `protobuf:"bytes,17,opt,name=sparse_config,json=sparseConfig,proto3,oneof" json:"sparse_config,omitempty"`
// Max number of points estimated in a collection
MaxPointsCount *uint64 `protobuf:"varint,18,opt,name=max_points_count,json=maxPointsCount,proto3,oneof" json:"max_points_count,omitempty"`
// Max number of payload indexes in a collection
MaxPayloadIndexCount *uint64 `` /* 133-byte string literal not displayed */
// Reject memory-consuming update operations when process resident memory exceeds this percentage of total RAM (cgroup-aware, 1-100).
// Delete-style operations are still allowed so memory can be freed.
MaxResidentMemoryPercent *uint32 `` /* 145-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StrictModeConfig) Descriptor
deprecated
added in
v1.12.0
func (*StrictModeConfig) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeConfig.ProtoReflect.Descriptor instead.
func (*StrictModeConfig) GetConditionMaxSize ¶ added in v1.13.0
func (x *StrictModeConfig) GetConditionMaxSize() uint64
func (*StrictModeConfig) GetEnabled ¶ added in v1.12.0
func (x *StrictModeConfig) GetEnabled() bool
func (*StrictModeConfig) GetFilterMaxConditions ¶ added in v1.13.0
func (x *StrictModeConfig) GetFilterMaxConditions() uint64
func (*StrictModeConfig) GetMaxCollectionPayloadSizeBytes ¶ added in v1.13.0
func (x *StrictModeConfig) GetMaxCollectionPayloadSizeBytes() uint64
func (*StrictModeConfig) GetMaxCollectionVectorSizeBytes ¶ added in v1.13.0
func (x *StrictModeConfig) GetMaxCollectionVectorSizeBytes() uint64
func (*StrictModeConfig) GetMaxPayloadIndexCount ¶ added in v1.16.0
func (x *StrictModeConfig) GetMaxPayloadIndexCount() uint64
func (*StrictModeConfig) GetMaxPointsCount ¶ added in v1.14.0
func (x *StrictModeConfig) GetMaxPointsCount() uint64
func (*StrictModeConfig) GetMaxQueryLimit ¶ added in v1.12.0
func (x *StrictModeConfig) GetMaxQueryLimit() uint32
func (*StrictModeConfig) GetMaxResidentMemoryPercent ¶ added in v1.18.0
func (x *StrictModeConfig) GetMaxResidentMemoryPercent() uint32
func (*StrictModeConfig) GetMaxTimeout ¶ added in v1.12.0
func (x *StrictModeConfig) GetMaxTimeout() uint32
func (*StrictModeConfig) GetMultivectorConfig ¶ added in v1.14.0
func (x *StrictModeConfig) GetMultivectorConfig() *StrictModeMultivectorConfig
func (*StrictModeConfig) GetReadRateLimit ¶ added in v1.13.0
func (x *StrictModeConfig) GetReadRateLimit() uint32
func (*StrictModeConfig) GetSearchAllowExact ¶ added in v1.12.0
func (x *StrictModeConfig) GetSearchAllowExact() bool
func (*StrictModeConfig) GetSearchMaxBatchsize ¶ added in v1.18.0
func (x *StrictModeConfig) GetSearchMaxBatchsize() uint64
func (*StrictModeConfig) GetSearchMaxHnswEf ¶ added in v1.12.0
func (x *StrictModeConfig) GetSearchMaxHnswEf() uint32
func (*StrictModeConfig) GetSearchMaxOversampling ¶ added in v1.12.0
func (x *StrictModeConfig) GetSearchMaxOversampling() float32
func (*StrictModeConfig) GetSparseConfig ¶ added in v1.14.0
func (x *StrictModeConfig) GetSparseConfig() *StrictModeSparseConfig
func (*StrictModeConfig) GetUnindexedFilteringRetrieve ¶ added in v1.12.0
func (x *StrictModeConfig) GetUnindexedFilteringRetrieve() bool
func (*StrictModeConfig) GetUnindexedFilteringUpdate ¶ added in v1.12.0
func (x *StrictModeConfig) GetUnindexedFilteringUpdate() bool
func (*StrictModeConfig) GetUpsertMaxBatchsize ¶ added in v1.13.0
func (x *StrictModeConfig) GetUpsertMaxBatchsize() uint64
func (*StrictModeConfig) GetWriteRateLimit ¶ added in v1.13.0
func (x *StrictModeConfig) GetWriteRateLimit() uint32
func (*StrictModeConfig) ProtoMessage ¶ added in v1.12.0
func (*StrictModeConfig) ProtoMessage()
func (*StrictModeConfig) ProtoReflect ¶ added in v1.12.0
func (x *StrictModeConfig) ProtoReflect() protoreflect.Message
func (*StrictModeConfig) Reset ¶ added in v1.12.0
func (x *StrictModeConfig) Reset()
func (*StrictModeConfig) String ¶ added in v1.12.0
func (x *StrictModeConfig) String() string
type StrictModeMultivector ¶ added in v1.14.0
type StrictModeMultivector struct {
// Max number of vectors in a multivector
MaxVectors *uint64 `protobuf:"varint,1,opt,name=max_vectors,json=maxVectors,proto3,oneof" json:"max_vectors,omitempty"`
// contains filtered or unexported fields
}
func (*StrictModeMultivector) Descriptor
deprecated
added in
v1.14.0
func (*StrictModeMultivector) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeMultivector.ProtoReflect.Descriptor instead.
func (*StrictModeMultivector) GetMaxVectors ¶ added in v1.14.0
func (x *StrictModeMultivector) GetMaxVectors() uint64
func (*StrictModeMultivector) ProtoMessage ¶ added in v1.14.0
func (*StrictModeMultivector) ProtoMessage()
func (*StrictModeMultivector) ProtoReflect ¶ added in v1.14.0
func (x *StrictModeMultivector) ProtoReflect() protoreflect.Message
func (*StrictModeMultivector) Reset ¶ added in v1.14.0
func (x *StrictModeMultivector) Reset()
func (*StrictModeMultivector) String ¶ added in v1.14.0
func (x *StrictModeMultivector) String() string
type StrictModeMultivectorConfig ¶ added in v1.14.0
type StrictModeMultivectorConfig struct {
MultivectorConfig map[string]*StrictModeMultivector `` /* 200-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StrictModeMultivectorConfig) Descriptor
deprecated
added in
v1.14.0
func (*StrictModeMultivectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeMultivectorConfig.ProtoReflect.Descriptor instead.
func (*StrictModeMultivectorConfig) GetMultivectorConfig ¶ added in v1.14.0
func (x *StrictModeMultivectorConfig) GetMultivectorConfig() map[string]*StrictModeMultivector
func (*StrictModeMultivectorConfig) ProtoMessage ¶ added in v1.14.0
func (*StrictModeMultivectorConfig) ProtoMessage()
func (*StrictModeMultivectorConfig) ProtoReflect ¶ added in v1.14.0
func (x *StrictModeMultivectorConfig) ProtoReflect() protoreflect.Message
func (*StrictModeMultivectorConfig) Reset ¶ added in v1.14.0
func (x *StrictModeMultivectorConfig) Reset()
func (*StrictModeMultivectorConfig) String ¶ added in v1.14.0
func (x *StrictModeMultivectorConfig) String() string
type StrictModeSparse ¶ added in v1.14.0
type StrictModeSparse struct {
// Max length of sparse vector
MaxLength *uint64 `protobuf:"varint,10,opt,name=max_length,json=maxLength,proto3,oneof" json:"max_length,omitempty"`
// contains filtered or unexported fields
}
func (*StrictModeSparse) Descriptor
deprecated
added in
v1.14.0
func (*StrictModeSparse) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeSparse.ProtoReflect.Descriptor instead.
func (*StrictModeSparse) GetMaxLength ¶ added in v1.14.0
func (x *StrictModeSparse) GetMaxLength() uint64
func (*StrictModeSparse) ProtoMessage ¶ added in v1.14.0
func (*StrictModeSparse) ProtoMessage()
func (*StrictModeSparse) ProtoReflect ¶ added in v1.14.0
func (x *StrictModeSparse) ProtoReflect() protoreflect.Message
func (*StrictModeSparse) Reset ¶ added in v1.14.0
func (x *StrictModeSparse) Reset()
func (*StrictModeSparse) String ¶ added in v1.14.0
func (x *StrictModeSparse) String() string
type StrictModeSparseConfig ¶ added in v1.14.0
type StrictModeSparseConfig struct {
SparseConfig map[string]*StrictModeSparse `` /* 185-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StrictModeSparseConfig) Descriptor
deprecated
added in
v1.14.0
func (*StrictModeSparseConfig) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeSparseConfig.ProtoReflect.Descriptor instead.
func (*StrictModeSparseConfig) GetSparseConfig ¶ added in v1.14.0
func (x *StrictModeSparseConfig) GetSparseConfig() map[string]*StrictModeSparse
func (*StrictModeSparseConfig) ProtoMessage ¶ added in v1.14.0
func (*StrictModeSparseConfig) ProtoMessage()
func (*StrictModeSparseConfig) ProtoReflect ¶ added in v1.14.0
func (x *StrictModeSparseConfig) ProtoReflect() protoreflect.Message
func (*StrictModeSparseConfig) Reset ¶ added in v1.14.0
func (x *StrictModeSparseConfig) Reset()
func (*StrictModeSparseConfig) String ¶ added in v1.14.0
func (x *StrictModeSparseConfig) String() string
type Struct ¶
type Struct struct {
// Unordered map of dynamically typed values.
Fields map[string]*Value `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, `Struct` might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.
The JSON representation for `Struct` is a JSON object.
func NewStruct ¶ added in v1.11.1
Constructs a Struct from a general-purpose Go map. The map keys must be valid UTF-8. The map values are converted using NewValue().
func (*Struct) Descriptor
deprecated
func (*Struct) ProtoMessage ¶
func (*Struct) ProtoMessage()
func (*Struct) ProtoReflect ¶
func (x *Struct) ProtoReflect() protoreflect.Message
type SumExpression ¶ added in v1.14.0
type SumExpression struct {
Sum []*Expression `protobuf:"bytes,1,rep,name=sum,proto3" json:"sum,omitempty"`
// contains filtered or unexported fields
}
func (*SumExpression) Descriptor
deprecated
added in
v1.14.0
func (*SumExpression) Descriptor() ([]byte, []int)
Deprecated: Use SumExpression.ProtoReflect.Descriptor instead.
func (*SumExpression) GetSum ¶ added in v1.14.0
func (x *SumExpression) GetSum() []*Expression
func (*SumExpression) ProtoMessage ¶ added in v1.14.0
func (*SumExpression) ProtoMessage()
func (*SumExpression) ProtoReflect ¶ added in v1.14.0
func (x *SumExpression) ProtoReflect() protoreflect.Message
func (*SumExpression) Reset ¶ added in v1.14.0
func (x *SumExpression) Reset()
func (*SumExpression) String ¶ added in v1.14.0
func (x *SumExpression) 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 NewTarget ¶ added in v1.11.1
func NewTarget(vector *Vector) *TargetVector
Creates a *TargetVector instance from a *Vector. This is an alias for NewTargetVector().
func NewTargetID ¶ added in v1.11.1
func NewTargetID(id *PointId) *TargetVector
Creates a *TargetVector instance from a *PointId.
func NewTargetVector ¶ added in v1.11.1
func NewTargetVector(vector *Vector) *TargetVector
Creates a *TargetVector instance from a *Vector.
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 type
Tokenizer TokenizerType `protobuf:"varint,1,opt,name=tokenizer,proto3,enum=qdrant.TokenizerType" json:"tokenizer,omitempty"`
// If true - all tokens will be lowercase
Lowercase *bool `protobuf:"varint,2,opt,name=lowercase,proto3,oneof" json:"lowercase,omitempty"`
// Minimal token length
MinTokenLen *uint64 `protobuf:"varint,3,opt,name=min_token_len,json=minTokenLen,proto3,oneof" json:"min_token_len,omitempty"`
// Maximal token length
MaxTokenLen *uint64 `protobuf:"varint,4,opt,name=max_token_len,json=maxTokenLen,proto3,oneof" json:"max_token_len,omitempty"`
// If true - store index on disk.
OnDisk *bool `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Stopwords for the text index
Stopwords *StopwordsSet `protobuf:"bytes,6,opt,name=stopwords,proto3,oneof" json:"stopwords,omitempty"`
// If true - support phrase matching.
PhraseMatching *bool `protobuf:"varint,7,opt,name=phrase_matching,json=phraseMatching,proto3,oneof" json:"phrase_matching,omitempty"`
// Set an algorithm for stemming.
Stemmer *StemmingAlgorithm `protobuf:"bytes,8,opt,name=stemmer,proto3,oneof" json:"stemmer,omitempty"`
// If true, normalize tokens by folding accented characters to ASCII (e.g., "ação" -> "acao").
// Default: false.
AsciiFolding *bool `protobuf:"varint,9,opt,name=ascii_folding,json=asciiFolding,proto3,oneof" json:"ascii_folding,omitempty"`
// Enable HNSW graph building for this payload field.
// If true, builds additional HNSW links (Need payload_m > 0).
// Default: true.
EnableHnsw *bool `protobuf:"varint,10,opt,name=enable_hnsw,json=enableHnsw,proto3,oneof" json:"enable_hnsw,omitempty"`
// 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) GetAsciiFolding ¶ added in v1.16.0
func (x *TextIndexParams) GetAsciiFolding() bool
func (*TextIndexParams) GetEnableHnsw ¶ added in v1.17.0
func (x *TextIndexParams) GetEnableHnsw() bool
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) GetOnDisk ¶ added in v1.12.0
func (x *TextIndexParams) GetOnDisk() bool
func (*TextIndexParams) GetPhraseMatching ¶ added in v1.15.0
func (x *TextIndexParams) GetPhraseMatching() bool
func (*TextIndexParams) GetStemmer ¶ added in v1.15.0
func (x *TextIndexParams) GetStemmer() *StemmingAlgorithm
func (*TextIndexParams) GetStopwords ¶ added in v1.15.0
func (x *TextIndexParams) GetStopwords() *StopwordsSet
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) Descriptor() protoreflect.EnumDescriptor
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 (x TokenizerType) Number() protoreflect.EnumNumber
func (TokenizerType) String ¶ added in v0.10.0
func (x TokenizerType) String() string
func (TokenizerType) Type ¶ added in v0.10.0
func (TokenizerType) Type() protoreflect.EnumType
type TurboQuantBitSize ¶ added in v1.18.0
type TurboQuantBitSize int32
const ( TurboQuantBitSize_Bits1 TurboQuantBitSize = 0 TurboQuantBitSize_Bits1_5 TurboQuantBitSize = 1 TurboQuantBitSize_Bits2 TurboQuantBitSize = 2 TurboQuantBitSize_Bits4 TurboQuantBitSize = 3 )
func (TurboQuantBitSize) Descriptor ¶ added in v1.18.0
func (TurboQuantBitSize) Descriptor() protoreflect.EnumDescriptor
func (TurboQuantBitSize) Enum ¶ added in v1.18.0
func (x TurboQuantBitSize) Enum() *TurboQuantBitSize
func (TurboQuantBitSize) EnumDescriptor
deprecated
added in
v1.18.0
func (TurboQuantBitSize) EnumDescriptor() ([]byte, []int)
Deprecated: Use TurboQuantBitSize.Descriptor instead.
func (TurboQuantBitSize) Number ¶ added in v1.18.0
func (x TurboQuantBitSize) Number() protoreflect.EnumNumber
func (TurboQuantBitSize) String ¶ added in v1.18.0
func (x TurboQuantBitSize) String() string
func (TurboQuantBitSize) Type ¶ added in v1.18.0
func (TurboQuantBitSize) Type() protoreflect.EnumType
type TurboQuantization ¶ added in v1.18.0
type TurboQuantization struct {
AlwaysRam *bool `protobuf:"varint,1,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"`
Bits *TurboQuantBitSize `protobuf:"varint,2,opt,name=bits,proto3,enum=qdrant.TurboQuantBitSize,oneof" json:"bits,omitempty"`
// contains filtered or unexported fields
}
func (*TurboQuantization) Descriptor
deprecated
added in
v1.18.0
func (*TurboQuantization) Descriptor() ([]byte, []int)
Deprecated: Use TurboQuantization.ProtoReflect.Descriptor instead.
func (*TurboQuantization) GetAlwaysRam ¶ added in v1.18.0
func (x *TurboQuantization) GetAlwaysRam() bool
func (*TurboQuantization) GetBits ¶ added in v1.18.0
func (x *TurboQuantization) GetBits() TurboQuantBitSize
func (*TurboQuantization) ProtoMessage ¶ added in v1.18.0
func (*TurboQuantization) ProtoMessage()
func (*TurboQuantization) ProtoReflect ¶ added in v1.18.0
func (x *TurboQuantization) ProtoReflect() protoreflect.Message
func (*TurboQuantization) Reset ¶ added in v1.18.0
func (x *TurboQuantization) Reset()
func (*TurboQuantization) String ¶ added in v1.18.0
func (x *TurboQuantization) String() string
type UnimplementedCollectionsServer ¶
type UnimplementedCollectionsServer struct{}
UnimplementedCollectionsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedCollectionsServer) CollectionClusterInfo ¶ added in v1.2.0
func (UnimplementedCollectionsServer) CollectionClusterInfo(context.Context, *CollectionClusterInfoRequest) (*CollectionClusterInfoResponse, error)
func (UnimplementedCollectionsServer) CollectionExists ¶ added in v1.8.0
func (UnimplementedCollectionsServer) CollectionExists(context.Context, *CollectionExistsRequest) (*CollectionExistsResponse, error)
func (UnimplementedCollectionsServer) Create ¶
func (UnimplementedCollectionsServer) Create(context.Context, *CreateCollection) (*CollectionOperationResponse, error)
func (UnimplementedCollectionsServer) CreateShardKey ¶ added in v1.7.0
func (UnimplementedCollectionsServer) CreateShardKey(context.Context, *CreateShardKeyRequest) (*CreateShardKeyResponse, error)
func (UnimplementedCollectionsServer) Delete ¶
func (UnimplementedCollectionsServer) Delete(context.Context, *DeleteCollection) (*CollectionOperationResponse, error)
func (UnimplementedCollectionsServer) DeleteShardKey ¶ added in v1.7.0
func (UnimplementedCollectionsServer) DeleteShardKey(context.Context, *DeleteShardKeyRequest) (*DeleteShardKeyResponse, error)
func (UnimplementedCollectionsServer) List ¶
func (UnimplementedCollectionsServer) List(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
func (UnimplementedCollectionsServer) ListAliases ¶ added in v1.0.0
func (UnimplementedCollectionsServer) ListAliases(context.Context, *ListAliasesRequest) (*ListAliasesResponse, error)
func (UnimplementedCollectionsServer) ListCollectionAliases ¶ added in v1.0.0
func (UnimplementedCollectionsServer) ListCollectionAliases(context.Context, *ListCollectionAliasesRequest) (*ListAliasesResponse, error)
func (UnimplementedCollectionsServer) ListShardKeys ¶ added in v1.17.0
func (UnimplementedCollectionsServer) ListShardKeys(context.Context, *ListShardKeysRequest) (*ListShardKeysResponse, error)
func (UnimplementedCollectionsServer) Update ¶
func (UnimplementedCollectionsServer) Update(context.Context, *UpdateCollection) (*CollectionOperationResponse, error)
func (UnimplementedCollectionsServer) UpdateAliases ¶
func (UnimplementedCollectionsServer) UpdateAliases(context.Context, *ChangeAliases) (*CollectionOperationResponse, error)
func (UnimplementedCollectionsServer) UpdateCollectionClusterSetup ¶ added in v1.2.0
func (UnimplementedCollectionsServer) UpdateCollectionClusterSetup(context.Context, *UpdateCollectionClusterSetupRequest) (*UpdateCollectionClusterSetupResponse, error)
type UnimplementedPointsServer ¶
type UnimplementedPointsServer struct{}
UnimplementedPointsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedPointsServer) ClearPayload ¶
func (UnimplementedPointsServer) ClearPayload(context.Context, *ClearPayloadPoints) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) Count ¶ added in v0.8.4
func (UnimplementedPointsServer) Count(context.Context, *CountPoints) (*CountResponse, error)
func (UnimplementedPointsServer) CreateFieldIndex ¶
func (UnimplementedPointsServer) CreateFieldIndex(context.Context, *CreateFieldIndexCollection) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) CreateVectorName ¶ added in v1.18.0
func (UnimplementedPointsServer) CreateVectorName(context.Context, *CreateVectorNameRequest) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) Delete ¶
func (UnimplementedPointsServer) Delete(context.Context, *DeletePoints) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) DeleteFieldIndex ¶
func (UnimplementedPointsServer) DeleteFieldIndex(context.Context, *DeleteFieldIndexCollection) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) DeletePayload ¶
func (UnimplementedPointsServer) DeletePayload(context.Context, *DeletePayloadPoints) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) DeleteVectorName ¶ added in v1.18.0
func (UnimplementedPointsServer) DeleteVectorName(context.Context, *DeleteVectorNameRequest) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) DeleteVectors ¶ added in v1.2.0
func (UnimplementedPointsServer) DeleteVectors(context.Context, *DeletePointVectors) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) Discover ¶ added in v1.7.0
func (UnimplementedPointsServer) Discover(context.Context, *DiscoverPoints) (*DiscoverResponse, error)
func (UnimplementedPointsServer) DiscoverBatch ¶ added in v1.7.0
func (UnimplementedPointsServer) DiscoverBatch(context.Context, *DiscoverBatchPoints) (*DiscoverBatchResponse, error)
func (UnimplementedPointsServer) Facet ¶ added in v1.13.0
func (UnimplementedPointsServer) Facet(context.Context, *FacetCounts) (*FacetResponse, error)
func (UnimplementedPointsServer) Get ¶
func (UnimplementedPointsServer) Get(context.Context, *GetPoints) (*GetResponse, error)
func (UnimplementedPointsServer) OverwritePayload ¶ added in v0.11.5
func (UnimplementedPointsServer) OverwritePayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) Query ¶ added in v1.10.0
func (UnimplementedPointsServer) Query(context.Context, *QueryPoints) (*QueryResponse, error)
func (UnimplementedPointsServer) QueryBatch ¶ added in v1.10.0
func (UnimplementedPointsServer) QueryBatch(context.Context, *QueryBatchPoints) (*QueryBatchResponse, error)
func (UnimplementedPointsServer) QueryGroups ¶ added in v1.11.0
func (UnimplementedPointsServer) QueryGroups(context.Context, *QueryPointGroups) (*QueryGroupsResponse, error)
func (UnimplementedPointsServer) Recommend ¶
func (UnimplementedPointsServer) Recommend(context.Context, *RecommendPoints) (*RecommendResponse, error)
func (UnimplementedPointsServer) RecommendBatch ¶ added in v0.10.0
func (UnimplementedPointsServer) RecommendBatch(context.Context, *RecommendBatchPoints) (*RecommendBatchResponse, error)
func (UnimplementedPointsServer) RecommendGroups ¶ added in v1.2.0
func (UnimplementedPointsServer) RecommendGroups(context.Context, *RecommendPointGroups) (*RecommendGroupsResponse, error)
func (UnimplementedPointsServer) Scroll ¶
func (UnimplementedPointsServer) Scroll(context.Context, *ScrollPoints) (*ScrollResponse, error)
func (UnimplementedPointsServer) Search ¶
func (UnimplementedPointsServer) Search(context.Context, *SearchPoints) (*SearchResponse, error)
func (UnimplementedPointsServer) SearchBatch ¶ added in v0.10.0
func (UnimplementedPointsServer) SearchBatch(context.Context, *SearchBatchPoints) (*SearchBatchResponse, error)
func (UnimplementedPointsServer) SearchGroups ¶ added in v1.2.0
func (UnimplementedPointsServer) SearchGroups(context.Context, *SearchPointGroups) (*SearchGroupsResponse, error)
func (UnimplementedPointsServer) SearchMatrixOffsets ¶ added in v1.13.0
func (UnimplementedPointsServer) SearchMatrixOffsets(context.Context, *SearchMatrixPoints) (*SearchMatrixOffsetsResponse, error)
func (UnimplementedPointsServer) SearchMatrixPairs ¶ added in v1.13.0
func (UnimplementedPointsServer) SearchMatrixPairs(context.Context, *SearchMatrixPoints) (*SearchMatrixPairsResponse, error)
func (UnimplementedPointsServer) SetPayload ¶
func (UnimplementedPointsServer) SetPayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) UpdateBatch ¶ added in v1.5.0
func (UnimplementedPointsServer) UpdateBatch(context.Context, *UpdateBatchPoints) (*UpdateBatchResponse, error)
func (UnimplementedPointsServer) UpdateVectors ¶ added in v1.2.0
func (UnimplementedPointsServer) UpdateVectors(context.Context, *UpdatePointVectors) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) Upsert ¶
func (UnimplementedPointsServer) Upsert(context.Context, *UpsertPoints) (*PointsOperationResponse, error)
type UnimplementedQdrantServer ¶
type UnimplementedQdrantServer struct{}
UnimplementedQdrantServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedQdrantServer) HealthCheck ¶
func (UnimplementedQdrantServer) HealthCheck(context.Context, *HealthCheckRequest) (*HealthCheckReply, error)
type UnimplementedSnapshotsServer ¶ added in v0.8.4
type UnimplementedSnapshotsServer struct{}
UnimplementedSnapshotsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSnapshotsServer) Create ¶ added in v0.8.4
func (UnimplementedSnapshotsServer) Create(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
func (UnimplementedSnapshotsServer) CreateFull ¶ added in v0.8.5
func (UnimplementedSnapshotsServer) CreateFull(context.Context, *CreateFullSnapshotRequest) (*CreateSnapshotResponse, error)
func (UnimplementedSnapshotsServer) Delete ¶ added in v1.0.0
func (UnimplementedSnapshotsServer) Delete(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
func (UnimplementedSnapshotsServer) DeleteFull ¶ added in v1.0.0
func (UnimplementedSnapshotsServer) DeleteFull(context.Context, *DeleteFullSnapshotRequest) (*DeleteSnapshotResponse, error)
func (UnimplementedSnapshotsServer) List ¶ added in v0.8.4
func (UnimplementedSnapshotsServer) List(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
func (UnimplementedSnapshotsServer) ListFull ¶ added in v0.8.5
func (UnimplementedSnapshotsServer) ListFull(context.Context, *ListFullSnapshotsRequest) (*ListSnapshotsResponse, error)
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 {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
Operations []*PointsUpdateOperation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Timeout for the operation in seconds
Timeout *uint64 `protobuf:"varint,5,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *UpdateBatchPoints) GetTimeout() uint64
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 spent to process
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"`
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// 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) GetUsage ¶ added in v1.15.0
func (x *UpdateBatchResponse) GetUsage() *Usage
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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// New configuration parameters for the collection.
// This operation is blocking, it will only proceed once all current
// optimizations are complete
OptimizersConfig *OptimizersConfigDiff `protobuf:"bytes,2,opt,name=optimizers_config,json=optimizersConfig,proto3,oneof" json:"optimizers_config,omitempty"`
// Wait timeout for operation commit in seconds if blocking.
// If not specified - default value will be supplied.
Timeout *uint64 `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// New configuration parameters for the collection
Params *CollectionParamsDiff `protobuf:"bytes,4,opt,name=params,proto3,oneof" json:"params,omitempty"`
// New HNSW parameters for the collection index
HnswConfig *HnswConfigDiff `protobuf:"bytes,5,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"`
// New vector parameters
VectorsConfig *VectorsConfigDiff `protobuf:"bytes,6,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"`
// Quantization configuration of vector
QuantizationConfig *QuantizationConfigDiff `protobuf:"bytes,7,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"`
// New sparse vector parameters
SparseVectorsConfig *SparseVectorConfig `` /* 126-byte string literal not displayed */
// New strict mode configuration
StrictModeConfig *StrictModeConfig `protobuf:"bytes,9,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"`
// Arbitrary JSON-like metadata for the collection, will be merged with
// already stored metadata
Metadata map[string]*Value `` /* 158-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UpdateCollection) Descriptor
deprecated
func (*UpdateCollection) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollection.ProtoReflect.Descriptor instead.
func (*UpdateCollection) GetCollectionName ¶
func (x *UpdateCollection) GetCollectionName() string
func (*UpdateCollection) GetHnswConfig ¶ added in v1.4.1
func (x *UpdateCollection) GetHnswConfig() *HnswConfigDiff
func (*UpdateCollection) GetMetadata ¶ added in v1.16.0
func (x *UpdateCollection) GetMetadata() map[string]*Value
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) GetStrictModeConfig ¶ added in v1.13.0
func (x *UpdateCollection) GetStrictModeConfig() *StrictModeConfig
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 {
// Name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Types that are assignable to Operation:
//
// *UpdateCollectionClusterSetupRequest_MoveShard
// *UpdateCollectionClusterSetupRequest_ReplicateShard
// *UpdateCollectionClusterSetupRequest_AbortTransfer
// *UpdateCollectionClusterSetupRequest_DropReplica
// *UpdateCollectionClusterSetupRequest_CreateShardKey
// *UpdateCollectionClusterSetupRequest_DeleteShardKey
// *UpdateCollectionClusterSetupRequest_RestartTransfer
// *UpdateCollectionClusterSetupRequest_ReplicatePoints
Operation isUpdateCollectionClusterSetupRequest_Operation `protobuf_oneof:"operation"`
// Wait timeout for operation commit in seconds.
// If not specified - default value will be supplied.
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// contains filtered or unexported fields
}
func NewUpdateCollectionClusterAbortTransfer ¶ added in v1.16.0
func NewUpdateCollectionClusterAbortTransfer(collectionName string, abortTransfer *AbortShardTransfer) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to abort a shard transfer.
func NewUpdateCollectionClusterCreateShardKey ¶ added in v1.16.0
func NewUpdateCollectionClusterCreateShardKey(collectionName string, createShardKey *CreateShardKey) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to create a shard key.
func NewUpdateCollectionClusterDeleteShardKey ¶ added in v1.16.0
func NewUpdateCollectionClusterDeleteShardKey(collectionName string, deleteShardKey *DeleteShardKey) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to delete a shard key.
func NewUpdateCollectionClusterDropReplica ¶ added in v1.16.0
func NewUpdateCollectionClusterDropReplica(collectionName string, dropReplica *Replica) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to drop a replica.
func NewUpdateCollectionClusterMoveShard ¶ added in v1.16.0
func NewUpdateCollectionClusterMoveShard(collectionName string, moveShard *MoveShard) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to move a shard.
func NewUpdateCollectionClusterReplicatePoints ¶ added in v1.16.0
func NewUpdateCollectionClusterReplicatePoints(collectionName string, replicatePoints *ReplicatePoints) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to replicate points.
func NewUpdateCollectionClusterReplicateShard ¶ added in v1.16.0
func NewUpdateCollectionClusterReplicateShard(collectionName string, replicateShard *ReplicateShard) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to replicate a shard.
func NewUpdateCollectionClusterRestartTransfer ¶ added in v1.16.0
func NewUpdateCollectionClusterRestartTransfer(collectionName string, restartTransfer *RestartTransfer) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to restart a transfer.
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 (x *UpdateCollectionClusterSetupRequest) GetAbortTransfer() *AbortShardTransfer
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 (x *UpdateCollectionClusterSetupRequest) GetMoveShard() *MoveShard
func (*UpdateCollectionClusterSetupRequest) GetOperation ¶ added in v1.2.0
func (m *UpdateCollectionClusterSetupRequest) GetOperation() isUpdateCollectionClusterSetupRequest_Operation
func (*UpdateCollectionClusterSetupRequest) GetReplicatePoints ¶ added in v1.16.0
func (x *UpdateCollectionClusterSetupRequest) GetReplicatePoints() *ReplicatePoints
func (*UpdateCollectionClusterSetupRequest) GetReplicateShard ¶ added in v1.2.0
func (x *UpdateCollectionClusterSetupRequest) GetReplicateShard() *ReplicateShard
func (*UpdateCollectionClusterSetupRequest) GetRestartTransfer ¶ added in v1.8.0
func (x *UpdateCollectionClusterSetupRequest) GetRestartTransfer() *RestartTransfer
func (*UpdateCollectionClusterSetupRequest) GetTimeout ¶ added in v1.2.0
func (x *UpdateCollectionClusterSetupRequest) GetTimeout() uint64
func (*UpdateCollectionClusterSetupRequest) ProtoMessage ¶ added in v1.2.0
func (*UpdateCollectionClusterSetupRequest) ProtoMessage()
func (*UpdateCollectionClusterSetupRequest) ProtoReflect ¶ added in v1.2.0
func (x *UpdateCollectionClusterSetupRequest) ProtoReflect() protoreflect.Message
func (*UpdateCollectionClusterSetupRequest) Reset ¶ added in v1.2.0
func (x *UpdateCollectionClusterSetupRequest) Reset()
func (*UpdateCollectionClusterSetupRequest) String ¶ added in v1.2.0
func (x *UpdateCollectionClusterSetupRequest) String() string
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_ReplicatePoints ¶ added in v1.16.0
type UpdateCollectionClusterSetupRequest_ReplicatePoints struct {
ReplicatePoints *ReplicatePoints `protobuf:"bytes,10,opt,name=replicate_points,json=replicatePoints,proto3,oneof"`
}
type UpdateCollectionClusterSetupRequest_ReplicateShard ¶ added in v1.2.0
type UpdateCollectionClusterSetupRequest_ReplicateShard struct {
ReplicateShard *ReplicateShard `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 (x *UpdateCollectionClusterSetupResponse) GetResult() bool
func (*UpdateCollectionClusterSetupResponse) ProtoMessage ¶ added in v1.2.0
func (*UpdateCollectionClusterSetupResponse) ProtoMessage()
func (*UpdateCollectionClusterSetupResponse) ProtoReflect ¶ added in v1.2.0
func (x *UpdateCollectionClusterSetupResponse) ProtoReflect() protoreflect.Message
func (*UpdateCollectionClusterSetupResponse) Reset ¶ added in v1.2.0
func (x *UpdateCollectionClusterSetupResponse) Reset()
func (*UpdateCollectionClusterSetupResponse) String ¶ added in v1.2.0
func (x *UpdateCollectionClusterSetupResponse) String() string
type UpdateMode ¶ added in v1.17.0
type UpdateMode int32
Defines the mode of the upsert operation
const ( // Default mode - insert new points, update existing points UpdateMode_Upsert UpdateMode = 0 // Only insert new points, do not update existing points UpdateMode_InsertOnly UpdateMode = 1 // Only update existing points, do not insert new points UpdateMode_UpdateOnly UpdateMode = 2 )
func (UpdateMode) Descriptor ¶ added in v1.17.0
func (UpdateMode) Descriptor() protoreflect.EnumDescriptor
func (UpdateMode) Enum ¶ added in v1.17.0
func (x UpdateMode) Enum() *UpdateMode
func (UpdateMode) EnumDescriptor
deprecated
added in
v1.17.0
func (UpdateMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use UpdateMode.Descriptor instead.
func (UpdateMode) Number ¶ added in v1.17.0
func (x UpdateMode) Number() protoreflect.EnumNumber
func (UpdateMode) String ¶ added in v1.17.0
func (x UpdateMode) String() string
func (UpdateMode) Type ¶ added in v1.17.0
func (UpdateMode) Type() protoreflect.EnumType
type UpdatePointVectors ¶ added in v1.2.0
type UpdatePointVectors struct {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
// List of points and vectors to update
Points []*PointVectors `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// If specified, only points that match this filter will be updated
UpdateFilter *Filter `protobuf:"bytes,6,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,7,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *UpdatePointVectors) GetTimeout() uint64
func (*UpdatePointVectors) GetUpdateFilter ¶ added in v1.16.0
func (x *UpdatePointVectors) GetUpdateFilter() *Filter
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 UpdateQueueInfo ¶ added in v1.17.0
type UpdateQueueInfo struct {
// Number of elements in the queue
Length uint64 `protobuf:"varint,1,opt,name=length,proto3" json:"length,omitempty"`
// Number of points that are deferred (i.e hidden from search as they're not yet optimized).
DeferredPoints *uint64 `protobuf:"varint,2,opt,name=deferred_points,json=deferredPoints,proto3,oneof" json:"deferred_points,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateQueueInfo) Descriptor
deprecated
added in
v1.17.0
func (*UpdateQueueInfo) Descriptor() ([]byte, []int)
Deprecated: Use UpdateQueueInfo.ProtoReflect.Descriptor instead.
func (*UpdateQueueInfo) GetDeferredPoints ¶ added in v1.18.0
func (x *UpdateQueueInfo) GetDeferredPoints() uint64
func (*UpdateQueueInfo) GetLength ¶ added in v1.17.0
func (x *UpdateQueueInfo) GetLength() uint64
func (*UpdateQueueInfo) ProtoMessage ¶ added in v1.17.0
func (*UpdateQueueInfo) ProtoMessage()
func (*UpdateQueueInfo) ProtoReflect ¶ added in v1.17.0
func (x *UpdateQueueInfo) ProtoReflect() protoreflect.Message
func (*UpdateQueueInfo) Reset ¶ added in v1.17.0
func (x *UpdateQueueInfo) Reset()
func (*UpdateQueueInfo) String ¶ added in v1.17.0
func (x *UpdateQueueInfo) String() string
type UpdateResult ¶
type UpdateResult struct {
// Number of operation
OperationId *uint64 `protobuf:"varint,1,opt,name=operation_id,json=operationId,proto3,oneof" json:"operation_id,omitempty"`
// Operation status
Status UpdateStatus `protobuf:"varint,2,opt,name=status,proto3,enum=qdrant.UpdateStatus" json:"status,omitempty"`
// 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 // Update is received, but not processed yet UpdateStatus_Acknowledged UpdateStatus = 1 // Update is applied and ready for search UpdateStatus_Completed UpdateStatus = 2 // Internal: update is rejected due to an outdated clock UpdateStatus_ClockRejected UpdateStatus = 3 // Timeout of awaited operations UpdateStatus_WaitTimeout UpdateStatus = 4 )
func (UpdateStatus) Descriptor ¶
func (UpdateStatus) Descriptor() protoreflect.EnumDescriptor
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 (x UpdateStatus) Number() protoreflect.EnumNumber
func (UpdateStatus) String ¶
func (x UpdateStatus) String() string
func (UpdateStatus) Type ¶
func (UpdateStatus) Type() protoreflect.EnumType
type UpsertPoints ¶
type UpsertPoints struct {
// name of the collection
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// Wait until the changes have been applied?
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"`
Points []*PointStruct `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
// Write ordering guarantees
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"`
// Option for custom sharding to specify used shard keys
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"`
// Filter to apply when updating existing points. Only points matching this filter will be updated.
// Points that don't match will keep their current state. New points will be inserted regardless of the filter.
UpdateFilter *Filter `protobuf:"bytes,6,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"`
// Timeout for the request in seconds
Timeout *uint64 `protobuf:"varint,7,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"`
// Mode of the upsert operation: insert_only, upsert (default), update_only
UpdateMode *UpdateMode `protobuf:"varint,8,opt,name=update_mode,json=updateMode,proto3,enum=qdrant.UpdateMode,oneof" json:"update_mode,omitempty"`
// 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) GetTimeout ¶ added in v1.17.0
func (x *UpsertPoints) GetTimeout() uint64
func (*UpsertPoints) GetUpdateFilter ¶ added in v1.16.0
func (x *UpsertPoints) GetUpdateFilter() *Filter
func (*UpsertPoints) GetUpdateMode ¶ added in v1.17.0
func (x *UpsertPoints) GetUpdateMode() UpdateMode
func (*UpsertPoints) GetWait ¶
func (x *UpsertPoints) GetWait() bool
func (*UpsertPoints) ProtoMessage ¶
func (*UpsertPoints) ProtoMessage()
func (*UpsertPoints) ProtoReflect ¶
func (x *UpsertPoints) ProtoReflect() protoreflect.Message
func (*UpsertPoints) Reset ¶
func (x *UpsertPoints) Reset()
func (*UpsertPoints) String ¶
func (x *UpsertPoints) String() string
type Usage ¶ added in v1.15.0
type Usage struct {
Hardware *HardwareUsage `protobuf:"bytes,1,opt,name=hardware,proto3,oneof" json:"hardware,omitempty"`
Inference *InferenceUsage `protobuf:"bytes,2,opt,name=inference,proto3,oneof" json:"inference,omitempty"`
// contains filtered or unexported fields
}
--------------------------------------------- ----------- Measurements collector ---------- ---------------------------------------------
func (*Usage) Descriptor
deprecated
added in
v1.15.0
func (*Usage) GetHardware ¶ added in v1.15.0
func (x *Usage) GetHardware() *HardwareUsage
func (*Usage) GetInference ¶ added in v1.15.0
func (x *Usage) GetInference() *InferenceUsage
func (*Usage) ProtoMessage ¶ added in v1.15.0
func (*Usage) ProtoMessage()
func (*Usage) ProtoReflect ¶ added in v1.15.0
func (x *Usage) ProtoReflect() protoreflect.Message
type UuidIndexParams ¶ added in v1.11.0
type UuidIndexParams struct {
// If true - used for tenant optimization.
IsTenant *bool `protobuf:"varint,1,opt,name=is_tenant,json=isTenant,proto3,oneof" json:"is_tenant,omitempty"`
// If true - store index on disk.
OnDisk *bool `protobuf:"varint,2,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Enable HNSW graph building for this payload field.
// If true, builds additional HNSW links (Need payload_m > 0).
// Default: true.
EnableHnsw *bool `protobuf:"varint,3,opt,name=enable_hnsw,json=enableHnsw,proto3,oneof" json:"enable_hnsw,omitempty"`
// contains filtered or unexported fields
}
func (*UuidIndexParams) Descriptor
deprecated
added in
v1.11.0
func (*UuidIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use UuidIndexParams.ProtoReflect.Descriptor instead.
func (*UuidIndexParams) GetEnableHnsw ¶ added in v1.17.0
func (x *UuidIndexParams) GetEnableHnsw() bool
func (*UuidIndexParams) GetIsTenant ¶ added in v1.11.0
func (x *UuidIndexParams) GetIsTenant() bool
func (*UuidIndexParams) GetOnDisk ¶ added in v1.11.0
func (x *UuidIndexParams) GetOnDisk() bool
func (*UuidIndexParams) ProtoMessage ¶ added in v1.11.0
func (*UuidIndexParams) ProtoMessage()
func (*UuidIndexParams) ProtoReflect ¶ added in v1.11.0
func (x *UuidIndexParams) ProtoReflect() protoreflect.Message
func (*UuidIndexParams) Reset ¶ added in v1.11.0
func (x *UuidIndexParams) Reset()
func (*UuidIndexParams) String ¶ added in v1.11.0
func (x *UuidIndexParams) String() string
type Value ¶
type Value struct {
// The kind of value.
//
// Types that are assignable to Kind:
//
// *Value_NullValue
// *Value_DoubleValue
// *Value_IntegerValue
// *Value_StringValue
// *Value_BoolValue
// *Value_StructValue
// *Value_ListValue
Kind isValue_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
`Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of those variants, absence of any variant indicates an error.
The JSON representation for `Value` is a JSON value.
func NewValueBool ¶ added in v1.11.1
Constructs a new boolean Value.
func NewValueDouble ¶ added in v1.11.1
Constructs a new double Value.
func NewValueFromFields ¶ added in v1.16.1
Constructs a new struct Value from the provided field map.
func NewValueFromList ¶ added in v1.16.1
Constructs a new list Value from the provided elements.
func NewValueInt ¶ added in v1.11.1
Constructs a new integer Value.
func NewValueList ¶ added in v1.11.1
Constructs a new list Value.
func NewValueString ¶ added in v1.11.1
Constructs a new string Value.
func NewValueStruct ¶ added in v1.11.1
Constructs a new struct Value.
func (*Value) Descriptor
deprecated
func (*Value) GetBoolValue ¶
func (*Value) GetDoubleValue ¶
func (*Value) GetIntegerValue ¶
func (*Value) GetListValue ¶
func (*Value) GetNullValue ¶
func (*Value) GetStringValue ¶
func (*Value) GetStructValue ¶
func (*Value) ProtoMessage ¶
func (*Value) ProtoMessage()
func (*Value) ProtoReflect ¶
func (x *Value) ProtoReflect() protoreflect.Message
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 {
// Vector data (flatten for multi vectors), deprecated
//
// Deprecated: Marked as deprecated in points.proto.
Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"`
// Sparse indices for sparse vectors, deprecated
//
// Deprecated: Marked as deprecated in points.proto.
Indices *SparseIndices `protobuf:"bytes,2,opt,name=indices,proto3,oneof" json:"indices,omitempty"`
// Number of vectors per multi vector, deprecated
//
// Deprecated: Marked as deprecated in points.proto.
VectorsCount *uint32 `protobuf:"varint,3,opt,name=vectors_count,json=vectorsCount,proto3,oneof" json:"vectors_count,omitempty"`
// Types that are assignable to Vector:
//
// *Vector_Dense
// *Vector_Sparse
// *Vector_MultiDense
// *Vector_Document
// *Vector_Image
// *Vector_Object
Vector isVector_Vector `protobuf_oneof:"vector"`
// contains filtered or unexported fields
}
func NewVector ¶ added in v1.11.1
Creates a *Vector instance for dense vectors. This is an alias for NewVectorDense().
func NewVectorDense ¶ added in v1.11.1
Creates a *Vector instance for dense vectors.
func NewVectorDocument ¶ added in v1.14.1
Creates a *Vector instance from a *Document for cloud inference.
func NewVectorImage ¶ added in v1.14.1
Creates a *Vector instance from a *Image for cloud inference.
func NewVectorMulti ¶ added in v1.11.1
Creates a *Vector instance for multi vectors.
func NewVectorObject ¶ added in v1.14.1
func NewVectorObject(object *InferenceObject) *Vector
Creates a *Vector instance from a *InferenceObject for cloud inference.
func NewVectorSparse ¶ added in v1.11.1
Creates a *Vector instance for sparse vectors.
func (*Vector) Descriptor
deprecated
added in
v0.10.0
func (*Vector) GetDense ¶ added in v1.13.0
func (x *Vector) GetDense() *DenseVector
func (*Vector) GetDocument ¶ added in v1.13.0
func (*Vector) GetIndices
deprecated
added in
v1.7.0
func (x *Vector) GetIndices() *SparseIndices
Deprecated: Marked as deprecated in points.proto.
func (*Vector) GetMultiDense ¶ added in v1.13.0
func (x *Vector) GetMultiDense() *MultiDenseVector
func (*Vector) GetObject ¶ added in v1.13.0
func (x *Vector) GetObject() *InferenceObject
func (*Vector) GetSparse ¶ added in v1.13.0
func (x *Vector) GetSparse() *SparseVector
func (*Vector) GetVectorsCount
deprecated
added in
v1.10.0
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
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 VectorInput ¶ added in v1.10.0
type VectorInput struct {
// Types that are assignable to Variant:
//
// *VectorInput_Id
// *VectorInput_Dense
// *VectorInput_Sparse
// *VectorInput_MultiDense
// *VectorInput_Document
// *VectorInput_Image
// *VectorInput_Object
Variant isVectorInput_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
Vector type to be used in queries. Ids will be substituted with their corresponding vectors from the collection.
func NewVectorInput ¶ added in v1.11.1
func NewVectorInput(values ...float32) *VectorInput
Creates a *VectorInput instance for dense vectors. This is an alias for NewVectorInputDense().
func NewVectorInputDense ¶ added in v1.11.1
func NewVectorInputDense(vector []float32) *VectorInput
Creates a *VectorInput instance for dense vectors.
func NewVectorInputDocument ¶ added in v1.14.1
func NewVectorInputDocument(document *Document) *VectorInput
Creates a *VectorInput instance from a *Document for cloud inference.
func NewVectorInputID ¶ added in v1.11.1
func NewVectorInputID(id *PointId) *VectorInput
Creates a *VectorInput instance from a *PointId.
func NewVectorInputImage ¶ added in v1.14.1
func NewVectorInputImage(image *Image) *VectorInput
Creates a *VectorInput instance from a *Image for cloud inference.
func NewVectorInputMulti ¶ added in v1.11.1
func NewVectorInputMulti(vectors [][]float32) *VectorInput
Creates a *VectorInput instance for multi vectors.
func NewVectorInputObject ¶ added in v1.14.1
func NewVectorInputObject(object *InferenceObject) *VectorInput
Creates a *VectorInput instance from a *InferenceObject for cloud inference.
func NewVectorInputSparse ¶ added in v1.11.1
func NewVectorInputSparse(indices []uint32, values []float32) *VectorInput
Creates a *VectorInput instance for sparse vectors.
func (*VectorInput) Descriptor
deprecated
added in
v1.10.0
func (*VectorInput) Descriptor() ([]byte, []int)
Deprecated: Use VectorInput.ProtoReflect.Descriptor instead.
func (*VectorInput) GetDense ¶ added in v1.10.0
func (x *VectorInput) GetDense() *DenseVector
func (*VectorInput) GetDocument ¶ added in v1.13.0
func (x *VectorInput) GetDocument() *Document
func (*VectorInput) GetId ¶ added in v1.10.0
func (x *VectorInput) GetId() *PointId
func (*VectorInput) GetImage ¶ added in v1.13.0
func (x *VectorInput) GetImage() *Image
func (*VectorInput) GetMultiDense ¶ added in v1.10.0
func (x *VectorInput) GetMultiDense() *MultiDenseVector
func (*VectorInput) GetObject ¶ added in v1.13.0
func (x *VectorInput) GetObject() *InferenceObject
func (*VectorInput) GetSparse ¶ added in v1.10.0
func (x *VectorInput) GetSparse() *SparseVector
func (*VectorInput) GetVariant ¶ added in v1.10.0
func (m *VectorInput) GetVariant() isVectorInput_Variant
func (*VectorInput) ProtoMessage ¶ added in v1.10.0
func (*VectorInput) ProtoMessage()
func (*VectorInput) ProtoReflect ¶ added in v1.10.0
func (x *VectorInput) ProtoReflect() protoreflect.Message
func (*VectorInput) Reset ¶ added in v1.10.0
func (x *VectorInput) Reset()
func (*VectorInput) String ¶ added in v1.10.0
func (x *VectorInput) String() string
type VectorInput_Dense ¶ added in v1.10.0
type VectorInput_Dense struct {
Dense *DenseVector `protobuf:"bytes,2,opt,name=dense,proto3,oneof"`
}
type VectorInput_Document ¶ added in v1.13.0
type VectorInput_Document struct {
Document *Document `protobuf:"bytes,5,opt,name=document,proto3,oneof"`
}
type VectorInput_Id ¶ added in v1.10.0
type VectorInput_Id struct {
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}
type VectorInput_Image ¶ added in v1.13.0
type VectorInput_Image struct {
Image *Image `protobuf:"bytes,6,opt,name=image,proto3,oneof"`
}
type VectorInput_MultiDense ¶ added in v1.10.0
type VectorInput_MultiDense struct {
MultiDense *MultiDenseVector `protobuf:"bytes,4,opt,name=multi_dense,json=multiDense,proto3,oneof"`
}
type VectorInput_Object ¶ added in v1.13.0
type VectorInput_Object struct {
Object *InferenceObject `protobuf:"bytes,7,opt,name=object,proto3,oneof"`
}
type VectorInput_Sparse ¶ added in v1.10.0
type VectorInput_Sparse struct {
Sparse *SparseVector `protobuf:"bytes,3,opt,name=sparse,proto3,oneof"`
}
type VectorOutput ¶ added in v1.13.0
type VectorOutput struct {
// Vector data (flatten for multi vectors), deprecated
//
// Deprecated: Marked as deprecated in points.proto.
Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"`
// Sparse indices for sparse vectors, deprecated
//
// Deprecated: Marked as deprecated in points.proto.
Indices *SparseIndices `protobuf:"bytes,2,opt,name=indices,proto3,oneof" json:"indices,omitempty"`
// Number of vectors per multi vector, deprecated
//
// Deprecated: Marked as deprecated in points.proto.
VectorsCount *uint32 `protobuf:"varint,3,opt,name=vectors_count,json=vectorsCount,proto3,oneof" json:"vectors_count,omitempty"`
// Types that are assignable to Vector:
//
// *VectorOutput_Dense
// *VectorOutput_Sparse
// *VectorOutput_MultiDense
Vector isVectorOutput_Vector `protobuf_oneof:"vector"`
// contains filtered or unexported fields
}
func (*VectorOutput) Descriptor
deprecated
added in
v1.13.0
func (*VectorOutput) Descriptor() ([]byte, []int)
Deprecated: Use VectorOutput.ProtoReflect.Descriptor instead.
func (*VectorOutput) GetData
deprecated
added in
v1.13.0
func (x *VectorOutput) GetData() []float32
Deprecated: Marked as deprecated in points.proto.
func (*VectorOutput) GetDense ¶ added in v1.13.0
func (x *VectorOutput) GetDense() *DenseVector
func (*VectorOutput) GetDenseVector ¶ added in v1.16.0
func (v *VectorOutput) GetDenseVector() *DenseVector
GetDense returns the DenseVector from the VectorOutput. Returns nil if no dense vector data is available.
func (*VectorOutput) GetIndices
deprecated
added in
v1.13.0
func (x *VectorOutput) GetIndices() *SparseIndices
Deprecated: Marked as deprecated in points.proto.
func (*VectorOutput) GetMultiDense ¶ added in v1.13.0
func (x *VectorOutput) GetMultiDense() *MultiDenseVector
func (*VectorOutput) GetMultiVector ¶ added in v1.16.0
func (v *VectorOutput) GetMultiVector() *MultiDenseVector
GetMultiDense returns the MultiDenseVector from the VectorOutput. Returns nil if no multi-dense vector data is available.
func (*VectorOutput) GetSparse ¶ added in v1.13.0
func (x *VectorOutput) GetSparse() *SparseVector
func (*VectorOutput) GetSparseVector ¶ added in v1.16.0
func (v *VectorOutput) GetSparseVector() *SparseVector
GetSparse returns the SparseVector from the VectorOutput. Returns nil if no sparse vector data is available.
func (*VectorOutput) GetVector ¶ added in v1.13.0
func (m *VectorOutput) GetVector() isVectorOutput_Vector
func (*VectorOutput) GetVectorsCount
deprecated
added in
v1.13.0
func (x *VectorOutput) GetVectorsCount() uint32
Deprecated: Marked as deprecated in points.proto.
func (*VectorOutput) ProtoMessage ¶ added in v1.13.0
func (*VectorOutput) ProtoMessage()
func (*VectorOutput) ProtoReflect ¶ added in v1.13.0
func (x *VectorOutput) ProtoReflect() protoreflect.Message
func (*VectorOutput) Reset ¶ added in v1.13.0
func (x *VectorOutput) Reset()
func (*VectorOutput) String ¶ added in v1.13.0
func (x *VectorOutput) String() string
type VectorOutput_Dense ¶ added in v1.13.0
type VectorOutput_Dense struct {
// Dense vector
Dense *DenseVector `protobuf:"bytes,101,opt,name=dense,proto3,oneof"`
}
type VectorOutput_MultiDense ¶ added in v1.13.0
type VectorOutput_MultiDense struct {
// Multi dense vector
MultiDense *MultiDenseVector `protobuf:"bytes,103,opt,name=multi_dense,json=multiDense,proto3,oneof"`
}
type VectorOutput_Sparse ¶ added in v1.13.0
type VectorOutput_Sparse struct {
// Sparse vector
Sparse *SparseVector `protobuf:"bytes,102,opt,name=sparse,proto3,oneof"`
}
type VectorParams ¶ added in v0.10.0
type VectorParams struct {
// Size of the vectors
Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`
// Distance function used for comparing vectors
Distance Distance `protobuf:"varint,2,opt,name=distance,proto3,enum=qdrant.Distance" json:"distance,omitempty"`
// Configuration of vector HNSW graph.
// If omitted - the collection configuration will be used
HnswConfig *HnswConfigDiff `protobuf:"bytes,3,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"`
// Configuration of vector quantization config.
// 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"`
// If true - serve vectors from disk.
// If set to false, the vectors will be loaded in RAM.
OnDisk *bool `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Data type of the vectors
Datatype *Datatype `protobuf:"varint,6,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"`
// Configuration for multi-vector search
MultivectorConfig *MultiVectorConfig `protobuf:"bytes,7,opt,name=multivector_config,json=multivectorConfig,proto3,oneof" json:"multivector_config,omitempty"`
// 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) GetMultivectorConfig ¶ added in v1.10.0
func (x *VectorParams) GetMultivectorConfig() *MultiVectorConfig
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 {
// Update params for HNSW index.
// If empty object - it will be unset
HnswConfig *HnswConfigDiff `protobuf:"bytes,1,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"`
// Update quantization params. If none - it is left unchanged.
QuantizationConfig *QuantizationConfigDiff `protobuf:"bytes,2,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"`
// If true - serve vectors from disk.
// If set to false, the vectors will be loaded in RAM.
OnDisk *bool `protobuf:"varint,3,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// 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 Vector_Dense ¶ added in v1.13.0
type Vector_Dense struct {
// Dense vector
Dense *DenseVector `protobuf:"bytes,101,opt,name=dense,proto3,oneof"`
}
type Vector_Document ¶ added in v1.13.0
type Vector_Document struct {
Document *Document `protobuf:"bytes,104,opt,name=document,proto3,oneof"`
}
type Vector_Image ¶ added in v1.13.0
type Vector_Image struct {
Image *Image `protobuf:"bytes,105,opt,name=image,proto3,oneof"`
}
type Vector_MultiDense ¶ added in v1.13.0
type Vector_MultiDense struct {
// Multi dense vector
MultiDense *MultiDenseVector `protobuf:"bytes,103,opt,name=multi_dense,json=multiDense,proto3,oneof"`
}
type Vector_Object ¶ added in v1.13.0
type Vector_Object struct {
Object *InferenceObject `protobuf:"bytes,106,opt,name=object,proto3,oneof"`
}
type Vector_Sparse ¶ added in v1.13.0
type Vector_Sparse struct {
// Sparse vector
Sparse *SparseVector `protobuf:"bytes,102,opt,name=sparse,proto3,oneof"`
}
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 NewVectors ¶ added in v1.11.1
Creates a *Vectors instance for dense vectors. This is an alias for NewVectorsDense().
func NewVectorsDense ¶ added in v1.11.1
Creates a *Vectors instance for dense vectors.
func NewVectorsDocument ¶ added in v1.14.1
Creates a *Vectors instance from a *Document for cloud inference.
func NewVectorsImage ¶ added in v1.14.1
Creates a *Vectors instance from a *Image for cloud inference.
func NewVectorsMap ¶ added in v1.11.1
Creates a *Vectors instance for a map of named *Vector.
func NewVectorsMulti ¶ added in v1.11.1
Creates a *Vectors instance for multi vectors.
func NewVectorsObject ¶ added in v1.14.1
func NewVectorsObject(object *InferenceObject) *Vectors
Creates a *Vectors instance from a *InferenceObject for cloud inference.
func NewVectorsSparse ¶ added in v1.11.1
Creates a *Vectors instance for sparse vectors.
func (*Vectors) Descriptor
deprecated
added in
v0.10.0
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
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 NewVectorsConfig ¶ added in v1.11.1
func NewVectorsConfig(params *VectorParams) *VectorsConfig
Creates a *VectorsConfig instance from *VectorParams.
func NewVectorsConfigMap ¶ added in v1.11.1
func NewVectorsConfigMap(paramsMap map[string]*VectorParams) *VectorsConfig
Creates a *VectorsConfig instance from a map of *VectorParams.
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 NewVectorsConfigDiff ¶ added in v1.11.1
func NewVectorsConfigDiff(params *VectorParamsDiff) *VectorsConfigDiff
Creates a *VectorsConfigDiff instance from *VectorParamsDiff.
func NewVectorsConfigDiffMap ¶ added in v1.11.1
func NewVectorsConfigDiffMap(paramsMap map[string]*VectorParamsDiff) *VectorsConfigDiff
Creates a *VectorsConfigDiff instance from a map of *VectorParamsDiff.
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 VectorsOutput ¶ added in v1.13.0
type VectorsOutput struct {
// Types that are assignable to VectorsOptions:
//
// *VectorsOutput_Vector
// *VectorsOutput_Vectors
VectorsOptions isVectorsOutput_VectorsOptions `protobuf_oneof:"vectors_options"`
// contains filtered or unexported fields
}
func (*VectorsOutput) Descriptor
deprecated
added in
v1.13.0
func (*VectorsOutput) Descriptor() ([]byte, []int)
Deprecated: Use VectorsOutput.ProtoReflect.Descriptor instead.
func (*VectorsOutput) GetVector ¶ added in v1.13.0
func (x *VectorsOutput) GetVector() *VectorOutput
func (*VectorsOutput) GetVectors ¶ added in v1.13.0
func (x *VectorsOutput) GetVectors() *NamedVectorsOutput
func (*VectorsOutput) GetVectorsOptions ¶ added in v1.13.0
func (m *VectorsOutput) GetVectorsOptions() isVectorsOutput_VectorsOptions
func (*VectorsOutput) ProtoMessage ¶ added in v1.13.0
func (*VectorsOutput) ProtoMessage()
func (*VectorsOutput) ProtoReflect ¶ added in v1.13.0
func (x *VectorsOutput) ProtoReflect() protoreflect.Message
func (*VectorsOutput) Reset ¶ added in v1.13.0
func (x *VectorsOutput) Reset()
func (*VectorsOutput) String ¶ added in v1.13.0
func (x *VectorsOutput) String() string
type VectorsOutput_Vector ¶ added in v1.13.0
type VectorsOutput_Vector struct {
Vector *VectorOutput `protobuf:"bytes,1,opt,name=vector,proto3,oneof"`
}
type VectorsOutput_Vectors ¶ added in v1.13.0
type VectorsOutput_Vectors struct {
Vectors *NamedVectorsOutput `protobuf:"bytes,2,opt,name=vectors,proto3,oneof"`
}
type VectorsSelector ¶ added in v0.10.0
type VectorsSelector struct {
// List of vectors to include into result
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
// 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 Version ¶ added in v1.13.0
func ParseVersion ¶ added in v1.13.0
ParseVersion converts a version string "x.y[.z]" into a Version struct.
type WalConfigDiff ¶
type WalConfigDiff struct {
// Size of a single WAL block file
WalCapacityMb *uint64 `protobuf:"varint,1,opt,name=wal_capacity_mb,json=walCapacityMb,proto3,oneof" json:"wal_capacity_mb,omitempty"`
// Number of segments to create in advance
WalSegmentsAhead *uint64 `protobuf:"varint,2,opt,name=wal_segments_ahead,json=walSegmentsAhead,proto3,oneof" json:"wal_segments_ahead,omitempty"`
// Number of closed segments to retain
WalRetainClosed *uint64 `protobuf:"varint,3,opt,name=wal_retain_closed,json=walRetainClosed,proto3,oneof" json:"wal_retain_closed,omitempty"`
// contains filtered or unexported fields
}
func (*WalConfigDiff) Descriptor
deprecated
func (*WalConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use WalConfigDiff.ProtoReflect.Descriptor instead.
func (*WalConfigDiff) GetWalCapacityMb ¶
func (x *WalConfigDiff) GetWalCapacityMb() uint64
func (*WalConfigDiff) GetWalRetainClosed ¶ added in v1.16.0
func (x *WalConfigDiff) GetWalRetainClosed() uint64
func (*WalConfigDiff) GetWalSegmentsAhead ¶
func (x *WalConfigDiff) GetWalSegmentsAhead() uint64
func (*WalConfigDiff) ProtoMessage ¶
func (*WalConfigDiff) ProtoMessage()
func (*WalConfigDiff) ProtoReflect ¶
func (x *WalConfigDiff) ProtoReflect() protoreflect.Message
func (*WalConfigDiff) Reset ¶
func (x *WalConfigDiff) Reset()
func (*WalConfigDiff) String ¶
func (x *WalConfigDiff) String() string
type WithLookup ¶ added in v1.3.0
type WithLookup struct {
// Name of the collection to use for points lookup
Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"`
// Options for specifying which payload to include (or not)
WithPayload *WithPayloadSelector `protobuf:"bytes,2,opt,name=with_payload,json=withPayload,proto3,oneof" json:"with_payload,omitempty"`
// Options for specifying which vectors to include (or not)
WithVectors *WithVectorsSelector `protobuf:"bytes,3,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"`
// 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 NewWithPayload ¶ added in v1.11.1
func NewWithPayload(enable bool) *WithPayloadSelector
Creates a *WithPayloadSelector instance with payload enabled/disabled. This is an alias for NewWithPayloadEnable().
func NewWithPayloadEnable ¶ added in v1.11.1
func NewWithPayloadEnable(enable bool) *WithPayloadSelector
Creates a *WithPayloadSelector instance with payload enabled/disabled.
func NewWithPayloadExclude ¶ added in v1.11.1
func NewWithPayloadExclude(exclude ...string) *WithPayloadSelector
Creates a *WithPayloadSelector instance with payload fields excluded.
func NewWithPayloadInclude ¶ added in v1.11.1
func NewWithPayloadInclude(include ...string) *WithPayloadSelector
Creates a *WithPayloadSelector instance with payload fields included.
func (*WithPayloadSelector) Descriptor
deprecated
func (*WithPayloadSelector) Descriptor() ([]byte, []int)
Deprecated: Use WithPayloadSelector.ProtoReflect.Descriptor instead.
func (*WithPayloadSelector) GetEnable ¶
func (x *WithPayloadSelector) GetEnable() bool
func (*WithPayloadSelector) GetExclude ¶
func (x *WithPayloadSelector) GetExclude() *PayloadExcludeSelector
func (*WithPayloadSelector) GetInclude ¶
func (x *WithPayloadSelector) GetInclude() *PayloadIncludeSelector
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 {
// If `true` - return all payload, if `false` - none
Enable bool `protobuf:"varint,1,opt,name=enable,proto3,oneof"`
}
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 NewWithVectors ¶ added in v1.11.1
func NewWithVectors(enable bool) *WithVectorsSelector
Creates a *WithVectorsSelector instance with vectors enabled/disabled. This is an alias for NewWithVectorsEnable().
func NewWithVectorsEnable ¶ added in v1.11.1
func NewWithVectorsEnable(enable bool) *WithVectorsSelector
Creates a *WithVectorsSelector instance with vectors enabled/disabled.
func NewWithVectorsInclude ¶ added in v1.11.1
func NewWithVectorsInclude(names ...string) *WithVectorsSelector
Creates a *WithVectorsSelector instance with vectors included.
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 {
// If `true` - return all vectors, if `false` - none
Enable bool `protobuf:"varint,1,opt,name=enable,proto3,oneof"`
}
type WithVectorsSelector_Include ¶ added in v0.10.0
type WithVectorsSelector_Include struct {
// List of vectors to include into result
Include *VectorsSelector `protobuf:"bytes,2,opt,name=include,proto3,oneof"`
}
type WriteOrdering ¶ added in v1.0.0
type WriteOrdering struct {
// Write ordering guarantees
Type WriteOrderingType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.WriteOrderingType" json:"type,omitempty"`
// 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 ( // Write operations may be reordered, works faster, default WriteOrderingType_Weak WriteOrderingType = 0 // Write operations go through dynamically selected leader, // may be inconsistent for a short period of time in case of leader change WriteOrderingType_Medium WriteOrderingType = 1 // Write operations go through the permanent leader, consistent, // but may be unavailable if leader is down WriteOrderingType_Strong WriteOrderingType = 2 )
func (WriteOrderingType) Descriptor ¶ added in v1.0.0
func (WriteOrderingType) Descriptor() protoreflect.EnumDescriptor
func (WriteOrderingType) Enum ¶ added in v1.0.0
func (x WriteOrderingType) Enum() *WriteOrderingType
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 (x WriteOrderingType) Number() protoreflect.EnumNumber
func (WriteOrderingType) String ¶ added in v1.0.0
func (x WriteOrderingType) String() string
func (WriteOrderingType) Type ¶ added in v1.0.0
func (WriteOrderingType) Type() protoreflect.EnumType
Source Files
¶
- client.go
- collections.go
- collections.pb.go
- collections_service.pb.go
- collections_service_grpc.pb.go
- compare_versions.go
- conditions.go
- config.go
- doc.go
- error.go
- grpc_client.go
- json_with_int.pb.go
- oneof_factory.go
- points.go
- points.pb.go
- points_service.pb.go
- points_service_grpc.pb.go
- qdrant.go
- qdrant.pb.go
- qdrant_common.pb.go
- qdrant_grpc.pb.go
- retry.go
- snapshots.go
- snapshots_service.pb.go
- snapshots_service_grpc.pb.go
- value_map.go