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
- 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) 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) 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) 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) 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) 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) 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) 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) 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) 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 Datatype
- type DatetimeIndexParams
- func (*DatetimeIndexParams) Descriptor() ([]byte, []int)deprecated
- 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) 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) 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) 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) 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 DenseVector
- 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 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) 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
- 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) 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) 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 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 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) 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 (*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 (*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 (*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 (*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 QuantizationConfig_Binary
- type QuantizationConfig_Product
- type QuantizationConfig_Scalar
- 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 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) 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_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 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 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 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) 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 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 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) GetMaxTimeout() uint32
- func (x *StrictModeConfig) GetMultivectorConfig() *StrictModeMultivectorConfig
- func (x *StrictModeConfig) GetReadRateLimit() uint32
- func (x *StrictModeConfig) GetSearchAllowExact() bool
- 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) 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 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) 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) Delete(context.Context, *DeletePoints) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) DeleteFieldIndex(context.Context, *DeleteFieldIndexCollection) (*PointsOperationResponse, error)
- func (UnimplementedPointsServer) DeletePayload(context.Context, *DeletePayloadPoints) (*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) 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 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) 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 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) GetUpdateFilter() *Filter
- 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) 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" )
const ( Points_Upsert_FullMethodName = "/qdrant.Points/Upsert" Points_Delete_FullMethodName = "/qdrant.Points/Delete" Points_Get_FullMethodName = "/qdrant.Points/Get" Points_UpdateVectors_FullMethodName = "/qdrant.Points/UpdateVectors" Points_DeleteVectors_FullMethodName = "/qdrant.Points/DeleteVectors" Points_SetPayload_FullMethodName = "/qdrant.Points/SetPayload" Points_OverwritePayload_FullMethodName = "/qdrant.Points/OverwritePayload" Points_DeletePayload_FullMethodName = "/qdrant.Points/DeletePayload" Points_ClearPayload_FullMethodName = "/qdrant.Points/ClearPayload" Points_CreateFieldIndex_FullMethodName = "/qdrant.Points/CreateFieldIndex" Points_DeleteFieldIndex_FullMethodName = "/qdrant.Points/DeleteFieldIndex" Points_Search_FullMethodName = "/qdrant.Points/Search" Points_SearchBatch_FullMethodName = "/qdrant.Points/SearchBatch" Points_SearchGroups_FullMethodName = "/qdrant.Points/SearchGroups" Points_Scroll_FullMethodName = "/qdrant.Points/Scroll" Points_Recommend_FullMethodName = "/qdrant.Points/Recommend" Points_RecommendBatch_FullMethodName = "/qdrant.Points/RecommendBatch" Points_RecommendGroups_FullMethodName = "/qdrant.Points/RecommendGroups" Points_Discover_FullMethodName = "/qdrant.Points/Discover" Points_DiscoverBatch_FullMethodName = "/qdrant.Points/DiscoverBatch" Points_Count_FullMethodName = "/qdrant.Points/Count" Points_UpdateBatch_FullMethodName = "/qdrant.Points/UpdateBatch" Points_Query_FullMethodName = "/qdrant.Points/Query" Points_QueryBatch_FullMethodName = "/qdrant.Points/QueryBatch" Points_QueryGroups_FullMethodName = "/qdrant.Points/QueryGroups" Points_Facet_FullMethodName = "/qdrant.Points/Facet" Points_SearchMatrixPairs_FullMethodName = "/qdrant.Points/SearchMatrixPairs" Points_SearchMatrixOffsets_FullMethodName = "/qdrant.Points/SearchMatrixOffsets" )
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 ( 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", } ReplicaState_value = map[string]int32{ "Active": 0, "Dead": 1, "Partial": 2, "Initializing": 3, "Listener": 4, "PartialSnapshot": 5, "Recovery": 6, "Resharding": 7, "ReshardingScaleDown": 8, "ActiveRead": 9, } )
Enum value maps for ReplicaState.
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 ( 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", } UpdateStatus_value = map[string]int32{ "UnknownUpdateStatus": 0, "Acknowledged": 1, "Completed": 2, "ClockRejected": 3, } )
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, }, }, 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: "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 ¶
func NewValueMap ¶
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 ¶
func RegisterSnapshotsServer(s grpc.ServiceRegistrar, srv SnapshotsServer)
Types ¶
type AbortShardTransfer ¶
type AbortShardTransfer struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
ToShardId *uint32 `protobuf:"varint,4,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
// contains filtered or unexported fields
}
func (*AbortShardTransfer) Descriptor
deprecated
func (*AbortShardTransfer) Descriptor() ([]byte, []int)
Deprecated: Use AbortShardTransfer.ProtoReflect.Descriptor instead.
func (*AbortShardTransfer) GetFromPeerId ¶
func (x *AbortShardTransfer) GetFromPeerId() uint64
func (*AbortShardTransfer) GetShardId ¶
func (x *AbortShardTransfer) GetShardId() uint32
func (*AbortShardTransfer) GetToPeerId ¶
func (x *AbortShardTransfer) GetToPeerId() uint64
func (*AbortShardTransfer) GetToShardId ¶
func (x *AbortShardTransfer) GetToShardId() uint32
func (*AbortShardTransfer) ProtoMessage ¶
func (*AbortShardTransfer) ProtoMessage()
func (*AbortShardTransfer) ProtoReflect ¶
func (x *AbortShardTransfer) ProtoReflect() protoreflect.Message
func (*AbortShardTransfer) Reset ¶
func (x *AbortShardTransfer) Reset()
func (*AbortShardTransfer) String ¶
func (x *AbortShardTransfer) String() string
type AcornSearchParams ¶
type AcornSearchParams struct {
// If true, then ACORN may be used for the HNSW search based on filters
// selectivity.
//
// Improves search recall for searches with multiple low-selectivity
// payload filters, at cost of performance.
Enable *bool `protobuf:"varint,1,opt,name=enable,proto3,oneof" json:"enable,omitempty"`
// Maximum selectivity of filters to enable ACORN.
//
// If estimated filters selectivity is higher than this value,
// ACORN will not be used. Selectivity is estimated as:
// `estimated number of points satisfying the filters / total number of points`.
//
// 0.0 for never, 1.0 for always. Default is 0.4.
MaxSelectivity *float64 `protobuf:"fixed64,2,opt,name=max_selectivity,json=maxSelectivity,proto3,oneof" json:"max_selectivity,omitempty"`
// contains filtered or unexported fields
}
func (*AcornSearchParams) Descriptor
deprecated
func (*AcornSearchParams) Descriptor() ([]byte, []int)
Deprecated: Use AcornSearchParams.ProtoReflect.Descriptor instead.
func (*AcornSearchParams) GetEnable ¶
func (x *AcornSearchParams) GetEnable() bool
func (*AcornSearchParams) GetMaxSelectivity ¶
func (x *AcornSearchParams) GetMaxSelectivity() float64
func (*AcornSearchParams) ProtoMessage ¶
func (*AcornSearchParams) ProtoMessage()
func (*AcornSearchParams) ProtoReflect ¶
func (x *AcornSearchParams) ProtoReflect() protoreflect.Message
func (*AcornSearchParams) Reset ¶
func (x *AcornSearchParams) Reset()
func (*AcornSearchParams) String ¶
func (x *AcornSearchParams) String() string
type AliasDescription ¶
type AliasDescription struct {
AliasName string `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"` // Name of the alias
CollectionName string `protobuf:"bytes,2,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
// contains filtered or unexported fields
}
func (*AliasDescription) Descriptor
deprecated
func (*AliasDescription) Descriptor() ([]byte, []int)
Deprecated: Use AliasDescription.ProtoReflect.Descriptor instead.
func (*AliasDescription) GetAliasName ¶
func (x *AliasDescription) GetAliasName() string
func (*AliasDescription) GetCollectionName ¶
func (x *AliasDescription) GetCollectionName() string
func (*AliasDescription) ProtoMessage ¶
func (*AliasDescription) ProtoMessage()
func (*AliasDescription) ProtoReflect ¶
func (x *AliasDescription) ProtoReflect() protoreflect.Message
func (*AliasDescription) Reset ¶
func (x *AliasDescription) Reset()
func (*AliasDescription) String ¶
func (x *AliasDescription) String() string
type AliasOperations ¶
type AliasOperations struct {
// Types that are assignable to Action:
//
// *AliasOperations_CreateAlias
// *AliasOperations_RenameAlias
// *AliasOperations_DeleteAlias
Action isAliasOperations_Action `protobuf_oneof:"action"`
// contains filtered or unexported fields
}
func NewAlias ¶
func NewAlias(aliasName, collectionName string) *AliasOperations
Creates an *AliasOperations instance to create an alias. This is an alias for NewAliasCreate().
func NewAliasCreate ¶
func NewAliasCreate(aliasName, collectionName string) *AliasOperations
Creates an *AliasOperations instance to create an alias.
func NewAliasDelete ¶
func NewAliasDelete(aliasName string) *AliasOperations
Creates an *AliasOperations instance to delete an alias.
func NewAliasRename ¶
func NewAliasRename(oldAliasName, newAliasName string) *AliasOperations
Creates an *AliasOperations instance to rename an alias.
func (*AliasOperations) Descriptor
deprecated
func (*AliasOperations) Descriptor() ([]byte, []int)
Deprecated: Use AliasOperations.ProtoReflect.Descriptor instead.
func (*AliasOperations) GetAction ¶
func (m *AliasOperations) GetAction() isAliasOperations_Action
func (*AliasOperations) GetCreateAlias ¶
func (x *AliasOperations) GetCreateAlias() *CreateAlias
func (*AliasOperations) GetDeleteAlias ¶
func (x *AliasOperations) GetDeleteAlias() *DeleteAlias
func (*AliasOperations) GetRenameAlias ¶
func (x *AliasOperations) GetRenameAlias() *RenameAlias
func (*AliasOperations) ProtoMessage ¶
func (*AliasOperations) ProtoMessage()
func (*AliasOperations) ProtoReflect ¶
func (x *AliasOperations) ProtoReflect() protoreflect.Message
func (*AliasOperations) Reset ¶
func (x *AliasOperations) Reset()
func (*AliasOperations) String ¶
func (x *AliasOperations) String() string
type AliasOperations_CreateAlias ¶
type AliasOperations_CreateAlias struct {
CreateAlias *CreateAlias `protobuf:"bytes,1,opt,name=create_alias,json=createAlias,proto3,oneof"`
}
type AliasOperations_DeleteAlias ¶
type AliasOperations_DeleteAlias struct {
DeleteAlias *DeleteAlias `protobuf:"bytes,3,opt,name=delete_alias,json=deleteAlias,proto3,oneof"`
}
type AliasOperations_RenameAlias ¶
type AliasOperations_RenameAlias struct {
RenameAlias *RenameAlias `protobuf:"bytes,2,opt,name=rename_alias,json=renameAlias,proto3,oneof"`
}
type BatchResult ¶
type BatchResult struct {
Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*BatchResult) Descriptor
deprecated
func (*BatchResult) Descriptor() ([]byte, []int)
Deprecated: Use BatchResult.ProtoReflect.Descriptor instead.
func (*BatchResult) GetResult ¶
func (x *BatchResult) GetResult() []*ScoredPoint
func (*BatchResult) ProtoMessage ¶
func (*BatchResult) ProtoMessage()
func (*BatchResult) ProtoReflect ¶
func (x *BatchResult) ProtoReflect() protoreflect.Message
func (*BatchResult) Reset ¶
func (x *BatchResult) Reset()
func (*BatchResult) String ¶
func (x *BatchResult) String() string
type BinaryQuantization ¶
type BinaryQuantization struct {
AlwaysRam *bool `protobuf:"varint,1,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"` // If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
Encoding *BinaryQuantizationEncoding `protobuf:"varint,2,opt,name=encoding,proto3,enum=qdrant.BinaryQuantizationEncoding,oneof" json:"encoding,omitempty"` // Binary quantization encoding method
// Asymmetric quantization configuration allows a query to have different quantization than stored vectors.
// It can increase the accuracy of search at the cost of performance.
QueryEncoding *BinaryQuantizationQueryEncoding `protobuf:"bytes,3,opt,name=query_encoding,json=queryEncoding,proto3,oneof" json:"query_encoding,omitempty"`
// contains filtered or unexported fields
}
func (*BinaryQuantization) Descriptor
deprecated
func (*BinaryQuantization) Descriptor() ([]byte, []int)
Deprecated: Use BinaryQuantization.ProtoReflect.Descriptor instead.
func (*BinaryQuantization) GetAlwaysRam ¶
func (x *BinaryQuantization) GetAlwaysRam() bool
func (*BinaryQuantization) GetEncoding ¶
func (x *BinaryQuantization) GetEncoding() BinaryQuantizationEncoding
func (*BinaryQuantization) GetQueryEncoding ¶
func (x *BinaryQuantization) GetQueryEncoding() *BinaryQuantizationQueryEncoding
func (*BinaryQuantization) ProtoMessage ¶
func (*BinaryQuantization) ProtoMessage()
func (*BinaryQuantization) ProtoReflect ¶
func (x *BinaryQuantization) ProtoReflect() protoreflect.Message
func (*BinaryQuantization) Reset ¶
func (x *BinaryQuantization) Reset()
func (*BinaryQuantization) String ¶
func (x *BinaryQuantization) String() string
type BinaryQuantizationEncoding ¶
type BinaryQuantizationEncoding int32
const ( BinaryQuantizationEncoding_OneBit BinaryQuantizationEncoding = 0 BinaryQuantizationEncoding_TwoBits BinaryQuantizationEncoding = 1 BinaryQuantizationEncoding_OneAndHalfBits BinaryQuantizationEncoding = 2 )
func (BinaryQuantizationEncoding) Descriptor ¶
func (BinaryQuantizationEncoding) Descriptor() protoreflect.EnumDescriptor
func (BinaryQuantizationEncoding) Enum ¶
func (x BinaryQuantizationEncoding) Enum() *BinaryQuantizationEncoding
func (BinaryQuantizationEncoding) EnumDescriptor
deprecated
func (BinaryQuantizationEncoding) EnumDescriptor() ([]byte, []int)
Deprecated: Use BinaryQuantizationEncoding.Descriptor instead.
func (BinaryQuantizationEncoding) Number ¶
func (x BinaryQuantizationEncoding) Number() protoreflect.EnumNumber
func (BinaryQuantizationEncoding) String ¶
func (x BinaryQuantizationEncoding) String() string
func (BinaryQuantizationEncoding) Type ¶
func (BinaryQuantizationEncoding) Type() protoreflect.EnumType
type BinaryQuantizationQueryEncoding ¶
type BinaryQuantizationQueryEncoding struct {
// Types that are assignable to Variant:
//
// *BinaryQuantizationQueryEncoding_Setting_
Variant isBinaryQuantizationQueryEncoding_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewBinaryQuantizationQueryEncodingSetting ¶
func NewBinaryQuantizationQueryEncodingSetting(setting BinaryQuantizationQueryEncoding_Setting) *BinaryQuantizationQueryEncoding
Creates a *BinaryQuantizationQueryEncoding instance with a specific setting.
func (*BinaryQuantizationQueryEncoding) Descriptor
deprecated
func (*BinaryQuantizationQueryEncoding) Descriptor() ([]byte, []int)
Deprecated: Use BinaryQuantizationQueryEncoding.ProtoReflect.Descriptor instead.
func (*BinaryQuantizationQueryEncoding) GetSetting ¶
func (x *BinaryQuantizationQueryEncoding) GetSetting() BinaryQuantizationQueryEncoding_Setting
func (*BinaryQuantizationQueryEncoding) GetVariant ¶
func (m *BinaryQuantizationQueryEncoding) GetVariant() isBinaryQuantizationQueryEncoding_Variant
func (*BinaryQuantizationQueryEncoding) ProtoMessage ¶
func (*BinaryQuantizationQueryEncoding) ProtoMessage()
func (*BinaryQuantizationQueryEncoding) ProtoReflect ¶
func (x *BinaryQuantizationQueryEncoding) ProtoReflect() protoreflect.Message
func (*BinaryQuantizationQueryEncoding) Reset ¶
func (x *BinaryQuantizationQueryEncoding) Reset()
func (*BinaryQuantizationQueryEncoding) String ¶
func (x *BinaryQuantizationQueryEncoding) String() string
type BinaryQuantizationQueryEncoding_Setting ¶
type BinaryQuantizationQueryEncoding_Setting int32
const ( BinaryQuantizationQueryEncoding_Default BinaryQuantizationQueryEncoding_Setting = 0 BinaryQuantizationQueryEncoding_Binary BinaryQuantizationQueryEncoding_Setting = 1 BinaryQuantizationQueryEncoding_Scalar4Bits BinaryQuantizationQueryEncoding_Setting = 2 BinaryQuantizationQueryEncoding_Scalar8Bits BinaryQuantizationQueryEncoding_Setting = 3 )
func (BinaryQuantizationQueryEncoding_Setting) Descriptor ¶
func (BinaryQuantizationQueryEncoding_Setting) Descriptor() protoreflect.EnumDescriptor
func (BinaryQuantizationQueryEncoding_Setting) EnumDescriptor
deprecated
func (BinaryQuantizationQueryEncoding_Setting) EnumDescriptor() ([]byte, []int)
Deprecated: Use BinaryQuantizationQueryEncoding_Setting.Descriptor instead.
func (BinaryQuantizationQueryEncoding_Setting) Number ¶
func (x BinaryQuantizationQueryEncoding_Setting) Number() protoreflect.EnumNumber
func (BinaryQuantizationQueryEncoding_Setting) String ¶
func (x BinaryQuantizationQueryEncoding_Setting) String() string
func (BinaryQuantizationQueryEncoding_Setting) Type ¶
func (BinaryQuantizationQueryEncoding_Setting) Type() protoreflect.EnumType
type BinaryQuantizationQueryEncoding_Setting_ ¶
type BinaryQuantizationQueryEncoding_Setting_ struct {
Setting BinaryQuantizationQueryEncoding_Setting `protobuf:"varint,4,opt,name=setting,proto3,enum=qdrant.BinaryQuantizationQueryEncoding_Setting,oneof"`
}
type BoolIndexParams ¶
type BoolIndexParams struct {
OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
// contains filtered or unexported fields
}
func (*BoolIndexParams) Descriptor
deprecated
func (*BoolIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use BoolIndexParams.ProtoReflect.Descriptor instead.
func (*BoolIndexParams) GetOnDisk ¶
func (x *BoolIndexParams) GetOnDisk() bool
func (*BoolIndexParams) ProtoMessage ¶
func (*BoolIndexParams) ProtoMessage()
func (*BoolIndexParams) ProtoReflect ¶
func (x *BoolIndexParams) ProtoReflect() protoreflect.Message
func (*BoolIndexParams) Reset ¶
func (x *BoolIndexParams) Reset()
func (*BoolIndexParams) String ¶
func (x *BoolIndexParams) String() string
type ChangeAliases ¶
type ChangeAliases struct {
Actions []*AliasOperations `protobuf:"bytes,1,rep,name=actions,proto3" json:"actions,omitempty"` // List of actions
Timeout *uint64 `protobuf:"varint,2,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
// contains filtered or unexported fields
}
func (*ChangeAliases) Descriptor
deprecated
func (*ChangeAliases) Descriptor() ([]byte, []int)
Deprecated: Use ChangeAliases.ProtoReflect.Descriptor instead.
func (*ChangeAliases) GetActions ¶
func (x *ChangeAliases) GetActions() []*AliasOperations
func (*ChangeAliases) GetTimeout ¶
func (x *ChangeAliases) GetTimeout() uint64
func (*ChangeAliases) ProtoMessage ¶
func (*ChangeAliases) ProtoMessage()
func (*ChangeAliases) ProtoReflect ¶
func (x *ChangeAliases) ProtoReflect() protoreflect.Message
func (*ChangeAliases) Reset ¶
func (x *ChangeAliases) Reset()
func (*ChangeAliases) String ¶
func (x *ChangeAliases) String() string
type ClearPayloadPoints ¶
type ClearPayloadPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
Points *PointsSelector `protobuf:"bytes,3,opt,name=points,proto3" json:"points,omitempty"` // Affected points
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
// contains filtered or unexported fields
}
func (*ClearPayloadPoints) Descriptor
deprecated
func (*ClearPayloadPoints) Descriptor() ([]byte, []int)
Deprecated: Use ClearPayloadPoints.ProtoReflect.Descriptor instead.
func (*ClearPayloadPoints) GetCollectionName ¶
func (x *ClearPayloadPoints) GetCollectionName() string
func (*ClearPayloadPoints) GetOrdering ¶
func (x *ClearPayloadPoints) GetOrdering() *WriteOrdering
func (*ClearPayloadPoints) GetPoints ¶
func (x *ClearPayloadPoints) GetPoints() *PointsSelector
func (*ClearPayloadPoints) GetShardKeySelector ¶
func (x *ClearPayloadPoints) GetShardKeySelector() *ShardKeySelector
func (*ClearPayloadPoints) GetWait ¶
func (x *ClearPayloadPoints) GetWait() bool
func (*ClearPayloadPoints) ProtoMessage ¶
func (*ClearPayloadPoints) ProtoMessage()
func (*ClearPayloadPoints) ProtoReflect ¶
func (x *ClearPayloadPoints) ProtoReflect() protoreflect.Message
func (*ClearPayloadPoints) Reset ¶
func (x *ClearPayloadPoints) Reset()
func (*ClearPayloadPoints) String ¶
func (x *ClearPayloadPoints) String() string
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a high-level client for Qdrant. It can manage a single connection or a pool of connections, chosen by setting PoolSize in the Config.
func DefaultClient ¶
Instantiates a new client with the default configuration. Connects to localhost:6334 with TLS disabled.
func NewClient ¶
NewClient creates a new Qdrant client. It checks Config.PoolSize to determine whether to create a single client or a pool of clients. If PoolSize > 1, requests are distributed across the connections in a round-robin fashion.
func (*Client) ClearPayload ¶
func (c *Client) ClearPayload(ctx context.Context, request *ClearPayloadPoints) (*UpdateResult, error)
Removes all payload fields from points in a collection.
Parameters:
- ctx: The context for the request.
- request: The ClearPayloadPoints request specifying which points to clear.
Returns:
- *UpdateResult: The result of the clear operation.
- error: An error if the operation fails.
func (*Client) CollectionExists ¶
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 ¶
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 ¶
Creates an alias for a collection.
Parameters:
- ctx: The context for the request.
- aliasName: The name of the alias to create.
- collectionName: The name of the collection to alias.
Returns:
- error: An error if the operation fails.
func (*Client) CreateCollection ¶
func (c *Client) CreateCollection(ctx context.Context, request *CreateCollection) error
Creates a new collection with the given parameters.
Parameters:
- ctx: The context for the request.
- request: The CreateCollection request containing collection parameters.
Returns:
- error: An error if the operation fails.
func (*Client) CreateFieldIndex ¶
func (c *Client) CreateFieldIndex(ctx context.Context, request *CreateFieldIndexCollection) (*UpdateResult, error)
Creates an index for a payload field.
Parameters:
- ctx: The context for the request.
- request: The CreateFieldIndexCollection request specifying the field to index.
Returns:
- *UpdateResult: The result of the index creation operation.
- error: An error if the operation fails.
func (*Client) CreateFullSnapshot ¶
func (c *Client) CreateFullSnapshot(ctx context.Context) (*SnapshotDescription, error)
Creates a snapshot of the entire storage, including all collections. This operation is useful for creating full backups of the Qdrant instance.
Parameters:
- ctx: The context for the request
Returns:
- *SnapshotDescription: Description of the created full snapshot
- error: Any error encountered during the full snapshot creation
func (*Client) CreateShardKey ¶
func (c *Client) CreateShardKey(ctx context.Context, collectionName string, request *CreateShardKey) error
Creates a shard key for a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to create a shard key for.
- request: The CreateShardKey request containing shard key parameters.
Returns:
- error: An error if the operation fails.
func (*Client) CreateSnapshot ¶
func (c *Client) CreateSnapshot(ctx context.Context, collection string) (*SnapshotDescription, error)
Creates a snapshot of a specific collection. Snapshots are read-only copies of the collection data, which can be used for backup and restore purposes. The snapshot is created asynchronously and does not block the collection usage.
Parameters:
- ctx: The context for the request
- collection: The name of the collection to create a snapshot for
Returns:
- *SnapshotDescription: Description of the created snapshot
- error: Any error encountered during the snapshot creation
func (*Client) Delete ¶
func (c *Client) Delete(ctx context.Context, request *DeletePoints) (*UpdateResult, error)
Removes points from a collection by IDs or payload filters.
Parameters:
- ctx: The context for the request.
- request: The DeletePoints request specifying which points to delete.
Returns:
- *UpdateResult: The result of the delete operation.
- error: An error if the operation fails.
func (*Client) DeleteAlias ¶
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 ¶
Drops a collection and all associated data.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to delete.
Returns:
- error: An error if the operation fails.
func (*Client) DeleteFieldIndex ¶
func (c *Client) DeleteFieldIndex(ctx context.Context, request *DeleteFieldIndexCollection) (*UpdateResult, error)
Removes an index for a payload field.
Parameters:
- ctx: The context for the request.
- request: The DeleteFieldIndexCollection request specifying the field index to delete.
Returns:
- *UpdateResult: The result of the index deletion operation.
- error: An error if the operation fails.
func (*Client) DeleteFullSnapshot ¶
Removes a specific full snapshot of the storage.
Parameters:
- ctx: The context for the request
- snapshot: The name of the full snapshot to delete
Returns:
- error: Any error encountered while deleting the full snapshot
func (*Client) DeletePayload ¶
func (c *Client) DeletePayload(ctx context.Context, request *DeletePayloadPoints) (*UpdateResult, error)
Removes payload fields from points in a collection.
Parameters:
- ctx: The context for the request.
- request: The DeletePayloadPoints request specifying which payload fields to delete.
Returns:
- *UpdateResult: The result of the delete operation.
- error: An error if the operation fails.
func (*Client) DeleteShardKey ¶
func (c *Client) DeleteShardKey(ctx context.Context, collectionName string, request *DeleteShardKey) error
Deletes a shard key for a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to delete a shard key from.
- request: The DeleteShardKey request containing shard key parameters.
Returns:
- error: An error if the operation fails.
func (*Client) DeleteSnapshot ¶
Removes a specific snapshot of a collection.
Parameters:
- ctx: The context for the request
- collection: The name of the collection the snapshot belongs to
- snapshot: The name of the snapshot to delete
Returns:
- error: Any error encountered while deleting the snapshot
func (*Client) DeleteVectors ¶
func (c *Client) DeleteVectors(ctx context.Context, request *DeletePointVectors) (*UpdateResult, error)
Removes vectors from points in a collection.
Parameters:
- ctx: The context for the request.
- request: The DeletePointVectors request specifying which vectors to delete.
Returns:
- *UpdateResult: The result of the delete operation.
- error: An error if the operation fails.
func (*Client) Facet ¶
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 ¶
Retrieves points from a collection by IDs.
Parameters:
- ctx: The context for the request.
- request: The GetPoints request specifying which points to retrieve.
Returns:
- []*RetrievedPoint: A slice of retrieved points.
- error: An error if the operation fails.
func (*Client) GetCollectionClusterInfo ¶
func (c *Client) GetCollectionClusterInfo(ctx context.Context, collectionName string) (*CollectionClusterInfoResponse, error)
Get cluster information for a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection.
Returns:
- *CollectionClusterInfoResponse: Detailed information about the collection's cluster.
- error: An error if the operation fails.
func (*Client) GetCollectionInfo ¶
func (c *Client) GetCollectionInfo(ctx context.Context, collectionName string) (*CollectionInfo, error)
Retrieves detailed information about a specified existing collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to retrieve information for.
Returns:
- *CollectionInfo: Detailed information about the collection.
- error: An error if the operation fails.
func (*Client) GetCollectionsClient ¶
func (c *Client) GetCollectionsClient() CollectionsClient
Get the low-level client for the collections gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/collections_service.proto
func (*Client) GetConnection ¶
func (c *Client) GetConnection() *grpc.ClientConn
GetConnection returns one of the underlying gRPC connections from the pool. Useful for debugging or advanced use cases.
func (*Client) GetGrpcClient ¶
func (c *Client) GetGrpcClient() *GrpcClient
Get the underlying gRPC client. In case of a pool, it returns one of the clients in a round-robin fashion.
func (*Client) GetPointsClient ¶
func (c *Client) GetPointsClient() PointsClient
Get the low-level client for the points gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/points_service.proto
func (*Client) GetQdrantClient ¶
func (c *Client) GetQdrantClient() QdrantClient
Get the low-level client for the Qdrant gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/qdrant.proto
func (*Client) GetSnapshotsClient ¶
func (c *Client) GetSnapshotsClient() SnapshotsClient
Get the low-level client for the snapshots gRPC service. https://github.com/qdrant/qdrant/blob/master/lib/api/src/grpc/proto/snapshots_service.proto
func (*Client) HealthCheck ¶
func (c *Client) HealthCheck(ctx context.Context) (*HealthCheckReply, error)
Check liveliness of the service.
func (*Client) ListAliases ¶
func (c *Client) ListAliases(ctx context.Context) ([]*AliasDescription, error)
Lists all aliases.
Parameters:
- ctx: The context for the request.
Returns:
- []*AliasDescription: A slice of AliasDescription objects.
- error: An error if the operation fails.
func (*Client) ListCollectionAliases ¶
func (c *Client) ListCollectionAliases(ctx context.Context, collectionName string) ([]string, error)
Lists all aliases for a collection.
Parameters:
- ctx: The context for the request.
- collectionName: The name of the collection to list aliases for.
Returns:
- []string: A slice of alias names.
- error: An error if the operation fails.
func (*Client) ListCollections ¶
Retrieves the names of all existing collections.
Parameters:
- ctx: The context for the request.
Returns:
- []string: A slice of collection names.
- error: An error if the operation fails.
func (*Client) ListFullSnapshots ¶
func (c *Client) ListFullSnapshots(ctx context.Context) ([]*SnapshotDescription, error)
ListFullSnapshots retrieves a list of all full snapshots of the storage.
Parameters:
- ctx: The context for the request
Returns:
- []*SnapshotDescription: A slice of full snapshot descriptions
- error: Any error encountered while listing full snapshots
func (*Client) ListSnapshots ¶
func (c *Client) ListSnapshots(ctx context.Context, collection string) ([]*SnapshotDescription, error)
Retrieves a list of all snapshots for a specific collection.
Parameters:
- ctx: The context for the request
- collection: The name of the collection to list snapshots for
Returns:
- []*SnapshotDescription: A slice of snapshot descriptions
- error: Any error encountered while listing snapshots
func (*Client) OverwritePayload ¶
func (c *Client) OverwritePayload(ctx context.Context, request *SetPayloadPoints) (*UpdateResult, error)
Overwrites the entire payload for points in a collection.
Parameters:
- ctx: The context for the request.
- request: The SetPayloadPoints request containing the payload to overwrite.
Returns:
- *UpdateResult: The result of the overwrite operation.
- error: An error if the operation fails.
func (*Client) Query ¶
func (c *Client) Query(ctx context.Context, request *QueryPoints) ([]*ScoredPoint, error)
Performs a universal query on points. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.
Parameters:
- ctx: The context for the request.
- request: The QueryPoints request containing the query parameters.
Returns:
- []*ScoredPoint: A slice of scored points matching the query.
- error: An error if the operation fails.
func (*Client) QueryBatch ¶
func (c *Client) QueryBatch(ctx context.Context, request *QueryBatchPoints) ([]*BatchResult, error)
Performs multiple universal queries on points in a batch. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.
Parameters:
- ctx: The context for the request.
- request: The QueryBatchPoints request containing multiple query parameters.
Returns:
- []*BatchResult: A slice of batch results for each query.
- error: An error if the operation fails.
func (*Client) QueryGroups ¶
func (c *Client) QueryGroups(ctx context.Context, request *QueryPointGroups) ([]*PointGroup, error)
Performs a universal query on points grouped by a payload field. Covers all capabilities of search, recommend, discover, filters. Also enables hybrid and multi-stage queries.
Parameters:
- ctx: The context for the request.
- request: The QueryPointGroups request containing the query parameters.
Returns:
- []*PointGroup: A slice of point groups matching the query.
- error: An error if the operation fails.
func (*Client) RenameAlias ¶
Renames an alias.
Parameters:
- ctx: The context for the request.
- oldAliasName: The current name of the alias.
- newAliasName: The new name for the alias.
Returns:
- error: An error if the operation fails.
func (*Client) Scroll ¶
func (c *Client) Scroll(ctx context.Context, request *ScrollPoints) ([]*RetrievedPoint, error)
Iterates over all or filtered points in a collection.
Parameters:
- ctx: The context for the request.
- request: The ScrollPoints request specifying the scroll parameters.
Returns:
- []*RetrievedPoint: A slice of retrieved points.
- error: An error if the operation fails.
func (*Client) ScrollAndOffset ¶
func (c *Client) ScrollAndOffset(ctx context.Context, request *ScrollPoints) ([]*RetrievedPoint, *PointId, error)
Iterates over all or filtered points in a collection with offset.
Parameters:
- ctx: The context for the request.
- request: The ScrollPoints request specifying the scroll parameters.
Returns:
- []*RetrievedPoint: A slice of retrieved points.
- *PointId: The next page offset for pagination.
- error: An error if the operation fails.
func (*Client) SearchMatrixOffsets ¶
func (c *Client) SearchMatrixOffsets(ctx context.Context, request *SearchMatrixPoints) (*SearchMatrixOffsets, error)
Calculates the distances between a random sample of points.
Parameters:
- ctx: The context for the request.
- request: The SearchMatrixPoints request containing the sample size and other parameters.
Returns:
- *SearchMatrixOffsets: Parallel lists of offsets within an id list, and the distance between them.
func (*Client) SearchMatrixPairs ¶
func (c *Client) SearchMatrixPairs(ctx context.Context, request *SearchMatrixPoints) (*SearchMatrixPairs, error)
Calculates the distances between a random sample of points.
Parameters:
- ctx: The context for the request.
- request: The SearchMatrixPoints request containing the sample size and other parameters.
Returns:
- *SearchMatrixPairs: Pairwise representation of distances.
func (*Client) SetPayload ¶
func (c *Client) SetPayload(ctx context.Context, request *SetPayloadPoints) (*UpdateResult, error)
Sets payload fields for points in a collection. Can be used to add new payload fields or update existing ones.
Parameters:
- ctx: The context for the request.
- request: The SetPayloadPoints request containing the payload to set.
Returns:
- *UpdateResult: The result of the set operation.
- error: An error if the operation fails.
func (*Client) UpdateAliases ¶
func (c *Client) UpdateAliases(ctx context.Context, actions []*AliasOperations) error
Updates aliases.
Parameters:
- ctx: The context for the request.
- actions: A slice of AliasOperations to perform.
Returns:
- error: An error if the operation fails.
func (*Client) UpdateBatch ¶
func (c *Client) UpdateBatch(ctx context.Context, request *UpdateBatchPoints) ([]*UpdateResult, error)
Performs multiple update operations in one request.
Parameters:
- ctx: The context for the request.
- request: The UpdateBatchPoints request containing multiple update operations.
Returns:
- []*UpdateResult: A slice of results for each update operation.
- error: An error if the operation fails.
func (*Client) UpdateClusterCollectionSetup ¶
func (c *Client) UpdateClusterCollectionSetup(ctx context.Context, request *UpdateCollectionClusterSetupRequest) error
Update cluster setup for a collection.
Parameters:
- ctx: The context for the request.
- request: The update to perform on the cluster setup.
Returns:
- error: An error if the operation fails.
func (*Client) UpdateCollection ¶
func (c *Client) UpdateCollection(ctx context.Context, request *UpdateCollection) error
Updates parameters of an existing collection.
Parameters:
- ctx: The context for the request.
- request: The UpdateCollection request containing updated parameters.
Returns:
- error: An error if the operation fails.
func (*Client) UpdateVectors ¶
func (c *Client) UpdateVectors(ctx context.Context, request *UpdatePointVectors) (*UpdateResult, error)
Updates vectors for points in a collection.
Parameters:
- ctx: The context for the request.
- request: The UpdatePointVectors request containing the vectors to update.
Returns:
- *UpdateResult: The result of the update operation.
- error: An error if the operation fails.
func (*Client) Upsert ¶
func (c *Client) Upsert(ctx context.Context, request *UpsertPoints) (*UpdateResult, error)
Performs insert + updates on points. If a point with a given ID already exists, it will be overwritten.
Parameters:
- ctx: The context for the request.
- request: The UpsertPoints request containing the points to upsert.
Returns:
- *UpdateResult: The result of the upsert operation.
- error: An error if the operation fails.
type CollectionClusterInfoRequest ¶
type CollectionClusterInfoRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
// contains filtered or unexported fields
}
func (*CollectionClusterInfoRequest) Descriptor
deprecated
func (*CollectionClusterInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectionClusterInfoRequest.ProtoReflect.Descriptor instead.
func (*CollectionClusterInfoRequest) GetCollectionName ¶
func (x *CollectionClusterInfoRequest) GetCollectionName() string
func (*CollectionClusterInfoRequest) ProtoMessage ¶
func (*CollectionClusterInfoRequest) ProtoMessage()
func (*CollectionClusterInfoRequest) ProtoReflect ¶
func (x *CollectionClusterInfoRequest) ProtoReflect() protoreflect.Message
func (*CollectionClusterInfoRequest) Reset ¶
func (x *CollectionClusterInfoRequest) Reset()
func (*CollectionClusterInfoRequest) String ¶
func (x *CollectionClusterInfoRequest) String() string
type CollectionClusterInfoResponse ¶
type CollectionClusterInfoResponse struct {
PeerId uint64 `protobuf:"varint,1,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` // ID of this peer
ShardCount uint64 `protobuf:"varint,2,opt,name=shard_count,json=shardCount,proto3" json:"shard_count,omitempty"` // Total number of shards
LocalShards []*LocalShardInfo `protobuf:"bytes,3,rep,name=local_shards,json=localShards,proto3" json:"local_shards,omitempty"` // Local shards
RemoteShards []*RemoteShardInfo `protobuf:"bytes,4,rep,name=remote_shards,json=remoteShards,proto3" json:"remote_shards,omitempty"` // Remote shards
ShardTransfers []*ShardTransferInfo `protobuf:"bytes,5,rep,name=shard_transfers,json=shardTransfers,proto3" json:"shard_transfers,omitempty"` // Shard transfers
ReshardingOperations []*ReshardingInfo `protobuf:"bytes,6,rep,name=resharding_operations,json=reshardingOperations,proto3" json:"resharding_operations,omitempty"` // Resharding operations
// contains filtered or unexported fields
}
func (*CollectionClusterInfoResponse) Descriptor
deprecated
func (*CollectionClusterInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectionClusterInfoResponse.ProtoReflect.Descriptor instead.
func (*CollectionClusterInfoResponse) GetLocalShards ¶
func (x *CollectionClusterInfoResponse) GetLocalShards() []*LocalShardInfo
func (*CollectionClusterInfoResponse) GetPeerId ¶
func (x *CollectionClusterInfoResponse) GetPeerId() uint64
func (*CollectionClusterInfoResponse) GetRemoteShards ¶
func (x *CollectionClusterInfoResponse) GetRemoteShards() []*RemoteShardInfo
func (*CollectionClusterInfoResponse) GetReshardingOperations ¶
func (x *CollectionClusterInfoResponse) GetReshardingOperations() []*ReshardingInfo
func (*CollectionClusterInfoResponse) GetShardCount ¶
func (x *CollectionClusterInfoResponse) GetShardCount() uint64
func (*CollectionClusterInfoResponse) GetShardTransfers ¶
func (x *CollectionClusterInfoResponse) GetShardTransfers() []*ShardTransferInfo
func (*CollectionClusterInfoResponse) ProtoMessage ¶
func (*CollectionClusterInfoResponse) ProtoMessage()
func (*CollectionClusterInfoResponse) ProtoReflect ¶
func (x *CollectionClusterInfoResponse) ProtoReflect() protoreflect.Message
func (*CollectionClusterInfoResponse) Reset ¶
func (x *CollectionClusterInfoResponse) Reset()
func (*CollectionClusterInfoResponse) String ¶
func (x *CollectionClusterInfoResponse) String() string
type CollectionConfig ¶
type CollectionConfig struct {
Params *CollectionParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` // Collection parameters
HnswConfig *HnswConfigDiff `protobuf:"bytes,2,opt,name=hnsw_config,json=hnswConfig,proto3" json:"hnsw_config,omitempty"` // Configuration of vector index
OptimizerConfig *OptimizersConfigDiff `protobuf:"bytes,3,opt,name=optimizer_config,json=optimizerConfig,proto3" json:"optimizer_config,omitempty"` // Configuration of the optimizers
WalConfig *WalConfigDiff `protobuf:"bytes,4,opt,name=wal_config,json=walConfig,proto3" json:"wal_config,omitempty"` // Configuration of the Write-Ahead-Log
QuantizationConfig *QuantizationConfig `protobuf:"bytes,5,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Configuration of the vector quantization
StrictModeConfig *StrictModeConfig `protobuf:"bytes,6,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"` // Configuration of strict mode.
Metadata map[string]*Value `` // Arbitrary JSON metadata for the collection
/* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CollectionConfig) Descriptor
deprecated
func (*CollectionConfig) Descriptor() ([]byte, []int)
Deprecated: Use CollectionConfig.ProtoReflect.Descriptor instead.
func (*CollectionConfig) GetHnswConfig ¶
func (x *CollectionConfig) GetHnswConfig() *HnswConfigDiff
func (*CollectionConfig) GetMetadata ¶
func (x *CollectionConfig) GetMetadata() map[string]*Value
func (*CollectionConfig) GetOptimizerConfig ¶
func (x *CollectionConfig) GetOptimizerConfig() *OptimizersConfigDiff
func (*CollectionConfig) GetParams ¶
func (x *CollectionConfig) GetParams() *CollectionParams
func (*CollectionConfig) GetQuantizationConfig ¶
func (x *CollectionConfig) GetQuantizationConfig() *QuantizationConfig
func (*CollectionConfig) GetStrictModeConfig ¶
func (x *CollectionConfig) GetStrictModeConfig() *StrictModeConfig
func (*CollectionConfig) GetWalConfig ¶
func (x *CollectionConfig) GetWalConfig() *WalConfigDiff
func (*CollectionConfig) ProtoMessage ¶
func (*CollectionConfig) ProtoMessage()
func (*CollectionConfig) ProtoReflect ¶
func (x *CollectionConfig) ProtoReflect() protoreflect.Message
func (*CollectionConfig) Reset ¶
func (x *CollectionConfig) Reset()
func (*CollectionConfig) String ¶
func (x *CollectionConfig) String() string
type CollectionDescription ¶
type CollectionDescription struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the collection
// contains filtered or unexported fields
}
func (*CollectionDescription) Descriptor
deprecated
func (*CollectionDescription) Descriptor() ([]byte, []int)
Deprecated: Use CollectionDescription.ProtoReflect.Descriptor instead.
func (*CollectionDescription) GetName ¶
func (x *CollectionDescription) GetName() string
func (*CollectionDescription) ProtoMessage ¶
func (*CollectionDescription) ProtoMessage()
func (*CollectionDescription) ProtoReflect ¶
func (x *CollectionDescription) ProtoReflect() protoreflect.Message
func (*CollectionDescription) Reset ¶
func (x *CollectionDescription) Reset()
func (*CollectionDescription) String ¶
func (x *CollectionDescription) String() string
type CollectionExists ¶
type CollectionExists struct {
Exists bool `protobuf:"varint,1,opt,name=exists,proto3" json:"exists,omitempty"`
// contains filtered or unexported fields
}
func (*CollectionExists) Descriptor
deprecated
func (*CollectionExists) Descriptor() ([]byte, []int)
Deprecated: Use CollectionExists.ProtoReflect.Descriptor instead.
func (*CollectionExists) GetExists ¶
func (x *CollectionExists) GetExists() bool
func (*CollectionExists) ProtoMessage ¶
func (*CollectionExists) ProtoMessage()
func (*CollectionExists) ProtoReflect ¶
func (x *CollectionExists) ProtoReflect() protoreflect.Message
func (*CollectionExists) Reset ¶
func (x *CollectionExists) Reset()
func (*CollectionExists) String ¶
func (x *CollectionExists) String() string
type CollectionExistsRequest ¶
type CollectionExistsRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
// contains filtered or unexported fields
}
func (*CollectionExistsRequest) Descriptor
deprecated
func (*CollectionExistsRequest) Descriptor() ([]byte, []int)
Deprecated: Use CollectionExistsRequest.ProtoReflect.Descriptor instead.
func (*CollectionExistsRequest) GetCollectionName ¶
func (x *CollectionExistsRequest) GetCollectionName() string
func (*CollectionExistsRequest) ProtoMessage ¶
func (*CollectionExistsRequest) ProtoMessage()
func (*CollectionExistsRequest) ProtoReflect ¶
func (x *CollectionExistsRequest) ProtoReflect() protoreflect.Message
func (*CollectionExistsRequest) Reset ¶
func (x *CollectionExistsRequest) Reset()
func (*CollectionExistsRequest) String ¶
func (x *CollectionExistsRequest) String() string
type CollectionExistsResponse ¶
type CollectionExistsResponse struct {
Result *CollectionExists `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
// contains filtered or unexported fields
}
func (*CollectionExistsResponse) Descriptor
deprecated
func (*CollectionExistsResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectionExistsResponse.ProtoReflect.Descriptor instead.
func (*CollectionExistsResponse) GetResult ¶
func (x *CollectionExistsResponse) GetResult() *CollectionExists
func (*CollectionExistsResponse) GetTime ¶
func (x *CollectionExistsResponse) GetTime() float64
func (*CollectionExistsResponse) ProtoMessage ¶
func (*CollectionExistsResponse) ProtoMessage()
func (*CollectionExistsResponse) ProtoReflect ¶
func (x *CollectionExistsResponse) ProtoReflect() protoreflect.Message
func (*CollectionExistsResponse) Reset ¶
func (x *CollectionExistsResponse) Reset()
func (*CollectionExistsResponse) String ¶
func (x *CollectionExistsResponse) String() string
type CollectionInfo ¶
type CollectionInfo struct {
Status CollectionStatus `protobuf:"varint,1,opt,name=status,proto3,enum=qdrant.CollectionStatus" json:"status,omitempty"` // operating condition of the collection
OptimizerStatus *OptimizerStatus `protobuf:"bytes,2,opt,name=optimizer_status,json=optimizerStatus,proto3" json:"optimizer_status,omitempty"` // status of collection optimizers
SegmentsCount uint64 `protobuf:"varint,4,opt,name=segments_count,json=segmentsCount,proto3" json:"segments_count,omitempty"` // Number of independent segments
Config *CollectionConfig `protobuf:"bytes,7,opt,name=config,proto3" json:"config,omitempty"` // Configuration
PayloadSchema map[string]*PayloadSchemaInfo `` // Collection data types
/* 188-byte string literal not displayed */
PointsCount *uint64 `protobuf:"varint,9,opt,name=points_count,json=pointsCount,proto3,oneof" json:"points_count,omitempty"` // Approximate number of points in the collection
IndexedVectorsCount *uint64 `` // Approximate number of indexed vectors in the collection.
/* 128-byte string literal not displayed */
Warnings []*CollectionWarning `protobuf:"bytes,11,rep,name=warnings,proto3" json:"warnings,omitempty"` // Warnings related to the collection
// contains filtered or unexported fields
}
func (*CollectionInfo) Descriptor
deprecated
func (*CollectionInfo) Descriptor() ([]byte, []int)
Deprecated: Use CollectionInfo.ProtoReflect.Descriptor instead.
func (*CollectionInfo) GetConfig ¶
func (x *CollectionInfo) GetConfig() *CollectionConfig
func (*CollectionInfo) GetIndexedVectorsCount ¶
func (x *CollectionInfo) GetIndexedVectorsCount() uint64
func (*CollectionInfo) GetOptimizerStatus ¶
func (x *CollectionInfo) GetOptimizerStatus() *OptimizerStatus
func (*CollectionInfo) GetPayloadSchema ¶
func (x *CollectionInfo) GetPayloadSchema() map[string]*PayloadSchemaInfo
func (*CollectionInfo) GetPointsCount ¶
func (x *CollectionInfo) GetPointsCount() uint64
func (*CollectionInfo) GetSegmentsCount ¶
func (x *CollectionInfo) GetSegmentsCount() uint64
func (*CollectionInfo) GetStatus ¶
func (x *CollectionInfo) GetStatus() CollectionStatus
func (*CollectionInfo) GetWarnings ¶
func (x *CollectionInfo) GetWarnings() []*CollectionWarning
func (*CollectionInfo) ProtoMessage ¶
func (*CollectionInfo) ProtoMessage()
func (*CollectionInfo) ProtoReflect ¶
func (x *CollectionInfo) ProtoReflect() protoreflect.Message
func (*CollectionInfo) Reset ¶
func (x *CollectionInfo) Reset()
func (*CollectionInfo) String ¶
func (x *CollectionInfo) String() string
type CollectionOperationResponse ¶
type CollectionOperationResponse struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` // if operation made changes
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
// contains filtered or unexported fields
}
func (*CollectionOperationResponse) Descriptor
deprecated
func (*CollectionOperationResponse) Descriptor() ([]byte, []int)
Deprecated: Use CollectionOperationResponse.ProtoReflect.Descriptor instead.
func (*CollectionOperationResponse) GetResult ¶
func (x *CollectionOperationResponse) GetResult() bool
func (*CollectionOperationResponse) GetTime ¶
func (x *CollectionOperationResponse) GetTime() float64
func (*CollectionOperationResponse) ProtoMessage ¶
func (*CollectionOperationResponse) ProtoMessage()
func (*CollectionOperationResponse) ProtoReflect ¶
func (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 {
ShardNumber uint32 `protobuf:"varint,3,opt,name=shard_number,json=shardNumber,proto3" json:"shard_number,omitempty"` // Number of shards in collection
OnDiskPayload bool `protobuf:"varint,4,opt,name=on_disk_payload,json=onDiskPayload,proto3" json:"on_disk_payload,omitempty"` // If true - point's payload will not be stored in memory
VectorsConfig *VectorsConfig `protobuf:"bytes,5,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"` // Configuration for vectors
ReplicationFactor *uint32 `protobuf:"varint,6,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"` // Number of replicas of each shard that network tries to maintain
WriteConsistencyFactor *uint32 `` // How many replicas should apply the operation for us to consider it successful
/* 136-byte string literal not displayed */
ReadFanOutFactor *uint32 `protobuf:"varint,8,opt,name=read_fan_out_factor,json=readFanOutFactor,proto3,oneof" json:"read_fan_out_factor,omitempty"` // Fan-out every read request to these many additional remote nodes (and return first available response)
ShardingMethod *ShardingMethod `` // Sharding method
/* 137-byte string literal not displayed */
SparseVectorsConfig *SparseVectorConfig `` // Configuration for sparse vectors
/* 127-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CollectionParams) Descriptor
deprecated
func (*CollectionParams) Descriptor() ([]byte, []int)
Deprecated: Use CollectionParams.ProtoReflect.Descriptor instead.
func (*CollectionParams) GetOnDiskPayload ¶
func (x *CollectionParams) GetOnDiskPayload() bool
func (*CollectionParams) GetReadFanOutFactor ¶
func (x *CollectionParams) GetReadFanOutFactor() uint32
func (*CollectionParams) GetReplicationFactor ¶
func (x *CollectionParams) GetReplicationFactor() uint32
func (*CollectionParams) GetShardNumber ¶
func (x *CollectionParams) GetShardNumber() uint32
func (*CollectionParams) GetShardingMethod ¶
func (x *CollectionParams) GetShardingMethod() ShardingMethod
func (*CollectionParams) GetSparseVectorsConfig ¶
func (x *CollectionParams) GetSparseVectorsConfig() *SparseVectorConfig
func (*CollectionParams) GetVectorsConfig ¶
func (x *CollectionParams) GetVectorsConfig() *VectorsConfig
func (*CollectionParams) GetWriteConsistencyFactor ¶
func (x *CollectionParams) GetWriteConsistencyFactor() uint32
func (*CollectionParams) ProtoMessage ¶
func (*CollectionParams) ProtoMessage()
func (*CollectionParams) ProtoReflect ¶
func (x *CollectionParams) ProtoReflect() protoreflect.Message
func (*CollectionParams) Reset ¶
func (x *CollectionParams) Reset()
func (*CollectionParams) String ¶
func (x *CollectionParams) String() string
type CollectionParamsDiff ¶
type CollectionParamsDiff struct {
ReplicationFactor *uint32 `protobuf:"varint,1,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"` // Number of replicas of each shard that network tries to maintain
WriteConsistencyFactor *uint32 `` // How many replicas should apply the operation for us to consider it successful
/* 136-byte string literal not displayed */
OnDiskPayload *bool `protobuf:"varint,3,opt,name=on_disk_payload,json=onDiskPayload,proto3,oneof" json:"on_disk_payload,omitempty"` // If true - point's payload will not be stored in memory
ReadFanOutFactor *uint32 `protobuf:"varint,4,opt,name=read_fan_out_factor,json=readFanOutFactor,proto3,oneof" json:"read_fan_out_factor,omitempty"` // Fan-out every read request to these many additional remote nodes (and return first available response)
// contains filtered or unexported fields
}
func (*CollectionParamsDiff) Descriptor
deprecated
func (*CollectionParamsDiff) Descriptor() ([]byte, []int)
Deprecated: Use CollectionParamsDiff.ProtoReflect.Descriptor instead.
func (*CollectionParamsDiff) GetOnDiskPayload ¶
func (x *CollectionParamsDiff) GetOnDiskPayload() bool
func (*CollectionParamsDiff) GetReadFanOutFactor ¶
func (x *CollectionParamsDiff) GetReadFanOutFactor() uint32
func (*CollectionParamsDiff) GetReplicationFactor ¶
func (x *CollectionParamsDiff) GetReplicationFactor() uint32
func (*CollectionParamsDiff) GetWriteConsistencyFactor ¶
func (x *CollectionParamsDiff) GetWriteConsistencyFactor() uint32
func (*CollectionParamsDiff) ProtoMessage ¶
func (*CollectionParamsDiff) ProtoMessage()
func (*CollectionParamsDiff) ProtoReflect ¶
func (x *CollectionParamsDiff) ProtoReflect() protoreflect.Message
func (*CollectionParamsDiff) Reset ¶
func (x *CollectionParamsDiff) Reset()
func (*CollectionParamsDiff) String ¶
func (x *CollectionParamsDiff) String() string
type CollectionStatus ¶
type CollectionStatus int32
const ( CollectionStatus_UnknownCollectionStatus CollectionStatus = 0 CollectionStatus_Green CollectionStatus = 1 // All segments are ready CollectionStatus_Yellow CollectionStatus = 2 // Optimization in process CollectionStatus_Red CollectionStatus = 3 // Something went wrong CollectionStatus_Grey CollectionStatus = 4 // Optimization is pending )
func (CollectionStatus) Descriptor ¶
func (CollectionStatus) 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 ¶
type CollectionWarning struct {
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
func (*CollectionWarning) Descriptor
deprecated
func (*CollectionWarning) Descriptor() ([]byte, []int)
Deprecated: Use CollectionWarning.ProtoReflect.Descriptor instead.
func (*CollectionWarning) GetMessage ¶
func (x *CollectionWarning) GetMessage() string
func (*CollectionWarning) ProtoMessage ¶
func (*CollectionWarning) ProtoMessage()
func (*CollectionWarning) ProtoReflect ¶
func (x *CollectionWarning) ProtoReflect() protoreflect.Message
func (*CollectionWarning) Reset ¶
func (x *CollectionWarning) Reset()
func (*CollectionWarning) String ¶
func (x *CollectionWarning) String() string
type CollectionsClient ¶
type CollectionsClient interface {
// Get detailed information about specified existing collection
Get(ctx context.Context, in *GetCollectionInfoRequest, opts ...grpc.CallOption) (*GetCollectionInfoResponse, error)
// Get list name of all existing collections
List(ctx context.Context, in *ListCollectionsRequest, opts ...grpc.CallOption) (*ListCollectionsResponse, error)
// Create new collection with given parameters
Create(ctx context.Context, in *CreateCollection, opts ...grpc.CallOption) (*CollectionOperationResponse, error)
// Update parameters of the existing collection
Update(ctx context.Context, in *UpdateCollection, opts ...grpc.CallOption) (*CollectionOperationResponse, error)
// Drop collection and all associated data
Delete(ctx context.Context, in *DeleteCollection, opts ...grpc.CallOption) (*CollectionOperationResponse, error)
// Update Aliases of the existing collection
UpdateAliases(ctx context.Context, in *ChangeAliases, opts ...grpc.CallOption) (*CollectionOperationResponse, error)
// Get list of all aliases for a collection
ListCollectionAliases(ctx context.Context, in *ListCollectionAliasesRequest, opts ...grpc.CallOption) (*ListAliasesResponse, error)
// Get list of all aliases for all existing collections
ListAliases(ctx context.Context, in *ListAliasesRequest, opts ...grpc.CallOption) (*ListAliasesResponse, error)
// Get cluster information for a collection
CollectionClusterInfo(ctx context.Context, in *CollectionClusterInfoRequest, opts ...grpc.CallOption) (*CollectionClusterInfoResponse, error)
// Check the existence of a collection
CollectionExists(ctx context.Context, in *CollectionExistsRequest, opts ...grpc.CallOption) (*CollectionExistsResponse, error)
// Update cluster setup for a collection
UpdateCollectionClusterSetup(ctx context.Context, in *UpdateCollectionClusterSetupRequest, opts ...grpc.CallOption) (*UpdateCollectionClusterSetupResponse, error)
// Create shard key
CreateShardKey(ctx context.Context, in *CreateShardKeyRequest, opts ...grpc.CallOption) (*CreateShardKeyResponse, error)
// Delete shard key
DeleteShardKey(ctx context.Context, in *DeleteShardKeyRequest, opts ...grpc.CallOption) (*DeleteShardKeyResponse, error)
}
CollectionsClient is the client API for Collections service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
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 name of all existing collections
List(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
// Create new collection with given parameters
Create(context.Context, *CreateCollection) (*CollectionOperationResponse, error)
// Update parameters of the existing collection
Update(context.Context, *UpdateCollection) (*CollectionOperationResponse, error)
// Drop collection and all associated data
Delete(context.Context, *DeleteCollection) (*CollectionOperationResponse, error)
// Update Aliases of the existing collection
UpdateAliases(context.Context, *ChangeAliases) (*CollectionOperationResponse, error)
// Get list of all aliases for a collection
ListCollectionAliases(context.Context, *ListCollectionAliasesRequest) (*ListAliasesResponse, error)
// Get list of all aliases for all existing collections
ListAliases(context.Context, *ListAliasesRequest) (*ListAliasesResponse, error)
// Get cluster information for a collection
CollectionClusterInfo(context.Context, *CollectionClusterInfoRequest) (*CollectionClusterInfoResponse, error)
// Check the existence of a collection
CollectionExists(context.Context, *CollectionExistsRequest) (*CollectionExistsResponse, error)
// Update cluster setup for a collection
UpdateCollectionClusterSetup(context.Context, *UpdateCollectionClusterSetupRequest) (*UpdateCollectionClusterSetupResponse, error)
// Create shard key
CreateShardKey(context.Context, *CreateShardKeyRequest) (*CreateShardKeyResponse, error)
// Delete shard key
DeleteShardKey(context.Context, *DeleteShardKeyRequest) (*DeleteShardKeyResponse, error)
// contains filtered or unexported methods
}
CollectionsServer is the server API for Collections service. All implementations must embed UnimplementedCollectionsServer for forward compatibility.
type CompressionRatio ¶
type CompressionRatio int32
const ( CompressionRatio_x4 CompressionRatio = 0 CompressionRatio_x8 CompressionRatio = 1 CompressionRatio_x16 CompressionRatio = 2 CompressionRatio_x32 CompressionRatio = 3 CompressionRatio_x64 CompressionRatio = 4 )
func (CompressionRatio) Descriptor ¶
func (CompressionRatio) Descriptor() protoreflect.EnumDescriptor
func (CompressionRatio) Enum ¶
func (x CompressionRatio) Enum() *CompressionRatio
func (CompressionRatio) EnumDescriptor
deprecated
func (CompressionRatio) EnumDescriptor() ([]byte, []int)
Deprecated: Use CompressionRatio.Descriptor instead.
func (CompressionRatio) Number ¶
func (x CompressionRatio) Number() protoreflect.EnumNumber
func (CompressionRatio) String ¶
func (x CompressionRatio) String() string
func (CompressionRatio) Type ¶
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 ¶
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 ¶
Creates a condition from a filter. This is useful for creating complex nested conditions.
func NewGeoBoundingBox ¶
func NewGeoBoundingBox(field string, topLeftLat, topLeftLon, bottomRightLat, bottomRightLon float64) *Condition
Creates a geo filter condition that matches points within a specified bounding box. See: https://qdrant.tech/documentation/concepts/filtering/#geo-bounding-box
func NewGeoPolygon ¶
func NewGeoPolygon(field string, exterior *GeoLineString, interior ...*GeoLineString) *Condition
Creates a geo filter condition that matches points within a specified polygon. See: https://qdrant.tech/documentation/concepts/filtering/#geo-polygon
func NewGeoRadius ¶
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 ¶
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 ¶
Creates a condition that checks if a point has the specified vector. See: https://qdrant.tech/documentation/concepts/filtering/#has-vector
func NewIsEmpty ¶
Creates a condition that checks if a specified field is empty. See: https://qdrant.tech/documentation/concepts/filtering/#is-empty
func NewIsNull ¶
Creates a condition that checks if a specified field is null. See: https://qdrant.tech/documentation/concepts/filtering/#is-null
func NewMatch ¶
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 ¶
Creates a condition that matches a boolean value in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match
func NewMatchExcept ¶
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 ¶
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 ¶
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 ¶
Creates a condition that matches an integer value in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match
func NewMatchInts ¶
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 ¶
Creates a condition that matches an exact keyword in a specified field. See: https://qdrant.tech/documentation/concepts/filtering/#match
func NewMatchKeywords ¶
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 ¶
Creates a condition that matches a phrase.
func NewMatchText ¶
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 ¶
Creates a condition that matches any word in the text.
func NewNestedCondition ¶
Creates a nested condition for filtering on nested fields. See: https://qdrant.tech/documentation/concepts/filtering/#nested
func NewNestedFilter ¶
Creates a nested filter for filtering on nested fields. See: https://qdrant.tech/documentation/concepts/filtering/#nested
func NewRange ¶
Creates a range condition for numeric or date fields. See: https://qdrant.tech/documentation/concepts/filtering/#range
func NewValuesCount ¶
func NewValuesCount(field string, valuesCount *ValuesCount) *Condition
Creates a condition that filters based on the number of values in an array field. See: https://qdrant.tech/documentation/concepts/filtering/#values-count
func (*Condition) Descriptor
deprecated
func (*Condition) 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 ¶
func (x *Condition) GetHasVector() *HasVectorCondition
func (*Condition) GetIsEmpty ¶
func (x *Condition) GetIsEmpty() *IsEmptyCondition
func (*Condition) GetIsNull ¶
func (x *Condition) GetIsNull() *IsNullCondition
func (*Condition) GetNested ¶
func (x *Condition) GetNested() *NestedCondition
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) ProtoReflect ¶
func (x *Condition) ProtoReflect() protoreflect.Message
type Condition_Field ¶
type Condition_Field struct {
Field *FieldCondition `protobuf:"bytes,1,opt,name=field,proto3,oneof"`
}
type Condition_Filter ¶
type Condition_Filter struct {
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3,oneof"`
}
type Condition_HasId ¶
type Condition_HasId struct {
HasId *HasIdCondition `protobuf:"bytes,3,opt,name=has_id,json=hasId,proto3,oneof"`
}
type Condition_HasVector ¶
type Condition_HasVector struct {
HasVector *HasVectorCondition `protobuf:"bytes,7,opt,name=has_vector,json=hasVector,proto3,oneof"`
}
type Condition_IsEmpty ¶
type Condition_IsEmpty struct {
IsEmpty *IsEmptyCondition `protobuf:"bytes,2,opt,name=is_empty,json=isEmpty,proto3,oneof"`
}
type Condition_IsNull ¶
type Condition_IsNull struct {
IsNull *IsNullCondition `protobuf:"bytes,5,opt,name=is_null,json=isNull,proto3,oneof"`
}
type Condition_Nested ¶
type Condition_Nested struct {
Nested *NestedCondition `protobuf:"bytes,6,opt,name=nested,proto3,oneof"`
}
type Config ¶
type Config struct {
// Hostname of the Qdrant server. Defaults to "localhost".
Host string
// gRPC port of the Qdrant server. Defaults to 6334.
Port int
// API key to use for authentication. Defaults to "".
APIKey string
// Whether to use TLS for the connection. Defaults to false.
UseTLS bool
// TLS configuration to use for the connection.
// If not provided, uses default config with minimum TLS version set to 1.3
TLSConfig *tls.Config
// Additional gRPC options to use for the connection.
GrpcOptions []grpc.DialOption
// Whether to check compatibility between server's version and client's. Defaults to false.
SkipCompatibilityCheck bool
// PoolSize specifies the number of connections to create.
// If 0, the default of 3 will be used.
// If 1 a single connection is used (aka no pool).
// If greater than 1, a pool of connections is created and requests are distributed in a round-robin fashion.
PoolSize uint
// KeepAliveTime specifies the duration after which if the client does not see any activity (in seconds),
// it pings the server to check if the transport is still alive.
// If 0, the default is 10 seconds.
// If set to -1, keepalive is disabled.
KeepAliveTime int
// KeepAliveTimeout specifies the duration the client waits for a response from the server after
// sending a ping (in seconds).
// If the server does not respond within this timeout, the connection is closed.
// If set to 0, defaults to 2 seconds.
// This setting is only used if keepalive is active (see KeepAliveTime).
KeepAliveTimeout uint
}
Configuration options for the client.
type ContextExamplePair ¶
type ContextExamplePair struct {
Positive *VectorExample `protobuf:"bytes,1,opt,name=positive,proto3" json:"positive,omitempty"`
Negative *VectorExample `protobuf:"bytes,2,opt,name=negative,proto3" json:"negative,omitempty"`
// contains filtered or unexported fields
}
func (*ContextExamplePair) Descriptor
deprecated
func (*ContextExamplePair) Descriptor() ([]byte, []int)
Deprecated: Use ContextExamplePair.ProtoReflect.Descriptor instead.
func (*ContextExamplePair) GetNegative ¶
func (x *ContextExamplePair) GetNegative() *VectorExample
func (*ContextExamplePair) GetPositive ¶
func (x *ContextExamplePair) GetPositive() *VectorExample
func (*ContextExamplePair) ProtoMessage ¶
func (*ContextExamplePair) ProtoMessage()
func (*ContextExamplePair) ProtoReflect ¶
func (x *ContextExamplePair) ProtoReflect() protoreflect.Message
func (*ContextExamplePair) Reset ¶
func (x *ContextExamplePair) Reset()
func (*ContextExamplePair) String ¶
func (x *ContextExamplePair) String() string
type ContextInput ¶
type ContextInput struct {
Pairs []*ContextInputPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` // Search space will be constrained by these pairs of vectors
// contains filtered or unexported fields
}
func (*ContextInput) Descriptor
deprecated
func (*ContextInput) Descriptor() ([]byte, []int)
Deprecated: Use ContextInput.ProtoReflect.Descriptor instead.
func (*ContextInput) GetPairs ¶
func (x *ContextInput) GetPairs() []*ContextInputPair
func (*ContextInput) ProtoMessage ¶
func (*ContextInput) ProtoMessage()
func (*ContextInput) ProtoReflect ¶
func (x *ContextInput) ProtoReflect() protoreflect.Message
func (*ContextInput) Reset ¶
func (x *ContextInput) Reset()
func (*ContextInput) String ¶
func (x *ContextInput) String() string
type ContextInputPair ¶
type ContextInputPair struct {
Positive *VectorInput `protobuf:"bytes,1,opt,name=positive,proto3" json:"positive,omitempty"` // A positive vector
Negative *VectorInput `protobuf:"bytes,2,opt,name=negative,proto3" json:"negative,omitempty"` // Repel from this vector
// contains filtered or unexported fields
}
func (*ContextInputPair) Descriptor
deprecated
func (*ContextInputPair) Descriptor() ([]byte, []int)
Deprecated: Use ContextInputPair.ProtoReflect.Descriptor instead.
func (*ContextInputPair) GetNegative ¶
func (x *ContextInputPair) GetNegative() *VectorInput
func (*ContextInputPair) GetPositive ¶
func (x *ContextInputPair) GetPositive() *VectorInput
func (*ContextInputPair) ProtoMessage ¶
func (*ContextInputPair) ProtoMessage()
func (*ContextInputPair) ProtoReflect ¶
func (x *ContextInputPair) ProtoReflect() protoreflect.Message
func (*ContextInputPair) Reset ¶
func (x *ContextInputPair) Reset()
func (*ContextInputPair) String ¶
func (x *ContextInputPair) String() string
type CountPoints ¶
type CountPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions
Exact *bool `protobuf:"varint,3,opt,name=exact,proto3,oneof" json:"exact,omitempty"` // If `true` - return exact count, if `false` - return approximate count
ReadConsistency *ReadConsistency `protobuf:"bytes,4,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
// contains filtered or unexported fields
}
func (*CountPoints) Descriptor
deprecated
func (*CountPoints) Descriptor() ([]byte, []int)
Deprecated: Use CountPoints.ProtoReflect.Descriptor instead.
func (*CountPoints) GetCollectionName ¶
func (x *CountPoints) GetCollectionName() string
func (*CountPoints) GetExact ¶
func (x *CountPoints) GetExact() bool
func (*CountPoints) GetFilter ¶
func (x *CountPoints) GetFilter() *Filter
func (*CountPoints) GetReadConsistency ¶
func (x *CountPoints) GetReadConsistency() *ReadConsistency
func (*CountPoints) GetShardKeySelector ¶
func (x *CountPoints) GetShardKeySelector() *ShardKeySelector
func (*CountPoints) GetTimeout ¶
func (x *CountPoints) GetTimeout() uint64
func (*CountPoints) ProtoMessage ¶
func (*CountPoints) ProtoMessage()
func (*CountPoints) ProtoReflect ¶
func (x *CountPoints) ProtoReflect() protoreflect.Message
func (*CountPoints) Reset ¶
func (x *CountPoints) Reset()
func (*CountPoints) String ¶
func (x *CountPoints) String() string
type CountResponse ¶
type CountResponse struct {
Result *CountResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*CountResponse) Descriptor
deprecated
func (*CountResponse) Descriptor() ([]byte, []int)
Deprecated: Use CountResponse.ProtoReflect.Descriptor instead.
func (*CountResponse) GetResult ¶
func (x *CountResponse) GetResult() *CountResult
func (*CountResponse) GetTime ¶
func (x *CountResponse) GetTime() float64
func (*CountResponse) GetUsage ¶
func (x *CountResponse) GetUsage() *Usage
func (*CountResponse) ProtoMessage ¶
func (*CountResponse) ProtoMessage()
func (*CountResponse) ProtoReflect ¶
func (x *CountResponse) ProtoReflect() protoreflect.Message
func (*CountResponse) Reset ¶
func (x *CountResponse) Reset()
func (*CountResponse) String ¶
func (x *CountResponse) String() string
type CountResult ¶
type CountResult struct {
Count uint64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*CountResult) Descriptor
deprecated
func (*CountResult) Descriptor() ([]byte, []int)
Deprecated: Use CountResult.ProtoReflect.Descriptor instead.
func (*CountResult) GetCount ¶
func (x *CountResult) GetCount() uint64
func (*CountResult) ProtoMessage ¶
func (*CountResult) ProtoMessage()
func (*CountResult) ProtoReflect ¶
func (x *CountResult) ProtoReflect() protoreflect.Message
func (*CountResult) Reset ¶
func (x *CountResult) Reset()
func (*CountResult) String ¶
func (x *CountResult) String() string
type CreateAlias ¶
type CreateAlias struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
AliasName string `protobuf:"bytes,2,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"` // New name of the alias
// contains filtered or unexported fields
}
func (*CreateAlias) Descriptor
deprecated
func (*CreateAlias) Descriptor() ([]byte, []int)
Deprecated: Use CreateAlias.ProtoReflect.Descriptor instead.
func (*CreateAlias) GetAliasName ¶
func (x *CreateAlias) GetAliasName() string
func (*CreateAlias) GetCollectionName ¶
func (x *CreateAlias) GetCollectionName() string
func (*CreateAlias) ProtoMessage ¶
func (*CreateAlias) ProtoMessage()
func (*CreateAlias) ProtoReflect ¶
func (x *CreateAlias) ProtoReflect() protoreflect.Message
func (*CreateAlias) Reset ¶
func (x *CreateAlias) Reset()
func (*CreateAlias) String ¶
func (x *CreateAlias) String() string
type CreateCollection ¶
type CreateCollection struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
HnswConfig *HnswConfigDiff `protobuf:"bytes,4,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"` // Configuration of vector index
WalConfig *WalConfigDiff `protobuf:"bytes,5,opt,name=wal_config,json=walConfig,proto3,oneof" json:"wal_config,omitempty"` // Configuration of the Write-Ahead-Log
OptimizersConfig *OptimizersConfigDiff `protobuf:"bytes,6,opt,name=optimizers_config,json=optimizersConfig,proto3,oneof" json:"optimizers_config,omitempty"` // Configuration of the optimizers
ShardNumber *uint32 `protobuf:"varint,7,opt,name=shard_number,json=shardNumber,proto3,oneof" json:"shard_number,omitempty"` // Number of shards in the collection, default is 1 for standalone, otherwise equal to the number of nodes. Minimum is 1
OnDiskPayload *bool `protobuf:"varint,8,opt,name=on_disk_payload,json=onDiskPayload,proto3,oneof" json:"on_disk_payload,omitempty"` // If true - point's payload will not be stored in memory
Timeout *uint64 `protobuf:"varint,9,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
VectorsConfig *VectorsConfig `protobuf:"bytes,10,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"` // Configuration for vectors
ReplicationFactor *uint32 `protobuf:"varint,11,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"` // Number of replicas of each shard that network tries to maintain, default = 1
WriteConsistencyFactor *uint32 `` // How many replicas should apply the operation for us to consider it successful, default = 1
/* 137-byte string literal not displayed */
QuantizationConfig *QuantizationConfig `protobuf:"bytes,14,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Quantization configuration of vector
ShardingMethod *ShardingMethod `` // Sharding method
/* 138-byte string literal not displayed */
SparseVectorsConfig *SparseVectorConfig `` // Configuration for sparse vectors
/* 127-byte string literal not displayed */
StrictModeConfig *StrictModeConfig `protobuf:"bytes,17,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"` // Configuration for strict mode
Metadata map[string]*Value `` // Arbitrary JSON metadata for the collection
/* 158-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CreateCollection) Descriptor
deprecated
func (*CreateCollection) Descriptor() ([]byte, []int)
Deprecated: Use CreateCollection.ProtoReflect.Descriptor instead.
func (*CreateCollection) GetCollectionName ¶
func (x *CreateCollection) GetCollectionName() string
func (*CreateCollection) GetHnswConfig ¶
func (x *CreateCollection) GetHnswConfig() *HnswConfigDiff
func (*CreateCollection) GetMetadata ¶
func (x *CreateCollection) GetMetadata() map[string]*Value
func (*CreateCollection) GetOnDiskPayload ¶
func (x *CreateCollection) GetOnDiskPayload() bool
func (*CreateCollection) GetOptimizersConfig ¶
func (x *CreateCollection) GetOptimizersConfig() *OptimizersConfigDiff
func (*CreateCollection) GetQuantizationConfig ¶
func (x *CreateCollection) GetQuantizationConfig() *QuantizationConfig
func (*CreateCollection) GetReplicationFactor ¶
func (x *CreateCollection) GetReplicationFactor() uint32
func (*CreateCollection) GetShardNumber ¶
func (x *CreateCollection) GetShardNumber() uint32
func (*CreateCollection) GetShardingMethod ¶
func (x *CreateCollection) GetShardingMethod() ShardingMethod
func (*CreateCollection) GetSparseVectorsConfig ¶
func (x *CreateCollection) GetSparseVectorsConfig() *SparseVectorConfig
func (*CreateCollection) GetStrictModeConfig ¶
func (x *CreateCollection) GetStrictModeConfig() *StrictModeConfig
func (*CreateCollection) GetTimeout ¶
func (x *CreateCollection) GetTimeout() uint64
func (*CreateCollection) GetVectorsConfig ¶
func (x *CreateCollection) GetVectorsConfig() *VectorsConfig
func (*CreateCollection) GetWalConfig ¶
func (x *CreateCollection) GetWalConfig() *WalConfigDiff
func (*CreateCollection) GetWriteConsistencyFactor ¶
func (x *CreateCollection) GetWriteConsistencyFactor() uint32
func (*CreateCollection) ProtoMessage ¶
func (*CreateCollection) ProtoMessage()
func (*CreateCollection) ProtoReflect ¶
func (x *CreateCollection) ProtoReflect() protoreflect.Message
func (*CreateCollection) Reset ¶
func (x *CreateCollection) Reset()
func (*CreateCollection) String ¶
func (x *CreateCollection) String() string
type CreateFieldIndexCollection ¶
type CreateFieldIndexCollection struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
FieldName string `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // Field name to index
FieldType *FieldType `protobuf:"varint,4,opt,name=field_type,json=fieldType,proto3,enum=qdrant.FieldType,oneof" json:"field_type,omitempty"` // Field type.
FieldIndexParams *PayloadIndexParams `protobuf:"bytes,5,opt,name=field_index_params,json=fieldIndexParams,proto3,oneof" json:"field_index_params,omitempty"` // Payload index params.
Ordering *WriteOrdering `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
// contains filtered or unexported fields
}
func (*CreateFieldIndexCollection) Descriptor
deprecated
func (*CreateFieldIndexCollection) Descriptor() ([]byte, []int)
Deprecated: Use CreateFieldIndexCollection.ProtoReflect.Descriptor instead.
func (*CreateFieldIndexCollection) GetCollectionName ¶
func (x *CreateFieldIndexCollection) GetCollectionName() string
func (*CreateFieldIndexCollection) GetFieldIndexParams ¶
func (x *CreateFieldIndexCollection) GetFieldIndexParams() *PayloadIndexParams
func (*CreateFieldIndexCollection) GetFieldName ¶
func (x *CreateFieldIndexCollection) GetFieldName() string
func (*CreateFieldIndexCollection) GetFieldType ¶
func (x *CreateFieldIndexCollection) GetFieldType() FieldType
func (*CreateFieldIndexCollection) GetOrdering ¶
func (x *CreateFieldIndexCollection) GetOrdering() *WriteOrdering
func (*CreateFieldIndexCollection) GetWait ¶
func (x *CreateFieldIndexCollection) GetWait() bool
func (*CreateFieldIndexCollection) ProtoMessage ¶
func (*CreateFieldIndexCollection) ProtoMessage()
func (*CreateFieldIndexCollection) ProtoReflect ¶
func (x *CreateFieldIndexCollection) ProtoReflect() protoreflect.Message
func (*CreateFieldIndexCollection) Reset ¶
func (x *CreateFieldIndexCollection) Reset()
func (*CreateFieldIndexCollection) String ¶
func (x *CreateFieldIndexCollection) String() string
type CreateFullSnapshotRequest ¶
type CreateFullSnapshotRequest struct {
// contains filtered or unexported fields
}
func (*CreateFullSnapshotRequest) Descriptor
deprecated
func (*CreateFullSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateFullSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateFullSnapshotRequest) ProtoMessage ¶
func (*CreateFullSnapshotRequest) ProtoMessage()
func (*CreateFullSnapshotRequest) ProtoReflect ¶
func (x *CreateFullSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateFullSnapshotRequest) Reset ¶
func (x *CreateFullSnapshotRequest) Reset()
func (*CreateFullSnapshotRequest) String ¶
func (x *CreateFullSnapshotRequest) String() string
type CreateShardKey ¶
type CreateShardKey struct {
ShardKey *ShardKey `protobuf:"bytes,1,opt,name=shard_key,json=shardKey,proto3" json:"shard_key,omitempty"` // User-defined shard key
ShardsNumber *uint32 `protobuf:"varint,2,opt,name=shards_number,json=shardsNumber,proto3,oneof" json:"shards_number,omitempty"` // Number of shards to create per shard key
ReplicationFactor *uint32 `protobuf:"varint,3,opt,name=replication_factor,json=replicationFactor,proto3,oneof" json:"replication_factor,omitempty"` // Number of replicas of each shard to create
Placement []uint64 `protobuf:"varint,4,rep,packed,name=placement,proto3" json:"placement,omitempty"` // List of peer ids, allowed to create shards. If empty - all peers are allowed
InitialState *ReplicaState `` // Initial state of created replicas. Warning: use with care.
/* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*CreateShardKey) Descriptor
deprecated
func (*CreateShardKey) Descriptor() ([]byte, []int)
Deprecated: Use CreateShardKey.ProtoReflect.Descriptor instead.
func (*CreateShardKey) GetInitialState ¶
func (x *CreateShardKey) GetInitialState() ReplicaState
func (*CreateShardKey) GetPlacement ¶
func (x *CreateShardKey) GetPlacement() []uint64
func (*CreateShardKey) GetReplicationFactor ¶
func (x *CreateShardKey) GetReplicationFactor() uint32
func (*CreateShardKey) GetShardKey ¶
func (x *CreateShardKey) GetShardKey() *ShardKey
func (*CreateShardKey) GetShardsNumber ¶
func (x *CreateShardKey) GetShardsNumber() uint32
func (*CreateShardKey) ProtoMessage ¶
func (*CreateShardKey) ProtoMessage()
func (*CreateShardKey) ProtoReflect ¶
func (x *CreateShardKey) ProtoReflect() protoreflect.Message
func (*CreateShardKey) Reset ¶
func (x *CreateShardKey) Reset()
func (*CreateShardKey) String ¶
func (x *CreateShardKey) String() string
type CreateShardKeyRequest ¶
type CreateShardKeyRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Request *CreateShardKey `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` // Request to create shard key
Timeout *uint64 `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
// contains filtered or unexported fields
}
func (*CreateShardKeyRequest) Descriptor
deprecated
func (*CreateShardKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateShardKeyRequest.ProtoReflect.Descriptor instead.
func (*CreateShardKeyRequest) GetCollectionName ¶
func (x *CreateShardKeyRequest) GetCollectionName() string
func (*CreateShardKeyRequest) GetRequest ¶
func (x *CreateShardKeyRequest) GetRequest() *CreateShardKey
func (*CreateShardKeyRequest) GetTimeout ¶
func (x *CreateShardKeyRequest) GetTimeout() uint64
func (*CreateShardKeyRequest) ProtoMessage ¶
func (*CreateShardKeyRequest) ProtoMessage()
func (*CreateShardKeyRequest) ProtoReflect ¶
func (x *CreateShardKeyRequest) ProtoReflect() protoreflect.Message
func (*CreateShardKeyRequest) Reset ¶
func (x *CreateShardKeyRequest) Reset()
func (*CreateShardKeyRequest) String ¶
func (x *CreateShardKeyRequest) String() string
type CreateShardKeyResponse ¶
type CreateShardKeyResponse struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*CreateShardKeyResponse) Descriptor
deprecated
func (*CreateShardKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateShardKeyResponse.ProtoReflect.Descriptor instead.
func (*CreateShardKeyResponse) GetResult ¶
func (x *CreateShardKeyResponse) GetResult() bool
func (*CreateShardKeyResponse) ProtoMessage ¶
func (*CreateShardKeyResponse) ProtoMessage()
func (*CreateShardKeyResponse) ProtoReflect ¶
func (x *CreateShardKeyResponse) ProtoReflect() protoreflect.Message
func (*CreateShardKeyResponse) Reset ¶
func (x *CreateShardKeyResponse) Reset()
func (*CreateShardKeyResponse) String ¶
func (x *CreateShardKeyResponse) String() string
type CreateSnapshotRequest ¶
type CreateSnapshotRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
// contains filtered or unexported fields
}
func (*CreateSnapshotRequest) Descriptor
deprecated
func (*CreateSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotRequest.ProtoReflect.Descriptor instead.
func (*CreateSnapshotRequest) GetCollectionName ¶
func (x *CreateSnapshotRequest) GetCollectionName() string
func (*CreateSnapshotRequest) ProtoMessage ¶
func (*CreateSnapshotRequest) ProtoMessage()
func (*CreateSnapshotRequest) ProtoReflect ¶
func (x *CreateSnapshotRequest) ProtoReflect() protoreflect.Message
func (*CreateSnapshotRequest) Reset ¶
func (x *CreateSnapshotRequest) Reset()
func (*CreateSnapshotRequest) String ¶
func (x *CreateSnapshotRequest) String() string
type CreateSnapshotResponse ¶
type CreateSnapshotResponse struct {
SnapshotDescription *SnapshotDescription `protobuf:"bytes,1,opt,name=snapshot_description,json=snapshotDescription,proto3" json:"snapshot_description,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
// contains filtered or unexported fields
}
func (*CreateSnapshotResponse) Descriptor
deprecated
func (*CreateSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateSnapshotResponse.ProtoReflect.Descriptor instead.
func (*CreateSnapshotResponse) GetSnapshotDescription ¶
func (x *CreateSnapshotResponse) GetSnapshotDescription() *SnapshotDescription
func (*CreateSnapshotResponse) GetTime ¶
func (x *CreateSnapshotResponse) GetTime() float64
func (*CreateSnapshotResponse) ProtoMessage ¶
func (*CreateSnapshotResponse) ProtoMessage()
func (*CreateSnapshotResponse) ProtoReflect ¶
func (x *CreateSnapshotResponse) ProtoReflect() protoreflect.Message
func (*CreateSnapshotResponse) Reset ¶
func (x *CreateSnapshotResponse) Reset()
func (*CreateSnapshotResponse) String ¶
func (x *CreateSnapshotResponse) String() string
type Datatype ¶
type Datatype int32
func (Datatype) Descriptor ¶
func (Datatype) Descriptor() protoreflect.EnumDescriptor
func (Datatype) EnumDescriptor
deprecated
func (Datatype) Number ¶
func (x Datatype) Number() protoreflect.EnumNumber
func (Datatype) Type ¶
func (Datatype) Type() protoreflect.EnumType
type DatetimeIndexParams ¶
type DatetimeIndexParams struct {
OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
IsPrincipal *bool `protobuf:"varint,2,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"` // If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests.
// contains filtered or unexported fields
}
func (*DatetimeIndexParams) Descriptor
deprecated
func (*DatetimeIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use DatetimeIndexParams.ProtoReflect.Descriptor instead.
func (*DatetimeIndexParams) GetIsPrincipal ¶
func (x *DatetimeIndexParams) GetIsPrincipal() bool
func (*DatetimeIndexParams) GetOnDisk ¶
func (x *DatetimeIndexParams) GetOnDisk() bool
func (*DatetimeIndexParams) ProtoMessage ¶
func (*DatetimeIndexParams) ProtoMessage()
func (*DatetimeIndexParams) ProtoReflect ¶
func (x *DatetimeIndexParams) ProtoReflect() protoreflect.Message
func (*DatetimeIndexParams) Reset ¶
func (x *DatetimeIndexParams) Reset()
func (*DatetimeIndexParams) String ¶
func (x *DatetimeIndexParams) String() string
type DatetimeRange ¶
type DatetimeRange struct {
Lt *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
Gt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
Gte *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
Lte *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
// contains filtered or unexported fields
}
func (*DatetimeRange) Descriptor
deprecated
func (*DatetimeRange) Descriptor() ([]byte, []int)
Deprecated: Use DatetimeRange.ProtoReflect.Descriptor instead.
func (*DatetimeRange) GetGt ¶
func (x *DatetimeRange) GetGt() *timestamppb.Timestamp
func (*DatetimeRange) GetGte ¶
func (x *DatetimeRange) GetGte() *timestamppb.Timestamp
func (*DatetimeRange) GetLt ¶
func (x *DatetimeRange) GetLt() *timestamppb.Timestamp
func (*DatetimeRange) GetLte ¶
func (x *DatetimeRange) GetLte() *timestamppb.Timestamp
func (*DatetimeRange) ProtoMessage ¶
func (*DatetimeRange) ProtoMessage()
func (*DatetimeRange) ProtoReflect ¶
func (x *DatetimeRange) ProtoReflect() protoreflect.Message
func (*DatetimeRange) Reset ¶
func (x *DatetimeRange) Reset()
func (*DatetimeRange) String ¶
func (x *DatetimeRange) String() string
type DecayParamsExpression ¶
type DecayParamsExpression struct {
// The variable to decay
X *Expression `protobuf:"bytes,1,opt,name=x,proto3" json:"x,omitempty"`
// The target value to start decaying from. Defaults to 0.
Target *Expression `protobuf:"bytes,2,opt,name=target,proto3,oneof" json:"target,omitempty"`
// The scale factor of the decay, in terms of `x`. Defaults to 1.0. Must be a non-zero positive number.
Scale *float32 `protobuf:"fixed32,3,opt,name=scale,proto3,oneof" json:"scale,omitempty"`
// The midpoint of the decay. Should be between 0 and 1. Defaults to 0.5. Output will be this value when `|x - target| == scale`.
Midpoint *float32 `protobuf:"fixed32,4,opt,name=midpoint,proto3,oneof" json:"midpoint,omitempty"`
// contains filtered or unexported fields
}
func (*DecayParamsExpression) Descriptor
deprecated
func (*DecayParamsExpression) Descriptor() ([]byte, []int)
Deprecated: Use DecayParamsExpression.ProtoReflect.Descriptor instead.
func (*DecayParamsExpression) GetMidpoint ¶
func (x *DecayParamsExpression) GetMidpoint() float32
func (*DecayParamsExpression) GetScale ¶
func (x *DecayParamsExpression) GetScale() float32
func (*DecayParamsExpression) GetTarget ¶
func (x *DecayParamsExpression) GetTarget() *Expression
func (*DecayParamsExpression) GetX ¶
func (x *DecayParamsExpression) GetX() *Expression
func (*DecayParamsExpression) ProtoMessage ¶
func (*DecayParamsExpression) ProtoMessage()
func (*DecayParamsExpression) ProtoReflect ¶
func (x *DecayParamsExpression) ProtoReflect() protoreflect.Message
func (*DecayParamsExpression) Reset ¶
func (x *DecayParamsExpression) Reset()
func (*DecayParamsExpression) String ¶
func (x *DecayParamsExpression) String() string
type DeleteAlias ¶
type DeleteAlias struct {
AliasName string `protobuf:"bytes,1,opt,name=alias_name,json=aliasName,proto3" json:"alias_name,omitempty"` // Name of the alias
// contains filtered or unexported fields
}
func (*DeleteAlias) Descriptor
deprecated
func (*DeleteAlias) Descriptor() ([]byte, []int)
Deprecated: Use DeleteAlias.ProtoReflect.Descriptor instead.
func (*DeleteAlias) GetAliasName ¶
func (x *DeleteAlias) GetAliasName() string
func (*DeleteAlias) ProtoMessage ¶
func (*DeleteAlias) ProtoMessage()
func (*DeleteAlias) ProtoReflect ¶
func (x *DeleteAlias) ProtoReflect() protoreflect.Message
func (*DeleteAlias) Reset ¶
func (x *DeleteAlias) Reset()
func (*DeleteAlias) String ¶
func (x *DeleteAlias) String() string
type DeleteCollection ¶
type DeleteCollection struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Timeout *uint64 `protobuf:"varint,2,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
// contains filtered or unexported fields
}
func (*DeleteCollection) Descriptor
deprecated
func (*DeleteCollection) Descriptor() ([]byte, []int)
Deprecated: Use DeleteCollection.ProtoReflect.Descriptor instead.
func (*DeleteCollection) GetCollectionName ¶
func (x *DeleteCollection) GetCollectionName() string
func (*DeleteCollection) GetTimeout ¶
func (x *DeleteCollection) GetTimeout() uint64
func (*DeleteCollection) ProtoMessage ¶
func (*DeleteCollection) ProtoMessage()
func (*DeleteCollection) ProtoReflect ¶
func (x *DeleteCollection) ProtoReflect() protoreflect.Message
func (*DeleteCollection) Reset ¶
func (x *DeleteCollection) Reset()
func (*DeleteCollection) String ¶
func (x *DeleteCollection) String() string
type DeleteFieldIndexCollection ¶
type DeleteFieldIndexCollection struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
FieldName string `protobuf:"bytes,3,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // Field name to delete
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
// contains filtered or unexported fields
}
func (*DeleteFieldIndexCollection) Descriptor
deprecated
func (*DeleteFieldIndexCollection) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFieldIndexCollection.ProtoReflect.Descriptor instead.
func (*DeleteFieldIndexCollection) GetCollectionName ¶
func (x *DeleteFieldIndexCollection) GetCollectionName() string
func (*DeleteFieldIndexCollection) GetFieldName ¶
func (x *DeleteFieldIndexCollection) GetFieldName() string
func (*DeleteFieldIndexCollection) GetOrdering ¶
func (x *DeleteFieldIndexCollection) GetOrdering() *WriteOrdering
func (*DeleteFieldIndexCollection) GetWait ¶
func (x *DeleteFieldIndexCollection) GetWait() bool
func (*DeleteFieldIndexCollection) ProtoMessage ¶
func (*DeleteFieldIndexCollection) ProtoMessage()
func (*DeleteFieldIndexCollection) ProtoReflect ¶
func (x *DeleteFieldIndexCollection) ProtoReflect() protoreflect.Message
func (*DeleteFieldIndexCollection) Reset ¶
func (x *DeleteFieldIndexCollection) Reset()
func (*DeleteFieldIndexCollection) String ¶
func (x *DeleteFieldIndexCollection) String() string
type DeleteFullSnapshotRequest ¶
type DeleteFullSnapshotRequest struct {
SnapshotName string `protobuf:"bytes,1,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"` // Name of the full snapshot
// contains filtered or unexported fields
}
func (*DeleteFullSnapshotRequest) Descriptor
deprecated
func (*DeleteFullSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteFullSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteFullSnapshotRequest) GetSnapshotName ¶
func (x *DeleteFullSnapshotRequest) GetSnapshotName() string
func (*DeleteFullSnapshotRequest) ProtoMessage ¶
func (*DeleteFullSnapshotRequest) ProtoMessage()
func (*DeleteFullSnapshotRequest) ProtoReflect ¶
func (x *DeleteFullSnapshotRequest) ProtoReflect() protoreflect.Message
func (*DeleteFullSnapshotRequest) Reset ¶
func (x *DeleteFullSnapshotRequest) Reset()
func (*DeleteFullSnapshotRequest) String ¶
func (x *DeleteFullSnapshotRequest) String() string
type DeletePayloadPoints ¶
type DeletePayloadPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
Keys []string `protobuf:"bytes,3,rep,name=keys,proto3" json:"keys,omitempty"` // List of keys to delete
PointsSelector *PointsSelector `protobuf:"bytes,5,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"` // Affected points
Ordering *WriteOrdering `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
// contains filtered or unexported fields
}
func (*DeletePayloadPoints) Descriptor
deprecated
func (*DeletePayloadPoints) Descriptor() ([]byte, []int)
Deprecated: Use DeletePayloadPoints.ProtoReflect.Descriptor instead.
func (*DeletePayloadPoints) GetCollectionName ¶
func (x *DeletePayloadPoints) GetCollectionName() string
func (*DeletePayloadPoints) GetKeys ¶
func (x *DeletePayloadPoints) GetKeys() []string
func (*DeletePayloadPoints) GetOrdering ¶
func (x *DeletePayloadPoints) GetOrdering() *WriteOrdering
func (*DeletePayloadPoints) GetPointsSelector ¶
func (x *DeletePayloadPoints) GetPointsSelector() *PointsSelector
func (*DeletePayloadPoints) GetShardKeySelector ¶
func (x *DeletePayloadPoints) GetShardKeySelector() *ShardKeySelector
func (*DeletePayloadPoints) GetWait ¶
func (x *DeletePayloadPoints) GetWait() bool
func (*DeletePayloadPoints) ProtoMessage ¶
func (*DeletePayloadPoints) ProtoMessage()
func (*DeletePayloadPoints) ProtoReflect ¶
func (x *DeletePayloadPoints) ProtoReflect() protoreflect.Message
func (*DeletePayloadPoints) Reset ¶
func (x *DeletePayloadPoints) Reset()
func (*DeletePayloadPoints) String ¶
func (x *DeletePayloadPoints) String() string
type DeletePointVectors ¶
type DeletePointVectors struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
PointsSelector *PointsSelector `protobuf:"bytes,3,opt,name=points_selector,json=pointsSelector,proto3" json:"points_selector,omitempty"` // Affected points
Vectors *VectorsSelector `protobuf:"bytes,4,opt,name=vectors,proto3" json:"vectors,omitempty"` // List of vector names to delete
Ordering *WriteOrdering `protobuf:"bytes,5,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,6,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
// contains filtered or unexported fields
}
func (*DeletePointVectors) Descriptor
deprecated
func (*DeletePointVectors) Descriptor() ([]byte, []int)
Deprecated: Use DeletePointVectors.ProtoReflect.Descriptor instead.
func (*DeletePointVectors) GetCollectionName ¶
func (x *DeletePointVectors) GetCollectionName() string
func (*DeletePointVectors) GetOrdering ¶
func (x *DeletePointVectors) GetOrdering() *WriteOrdering
func (*DeletePointVectors) GetPointsSelector ¶
func (x *DeletePointVectors) GetPointsSelector() *PointsSelector
func (*DeletePointVectors) GetShardKeySelector ¶
func (x *DeletePointVectors) GetShardKeySelector() *ShardKeySelector
func (*DeletePointVectors) GetVectors ¶
func (x *DeletePointVectors) GetVectors() *VectorsSelector
func (*DeletePointVectors) GetWait ¶
func (x *DeletePointVectors) GetWait() bool
func (*DeletePointVectors) ProtoMessage ¶
func (*DeletePointVectors) ProtoMessage()
func (*DeletePointVectors) ProtoReflect ¶
func (x *DeletePointVectors) ProtoReflect() protoreflect.Message
func (*DeletePointVectors) Reset ¶
func (x *DeletePointVectors) Reset()
func (*DeletePointVectors) String ¶
func (x *DeletePointVectors) String() string
type DeletePoints ¶
type DeletePoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
Points *PointsSelector `protobuf:"bytes,3,opt,name=points,proto3" json:"points,omitempty"` // Affected points
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
// contains filtered or unexported fields
}
func (*DeletePoints) Descriptor
deprecated
func (*DeletePoints) Descriptor() ([]byte, []int)
Deprecated: Use DeletePoints.ProtoReflect.Descriptor instead.
func (*DeletePoints) GetCollectionName ¶
func (x *DeletePoints) GetCollectionName() string
func (*DeletePoints) GetOrdering ¶
func (x *DeletePoints) GetOrdering() *WriteOrdering
func (*DeletePoints) GetPoints ¶
func (x *DeletePoints) GetPoints() *PointsSelector
func (*DeletePoints) GetShardKeySelector ¶
func (x *DeletePoints) GetShardKeySelector() *ShardKeySelector
func (*DeletePoints) GetWait ¶
func (x *DeletePoints) GetWait() bool
func (*DeletePoints) ProtoMessage ¶
func (*DeletePoints) ProtoMessage()
func (*DeletePoints) ProtoReflect ¶
func (x *DeletePoints) ProtoReflect() protoreflect.Message
func (*DeletePoints) Reset ¶
func (x *DeletePoints) Reset()
func (*DeletePoints) String ¶
func (x *DeletePoints) String() string
type DeleteShardKey ¶
type DeleteShardKey struct {
ShardKey *ShardKey `protobuf:"bytes,1,opt,name=shard_key,json=shardKey,proto3" json:"shard_key,omitempty"` // Shard key to delete
// contains filtered or unexported fields
}
func (*DeleteShardKey) Descriptor
deprecated
func (*DeleteShardKey) Descriptor() ([]byte, []int)
Deprecated: Use DeleteShardKey.ProtoReflect.Descriptor instead.
func (*DeleteShardKey) GetShardKey ¶
func (x *DeleteShardKey) GetShardKey() *ShardKey
func (*DeleteShardKey) ProtoMessage ¶
func (*DeleteShardKey) ProtoMessage()
func (*DeleteShardKey) ProtoReflect ¶
func (x *DeleteShardKey) ProtoReflect() protoreflect.Message
func (*DeleteShardKey) Reset ¶
func (x *DeleteShardKey) Reset()
func (*DeleteShardKey) String ¶
func (x *DeleteShardKey) String() string
type DeleteShardKeyRequest ¶
type DeleteShardKeyRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Request *DeleteShardKey `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty"` // Request to delete shard key
Timeout *uint64 `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
// contains filtered or unexported fields
}
func (*DeleteShardKeyRequest) Descriptor
deprecated
func (*DeleteShardKeyRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteShardKeyRequest.ProtoReflect.Descriptor instead.
func (*DeleteShardKeyRequest) GetCollectionName ¶
func (x *DeleteShardKeyRequest) GetCollectionName() string
func (*DeleteShardKeyRequest) GetRequest ¶
func (x *DeleteShardKeyRequest) GetRequest() *DeleteShardKey
func (*DeleteShardKeyRequest) GetTimeout ¶
func (x *DeleteShardKeyRequest) GetTimeout() uint64
func (*DeleteShardKeyRequest) ProtoMessage ¶
func (*DeleteShardKeyRequest) ProtoMessage()
func (*DeleteShardKeyRequest) ProtoReflect ¶
func (x *DeleteShardKeyRequest) ProtoReflect() protoreflect.Message
func (*DeleteShardKeyRequest) Reset ¶
func (x *DeleteShardKeyRequest) Reset()
func (*DeleteShardKeyRequest) String ¶
func (x *DeleteShardKeyRequest) String() string
type DeleteShardKeyResponse ¶
type DeleteShardKeyResponse struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*DeleteShardKeyResponse) Descriptor
deprecated
func (*DeleteShardKeyResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteShardKeyResponse.ProtoReflect.Descriptor instead.
func (*DeleteShardKeyResponse) GetResult ¶
func (x *DeleteShardKeyResponse) GetResult() bool
func (*DeleteShardKeyResponse) ProtoMessage ¶
func (*DeleteShardKeyResponse) ProtoMessage()
func (*DeleteShardKeyResponse) ProtoReflect ¶
func (x *DeleteShardKeyResponse) ProtoReflect() protoreflect.Message
func (*DeleteShardKeyResponse) Reset ¶
func (x *DeleteShardKeyResponse) Reset()
func (*DeleteShardKeyResponse) String ¶
func (x *DeleteShardKeyResponse) String() string
type DeleteSnapshotRequest ¶
type DeleteSnapshotRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
SnapshotName string `protobuf:"bytes,2,opt,name=snapshot_name,json=snapshotName,proto3" json:"snapshot_name,omitempty"` // Name of the collection snapshot
// contains filtered or unexported fields
}
func (*DeleteSnapshotRequest) Descriptor
deprecated
func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotRequest.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotRequest) GetCollectionName ¶
func (x *DeleteSnapshotRequest) GetCollectionName() string
func (*DeleteSnapshotRequest) GetSnapshotName ¶
func (x *DeleteSnapshotRequest) GetSnapshotName() string
func (*DeleteSnapshotRequest) ProtoMessage ¶
func (*DeleteSnapshotRequest) ProtoMessage()
func (*DeleteSnapshotRequest) ProtoReflect ¶
func (x *DeleteSnapshotRequest) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotRequest) Reset ¶
func (x *DeleteSnapshotRequest) Reset()
func (*DeleteSnapshotRequest) String ¶
func (x *DeleteSnapshotRequest) String() string
type DeleteSnapshotResponse ¶
type DeleteSnapshotResponse struct {
Time float64 `protobuf:"fixed64,1,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
// contains filtered or unexported fields
}
func (*DeleteSnapshotResponse) Descriptor
deprecated
func (*DeleteSnapshotResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteSnapshotResponse.ProtoReflect.Descriptor instead.
func (*DeleteSnapshotResponse) GetTime ¶
func (x *DeleteSnapshotResponse) GetTime() float64
func (*DeleteSnapshotResponse) ProtoMessage ¶
func (*DeleteSnapshotResponse) ProtoMessage()
func (*DeleteSnapshotResponse) ProtoReflect ¶
func (x *DeleteSnapshotResponse) ProtoReflect() protoreflect.Message
func (*DeleteSnapshotResponse) Reset ¶
func (x *DeleteSnapshotResponse) Reset()
func (*DeleteSnapshotResponse) String ¶
func (x *DeleteSnapshotResponse) String() string
type DenseVector ¶
type DenseVector struct {
Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*DenseVector) Descriptor
deprecated
func (*DenseVector) Descriptor() ([]byte, []int)
Deprecated: Use DenseVector.ProtoReflect.Descriptor instead.
func (*DenseVector) GetData ¶
func (x *DenseVector) GetData() []float32
func (*DenseVector) ProtoMessage ¶
func (*DenseVector) ProtoMessage()
func (*DenseVector) ProtoReflect ¶
func (x *DenseVector) ProtoReflect() protoreflect.Message
func (*DenseVector) Reset ¶
func (x *DenseVector) Reset()
func (*DenseVector) String ¶
func (x *DenseVector) String() string
type Direction ¶
type Direction int32
func (Direction) Descriptor ¶
func (Direction) Descriptor() protoreflect.EnumDescriptor
func (Direction) EnumDescriptor
deprecated
func (Direction) Number ¶
func (x Direction) Number() protoreflect.EnumNumber
func (Direction) Type ¶
func (Direction) Type() protoreflect.EnumType
type Disabled ¶
type Disabled struct {
// contains filtered or unexported fields
}
func (*Disabled) Descriptor
deprecated
func (*Disabled) ProtoMessage ¶
func (*Disabled) ProtoMessage()
func (*Disabled) ProtoReflect ¶
func (x *Disabled) ProtoReflect() protoreflect.Message
type DiscoverBatchPoints ¶
type DiscoverBatchPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
DiscoverPoints []*DiscoverPoints `protobuf:"bytes,2,rep,name=discover_points,json=discoverPoints,proto3" json:"discover_points,omitempty"`
ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
// contains filtered or unexported fields
}
func (*DiscoverBatchPoints) Descriptor
deprecated
func (*DiscoverBatchPoints) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverBatchPoints.ProtoReflect.Descriptor instead.
func (*DiscoverBatchPoints) GetCollectionName ¶
func (x *DiscoverBatchPoints) GetCollectionName() string
func (*DiscoverBatchPoints) GetDiscoverPoints ¶
func (x *DiscoverBatchPoints) GetDiscoverPoints() []*DiscoverPoints
func (*DiscoverBatchPoints) GetReadConsistency ¶
func (x *DiscoverBatchPoints) GetReadConsistency() *ReadConsistency
func (*DiscoverBatchPoints) GetTimeout ¶
func (x *DiscoverBatchPoints) GetTimeout() uint64
func (*DiscoverBatchPoints) ProtoMessage ¶
func (*DiscoverBatchPoints) ProtoMessage()
func (*DiscoverBatchPoints) ProtoReflect ¶
func (x *DiscoverBatchPoints) ProtoReflect() protoreflect.Message
func (*DiscoverBatchPoints) Reset ¶
func (x *DiscoverBatchPoints) Reset()
func (*DiscoverBatchPoints) String ¶
func (x *DiscoverBatchPoints) String() string
type DiscoverBatchResponse ¶
type DiscoverBatchResponse struct {
Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*DiscoverBatchResponse) Descriptor
deprecated
func (*DiscoverBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverBatchResponse.ProtoReflect.Descriptor instead.
func (*DiscoverBatchResponse) GetResult ¶
func (x *DiscoverBatchResponse) GetResult() []*BatchResult
func (*DiscoverBatchResponse) GetTime ¶
func (x *DiscoverBatchResponse) GetTime() float64
func (*DiscoverBatchResponse) GetUsage ¶
func (x *DiscoverBatchResponse) GetUsage() *Usage
func (*DiscoverBatchResponse) ProtoMessage ¶
func (*DiscoverBatchResponse) ProtoMessage()
func (*DiscoverBatchResponse) ProtoReflect ¶
func (x *DiscoverBatchResponse) ProtoReflect() protoreflect.Message
func (*DiscoverBatchResponse) Reset ¶
func (x *DiscoverBatchResponse) Reset()
func (*DiscoverBatchResponse) String ¶
func (x *DiscoverBatchResponse) String() string
type DiscoverInput ¶
type DiscoverInput struct {
Target *VectorInput `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` // Use this as the primary search objective
Context *ContextInput `protobuf:"bytes,2,opt,name=context,proto3" json:"context,omitempty"` // Search space will be constrained by these pairs of vectors
// contains filtered or unexported fields
}
func (*DiscoverInput) Descriptor
deprecated
func (*DiscoverInput) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverInput.ProtoReflect.Descriptor instead.
func (*DiscoverInput) GetContext ¶
func (x *DiscoverInput) GetContext() *ContextInput
func (*DiscoverInput) GetTarget ¶
func (x *DiscoverInput) GetTarget() *VectorInput
func (*DiscoverInput) ProtoMessage ¶
func (*DiscoverInput) ProtoMessage()
func (*DiscoverInput) ProtoReflect ¶
func (x *DiscoverInput) ProtoReflect() protoreflect.Message
func (*DiscoverInput) Reset ¶
func (x *DiscoverInput) Reset()
func (*DiscoverInput) String ¶
func (x *DiscoverInput) String() string
type DiscoverPoints ¶
type DiscoverPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Target *TargetVector `protobuf:"bytes,2,opt,name=target,proto3" json:"target,omitempty"` // Use this as the primary search objective
Context []*ContextExamplePair `protobuf:"bytes,3,rep,name=context,proto3" json:"context,omitempty"` // Search will be constrained by these pairs of examples
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions
Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // Max number of result
WithPayload *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"` // Options for specifying which payload to include or not
Params *SearchParams `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"` // Search config
Offset *uint64 `protobuf:"varint,8,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // Offset of the result
Using *string `protobuf:"bytes,9,opt,name=using,proto3,oneof" json:"using,omitempty"` // Define which vector to use for recommendation, if not specified - default vector
WithVectors *WithVectorsSelector `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into response
LookupFrom *LookupLocation `protobuf:"bytes,11,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"` // Name of the collection to use for points lookup, if not specified - use current collection
ReadConsistency *ReadConsistency `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
Timeout *uint64 `protobuf:"varint,13,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
ShardKeySelector *ShardKeySelector `protobuf:"bytes,14,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
// contains filtered or unexported fields
}
func (*DiscoverPoints) Descriptor
deprecated
func (*DiscoverPoints) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverPoints.ProtoReflect.Descriptor instead.
func (*DiscoverPoints) GetCollectionName ¶
func (x *DiscoverPoints) GetCollectionName() string
func (*DiscoverPoints) GetContext ¶
func (x *DiscoverPoints) GetContext() []*ContextExamplePair
func (*DiscoverPoints) GetFilter ¶
func (x *DiscoverPoints) GetFilter() *Filter
func (*DiscoverPoints) GetLimit ¶
func (x *DiscoverPoints) GetLimit() uint64
func (*DiscoverPoints) GetLookupFrom ¶
func (x *DiscoverPoints) GetLookupFrom() *LookupLocation
func (*DiscoverPoints) GetOffset ¶
func (x *DiscoverPoints) GetOffset() uint64
func (*DiscoverPoints) GetParams ¶
func (x *DiscoverPoints) GetParams() *SearchParams
func (*DiscoverPoints) GetReadConsistency ¶
func (x *DiscoverPoints) GetReadConsistency() *ReadConsistency
func (*DiscoverPoints) GetShardKeySelector ¶
func (x *DiscoverPoints) GetShardKeySelector() *ShardKeySelector
func (*DiscoverPoints) GetTarget ¶
func (x *DiscoverPoints) GetTarget() *TargetVector
func (*DiscoverPoints) GetTimeout ¶
func (x *DiscoverPoints) GetTimeout() uint64
func (*DiscoverPoints) GetUsing ¶
func (x *DiscoverPoints) GetUsing() string
func (*DiscoverPoints) GetWithPayload ¶
func (x *DiscoverPoints) GetWithPayload() *WithPayloadSelector
func (*DiscoverPoints) GetWithVectors ¶
func (x *DiscoverPoints) GetWithVectors() *WithVectorsSelector
func (*DiscoverPoints) ProtoMessage ¶
func (*DiscoverPoints) ProtoMessage()
func (*DiscoverPoints) ProtoReflect ¶
func (x *DiscoverPoints) ProtoReflect() protoreflect.Message
func (*DiscoverPoints) Reset ¶
func (x *DiscoverPoints) Reset()
func (*DiscoverPoints) String ¶
func (x *DiscoverPoints) String() string
type DiscoverResponse ¶
type DiscoverResponse struct {
Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*DiscoverResponse) Descriptor
deprecated
func (*DiscoverResponse) Descriptor() ([]byte, []int)
Deprecated: Use DiscoverResponse.ProtoReflect.Descriptor instead.
func (*DiscoverResponse) GetResult ¶
func (x *DiscoverResponse) GetResult() []*ScoredPoint
func (*DiscoverResponse) GetTime ¶
func (x *DiscoverResponse) GetTime() float64
func (*DiscoverResponse) GetUsage ¶
func (x *DiscoverResponse) GetUsage() *Usage
func (*DiscoverResponse) ProtoMessage ¶
func (*DiscoverResponse) ProtoMessage()
func (*DiscoverResponse) ProtoReflect ¶
func (x *DiscoverResponse) ProtoReflect() protoreflect.Message
func (*DiscoverResponse) Reset ¶
func (x *DiscoverResponse) Reset()
func (*DiscoverResponse) String ¶
func (x *DiscoverResponse) String() string
type Distance ¶
type Distance int32
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 ¶
type DivExpression struct {
Left *Expression `protobuf:"bytes,1,opt,name=left,proto3" json:"left,omitempty"`
Right *Expression `protobuf:"bytes,2,opt,name=right,proto3" json:"right,omitempty"`
ByZeroDefault *float32 `protobuf:"fixed32,3,opt,name=by_zero_default,json=byZeroDefault,proto3,oneof" json:"by_zero_default,omitempty"`
// contains filtered or unexported fields
}
func (*DivExpression) Descriptor
deprecated
func (*DivExpression) Descriptor() ([]byte, []int)
Deprecated: Use DivExpression.ProtoReflect.Descriptor instead.
func (*DivExpression) GetByZeroDefault ¶
func (x *DivExpression) GetByZeroDefault() float32
func (*DivExpression) GetLeft ¶
func (x *DivExpression) GetLeft() *Expression
func (*DivExpression) GetRight ¶
func (x *DivExpression) GetRight() *Expression
func (*DivExpression) ProtoMessage ¶
func (*DivExpression) ProtoMessage()
func (*DivExpression) ProtoReflect ¶
func (x *DivExpression) ProtoReflect() protoreflect.Message
func (*DivExpression) Reset ¶
func (x *DivExpression) Reset()
func (*DivExpression) String ¶
func (x *DivExpression) String() string
type Document ¶
type Document struct {
Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Text of the document
Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // Model name
Options map[string]*Value `` // Model options
/* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Document) Descriptor
deprecated
func (*Document) GetOptions ¶
func (*Document) ProtoMessage ¶
func (*Document) ProtoMessage()
func (*Document) ProtoReflect ¶
func (x *Document) ProtoReflect() protoreflect.Message
type Expression ¶
type Expression struct {
// Types that are assignable to Variant:
//
// *Expression_Constant
// *Expression_Variable
// *Expression_Condition
// *Expression_GeoDistance
// *Expression_Datetime
// *Expression_DatetimeKey
// *Expression_Mult
// *Expression_Sum
// *Expression_Div
// *Expression_Neg
// *Expression_Abs
// *Expression_Sqrt
// *Expression_Pow
// *Expression_Exp
// *Expression_Log10
// *Expression_Ln
// *Expression_ExpDecay
// *Expression_GaussDecay
// *Expression_LinDecay
Variant isExpression_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewExpressionAbs ¶
func NewExpressionAbs(abs *Expression) *Expression
Creates a *Expression instance for absolute value.
func NewExpressionCondition ¶
func NewExpressionCondition(condition *Condition) *Expression
Creates a *Expression instance from a *Condition. If true, becomes 1.0; otherwise 0.0.
func NewExpressionConstant ¶
func NewExpressionConstant(constant float32) *Expression
Creates a *Expression instance from a constant.
func NewExpressionDatetime ¶
func NewExpressionDatetime(datetime string) *Expression
Creates a *Expression instance from a datetime constant string.
func NewExpressionDatetimeKey ¶
func NewExpressionDatetimeKey(datetimeKey string) *Expression
Creates a *Expression instance from a datetime key in the payload.
func NewExpressionDiv ¶
func NewExpressionDiv(div *DivExpression) *Expression
Creates a *Expression instance for division.
func NewExpressionExp ¶
func NewExpressionExp(exp *Expression) *Expression
Creates a *Expression instance for exponential.
func NewExpressionExpDecay ¶
func NewExpressionExpDecay(expDecay *DecayParamsExpression) *Expression
Creates a *Expression instance for exponential decay.
func NewExpressionGaussDecay ¶
func NewExpressionGaussDecay(gaussDecay *DecayParamsExpression) *Expression
Creates a *Expression instance for Gaussian decay.
func NewExpressionGeoDistance ¶
func NewExpressionGeoDistance(geoDistance *GeoDistance) *Expression
Creates a *Expression instance from a *GeoDistance.
func NewExpressionLinDecay ¶
func NewExpressionLinDecay(linDecay *DecayParamsExpression) *Expression
Creates a *Expression instance for linear decay.
func NewExpressionLn ¶
func NewExpressionLn(ln *Expression) *Expression
Creates a *Expression instance for natural logarithm.
func NewExpressionLog10 ¶
func NewExpressionLog10(log10 *Expression) *Expression
Creates a *Expression instance for base-10 logarithm.
func NewExpressionMult ¶
func NewExpressionMult(mult *MultExpression) *Expression
Creates a *Expression instance for multiplication.
func NewExpressionNeg ¶
func NewExpressionNeg(neg *Expression) *Expression
Creates a *Expression instance to negate a value.
func NewExpressionPow ¶
func NewExpressionPow(pow *PowExpression) *Expression
Creates a *Expression instance for power expression.
func NewExpressionSqrt ¶
func NewExpressionSqrt(sqrt *Expression) *Expression
Creates a *Expression instance for square root.
func NewExpressionSum ¶
func NewExpressionSum(sum *SumExpression) *Expression
Creates a *Expression instance for summation.
func NewExpressionVariable ¶
func NewExpressionVariable(variable string) *Expression
Creates a *Expression instance from a variable (payload key or score reference).
func (*Expression) Descriptor
deprecated
func (*Expression) Descriptor() ([]byte, []int)
Deprecated: Use Expression.ProtoReflect.Descriptor instead.
func (*Expression) GetAbs ¶
func (x *Expression) GetAbs() *Expression
func (*Expression) GetCondition ¶
func (x *Expression) GetCondition() *Condition
func (*Expression) GetConstant ¶
func (x *Expression) GetConstant() float32
func (*Expression) GetDatetime ¶
func (x *Expression) GetDatetime() string
func (*Expression) GetDatetimeKey ¶
func (x *Expression) GetDatetimeKey() string
func (*Expression) GetDiv ¶
func (x *Expression) GetDiv() *DivExpression
func (*Expression) GetExp ¶
func (x *Expression) GetExp() *Expression
func (*Expression) GetExpDecay ¶
func (x *Expression) GetExpDecay() *DecayParamsExpression
func (*Expression) GetGaussDecay ¶
func (x *Expression) GetGaussDecay() *DecayParamsExpression
func (*Expression) GetGeoDistance ¶
func (x *Expression) GetGeoDistance() *GeoDistance
func (*Expression) GetLinDecay ¶
func (x *Expression) GetLinDecay() *DecayParamsExpression
func (*Expression) GetLn ¶
func (x *Expression) GetLn() *Expression
func (*Expression) GetLog10 ¶
func (x *Expression) GetLog10() *Expression
func (*Expression) GetMult ¶
func (x *Expression) GetMult() *MultExpression
func (*Expression) GetNeg ¶
func (x *Expression) GetNeg() *Expression
func (*Expression) GetPow ¶
func (x *Expression) GetPow() *PowExpression
func (*Expression) GetSqrt ¶
func (x *Expression) GetSqrt() *Expression
func (*Expression) GetSum ¶
func (x *Expression) GetSum() *SumExpression
func (*Expression) GetVariable ¶
func (x *Expression) GetVariable() string
func (*Expression) GetVariant ¶
func (m *Expression) GetVariant() isExpression_Variant
func (*Expression) ProtoMessage ¶
func (*Expression) ProtoMessage()
func (*Expression) ProtoReflect ¶
func (x *Expression) ProtoReflect() protoreflect.Message
func (*Expression) Reset ¶
func (x *Expression) Reset()
func (*Expression) String ¶
func (x *Expression) String() string
type Expression_Abs ¶
type Expression_Abs struct {
Abs *Expression `protobuf:"bytes,11,opt,name=abs,proto3,oneof"` // Absolute value
}
type Expression_Condition ¶
type Expression_Condition struct {
Condition *Condition `protobuf:"bytes,3,opt,name=condition,proto3,oneof"` // Payload condition. If true, becomes 1.0; otherwise 0.0
}
type Expression_Constant ¶
type Expression_Constant struct {
Constant float32 `protobuf:"fixed32,1,opt,name=constant,proto3,oneof"`
}
type Expression_Datetime ¶
type Expression_Datetime struct {
Datetime string `protobuf:"bytes,5,opt,name=datetime,proto3,oneof"` // Date-time constant
}
type Expression_DatetimeKey ¶
type Expression_DatetimeKey struct {
DatetimeKey string `protobuf:"bytes,6,opt,name=datetime_key,json=datetimeKey,proto3,oneof"` // Payload key with date-time values
}
type Expression_Div ¶
type Expression_Div struct {
Div *DivExpression `protobuf:"bytes,9,opt,name=div,proto3,oneof"` // Divide
}
type Expression_Exp ¶
type Expression_Exp struct {
Exp *Expression `protobuf:"bytes,14,opt,name=exp,proto3,oneof"` // Exponential
}
type Expression_ExpDecay ¶
type Expression_ExpDecay struct {
ExpDecay *DecayParamsExpression `protobuf:"bytes,17,opt,name=exp_decay,json=expDecay,proto3,oneof"` // Exponential decay
}
type Expression_GaussDecay ¶
type Expression_GaussDecay struct {
GaussDecay *DecayParamsExpression `protobuf:"bytes,18,opt,name=gauss_decay,json=gaussDecay,proto3,oneof"` // Gaussian decay
}
type Expression_GeoDistance ¶
type Expression_GeoDistance struct {
GeoDistance *GeoDistance `protobuf:"bytes,4,opt,name=geo_distance,json=geoDistance,proto3,oneof"` // Geographic distance in meters
}
type Expression_LinDecay ¶
type Expression_LinDecay struct {
LinDecay *DecayParamsExpression `protobuf:"bytes,19,opt,name=lin_decay,json=linDecay,proto3,oneof"` // Linear decay
}
type Expression_Ln ¶
type Expression_Ln struct {
Ln *Expression `protobuf:"bytes,16,opt,name=ln,proto3,oneof"` // Natural logarithm
}
type Expression_Log10 ¶
type Expression_Log10 struct {
Log10 *Expression `protobuf:"bytes,15,opt,name=log10,proto3,oneof"` // Logarithm
}
type Expression_Mult ¶
type Expression_Mult struct {
Mult *MultExpression `protobuf:"bytes,7,opt,name=mult,proto3,oneof"` // Multiply
}
type Expression_Neg ¶
type Expression_Neg struct {
Neg *Expression `protobuf:"bytes,10,opt,name=neg,proto3,oneof"` // Negate
}
type Expression_Pow ¶
type Expression_Pow struct {
Pow *PowExpression `protobuf:"bytes,13,opt,name=pow,proto3,oneof"` // Power
}
type Expression_Sqrt ¶
type Expression_Sqrt struct {
Sqrt *Expression `protobuf:"bytes,12,opt,name=sqrt,proto3,oneof"` // Square root
}
type Expression_Sum ¶
type Expression_Sum struct {
Sum *SumExpression `protobuf:"bytes,8,opt,name=sum,proto3,oneof"` // Sum
}
type Expression_Variable ¶
type Expression_Variable struct {
Variable string `protobuf:"bytes,2,opt,name=variable,proto3,oneof"` // Payload key or reference to score.
}
type FacetCounts ¶
type FacetCounts struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"` // Payload key of the facet
Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions.
Limit *uint64 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // Max number of facets. Default is 10.
Exact *bool `protobuf:"varint,5,opt,name=exact,proto3,oneof" json:"exact,omitempty"` // If true, return exact counts, slower but useful for debugging purposes. Default is false.
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
ReadConsistency *ReadConsistency `protobuf:"bytes,7,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,8,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
// contains filtered or unexported fields
}
func (*FacetCounts) Descriptor
deprecated
func (*FacetCounts) Descriptor() ([]byte, []int)
Deprecated: Use FacetCounts.ProtoReflect.Descriptor instead.
func (*FacetCounts) GetCollectionName ¶
func (x *FacetCounts) GetCollectionName() string
func (*FacetCounts) GetExact ¶
func (x *FacetCounts) GetExact() bool
func (*FacetCounts) GetFilter ¶
func (x *FacetCounts) GetFilter() *Filter
func (*FacetCounts) GetKey ¶
func (x *FacetCounts) GetKey() string
func (*FacetCounts) GetLimit ¶
func (x *FacetCounts) GetLimit() uint64
func (*FacetCounts) GetReadConsistency ¶
func (x *FacetCounts) GetReadConsistency() *ReadConsistency
func (*FacetCounts) GetShardKeySelector ¶
func (x *FacetCounts) GetShardKeySelector() *ShardKeySelector
func (*FacetCounts) GetTimeout ¶
func (x *FacetCounts) GetTimeout() uint64
func (*FacetCounts) ProtoMessage ¶
func (*FacetCounts) ProtoMessage()
func (*FacetCounts) ProtoReflect ¶
func (x *FacetCounts) ProtoReflect() protoreflect.Message
func (*FacetCounts) Reset ¶
func (x *FacetCounts) Reset()
func (*FacetCounts) String ¶
func (x *FacetCounts) String() string
type FacetHit ¶
type FacetHit struct {
Value *FacetValue `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Value from the facet
Count uint64 `protobuf:"varint,2,opt,name=count,proto3" json:"count,omitempty"` // Number of points with this value
// contains filtered or unexported fields
}
func (*FacetHit) Descriptor
deprecated
func (*FacetHit) GetValue ¶
func (x *FacetHit) GetValue() *FacetValue
func (*FacetHit) ProtoMessage ¶
func (*FacetHit) ProtoMessage()
func (*FacetHit) ProtoReflect ¶
func (x *FacetHit) ProtoReflect() protoreflect.Message
type FacetResponse ¶
type FacetResponse struct {
Hits []*FacetHit `protobuf:"bytes,1,rep,name=hits,proto3" json:"hits,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*FacetResponse) Descriptor
deprecated
func (*FacetResponse) Descriptor() ([]byte, []int)
Deprecated: Use FacetResponse.ProtoReflect.Descriptor instead.
func (*FacetResponse) GetHits ¶
func (x *FacetResponse) GetHits() []*FacetHit
func (*FacetResponse) GetTime ¶
func (x *FacetResponse) GetTime() float64
func (*FacetResponse) GetUsage ¶
func (x *FacetResponse) GetUsage() *Usage
func (*FacetResponse) ProtoMessage ¶
func (*FacetResponse) ProtoMessage()
func (*FacetResponse) ProtoReflect ¶
func (x *FacetResponse) ProtoReflect() protoreflect.Message
func (*FacetResponse) Reset ¶
func (x *FacetResponse) Reset()
func (*FacetResponse) String ¶
func (x *FacetResponse) String() string
type FacetValue ¶
type FacetValue struct {
// Types that are assignable to Variant:
//
// *FacetValue_StringValue
// *FacetValue_IntegerValue
// *FacetValue_BoolValue
Variant isFacetValue_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewFacetValue ¶
func NewFacetValue(value string) *FacetValue
Creates a *FacetValue instance from a string.
func (*FacetValue) Descriptor
deprecated
func (*FacetValue) Descriptor() ([]byte, []int)
Deprecated: Use FacetValue.ProtoReflect.Descriptor instead.
func (*FacetValue) GetBoolValue ¶
func (x *FacetValue) GetBoolValue() bool
func (*FacetValue) GetIntegerValue ¶
func (x *FacetValue) GetIntegerValue() int64
func (*FacetValue) GetStringValue ¶
func (x *FacetValue) GetStringValue() string
func (*FacetValue) GetVariant ¶
func (m *FacetValue) GetVariant() isFacetValue_Variant
func (*FacetValue) ProtoMessage ¶
func (*FacetValue) ProtoMessage()
func (*FacetValue) ProtoReflect ¶
func (x *FacetValue) ProtoReflect() protoreflect.Message
func (*FacetValue) Reset ¶
func (x *FacetValue) Reset()
func (*FacetValue) String ¶
func (x *FacetValue) String() string
type FacetValue_BoolValue ¶
type FacetValue_BoolValue struct {
BoolValue bool `protobuf:"varint,3,opt,name=bool_value,json=boolValue,proto3,oneof"` // Boolean value from the facet
}
type FacetValue_IntegerValue ¶
type FacetValue_IntegerValue struct {
IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"` // Integer value from the facet
}
type FacetValue_StringValue ¶
type FacetValue_StringValue struct {
StringValue string `protobuf:"bytes,1,opt,name=string_value,json=stringValue,proto3,oneof"` // String value from the facet
}
type FieldCondition ¶
type FieldCondition struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
Match *Match `protobuf:"bytes,2,opt,name=match,proto3" json:"match,omitempty"` // Check if point has field with a given value
Range *Range `protobuf:"bytes,3,opt,name=range,proto3" json:"range,omitempty"` // Check if points value lies in a given range
GeoBoundingBox *GeoBoundingBox `protobuf:"bytes,4,opt,name=geo_bounding_box,json=geoBoundingBox,proto3" json:"geo_bounding_box,omitempty"` // Check if points geolocation lies in a given area
GeoRadius *GeoRadius `protobuf:"bytes,5,opt,name=geo_radius,json=geoRadius,proto3" json:"geo_radius,omitempty"` // Check if geo point is within a given radius
ValuesCount *ValuesCount `protobuf:"bytes,6,opt,name=values_count,json=valuesCount,proto3" json:"values_count,omitempty"` // Check number of values for a specific field
GeoPolygon *GeoPolygon `protobuf:"bytes,7,opt,name=geo_polygon,json=geoPolygon,proto3" json:"geo_polygon,omitempty"` // Check if geo point is within a given polygon
DatetimeRange *DatetimeRange `protobuf:"bytes,8,opt,name=datetime_range,json=datetimeRange,proto3" json:"datetime_range,omitempty"` // Check if datetime is within a given range
IsEmpty *bool `protobuf:"varint,9,opt,name=is_empty,json=isEmpty,proto3,oneof" json:"is_empty,omitempty"` // Check if field is empty
IsNull *bool `protobuf:"varint,10,opt,name=is_null,json=isNull,proto3,oneof" json:"is_null,omitempty"` // Check if field is null
// contains filtered or unexported fields
}
func (*FieldCondition) Descriptor
deprecated
func (*FieldCondition) Descriptor() ([]byte, []int)
Deprecated: Use FieldCondition.ProtoReflect.Descriptor instead.
func (*FieldCondition) GetDatetimeRange ¶
func (x *FieldCondition) GetDatetimeRange() *DatetimeRange
func (*FieldCondition) GetGeoBoundingBox ¶
func (x *FieldCondition) GetGeoBoundingBox() *GeoBoundingBox
func (*FieldCondition) GetGeoPolygon ¶
func (x *FieldCondition) GetGeoPolygon() *GeoPolygon
func (*FieldCondition) GetGeoRadius ¶
func (x *FieldCondition) GetGeoRadius() *GeoRadius
func (*FieldCondition) GetIsEmpty ¶
func (x *FieldCondition) GetIsEmpty() bool
func (*FieldCondition) GetIsNull ¶
func (x *FieldCondition) GetIsNull() bool
func (*FieldCondition) GetKey ¶
func (x *FieldCondition) GetKey() string
func (*FieldCondition) GetMatch ¶
func (x *FieldCondition) GetMatch() *Match
func (*FieldCondition) GetRange ¶
func (x *FieldCondition) GetRange() *Range
func (*FieldCondition) GetValuesCount ¶
func (x *FieldCondition) GetValuesCount() *ValuesCount
func (*FieldCondition) ProtoMessage ¶
func (*FieldCondition) ProtoMessage()
func (*FieldCondition) ProtoReflect ¶
func (x *FieldCondition) ProtoReflect() protoreflect.Message
func (*FieldCondition) Reset ¶
func (x *FieldCondition) Reset()
func (*FieldCondition) String ¶
func (x *FieldCondition) String() string
type FieldType ¶
type FieldType int32
const ( FieldType_FieldTypeKeyword FieldType = 0 FieldType_FieldTypeInteger FieldType = 1 FieldType_FieldTypeFloat FieldType = 2 FieldType_FieldTypeGeo FieldType = 3 FieldType_FieldTypeText FieldType = 4 FieldType_FieldTypeBool FieldType = 5 FieldType_FieldTypeDatetime FieldType = 6 FieldType_FieldTypeUuid FieldType = 7 )
func (FieldType) Descriptor ¶
func (FieldType) Descriptor() protoreflect.EnumDescriptor
func (FieldType) EnumDescriptor
deprecated
func (FieldType) Number ¶
func (x FieldType) Number() protoreflect.EnumNumber
func (FieldType) Type ¶
func (FieldType) Type() protoreflect.EnumType
type Filter ¶
type Filter struct {
Should []*Condition `protobuf:"bytes,1,rep,name=should,proto3" json:"should,omitempty"` // At least one of those conditions should match
Must []*Condition `protobuf:"bytes,2,rep,name=must,proto3" json:"must,omitempty"` // All conditions must match
MustNot []*Condition `protobuf:"bytes,3,rep,name=must_not,json=mustNot,proto3" json:"must_not,omitempty"` // All conditions must NOT match
MinShould *MinShould `protobuf:"bytes,4,opt,name=min_should,json=minShould,proto3,oneof" json:"min_should,omitempty"` // At least minimum amount of given conditions should match
// contains filtered or unexported fields
}
func (*Filter) Descriptor
deprecated
func (*Filter) GetMinShould ¶
func (*Filter) GetMustNot ¶
func (*Filter) ProtoMessage ¶
func (*Filter) ProtoMessage()
func (*Filter) ProtoReflect ¶
func (x *Filter) ProtoReflect() protoreflect.Message
type FloatIndexParams ¶
type FloatIndexParams struct {
OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
IsPrincipal *bool `protobuf:"varint,2,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"` // If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests.
// contains filtered or unexported fields
}
func (*FloatIndexParams) Descriptor
deprecated
func (*FloatIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use FloatIndexParams.ProtoReflect.Descriptor instead.
func (*FloatIndexParams) GetIsPrincipal ¶
func (x *FloatIndexParams) GetIsPrincipal() bool
func (*FloatIndexParams) GetOnDisk ¶
func (x *FloatIndexParams) GetOnDisk() bool
func (*FloatIndexParams) ProtoMessage ¶
func (*FloatIndexParams) ProtoMessage()
func (*FloatIndexParams) ProtoReflect ¶
func (x *FloatIndexParams) ProtoReflect() protoreflect.Message
func (*FloatIndexParams) Reset ¶
func (x *FloatIndexParams) Reset()
func (*FloatIndexParams) String ¶
func (x *FloatIndexParams) String() string
type Formula ¶
type Formula struct {
Expression *Expression `protobuf:"bytes,1,opt,name=expression,proto3" json:"expression,omitempty"`
Defaults map[string]*Value `` /* 157-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Formula) Descriptor
deprecated
func (*Formula) GetDefaults ¶
func (*Formula) GetExpression ¶
func (x *Formula) GetExpression() *Expression
func (*Formula) ProtoMessage ¶
func (*Formula) ProtoMessage()
func (*Formula) ProtoReflect ¶
func (x *Formula) ProtoReflect() protoreflect.Message
type Fusion ¶
type Fusion int32
func (Fusion) Descriptor ¶
func (Fusion) Descriptor() protoreflect.EnumDescriptor
func (Fusion) EnumDescriptor
deprecated
func (Fusion) Number ¶
func (x Fusion) Number() protoreflect.EnumNumber
func (Fusion) Type ¶
func (Fusion) Type() protoreflect.EnumType
type GeoBoundingBox ¶
type GeoBoundingBox struct {
TopLeft *GeoPoint `protobuf:"bytes,1,opt,name=top_left,json=topLeft,proto3" json:"top_left,omitempty"` // north-west corner
BottomRight *GeoPoint `protobuf:"bytes,2,opt,name=bottom_right,json=bottomRight,proto3" json:"bottom_right,omitempty"` // south-east corner
// contains filtered or unexported fields
}
func (*GeoBoundingBox) Descriptor
deprecated
func (*GeoBoundingBox) Descriptor() ([]byte, []int)
Deprecated: Use GeoBoundingBox.ProtoReflect.Descriptor instead.
func (*GeoBoundingBox) GetBottomRight ¶
func (x *GeoBoundingBox) GetBottomRight() *GeoPoint
func (*GeoBoundingBox) GetTopLeft ¶
func (x *GeoBoundingBox) GetTopLeft() *GeoPoint
func (*GeoBoundingBox) ProtoMessage ¶
func (*GeoBoundingBox) ProtoMessage()
func (*GeoBoundingBox) ProtoReflect ¶
func (x *GeoBoundingBox) ProtoReflect() protoreflect.Message
func (*GeoBoundingBox) Reset ¶
func (x *GeoBoundingBox) Reset()
func (*GeoBoundingBox) String ¶
func (x *GeoBoundingBox) String() string
type GeoDistance ¶
type GeoDistance struct {
Origin *GeoPoint `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
To string `protobuf:"bytes,2,opt,name=to,proto3" json:"to,omitempty"`
// contains filtered or unexported fields
}
func (*GeoDistance) Descriptor
deprecated
func (*GeoDistance) Descriptor() ([]byte, []int)
Deprecated: Use GeoDistance.ProtoReflect.Descriptor instead.
func (*GeoDistance) GetOrigin ¶
func (x *GeoDistance) GetOrigin() *GeoPoint
func (*GeoDistance) GetTo ¶
func (x *GeoDistance) GetTo() string
func (*GeoDistance) ProtoMessage ¶
func (*GeoDistance) ProtoMessage()
func (*GeoDistance) ProtoReflect ¶
func (x *GeoDistance) ProtoReflect() protoreflect.Message
func (*GeoDistance) Reset ¶
func (x *GeoDistance) Reset()
func (*GeoDistance) String ¶
func (x *GeoDistance) String() string
type GeoIndexParams ¶
type GeoIndexParams struct {
OnDisk *bool `protobuf:"varint,1,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
// contains filtered or unexported fields
}
func (*GeoIndexParams) Descriptor
deprecated
func (*GeoIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use GeoIndexParams.ProtoReflect.Descriptor instead.
func (*GeoIndexParams) GetOnDisk ¶
func (x *GeoIndexParams) GetOnDisk() bool
func (*GeoIndexParams) ProtoMessage ¶
func (*GeoIndexParams) ProtoMessage()
func (*GeoIndexParams) ProtoReflect ¶
func (x *GeoIndexParams) ProtoReflect() protoreflect.Message
func (*GeoIndexParams) Reset ¶
func (x *GeoIndexParams) Reset()
func (*GeoIndexParams) String ¶
func (x *GeoIndexParams) String() string
type GeoLineString ¶
type GeoLineString struct {
Points []*GeoPoint `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` // Ordered sequence of GeoPoints representing the line
// contains filtered or unexported fields
}
func (*GeoLineString) Descriptor
deprecated
func (*GeoLineString) Descriptor() ([]byte, []int)
Deprecated: Use GeoLineString.ProtoReflect.Descriptor instead.
func (*GeoLineString) GetPoints ¶
func (x *GeoLineString) GetPoints() []*GeoPoint
func (*GeoLineString) ProtoMessage ¶
func (*GeoLineString) ProtoMessage()
func (*GeoLineString) ProtoReflect ¶
func (x *GeoLineString) ProtoReflect() protoreflect.Message
func (*GeoLineString) Reset ¶
func (x *GeoLineString) Reset()
func (*GeoLineString) String ¶
func (x *GeoLineString) String() string
type GeoPoint ¶
type GeoPoint struct {
Lon float64 `protobuf:"fixed64,1,opt,name=lon,proto3" json:"lon,omitempty"`
Lat float64 `protobuf:"fixed64,2,opt,name=lat,proto3" json:"lat,omitempty"`
// contains filtered or unexported fields
}
func (*GeoPoint) Descriptor
deprecated
func (*GeoPoint) ProtoMessage ¶
func (*GeoPoint) ProtoMessage()
func (*GeoPoint) ProtoReflect ¶
func (x *GeoPoint) ProtoReflect() protoreflect.Message
type GeoPolygon ¶
type GeoPolygon struct {
Exterior *GeoLineString `protobuf:"bytes,1,opt,name=exterior,proto3" json:"exterior,omitempty"` // The exterior line bounds the surface
Interiors []*GeoLineString `protobuf:"bytes,2,rep,name=interiors,proto3" json:"interiors,omitempty"` // Interior lines (if present) bound holes within the surface
// contains filtered or unexported fields
}
For a valid GeoPolygon, both the exterior and interior GeoLineStrings must consist of a minimum of 4 points. Additionally, the first and last points of each GeoLineString must be the same.
func (*GeoPolygon) Descriptor
deprecated
func (*GeoPolygon) Descriptor() ([]byte, []int)
Deprecated: Use GeoPolygon.ProtoReflect.Descriptor instead.
func (*GeoPolygon) GetExterior ¶
func (x *GeoPolygon) GetExterior() *GeoLineString
func (*GeoPolygon) GetInteriors ¶
func (x *GeoPolygon) GetInteriors() []*GeoLineString
func (*GeoPolygon) ProtoMessage ¶
func (*GeoPolygon) ProtoMessage()
func (*GeoPolygon) ProtoReflect ¶
func (x *GeoPolygon) ProtoReflect() protoreflect.Message
func (*GeoPolygon) Reset ¶
func (x *GeoPolygon) Reset()
func (*GeoPolygon) String ¶
func (x *GeoPolygon) String() string
type GeoRadius ¶
type GeoRadius struct {
Center *GeoPoint `protobuf:"bytes,1,opt,name=center,proto3" json:"center,omitempty"` // Center of the circle
Radius float32 `protobuf:"fixed32,2,opt,name=radius,proto3" json:"radius,omitempty"` // In meters
// contains filtered or unexported fields
}
func (*GeoRadius) Descriptor
deprecated
func (*GeoRadius) ProtoMessage ¶
func (*GeoRadius) ProtoMessage()
func (*GeoRadius) ProtoReflect ¶
func (x *GeoRadius) ProtoReflect() protoreflect.Message
type GetCollectionInfoRequest ¶
type GetCollectionInfoRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
// contains filtered or unexported fields
}
func (*GetCollectionInfoRequest) Descriptor
deprecated
func (*GetCollectionInfoRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionInfoRequest.ProtoReflect.Descriptor instead.
func (*GetCollectionInfoRequest) GetCollectionName ¶
func (x *GetCollectionInfoRequest) GetCollectionName() string
func (*GetCollectionInfoRequest) ProtoMessage ¶
func (*GetCollectionInfoRequest) ProtoMessage()
func (*GetCollectionInfoRequest) ProtoReflect ¶
func (x *GetCollectionInfoRequest) ProtoReflect() protoreflect.Message
func (*GetCollectionInfoRequest) Reset ¶
func (x *GetCollectionInfoRequest) Reset()
func (*GetCollectionInfoRequest) String ¶
func (x *GetCollectionInfoRequest) String() string
type GetCollectionInfoResponse ¶
type GetCollectionInfoResponse struct {
Result *CollectionInfo `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
// contains filtered or unexported fields
}
func (*GetCollectionInfoResponse) Descriptor
deprecated
func (*GetCollectionInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetCollectionInfoResponse.ProtoReflect.Descriptor instead.
func (*GetCollectionInfoResponse) GetResult ¶
func (x *GetCollectionInfoResponse) GetResult() *CollectionInfo
func (*GetCollectionInfoResponse) GetTime ¶
func (x *GetCollectionInfoResponse) GetTime() float64
func (*GetCollectionInfoResponse) ProtoMessage ¶
func (*GetCollectionInfoResponse) ProtoMessage()
func (*GetCollectionInfoResponse) ProtoReflect ¶
func (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 {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Ids []*PointId `protobuf:"bytes,2,rep,name=ids,proto3" json:"ids,omitempty"` // List of points to retrieve
WithPayload *WithPayloadSelector `protobuf:"bytes,4,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"` // Options for specifying which payload to include or not
WithVectors *WithVectorsSelector `protobuf:"bytes,5,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into response
ReadConsistency *ReadConsistency `protobuf:"bytes,6,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
Timeout *uint64 `protobuf:"varint,8,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
// contains filtered or unexported fields
}
func (*GetPoints) Descriptor
deprecated
func (*GetPoints) GetCollectionName ¶
func (*GetPoints) GetReadConsistency ¶
func (x *GetPoints) GetReadConsistency() *ReadConsistency
func (*GetPoints) GetShardKeySelector ¶
func (x *GetPoints) GetShardKeySelector() *ShardKeySelector
func (*GetPoints) GetTimeout ¶
func (*GetPoints) GetWithPayload ¶
func (x *GetPoints) GetWithPayload() *WithPayloadSelector
func (*GetPoints) GetWithVectors ¶
func (x *GetPoints) GetWithVectors() *WithVectorsSelector
func (*GetPoints) ProtoMessage ¶
func (*GetPoints) ProtoMessage()
func (*GetPoints) ProtoReflect ¶
func (x *GetPoints) ProtoReflect() protoreflect.Message
type GetResponse ¶
type GetResponse struct {
Result []*RetrievedPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*GetResponse) Descriptor
deprecated
func (*GetResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetResponse.ProtoReflect.Descriptor instead.
func (*GetResponse) GetResult ¶
func (x *GetResponse) GetResult() []*RetrievedPoint
func (*GetResponse) GetTime ¶
func (x *GetResponse) GetTime() float64
func (*GetResponse) GetUsage ¶
func (x *GetResponse) GetUsage() *Usage
func (*GetResponse) ProtoMessage ¶
func (*GetResponse) ProtoMessage()
func (*GetResponse) ProtoReflect ¶
func (x *GetResponse) ProtoReflect() protoreflect.Message
func (*GetResponse) Reset ¶
func (x *GetResponse) Reset()
func (*GetResponse) String ¶
func (x *GetResponse) String() string
type GroupId ¶
type GroupId struct {
// Types that are assignable to Kind:
//
// *GroupId_UnsignedValue
// *GroupId_IntegerValue
// *GroupId_StringValue
Kind isGroupId_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
func NewGroupIDInt ¶
Creates a *GroupId instance from an integer.
func NewGroupIDString ¶
Creates a *GroupId instance from a string.
func NewGroupIDUnsigned ¶
Creates a *OrderValue instance from an unsigned integer.
func (*GroupId) Descriptor
deprecated
func (*GroupId) GetIntegerValue ¶
func (*GroupId) GetStringValue ¶
func (*GroupId) GetUnsignedValue ¶
func (*GroupId) ProtoMessage ¶
func (*GroupId) ProtoMessage()
func (*GroupId) ProtoReflect ¶
func (x *GroupId) ProtoReflect() protoreflect.Message
type GroupId_IntegerValue ¶
type GroupId_IntegerValue struct {
// Represents an integer value
IntegerValue int64 `protobuf:"varint,2,opt,name=integer_value,json=integerValue,proto3,oneof"`
}
type GroupId_StringValue ¶
type GroupId_StringValue struct {
// Represents a string value.
StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}
type GroupId_UnsignedValue ¶
type GroupId_UnsignedValue struct {
// Represents a double value.
UnsignedValue uint64 `protobuf:"varint,1,opt,name=unsigned_value,json=unsignedValue,proto3,oneof"`
}
type GroupsResult ¶
type GroupsResult struct {
Groups []*PointGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"` // Groups
// contains filtered or unexported fields
}
func (*GroupsResult) Descriptor
deprecated
func (*GroupsResult) Descriptor() ([]byte, []int)
Deprecated: Use GroupsResult.ProtoReflect.Descriptor instead.
func (*GroupsResult) GetGroups ¶
func (x *GroupsResult) GetGroups() []*PointGroup
func (*GroupsResult) ProtoMessage ¶
func (*GroupsResult) ProtoMessage()
func (*GroupsResult) ProtoReflect ¶
func (x *GroupsResult) ProtoReflect() protoreflect.Message
func (*GroupsResult) Reset ¶
func (x *GroupsResult) Reset()
func (*GroupsResult) String ¶
func (x *GroupsResult) String() string
type GrpcClient ¶
type GrpcClient struct {
// contains filtered or unexported fields
}
Lower level client for Qdrant gRPC API.
func NewDefaultGrpcClient ¶
func NewDefaultGrpcClient() (*GrpcClient, error)
Create a new gRPC client with default configuration.
func NewGrpcClient ¶
func NewGrpcClient(config *Config) (*GrpcClient, error)
Create a new gRPC client with custom configuration.
func NewGrpcClientFromConn ¶
func NewGrpcClientFromConn(conn *grpc.ClientConn) *GrpcClient
Create a new gRPC client from existing connection.
func (*GrpcClient) Close ¶
func (c *GrpcClient) Close() error
Tears down the *grpc.ClientConn and all underlying connections.
func (*GrpcClient) Collections ¶
func (c *GrpcClient) Collections() CollectionsClient
Get the Points service interface.
func (*GrpcClient) Conn ¶
func (c *GrpcClient) Conn() *grpc.ClientConn
Get the underlying gRPC connection.
func (*GrpcClient) Points ¶
func (c *GrpcClient) Points() PointsClient
Get the Collections service interface.
func (*GrpcClient) Qdrant ¶
func (c *GrpcClient) Qdrant() QdrantClient
Get the Qdrant service interface.
func (*GrpcClient) Snapshots ¶
func (c *GrpcClient) Snapshots() SnapshotsClient
Get the Snapshots service interface.
type HardwareUsage ¶
type HardwareUsage struct {
Cpu uint64 `protobuf:"varint,1,opt,name=cpu,proto3" json:"cpu,omitempty"`
PayloadIoRead uint64 `protobuf:"varint,2,opt,name=payload_io_read,json=payloadIoRead,proto3" json:"payload_io_read,omitempty"`
PayloadIoWrite uint64 `protobuf:"varint,3,opt,name=payload_io_write,json=payloadIoWrite,proto3" json:"payload_io_write,omitempty"`
PayloadIndexIoRead uint64 `protobuf:"varint,4,opt,name=payload_index_io_read,json=payloadIndexIoRead,proto3" json:"payload_index_io_read,omitempty"`
PayloadIndexIoWrite uint64 `protobuf:"varint,5,opt,name=payload_index_io_write,json=payloadIndexIoWrite,proto3" json:"payload_index_io_write,omitempty"`
VectorIoRead uint64 `protobuf:"varint,6,opt,name=vector_io_read,json=vectorIoRead,proto3" json:"vector_io_read,omitempty"`
VectorIoWrite uint64 `protobuf:"varint,7,opt,name=vector_io_write,json=vectorIoWrite,proto3" json:"vector_io_write,omitempty"`
// contains filtered or unexported fields
}
func (*HardwareUsage) Descriptor
deprecated
func (*HardwareUsage) Descriptor() ([]byte, []int)
Deprecated: Use HardwareUsage.ProtoReflect.Descriptor instead.
func (*HardwareUsage) GetCpu ¶
func (x *HardwareUsage) GetCpu() uint64
func (*HardwareUsage) GetPayloadIndexIoRead ¶
func (x *HardwareUsage) GetPayloadIndexIoRead() uint64
func (*HardwareUsage) GetPayloadIndexIoWrite ¶
func (x *HardwareUsage) GetPayloadIndexIoWrite() uint64
func (*HardwareUsage) GetPayloadIoRead ¶
func (x *HardwareUsage) GetPayloadIoRead() uint64
func (*HardwareUsage) GetPayloadIoWrite ¶
func (x *HardwareUsage) GetPayloadIoWrite() uint64
func (*HardwareUsage) GetVectorIoRead ¶
func (x *HardwareUsage) GetVectorIoRead() uint64
func (*HardwareUsage) GetVectorIoWrite ¶
func (x *HardwareUsage) GetVectorIoWrite() uint64
func (*HardwareUsage) ProtoMessage ¶
func (*HardwareUsage) ProtoMessage()
func (*HardwareUsage) ProtoReflect ¶
func (x *HardwareUsage) ProtoReflect() protoreflect.Message
func (*HardwareUsage) Reset ¶
func (x *HardwareUsage) Reset()
func (*HardwareUsage) String ¶
func (x *HardwareUsage) String() string
type HasIdCondition ¶
type HasIdCondition struct {
HasId []*PointId `protobuf:"bytes,1,rep,name=has_id,json=hasId,proto3" json:"has_id,omitempty"`
// contains filtered or unexported fields
}
func (*HasIdCondition) Descriptor
deprecated
func (*HasIdCondition) Descriptor() ([]byte, []int)
Deprecated: Use HasIdCondition.ProtoReflect.Descriptor instead.
func (*HasIdCondition) GetHasId ¶
func (x *HasIdCondition) GetHasId() []*PointId
func (*HasIdCondition) ProtoMessage ¶
func (*HasIdCondition) ProtoMessage()
func (*HasIdCondition) ProtoReflect ¶
func (x *HasIdCondition) ProtoReflect() protoreflect.Message
func (*HasIdCondition) Reset ¶
func (x *HasIdCondition) Reset()
func (*HasIdCondition) String ¶
func (x *HasIdCondition) String() string
type HasVectorCondition ¶
type HasVectorCondition struct {
HasVector string `protobuf:"bytes,1,opt,name=has_vector,json=hasVector,proto3" json:"has_vector,omitempty"`
// contains filtered or unexported fields
}
func (*HasVectorCondition) Descriptor
deprecated
func (*HasVectorCondition) Descriptor() ([]byte, []int)
Deprecated: Use HasVectorCondition.ProtoReflect.Descriptor instead.
func (*HasVectorCondition) GetHasVector ¶
func (x *HasVectorCondition) GetHasVector() string
func (*HasVectorCondition) ProtoMessage ¶
func (*HasVectorCondition) ProtoMessage()
func (*HasVectorCondition) ProtoReflect ¶
func (x *HasVectorCondition) ProtoReflect() protoreflect.Message
func (*HasVectorCondition) Reset ¶
func (x *HasVectorCondition) Reset()
func (*HasVectorCondition) String ¶
func (x *HasVectorCondition) String() string
type HealthCheckReply ¶
type HealthCheckReply struct {
Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
Commit *string `protobuf:"bytes,3,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
// contains filtered or unexported fields
}
func (*HealthCheckReply) Descriptor
deprecated
func (*HealthCheckReply) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckReply.ProtoReflect.Descriptor instead.
func (*HealthCheckReply) GetCommit ¶
func (x *HealthCheckReply) GetCommit() string
func (*HealthCheckReply) GetTitle ¶
func (x *HealthCheckReply) GetTitle() string
func (*HealthCheckReply) GetVersion ¶
func (x *HealthCheckReply) GetVersion() string
func (*HealthCheckReply) ProtoMessage ¶
func (*HealthCheckReply) ProtoMessage()
func (*HealthCheckReply) ProtoReflect ¶
func (x *HealthCheckReply) ProtoReflect() protoreflect.Message
func (*HealthCheckReply) Reset ¶
func (x *HealthCheckReply) Reset()
func (*HealthCheckReply) String ¶
func (x *HealthCheckReply) String() string
type HealthCheckRequest ¶
type HealthCheckRequest struct {
// contains filtered or unexported fields
}
func (*HealthCheckRequest) Descriptor
deprecated
func (*HealthCheckRequest) Descriptor() ([]byte, []int)
Deprecated: Use HealthCheckRequest.ProtoReflect.Descriptor instead.
func (*HealthCheckRequest) ProtoMessage ¶
func (*HealthCheckRequest) ProtoMessage()
func (*HealthCheckRequest) ProtoReflect ¶
func (x *HealthCheckRequest) ProtoReflect() protoreflect.Message
func (*HealthCheckRequest) Reset ¶
func (x *HealthCheckRequest) Reset()
func (*HealthCheckRequest) String ¶
func (x *HealthCheckRequest) String() string
type HnswConfigDiff ¶
type HnswConfigDiff struct {
// Number of edges per node in the index graph. Larger the value - more accurate the search, more space required.
M *uint64 `protobuf:"varint,1,opt,name=m,proto3,oneof" json:"m,omitempty"`
// Number of neighbours to consider during the index building. Larger the value - more accurate the search, more time required to build the index.
EfConstruct *uint64 `protobuf:"varint,2,opt,name=ef_construct,json=efConstruct,proto3,oneof" json:"ef_construct,omitempty"`
// Minimal size threshold (in KiloBytes) below which full-scan is preferred over HNSW search.
// This measures the total size of vectors being queried against.
// When the maximum estimated amount of points that a condition satisfies is smaller than
// `full_scan_threshold`, the query planner will use full-scan search instead of HNSW index
// traversal for better performance.
// Note: 1Kb = 1 vector of size 256
FullScanThreshold *uint64 `protobuf:"varint,3,opt,name=full_scan_threshold,json=fullScanThreshold,proto3,oneof" json:"full_scan_threshold,omitempty"`
// Number of parallel threads used for background index building.
// If 0 - automatically select from 8 to 16.
// Best to keep between 8 and 16 to prevent likelihood of building broken/inefficient HNSW graphs.
// On small CPUs, less threads are used.
MaxIndexingThreads *uint64 `protobuf:"varint,4,opt,name=max_indexing_threads,json=maxIndexingThreads,proto3,oneof" json:"max_indexing_threads,omitempty"`
// Store HNSW index on disk. If set to false, the index will be stored in RAM.
OnDisk *bool `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Number of additional payload-aware links per node in the index graph. If not set - regular M parameter will be used.
PayloadM *uint64 `protobuf:"varint,6,opt,name=payload_m,json=payloadM,proto3,oneof" json:"payload_m,omitempty"`
// Store copies of original and quantized vectors within the HNSW index file. Default: false.
// Enabling this option will trade the search speed for disk usage by reducing amount of
// random seeks during the search.
// Requires quantized vectors to be enabled. Multi-vectors are not supported.
InlineStorage *bool `protobuf:"varint,7,opt,name=inline_storage,json=inlineStorage,proto3,oneof" json:"inline_storage,omitempty"`
// contains filtered or unexported fields
}
func (*HnswConfigDiff) Descriptor
deprecated
func (*HnswConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use HnswConfigDiff.ProtoReflect.Descriptor instead.
func (*HnswConfigDiff) GetEfConstruct ¶
func (x *HnswConfigDiff) GetEfConstruct() uint64
func (*HnswConfigDiff) GetFullScanThreshold ¶
func (x *HnswConfigDiff) GetFullScanThreshold() uint64
func (*HnswConfigDiff) GetInlineStorage ¶
func (x *HnswConfigDiff) GetInlineStorage() bool
func (*HnswConfigDiff) GetM ¶
func (x *HnswConfigDiff) GetM() uint64
func (*HnswConfigDiff) GetMaxIndexingThreads ¶
func (x *HnswConfigDiff) GetMaxIndexingThreads() uint64
func (*HnswConfigDiff) GetOnDisk ¶
func (x *HnswConfigDiff) GetOnDisk() bool
func (*HnswConfigDiff) GetPayloadM ¶
func (x *HnswConfigDiff) GetPayloadM() uint64
func (*HnswConfigDiff) ProtoMessage ¶
func (*HnswConfigDiff) ProtoMessage()
func (*HnswConfigDiff) ProtoReflect ¶
func (x *HnswConfigDiff) ProtoReflect() protoreflect.Message
func (*HnswConfigDiff) Reset ¶
func (x *HnswConfigDiff) Reset()
func (*HnswConfigDiff) String ¶
func (x *HnswConfigDiff) String() string
type Image ¶
type Image struct {
Image *Value `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"` // Image data, either base64 encoded or URL
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // Model name
Options map[string]*Value `` // Model options
/* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*Image) Descriptor
deprecated
func (*Image) GetOptions ¶
func (*Image) ProtoMessage ¶
func (*Image) ProtoMessage()
func (*Image) ProtoReflect ¶
func (x *Image) ProtoReflect() protoreflect.Message
type InferenceObject ¶
type InferenceObject struct {
Object *Value `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"` // Object to infer
Model string `protobuf:"bytes,2,opt,name=model,proto3" json:"model,omitempty"` // Model name
Options map[string]*Value `` // Model options
/* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*InferenceObject) Descriptor
deprecated
func (*InferenceObject) Descriptor() ([]byte, []int)
Deprecated: Use InferenceObject.ProtoReflect.Descriptor instead.
func (*InferenceObject) GetModel ¶
func (x *InferenceObject) GetModel() string
func (*InferenceObject) GetObject ¶
func (x *InferenceObject) GetObject() *Value
func (*InferenceObject) GetOptions ¶
func (x *InferenceObject) GetOptions() map[string]*Value
func (*InferenceObject) ProtoMessage ¶
func (*InferenceObject) ProtoMessage()
func (*InferenceObject) ProtoReflect ¶
func (x *InferenceObject) ProtoReflect() protoreflect.Message
func (*InferenceObject) Reset ¶
func (x *InferenceObject) Reset()
func (*InferenceObject) String ¶
func (x *InferenceObject) String() string
type InferenceUsage ¶
type InferenceUsage struct {
Models map[string]*ModelUsage `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*InferenceUsage) Descriptor
deprecated
func (*InferenceUsage) Descriptor() ([]byte, []int)
Deprecated: Use InferenceUsage.ProtoReflect.Descriptor instead.
func (*InferenceUsage) GetModels ¶
func (x *InferenceUsage) GetModels() map[string]*ModelUsage
func (*InferenceUsage) ProtoMessage ¶
func (*InferenceUsage) ProtoMessage()
func (*InferenceUsage) ProtoReflect ¶
func (x *InferenceUsage) ProtoReflect() protoreflect.Message
func (*InferenceUsage) Reset ¶
func (x *InferenceUsage) Reset()
func (*InferenceUsage) String ¶
func (x *InferenceUsage) String() string
type IntegerIndexParams ¶
type IntegerIndexParams struct {
Lookup *bool `protobuf:"varint,1,opt,name=lookup,proto3,oneof" json:"lookup,omitempty"` // If true - support direct lookups. Default is true.
Range *bool `protobuf:"varint,2,opt,name=range,proto3,oneof" json:"range,omitempty"` // If true - support ranges filters. Default is true.
IsPrincipal *bool `protobuf:"varint,3,opt,name=is_principal,json=isPrincipal,proto3,oneof" json:"is_principal,omitempty"` // If true - use this key to organize storage of the collection data. This option assumes that this key will be used in majority of filtered requests. Default is false.
OnDisk *bool `protobuf:"varint,4,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk. Default is false.
// contains filtered or unexported fields
}
func (*IntegerIndexParams) Descriptor
deprecated
func (*IntegerIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use IntegerIndexParams.ProtoReflect.Descriptor instead.
func (*IntegerIndexParams) GetIsPrincipal ¶
func (x *IntegerIndexParams) GetIsPrincipal() bool
func (*IntegerIndexParams) GetLookup ¶
func (x *IntegerIndexParams) GetLookup() bool
func (*IntegerIndexParams) GetOnDisk ¶
func (x *IntegerIndexParams) GetOnDisk() bool
func (*IntegerIndexParams) GetRange ¶
func (x *IntegerIndexParams) GetRange() bool
func (*IntegerIndexParams) ProtoMessage ¶
func (*IntegerIndexParams) ProtoMessage()
func (*IntegerIndexParams) ProtoReflect ¶
func (x *IntegerIndexParams) ProtoReflect() protoreflect.Message
func (*IntegerIndexParams) Reset ¶
func (x *IntegerIndexParams) Reset()
func (*IntegerIndexParams) String ¶
func (x *IntegerIndexParams) String() string
type IsEmptyCondition ¶
type IsEmptyCondition struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*IsEmptyCondition) Descriptor
deprecated
func (*IsEmptyCondition) Descriptor() ([]byte, []int)
Deprecated: Use IsEmptyCondition.ProtoReflect.Descriptor instead.
func (*IsEmptyCondition) GetKey ¶
func (x *IsEmptyCondition) GetKey() string
func (*IsEmptyCondition) ProtoMessage ¶
func (*IsEmptyCondition) ProtoMessage()
func (*IsEmptyCondition) ProtoReflect ¶
func (x *IsEmptyCondition) ProtoReflect() protoreflect.Message
func (*IsEmptyCondition) Reset ¶
func (x *IsEmptyCondition) Reset()
func (*IsEmptyCondition) String ¶
func (x *IsEmptyCondition) String() string
type IsNullCondition ¶
type IsNullCondition struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
func (*IsNullCondition) Descriptor
deprecated
func (*IsNullCondition) Descriptor() ([]byte, []int)
Deprecated: Use IsNullCondition.ProtoReflect.Descriptor instead.
func (*IsNullCondition) GetKey ¶
func (x *IsNullCondition) GetKey() string
func (*IsNullCondition) ProtoMessage ¶
func (*IsNullCondition) ProtoMessage()
func (*IsNullCondition) ProtoReflect ¶
func (x *IsNullCondition) ProtoReflect() protoreflect.Message
func (*IsNullCondition) Reset ¶
func (x *IsNullCondition) Reset()
func (*IsNullCondition) String ¶
func (x *IsNullCondition) String() string
type KeywordIndexParams ¶
type KeywordIndexParams struct {
IsTenant *bool `protobuf:"varint,1,opt,name=is_tenant,json=isTenant,proto3,oneof" json:"is_tenant,omitempty"` // If true - used for tenant optimization.
OnDisk *bool `protobuf:"varint,2,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
// contains filtered or unexported fields
}
func (*KeywordIndexParams) Descriptor
deprecated
func (*KeywordIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use KeywordIndexParams.ProtoReflect.Descriptor instead.
func (*KeywordIndexParams) GetIsTenant ¶
func (x *KeywordIndexParams) GetIsTenant() bool
func (*KeywordIndexParams) GetOnDisk ¶
func (x *KeywordIndexParams) GetOnDisk() bool
func (*KeywordIndexParams) ProtoMessage ¶
func (*KeywordIndexParams) ProtoMessage()
func (*KeywordIndexParams) ProtoReflect ¶
func (x *KeywordIndexParams) ProtoReflect() protoreflect.Message
func (*KeywordIndexParams) Reset ¶
func (x *KeywordIndexParams) Reset()
func (*KeywordIndexParams) String ¶
func (x *KeywordIndexParams) String() string
type ListAliasesRequest ¶
type ListAliasesRequest struct {
// contains filtered or unexported fields
}
func (*ListAliasesRequest) Descriptor
deprecated
func (*ListAliasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListAliasesRequest.ProtoReflect.Descriptor instead.
func (*ListAliasesRequest) ProtoMessage ¶
func (*ListAliasesRequest) ProtoMessage()
func (*ListAliasesRequest) ProtoReflect ¶
func (x *ListAliasesRequest) ProtoReflect() protoreflect.Message
func (*ListAliasesRequest) Reset ¶
func (x *ListAliasesRequest) Reset()
func (*ListAliasesRequest) String ¶
func (x *ListAliasesRequest) String() string
type ListAliasesResponse ¶
type ListAliasesResponse struct {
Aliases []*AliasDescription `protobuf:"bytes,1,rep,name=aliases,proto3" json:"aliases,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
// contains filtered or unexported fields
}
func (*ListAliasesResponse) Descriptor
deprecated
func (*ListAliasesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListAliasesResponse.ProtoReflect.Descriptor instead.
func (*ListAliasesResponse) GetAliases ¶
func (x *ListAliasesResponse) GetAliases() []*AliasDescription
func (*ListAliasesResponse) GetTime ¶
func (x *ListAliasesResponse) GetTime() float64
func (*ListAliasesResponse) ProtoMessage ¶
func (*ListAliasesResponse) ProtoMessage()
func (*ListAliasesResponse) ProtoReflect ¶
func (x *ListAliasesResponse) ProtoReflect() protoreflect.Message
func (*ListAliasesResponse) Reset ¶
func (x *ListAliasesResponse) Reset()
func (*ListAliasesResponse) String ¶
func (x *ListAliasesResponse) String() string
type ListCollectionAliasesRequest ¶
type ListCollectionAliasesRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
// contains filtered or unexported fields
}
func (*ListCollectionAliasesRequest) Descriptor
deprecated
func (*ListCollectionAliasesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionAliasesRequest.ProtoReflect.Descriptor instead.
func (*ListCollectionAliasesRequest) GetCollectionName ¶
func (x *ListCollectionAliasesRequest) GetCollectionName() string
func (*ListCollectionAliasesRequest) ProtoMessage ¶
func (*ListCollectionAliasesRequest) ProtoMessage()
func (*ListCollectionAliasesRequest) ProtoReflect ¶
func (x *ListCollectionAliasesRequest) ProtoReflect() protoreflect.Message
func (*ListCollectionAliasesRequest) Reset ¶
func (x *ListCollectionAliasesRequest) Reset()
func (*ListCollectionAliasesRequest) String ¶
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 float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
// contains filtered or unexported fields
}
func (*ListCollectionsResponse) Descriptor
deprecated
func (*ListCollectionsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListCollectionsResponse.ProtoReflect.Descriptor instead.
func (*ListCollectionsResponse) GetCollections ¶
func (x *ListCollectionsResponse) GetCollections() []*CollectionDescription
func (*ListCollectionsResponse) GetTime ¶
func (x *ListCollectionsResponse) GetTime() float64
func (*ListCollectionsResponse) ProtoMessage ¶
func (*ListCollectionsResponse) ProtoMessage()
func (*ListCollectionsResponse) ProtoReflect ¶
func (x *ListCollectionsResponse) ProtoReflect() protoreflect.Message
func (*ListCollectionsResponse) Reset ¶
func (x *ListCollectionsResponse) Reset()
func (*ListCollectionsResponse) String ¶
func (x *ListCollectionsResponse) String() string
type ListFullSnapshotsRequest ¶
type ListFullSnapshotsRequest struct {
// contains filtered or unexported fields
}
func (*ListFullSnapshotsRequest) Descriptor
deprecated
func (*ListFullSnapshotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListFullSnapshotsRequest.ProtoReflect.Descriptor instead.
func (*ListFullSnapshotsRequest) ProtoMessage ¶
func (*ListFullSnapshotsRequest) ProtoMessage()
func (*ListFullSnapshotsRequest) ProtoReflect ¶
func (x *ListFullSnapshotsRequest) ProtoReflect() protoreflect.Message
func (*ListFullSnapshotsRequest) Reset ¶
func (x *ListFullSnapshotsRequest) Reset()
func (*ListFullSnapshotsRequest) String ¶
func (x *ListFullSnapshotsRequest) String() string
type ListSnapshotsRequest ¶
type ListSnapshotsRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
// contains filtered or unexported fields
}
func (*ListSnapshotsRequest) Descriptor
deprecated
func (*ListSnapshotsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListSnapshotsRequest.ProtoReflect.Descriptor instead.
func (*ListSnapshotsRequest) GetCollectionName ¶
func (x *ListSnapshotsRequest) GetCollectionName() string
func (*ListSnapshotsRequest) ProtoMessage ¶
func (*ListSnapshotsRequest) ProtoMessage()
func (*ListSnapshotsRequest) ProtoReflect ¶
func (x *ListSnapshotsRequest) ProtoReflect() protoreflect.Message
func (*ListSnapshotsRequest) Reset ¶
func (x *ListSnapshotsRequest) Reset()
func (*ListSnapshotsRequest) String ¶
func (x *ListSnapshotsRequest) String() string
type ListSnapshotsResponse ¶
type ListSnapshotsResponse struct {
SnapshotDescriptions []*SnapshotDescription `protobuf:"bytes,1,rep,name=snapshot_descriptions,json=snapshotDescriptions,proto3" json:"snapshot_descriptions,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
// contains filtered or unexported fields
}
func (*ListSnapshotsResponse) Descriptor
deprecated
func (*ListSnapshotsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListSnapshotsResponse.ProtoReflect.Descriptor instead.
func (*ListSnapshotsResponse) GetSnapshotDescriptions ¶
func (x *ListSnapshotsResponse) GetSnapshotDescriptions() []*SnapshotDescription
func (*ListSnapshotsResponse) GetTime ¶
func (x *ListSnapshotsResponse) GetTime() float64
func (*ListSnapshotsResponse) ProtoMessage ¶
func (*ListSnapshotsResponse) ProtoMessage()
func (*ListSnapshotsResponse) ProtoReflect ¶
func (x *ListSnapshotsResponse) ProtoReflect() protoreflect.Message
func (*ListSnapshotsResponse) Reset ¶
func (x *ListSnapshotsResponse) Reset()
func (*ListSnapshotsResponse) String ¶
func (x *ListSnapshotsResponse) String() string
type ListValue ¶
type ListValue struct {
// Repeated field of dynamically typed values.
Values []*Value `protobuf:"bytes,1,rep,name=values,proto3" json:"values,omitempty"`
// contains filtered or unexported fields
}
`ListValue` is a wrapper around a repeated field of values.
The JSON representation for `ListValue` is a JSON array.
func NewListValue ¶
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 ¶
type LocalShardInfo struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
PointsCount uint64 `protobuf:"varint,2,opt,name=points_count,json=pointsCount,proto3" json:"points_count,omitempty"` // Number of points in the shard
State ReplicaState `protobuf:"varint,3,opt,name=state,proto3,enum=qdrant.ReplicaState" json:"state,omitempty"` // Is replica active
ShardKey *ShardKey `protobuf:"bytes,4,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"` // User-defined shard key
// contains filtered or unexported fields
}
func (*LocalShardInfo) Descriptor
deprecated
func (*LocalShardInfo) Descriptor() ([]byte, []int)
Deprecated: Use LocalShardInfo.ProtoReflect.Descriptor instead.
func (*LocalShardInfo) GetPointsCount ¶
func (x *LocalShardInfo) GetPointsCount() uint64
func (*LocalShardInfo) GetShardId ¶
func (x *LocalShardInfo) GetShardId() uint32
func (*LocalShardInfo) GetShardKey ¶
func (x *LocalShardInfo) GetShardKey() *ShardKey
func (*LocalShardInfo) GetState ¶
func (x *LocalShardInfo) GetState() ReplicaState
func (*LocalShardInfo) ProtoMessage ¶
func (*LocalShardInfo) ProtoMessage()
func (*LocalShardInfo) ProtoReflect ¶
func (x *LocalShardInfo) ProtoReflect() protoreflect.Message
func (*LocalShardInfo) Reset ¶
func (x *LocalShardInfo) Reset()
func (*LocalShardInfo) String ¶
func (x *LocalShardInfo) String() string
type LookupLocation ¶
type LookupLocation struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
VectorName *string `protobuf:"bytes,2,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"` // Which vector to use for search, if not specified - use default vector
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
// contains filtered or unexported fields
}
func (*LookupLocation) Descriptor
deprecated
func (*LookupLocation) Descriptor() ([]byte, []int)
Deprecated: Use LookupLocation.ProtoReflect.Descriptor instead.
func (*LookupLocation) GetCollectionName ¶
func (x *LookupLocation) GetCollectionName() string
func (*LookupLocation) GetShardKeySelector ¶
func (x *LookupLocation) GetShardKeySelector() *ShardKeySelector
func (*LookupLocation) GetVectorName ¶
func (x *LookupLocation) GetVectorName() string
func (*LookupLocation) ProtoMessage ¶
func (*LookupLocation) ProtoMessage()
func (*LookupLocation) ProtoReflect ¶
func (x *LookupLocation) ProtoReflect() protoreflect.Message
func (*LookupLocation) Reset ¶
func (x *LookupLocation) Reset()
func (*LookupLocation) String ¶
func (x *LookupLocation) String() string
type Match ¶
type Match struct {
// Types that are assignable to MatchValue:
//
// *Match_Keyword
// *Match_Integer
// *Match_Boolean
// *Match_Text
// *Match_Keywords
// *Match_Integers
// *Match_ExceptIntegers
// *Match_ExceptKeywords
// *Match_Phrase
// *Match_TextAny
MatchValue isMatch_MatchValue `protobuf_oneof:"match_value"`
// contains filtered or unexported fields
}
func (*Match) Descriptor
deprecated
func (*Match) GetBoolean ¶
func (*Match) GetExceptIntegers ¶
func (x *Match) GetExceptIntegers() *RepeatedIntegers
func (*Match) GetExceptKeywords ¶
func (x *Match) GetExceptKeywords() *RepeatedStrings
func (*Match) GetInteger ¶
func (*Match) GetIntegers ¶
func (x *Match) GetIntegers() *RepeatedIntegers
func (*Match) GetKeyword ¶
func (*Match) GetKeywords ¶
func (x *Match) GetKeywords() *RepeatedStrings
func (*Match) GetMatchValue ¶
func (m *Match) GetMatchValue() isMatch_MatchValue
func (*Match) GetTextAny ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
type Match_Boolean ¶
type Match_Boolean struct {
Boolean bool `protobuf:"varint,3,opt,name=boolean,proto3,oneof"` // Match boolean
}
type Match_ExceptIntegers ¶
type Match_ExceptIntegers struct {
ExceptIntegers *RepeatedIntegers `protobuf:"bytes,7,opt,name=except_integers,json=exceptIntegers,proto3,oneof"` // Match any other value except those integers
}
type Match_ExceptKeywords ¶
type Match_ExceptKeywords struct {
ExceptKeywords *RepeatedStrings `protobuf:"bytes,8,opt,name=except_keywords,json=exceptKeywords,proto3,oneof"` // Match any other value except those keywords
}
type Match_Integer ¶
type Match_Integer struct {
Integer int64 `protobuf:"varint,2,opt,name=integer,proto3,oneof"` // Match integer
}
type Match_Integers ¶
type Match_Integers struct {
Integers *RepeatedIntegers `protobuf:"bytes,6,opt,name=integers,proto3,oneof"` // Match multiple integers
}
type Match_Keyword ¶
type Match_Keyword struct {
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3,oneof"` // Match string keyword
}
type Match_Keywords ¶
type Match_Keywords struct {
Keywords *RepeatedStrings `protobuf:"bytes,5,opt,name=keywords,proto3,oneof"` // Match multiple keywords
}
type Match_Phrase ¶
type Match_Phrase struct {
Phrase string `protobuf:"bytes,9,opt,name=phrase,proto3,oneof"` // Match phrase text
}
type Match_Text ¶
type Match_Text struct {
Text string `protobuf:"bytes,4,opt,name=text,proto3,oneof"` // Match text
}
type Match_TextAny ¶
type Match_TextAny struct {
TextAny string `protobuf:"bytes,10,opt,name=text_any,json=textAny,proto3,oneof"` // Match any word in the text
}
type MaxOptimizationThreads ¶
type MaxOptimizationThreads struct {
// Types that are assignable to Variant:
//
// *MaxOptimizationThreads_Value
// *MaxOptimizationThreads_Setting_
Variant isMaxOptimizationThreads_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewMaxOptimizationThreads ¶
func NewMaxOptimizationThreads(value uint64) *MaxOptimizationThreads
Creates a *MaxOptimizationThreads instance from the number of specified threads.
func NewMaxOptimizationThreadsSetting ¶
func NewMaxOptimizationThreadsSetting(setting MaxOptimizationThreads_Setting) *MaxOptimizationThreads
Creates a *MaxOptimizationThreads instance from the specified settings.
func (*MaxOptimizationThreads) Descriptor
deprecated
func (*MaxOptimizationThreads) Descriptor() ([]byte, []int)
Deprecated: Use MaxOptimizationThreads.ProtoReflect.Descriptor instead.
func (*MaxOptimizationThreads) GetSetting ¶
func (x *MaxOptimizationThreads) GetSetting() MaxOptimizationThreads_Setting
func (*MaxOptimizationThreads) GetValue ¶
func (x *MaxOptimizationThreads) GetValue() uint64
func (*MaxOptimizationThreads) GetVariant ¶
func (m *MaxOptimizationThreads) GetVariant() isMaxOptimizationThreads_Variant
func (*MaxOptimizationThreads) ProtoMessage ¶
func (*MaxOptimizationThreads) ProtoMessage()
func (*MaxOptimizationThreads) ProtoReflect ¶
func (x *MaxOptimizationThreads) ProtoReflect() protoreflect.Message
func (*MaxOptimizationThreads) Reset ¶
func (x *MaxOptimizationThreads) Reset()
func (*MaxOptimizationThreads) String ¶
func (x *MaxOptimizationThreads) String() string
type MaxOptimizationThreads_Setting ¶
type MaxOptimizationThreads_Setting int32
const (
MaxOptimizationThreads_Auto MaxOptimizationThreads_Setting = 0
)
func (MaxOptimizationThreads_Setting) Descriptor ¶
func (MaxOptimizationThreads_Setting) Descriptor() protoreflect.EnumDescriptor
func (MaxOptimizationThreads_Setting) Enum ¶
func (x MaxOptimizationThreads_Setting) Enum() *MaxOptimizationThreads_Setting
func (MaxOptimizationThreads_Setting) EnumDescriptor
deprecated
func (MaxOptimizationThreads_Setting) EnumDescriptor() ([]byte, []int)
Deprecated: Use MaxOptimizationThreads_Setting.Descriptor instead.
func (MaxOptimizationThreads_Setting) Number ¶
func (x MaxOptimizationThreads_Setting) Number() protoreflect.EnumNumber
func (MaxOptimizationThreads_Setting) String ¶
func (x MaxOptimizationThreads_Setting) String() string
func (MaxOptimizationThreads_Setting) Type ¶
func (MaxOptimizationThreads_Setting) Type() protoreflect.EnumType
type MaxOptimizationThreads_Setting_ ¶
type MaxOptimizationThreads_Setting_ struct {
Setting MaxOptimizationThreads_Setting `protobuf:"varint,2,opt,name=setting,proto3,enum=qdrant.MaxOptimizationThreads_Setting,oneof"`
}
type MaxOptimizationThreads_Value ¶
type MaxOptimizationThreads_Value struct {
Value uint64 `protobuf:"varint,1,opt,name=value,proto3,oneof"`
}
type MinShould ¶
type MinShould struct {
Conditions []*Condition `protobuf:"bytes,1,rep,name=conditions,proto3" json:"conditions,omitempty"`
MinCount uint64 `protobuf:"varint,2,opt,name=min_count,json=minCount,proto3" json:"min_count,omitempty"`
// contains filtered or unexported fields
}
func (*MinShould) Descriptor
deprecated
func (*MinShould) GetConditions ¶
func (*MinShould) GetMinCount ¶
func (*MinShould) ProtoMessage ¶
func (*MinShould) ProtoMessage()
func (*MinShould) ProtoReflect ¶
func (x *MinShould) ProtoReflect() protoreflect.Message
type Mmr ¶
type Mmr struct {
// Tunable parameter for the MMR algorithm.
// Determines the balance between diversity and relevance.
//
// A higher value favors diversity (dissimilarity to selected results),
// while a lower value favors relevance (similarity to the query vector).
//
// Must be in the range [0, 1].
// Default value is 0.5.
Diversity *float32 `protobuf:"fixed32,2,opt,name=diversity,proto3,oneof" json:"diversity,omitempty"`
// The maximum number of candidates to consider for re-ranking.
//
// If not specified, the `limit` value is used.
CandidatesLimit *uint32 `protobuf:"varint,3,opt,name=candidates_limit,json=candidatesLimit,proto3,oneof" json:"candidates_limit,omitempty"`
// contains filtered or unexported fields
}
Maximal Marginal Relevance (MMR) algorithm for re-ranking the points.
func (*Mmr) Descriptor
deprecated
func (*Mmr) GetCandidatesLimit ¶
func (*Mmr) GetDiversity ¶
func (*Mmr) ProtoMessage ¶
func (*Mmr) ProtoMessage()
func (*Mmr) ProtoReflect ¶
func (x *Mmr) ProtoReflect() protoreflect.Message
type ModelUsage ¶
type ModelUsage struct {
Tokens uint64 `protobuf:"varint,1,opt,name=tokens,proto3" json:"tokens,omitempty"`
// contains filtered or unexported fields
}
func (*ModelUsage) Descriptor
deprecated
func (*ModelUsage) Descriptor() ([]byte, []int)
Deprecated: Use ModelUsage.ProtoReflect.Descriptor instead.
func (*ModelUsage) GetTokens ¶
func (x *ModelUsage) GetTokens() uint64
func (*ModelUsage) ProtoMessage ¶
func (*ModelUsage) ProtoMessage()
func (*ModelUsage) ProtoReflect ¶
func (x *ModelUsage) ProtoReflect() protoreflect.Message
func (*ModelUsage) Reset ¶
func (x *ModelUsage) Reset()
func (*ModelUsage) String ¶
func (x *ModelUsage) String() string
type Modifier ¶
type Modifier int32
func (Modifier) Descriptor ¶
func (Modifier) Descriptor() protoreflect.EnumDescriptor
func (Modifier) EnumDescriptor
deprecated
func (Modifier) Number ¶
func (x Modifier) Number() protoreflect.EnumNumber
func (Modifier) Type ¶
func (Modifier) Type() protoreflect.EnumType
type MoveShard ¶
type MoveShard struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
Method *ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod,oneof" json:"method,omitempty"`
// contains filtered or unexported fields
}
func (*MoveShard) Descriptor
deprecated
func (*MoveShard) GetFromPeerId ¶
func (*MoveShard) GetMethod ¶
func (x *MoveShard) GetMethod() ShardTransferMethod
func (*MoveShard) GetShardId ¶
func (*MoveShard) GetToPeerId ¶
func (*MoveShard) GetToShardId ¶
func (*MoveShard) ProtoMessage ¶
func (*MoveShard) ProtoMessage()
func (*MoveShard) ProtoReflect ¶
func (x *MoveShard) ProtoReflect() protoreflect.Message
type MultExpression ¶
type MultExpression struct {
Mult []*Expression `protobuf:"bytes,1,rep,name=mult,proto3" json:"mult,omitempty"`
// contains filtered or unexported fields
}
func (*MultExpression) Descriptor
deprecated
func (*MultExpression) Descriptor() ([]byte, []int)
Deprecated: Use MultExpression.ProtoReflect.Descriptor instead.
func (*MultExpression) GetMult ¶
func (x *MultExpression) GetMult() []*Expression
func (*MultExpression) ProtoMessage ¶
func (*MultExpression) ProtoMessage()
func (*MultExpression) ProtoReflect ¶
func (x *MultExpression) ProtoReflect() protoreflect.Message
func (*MultExpression) Reset ¶
func (x *MultExpression) Reset()
func (*MultExpression) String ¶
func (x *MultExpression) String() string
type MultiDenseVector ¶
type MultiDenseVector struct {
Vectors []*DenseVector `protobuf:"bytes,1,rep,name=vectors,proto3" json:"vectors,omitempty"`
// contains filtered or unexported fields
}
func (*MultiDenseVector) Descriptor
deprecated
func (*MultiDenseVector) Descriptor() ([]byte, []int)
Deprecated: Use MultiDenseVector.ProtoReflect.Descriptor instead.
func (*MultiDenseVector) GetVectors ¶
func (x *MultiDenseVector) GetVectors() []*DenseVector
func (*MultiDenseVector) ProtoMessage ¶
func (*MultiDenseVector) ProtoMessage()
func (*MultiDenseVector) ProtoReflect ¶
func (x *MultiDenseVector) ProtoReflect() protoreflect.Message
func (*MultiDenseVector) Reset ¶
func (x *MultiDenseVector) Reset()
func (*MultiDenseVector) String ¶
func (x *MultiDenseVector) String() string
type MultiVectorComparator ¶
type MultiVectorComparator int32
const (
MultiVectorComparator_MaxSim MultiVectorComparator = 0
)
func (MultiVectorComparator) Descriptor ¶
func (MultiVectorComparator) Descriptor() protoreflect.EnumDescriptor
func (MultiVectorComparator) Enum ¶
func (x MultiVectorComparator) Enum() *MultiVectorComparator
func (MultiVectorComparator) EnumDescriptor
deprecated
func (MultiVectorComparator) EnumDescriptor() ([]byte, []int)
Deprecated: Use MultiVectorComparator.Descriptor instead.
func (MultiVectorComparator) Number ¶
func (x MultiVectorComparator) Number() protoreflect.EnumNumber
func (MultiVectorComparator) String ¶
func (x MultiVectorComparator) String() string
func (MultiVectorComparator) Type ¶
func (MultiVectorComparator) Type() protoreflect.EnumType
type MultiVectorConfig ¶
type MultiVectorConfig struct {
Comparator MultiVectorComparator `protobuf:"varint,1,opt,name=comparator,proto3,enum=qdrant.MultiVectorComparator" json:"comparator,omitempty"` // Comparator for multi-vector search
// contains filtered or unexported fields
}
func (*MultiVectorConfig) Descriptor
deprecated
func (*MultiVectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use MultiVectorConfig.ProtoReflect.Descriptor instead.
func (*MultiVectorConfig) GetComparator ¶
func (x *MultiVectorConfig) GetComparator() MultiVectorComparator
func (*MultiVectorConfig) ProtoMessage ¶
func (*MultiVectorConfig) ProtoMessage()
func (*MultiVectorConfig) ProtoReflect ¶
func (x *MultiVectorConfig) ProtoReflect() protoreflect.Message
func (*MultiVectorConfig) Reset ¶
func (x *MultiVectorConfig) Reset()
func (*MultiVectorConfig) String ¶
func (x *MultiVectorConfig) String() string
type NamedVectors ¶
type NamedVectors struct {
Vectors map[string]*Vector `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*NamedVectors) Descriptor
deprecated
func (*NamedVectors) Descriptor() ([]byte, []int)
Deprecated: Use NamedVectors.ProtoReflect.Descriptor instead.
func (*NamedVectors) GetVectors ¶
func (x *NamedVectors) GetVectors() map[string]*Vector
func (*NamedVectors) ProtoMessage ¶
func (*NamedVectors) ProtoMessage()
func (*NamedVectors) ProtoReflect ¶
func (x *NamedVectors) ProtoReflect() protoreflect.Message
func (*NamedVectors) Reset ¶
func (x *NamedVectors) Reset()
func (*NamedVectors) String ¶
func (x *NamedVectors) String() string
type NamedVectorsOutput ¶
type NamedVectorsOutput struct {
Vectors map[string]*VectorOutput `` /* 155-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*NamedVectorsOutput) Descriptor
deprecated
func (*NamedVectorsOutput) Descriptor() ([]byte, []int)
Deprecated: Use NamedVectorsOutput.ProtoReflect.Descriptor instead.
func (*NamedVectorsOutput) GetVectors ¶
func (x *NamedVectorsOutput) GetVectors() map[string]*VectorOutput
func (*NamedVectorsOutput) ProtoMessage ¶
func (*NamedVectorsOutput) ProtoMessage()
func (*NamedVectorsOutput) ProtoReflect ¶
func (x *NamedVectorsOutput) ProtoReflect() protoreflect.Message
func (*NamedVectorsOutput) Reset ¶
func (x *NamedVectorsOutput) Reset()
func (*NamedVectorsOutput) String ¶
func (x *NamedVectorsOutput) String() string
type NearestInputWithMmr ¶
type NearestInputWithMmr struct {
// The vector to search for nearest neighbors.
Nearest *VectorInput `protobuf:"bytes,1,opt,name=nearest,proto3" json:"nearest,omitempty"`
// Perform MMR (Maximal Marginal Relevance) reranking after search,
// using the same vector in this query to calculate relevance.
Mmr *Mmr `protobuf:"bytes,2,opt,name=mmr,proto3" json:"mmr,omitempty"`
// contains filtered or unexported fields
}
func (*NearestInputWithMmr) Descriptor
deprecated
func (*NearestInputWithMmr) Descriptor() ([]byte, []int)
Deprecated: Use NearestInputWithMmr.ProtoReflect.Descriptor instead.
func (*NearestInputWithMmr) GetMmr ¶
func (x *NearestInputWithMmr) GetMmr() *Mmr
func (*NearestInputWithMmr) GetNearest ¶
func (x *NearestInputWithMmr) GetNearest() *VectorInput
func (*NearestInputWithMmr) ProtoMessage ¶
func (*NearestInputWithMmr) ProtoMessage()
func (*NearestInputWithMmr) ProtoReflect ¶
func (x *NearestInputWithMmr) ProtoReflect() protoreflect.Message
func (*NearestInputWithMmr) Reset ¶
func (x *NearestInputWithMmr) Reset()
func (*NearestInputWithMmr) String ¶
func (x *NearestInputWithMmr) String() string
type NestedCondition ¶
type NestedCondition struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Path to nested object
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Filter condition
// contains filtered or unexported fields
}
func (*NestedCondition) Descriptor
deprecated
func (*NestedCondition) Descriptor() ([]byte, []int)
Deprecated: Use NestedCondition.ProtoReflect.Descriptor instead.
func (*NestedCondition) GetFilter ¶
func (x *NestedCondition) GetFilter() *Filter
func (*NestedCondition) GetKey ¶
func (x *NestedCondition) GetKey() string
func (*NestedCondition) ProtoMessage ¶
func (*NestedCondition) ProtoMessage()
func (*NestedCondition) ProtoReflect ¶
func (x *NestedCondition) ProtoReflect() protoreflect.Message
func (*NestedCondition) Reset ¶
func (x *NestedCondition) Reset()
func (*NestedCondition) String ¶
func (x *NestedCondition) String() string
type NullValue ¶
type NullValue int32
`NullValue` is a singleton enumeration to represent the null value for the `Value` type union.
The JSON representation for `NullValue` is JSON `null`.
const ( // Null value. NullValue_NULL_VALUE NullValue = 0 )
func (NullValue) Descriptor ¶
func (NullValue) Descriptor() protoreflect.EnumDescriptor
func (NullValue) 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 */
// contains filtered or unexported fields
}
func (*OptimizersConfigDiff) Descriptor
deprecated
func (*OptimizersConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use OptimizersConfigDiff.ProtoReflect.Descriptor instead.
func (*OptimizersConfigDiff) GetDefaultSegmentNumber ¶
func (x *OptimizersConfigDiff) GetDefaultSegmentNumber() uint64
func (*OptimizersConfigDiff) GetDeletedThreshold ¶
func (x *OptimizersConfigDiff) GetDeletedThreshold() float64
func (*OptimizersConfigDiff) GetDeprecatedMaxOptimizationThreads ¶
func (x *OptimizersConfigDiff) GetDeprecatedMaxOptimizationThreads() uint64
func (*OptimizersConfigDiff) GetFlushIntervalSec ¶
func (x *OptimizersConfigDiff) GetFlushIntervalSec() uint64
func (*OptimizersConfigDiff) GetIndexingThreshold ¶
func (x *OptimizersConfigDiff) GetIndexingThreshold() uint64
func (*OptimizersConfigDiff) GetMaxOptimizationThreads ¶
func (x *OptimizersConfigDiff) GetMaxOptimizationThreads() *MaxOptimizationThreads
func (*OptimizersConfigDiff) GetMaxSegmentSize ¶
func (x *OptimizersConfigDiff) GetMaxSegmentSize() uint64
func (*OptimizersConfigDiff) GetMemmapThreshold ¶
func (x *OptimizersConfigDiff) GetMemmapThreshold() uint64
func (*OptimizersConfigDiff) GetVacuumMinVectorNumber ¶
func (x *OptimizersConfigDiff) GetVacuumMinVectorNumber() uint64
func (*OptimizersConfigDiff) ProtoMessage ¶
func (*OptimizersConfigDiff) ProtoMessage()
func (*OptimizersConfigDiff) ProtoReflect ¶
func (x *OptimizersConfigDiff) ProtoReflect() protoreflect.Message
func (*OptimizersConfigDiff) Reset ¶
func (x *OptimizersConfigDiff) Reset()
func (*OptimizersConfigDiff) String ¶
func (x *OptimizersConfigDiff) String() string
type OrderBy ¶
type OrderBy struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Payload key to order by
Direction *Direction `protobuf:"varint,2,opt,name=direction,proto3,enum=qdrant.Direction,oneof" json:"direction,omitempty"` // Ascending or descending order
StartFrom *StartFrom `protobuf:"bytes,3,opt,name=start_from,json=startFrom,proto3,oneof" json:"start_from,omitempty"` // Start from this value
// contains filtered or unexported fields
}
func (*OrderBy) Descriptor
deprecated
func (*OrderBy) GetDirection ¶
func (*OrderBy) GetStartFrom ¶
func (*OrderBy) ProtoMessage ¶
func (*OrderBy) ProtoMessage()
func (*OrderBy) ProtoReflect ¶
func (x *OrderBy) ProtoReflect() protoreflect.Message
type OrderValue ¶
type OrderValue struct {
// Types that are assignable to Variant:
//
// *OrderValue_Int
// *OrderValue_Float
Variant isOrderValue_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewOrderValueFloat ¶
func NewOrderValueFloat(value float64) *OrderValue
Creates a *OrderValue instance from a float.
func NewOrderValueInt ¶
func NewOrderValueInt(value int64) *OrderValue
Creates a *OrderValue instance from an integer.
func (*OrderValue) Descriptor
deprecated
func (*OrderValue) Descriptor() ([]byte, []int)
Deprecated: Use OrderValue.ProtoReflect.Descriptor instead.
func (*OrderValue) GetFloat ¶
func (x *OrderValue) GetFloat() float64
func (*OrderValue) GetInt ¶
func (x *OrderValue) GetInt() int64
func (*OrderValue) GetVariant ¶
func (m *OrderValue) GetVariant() isOrderValue_Variant
func (*OrderValue) ProtoMessage ¶
func (*OrderValue) ProtoMessage()
func (*OrderValue) ProtoReflect ¶
func (x *OrderValue) ProtoReflect() protoreflect.Message
func (*OrderValue) Reset ¶
func (x *OrderValue) Reset()
func (*OrderValue) String ¶
func (x *OrderValue) String() string
type OrderValue_Float ¶
type OrderValue_Float struct {
Float float64 `protobuf:"fixed64,2,opt,name=float,proto3,oneof"`
}
type OrderValue_Int ¶
type OrderValue_Int struct {
Int int64 `protobuf:"varint,1,opt,name=int,proto3,oneof"`
}
type PayloadExcludeSelector ¶
type PayloadExcludeSelector struct {
Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // List of payload keys to exclude from the result
// contains filtered or unexported fields
}
func (*PayloadExcludeSelector) Descriptor
deprecated
func (*PayloadExcludeSelector) Descriptor() ([]byte, []int)
Deprecated: Use PayloadExcludeSelector.ProtoReflect.Descriptor instead.
func (*PayloadExcludeSelector) GetFields ¶
func (x *PayloadExcludeSelector) GetFields() []string
func (*PayloadExcludeSelector) ProtoMessage ¶
func (*PayloadExcludeSelector) ProtoMessage()
func (*PayloadExcludeSelector) ProtoReflect ¶
func (x *PayloadExcludeSelector) ProtoReflect() protoreflect.Message
func (*PayloadExcludeSelector) Reset ¶
func (x *PayloadExcludeSelector) Reset()
func (*PayloadExcludeSelector) String ¶
func (x *PayloadExcludeSelector) String() string
type PayloadIncludeSelector ¶
type PayloadIncludeSelector struct {
Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // List of payload keys to include into result
// contains filtered or unexported fields
}
func (*PayloadIncludeSelector) Descriptor
deprecated
func (*PayloadIncludeSelector) Descriptor() ([]byte, []int)
Deprecated: Use PayloadIncludeSelector.ProtoReflect.Descriptor instead.
func (*PayloadIncludeSelector) GetFields ¶
func (x *PayloadIncludeSelector) GetFields() []string
func (*PayloadIncludeSelector) ProtoMessage ¶
func (*PayloadIncludeSelector) ProtoMessage()
func (*PayloadIncludeSelector) ProtoReflect ¶
func (x *PayloadIncludeSelector) ProtoReflect() protoreflect.Message
func (*PayloadIncludeSelector) Reset ¶
func (x *PayloadIncludeSelector) Reset()
func (*PayloadIncludeSelector) String ¶
func (x *PayloadIncludeSelector) String() string
type PayloadIndexParams ¶
type PayloadIndexParams struct {
// Types that are assignable to IndexParams:
//
// *PayloadIndexParams_KeywordIndexParams
// *PayloadIndexParams_IntegerIndexParams
// *PayloadIndexParams_FloatIndexParams
// *PayloadIndexParams_GeoIndexParams
// *PayloadIndexParams_TextIndexParams
// *PayloadIndexParams_BoolIndexParams
// *PayloadIndexParams_DatetimeIndexParams
// *PayloadIndexParams_UuidIndexParams
IndexParams isPayloadIndexParams_IndexParams `protobuf_oneof:"index_params"`
// contains filtered or unexported fields
}
func NewPayloadIndexParams ¶
func NewPayloadIndexParams(params *KeywordIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *KeywordIndexParams. This is an alias for NewPayloadIndexParamsKeyword().
func NewPayloadIndexParamsBool ¶
func NewPayloadIndexParamsBool(params *BoolIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *BoolIndexParams.
func NewPayloadIndexParamsDatetime ¶
func NewPayloadIndexParamsDatetime(params *DatetimeIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *DatetimeIndexParams.
func NewPayloadIndexParamsFloat ¶
func NewPayloadIndexParamsFloat(params *FloatIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *FloatIndexParams.
func NewPayloadIndexParamsGeo ¶
func NewPayloadIndexParamsGeo(params *GeoIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *GeoIndexParams.
func NewPayloadIndexParamsInt ¶
func NewPayloadIndexParamsInt(params *IntegerIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *IntegerIndexParams.
func NewPayloadIndexParamsKeyword ¶
func NewPayloadIndexParamsKeyword(params *KeywordIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *KeywordIndexParams.
func NewPayloadIndexParamsText ¶
func NewPayloadIndexParamsText(params *TextIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *TextIndexParams.
func NewPayloadIndexParamsUUID ¶
func NewPayloadIndexParamsUUID(params *UuidIndexParams) *PayloadIndexParams
Creates a *PayloadIndexParams instance from *UuidIndexParams.
func (*PayloadIndexParams) Descriptor
deprecated
func (*PayloadIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use PayloadIndexParams.ProtoReflect.Descriptor instead.
func (*PayloadIndexParams) GetBoolIndexParams ¶
func (x *PayloadIndexParams) GetBoolIndexParams() *BoolIndexParams
func (*PayloadIndexParams) GetDatetimeIndexParams ¶
func (x *PayloadIndexParams) GetDatetimeIndexParams() *DatetimeIndexParams
func (*PayloadIndexParams) GetFloatIndexParams ¶
func (x *PayloadIndexParams) GetFloatIndexParams() *FloatIndexParams
func (*PayloadIndexParams) GetGeoIndexParams ¶
func (x *PayloadIndexParams) GetGeoIndexParams() *GeoIndexParams
func (*PayloadIndexParams) GetIndexParams ¶
func (m *PayloadIndexParams) GetIndexParams() isPayloadIndexParams_IndexParams
func (*PayloadIndexParams) GetIntegerIndexParams ¶
func (x *PayloadIndexParams) GetIntegerIndexParams() *IntegerIndexParams
func (*PayloadIndexParams) GetKeywordIndexParams ¶
func (x *PayloadIndexParams) GetKeywordIndexParams() *KeywordIndexParams
func (*PayloadIndexParams) GetTextIndexParams ¶
func (x *PayloadIndexParams) GetTextIndexParams() *TextIndexParams
func (*PayloadIndexParams) GetUuidIndexParams ¶
func (x *PayloadIndexParams) GetUuidIndexParams() *UuidIndexParams
func (*PayloadIndexParams) ProtoMessage ¶
func (*PayloadIndexParams) ProtoMessage()
func (*PayloadIndexParams) ProtoReflect ¶
func (x *PayloadIndexParams) ProtoReflect() protoreflect.Message
func (*PayloadIndexParams) Reset ¶
func (x *PayloadIndexParams) Reset()
func (*PayloadIndexParams) String ¶
func (x *PayloadIndexParams) String() string
type PayloadIndexParams_BoolIndexParams ¶
type PayloadIndexParams_BoolIndexParams struct {
BoolIndexParams *BoolIndexParams `protobuf:"bytes,6,opt,name=bool_index_params,json=boolIndexParams,proto3,oneof"` // Parameters for bool index
}
type PayloadIndexParams_DatetimeIndexParams ¶
type PayloadIndexParams_DatetimeIndexParams struct {
DatetimeIndexParams *DatetimeIndexParams `protobuf:"bytes,7,opt,name=datetime_index_params,json=datetimeIndexParams,proto3,oneof"` // Parameters for datetime index
}
type PayloadIndexParams_FloatIndexParams ¶
type PayloadIndexParams_FloatIndexParams struct {
FloatIndexParams *FloatIndexParams `protobuf:"bytes,4,opt,name=float_index_params,json=floatIndexParams,proto3,oneof"` // Parameters for float index
}
type PayloadIndexParams_GeoIndexParams ¶
type PayloadIndexParams_GeoIndexParams struct {
GeoIndexParams *GeoIndexParams `protobuf:"bytes,5,opt,name=geo_index_params,json=geoIndexParams,proto3,oneof"` // Parameters for geo index
}
type PayloadIndexParams_IntegerIndexParams ¶
type PayloadIndexParams_IntegerIndexParams struct {
IntegerIndexParams *IntegerIndexParams `protobuf:"bytes,2,opt,name=integer_index_params,json=integerIndexParams,proto3,oneof"` // Parameters for integer index
}
type PayloadIndexParams_KeywordIndexParams ¶
type PayloadIndexParams_KeywordIndexParams struct {
KeywordIndexParams *KeywordIndexParams `protobuf:"bytes,3,opt,name=keyword_index_params,json=keywordIndexParams,proto3,oneof"` // Parameters for keyword index
}
type PayloadIndexParams_TextIndexParams ¶
type PayloadIndexParams_TextIndexParams struct {
TextIndexParams *TextIndexParams `protobuf:"bytes,1,opt,name=text_index_params,json=textIndexParams,proto3,oneof"` // Parameters for text index
}
type PayloadIndexParams_UuidIndexParams ¶
type PayloadIndexParams_UuidIndexParams struct {
UuidIndexParams *UuidIndexParams `protobuf:"bytes,8,opt,name=uuid_index_params,json=uuidIndexParams,proto3,oneof"` // Parameters for uuid index
}
type PayloadSchemaInfo ¶
type PayloadSchemaInfo struct {
DataType PayloadSchemaType `protobuf:"varint,1,opt,name=data_type,json=dataType,proto3,enum=qdrant.PayloadSchemaType" json:"data_type,omitempty"` // Field data type
Params *PayloadIndexParams `protobuf:"bytes,2,opt,name=params,proto3,oneof" json:"params,omitempty"` // Field index parameters
Points *uint64 `protobuf:"varint,3,opt,name=points,proto3,oneof" json:"points,omitempty"` // Number of points indexed within this field indexed
// contains filtered or unexported fields
}
func (*PayloadSchemaInfo) Descriptor
deprecated
func (*PayloadSchemaInfo) Descriptor() ([]byte, []int)
Deprecated: Use PayloadSchemaInfo.ProtoReflect.Descriptor instead.
func (*PayloadSchemaInfo) GetDataType ¶
func (x *PayloadSchemaInfo) GetDataType() PayloadSchemaType
func (*PayloadSchemaInfo) GetParams ¶
func (x *PayloadSchemaInfo) GetParams() *PayloadIndexParams
func (*PayloadSchemaInfo) GetPoints ¶
func (x *PayloadSchemaInfo) GetPoints() uint64
func (*PayloadSchemaInfo) ProtoMessage ¶
func (*PayloadSchemaInfo) ProtoMessage()
func (*PayloadSchemaInfo) ProtoReflect ¶
func (x *PayloadSchemaInfo) ProtoReflect() protoreflect.Message
func (*PayloadSchemaInfo) Reset ¶
func (x *PayloadSchemaInfo) Reset()
func (*PayloadSchemaInfo) String ¶
func (x *PayloadSchemaInfo) String() string
type PayloadSchemaType ¶
type PayloadSchemaType int32
const ( PayloadSchemaType_UnknownType PayloadSchemaType = 0 PayloadSchemaType_Keyword PayloadSchemaType = 1 PayloadSchemaType_Integer PayloadSchemaType = 2 PayloadSchemaType_Float PayloadSchemaType = 3 PayloadSchemaType_Geo PayloadSchemaType = 4 PayloadSchemaType_Text PayloadSchemaType = 5 PayloadSchemaType_Bool PayloadSchemaType = 6 PayloadSchemaType_Datetime PayloadSchemaType = 7 PayloadSchemaType_Uuid PayloadSchemaType = 8 )
func (PayloadSchemaType) Descriptor ¶
func (PayloadSchemaType) 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 ¶
type PointGroup struct {
Id *GroupId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Group id
Hits []*ScoredPoint `protobuf:"bytes,2,rep,name=hits,proto3" json:"hits,omitempty"` // Points in the group
Lookup *RetrievedPoint `protobuf:"bytes,3,opt,name=lookup,proto3" json:"lookup,omitempty"` // Point(s) from the lookup collection that matches the group id
// contains filtered or unexported fields
}
func (*PointGroup) Descriptor
deprecated
func (*PointGroup) Descriptor() ([]byte, []int)
Deprecated: Use PointGroup.ProtoReflect.Descriptor instead.
func (*PointGroup) GetHits ¶
func (x *PointGroup) GetHits() []*ScoredPoint
func (*PointGroup) GetId ¶
func (x *PointGroup) GetId() *GroupId
func (*PointGroup) GetLookup ¶
func (x *PointGroup) GetLookup() *RetrievedPoint
func (*PointGroup) ProtoMessage ¶
func (*PointGroup) ProtoMessage()
func (*PointGroup) ProtoReflect ¶
func (x *PointGroup) ProtoReflect() protoreflect.Message
func (*PointGroup) Reset ¶
func (x *PointGroup) Reset()
func (*PointGroup) String ¶
func (x *PointGroup) String() string
type PointId ¶
type PointId struct {
// Types that are assignable to PointIdOptions:
//
// *PointId_Num
// *PointId_Uuid
PointIdOptions isPointId_PointIdOptions `protobuf_oneof:"point_id_options"`
// contains filtered or unexported fields
}
func (*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 {
Num uint64 `protobuf:"varint,1,opt,name=num,proto3,oneof"` // Numerical ID of the point
}
type PointId_Uuid ¶
type PointId_Uuid struct {
Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3,oneof"` // UUID
}
type PointStruct ¶
type PointStruct struct {
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Payload map[string]*Value `` /* 155-byte string literal not displayed */
Vectors *Vectors `protobuf:"bytes,4,opt,name=vectors,proto3,oneof" json:"vectors,omitempty"`
// contains filtered or unexported fields
}
func (*PointStruct) Descriptor
deprecated
func (*PointStruct) Descriptor() ([]byte, []int)
Deprecated: Use PointStruct.ProtoReflect.Descriptor instead.
func (*PointStruct) GetId ¶
func (x *PointStruct) GetId() *PointId
func (*PointStruct) GetPayload ¶
func (x *PointStruct) GetPayload() map[string]*Value
func (*PointStruct) GetVectors ¶
func (x *PointStruct) GetVectors() *Vectors
func (*PointStruct) ProtoMessage ¶
func (*PointStruct) ProtoMessage()
func (*PointStruct) ProtoReflect ¶
func (x *PointStruct) ProtoReflect() protoreflect.Message
func (*PointStruct) Reset ¶
func (x *PointStruct) Reset()
func (*PointStruct) String ¶
func (x *PointStruct) String() string
type PointVectors ¶
type PointVectors struct {
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID to update vectors for
Vectors *Vectors `protobuf:"bytes,2,opt,name=vectors,proto3" json:"vectors,omitempty"` // Named vectors to update, leave others intact
// contains filtered or unexported fields
}
func (*PointVectors) Descriptor
deprecated
func (*PointVectors) Descriptor() ([]byte, []int)
Deprecated: Use PointVectors.ProtoReflect.Descriptor instead.
func (*PointVectors) GetId ¶
func (x *PointVectors) GetId() *PointId
func (*PointVectors) GetVectors ¶
func (x *PointVectors) GetVectors() *Vectors
func (*PointVectors) ProtoMessage ¶
func (*PointVectors) ProtoMessage()
func (*PointVectors) ProtoReflect ¶
func (x *PointVectors) ProtoReflect() protoreflect.Message
func (*PointVectors) Reset ¶
func (x *PointVectors) Reset()
func (*PointVectors) String ¶
func (x *PointVectors) String() string
type PointsClient ¶
type PointsClient interface {
// Perform insert + updates on points. If a point with a given ID already exists - it will be overwritten.
Upsert(ctx context.Context, in *UpsertPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Delete points
Delete(ctx context.Context, in *DeletePoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Retrieve points
Get(ctx context.Context, in *GetPoints, opts ...grpc.CallOption) (*GetResponse, error)
// Update named vectors for point
UpdateVectors(ctx context.Context, in *UpdatePointVectors, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Delete named vectors for points
DeleteVectors(ctx context.Context, in *DeletePointVectors, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Set payload for points
SetPayload(ctx context.Context, in *SetPayloadPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Overwrite payload for points
OverwritePayload(ctx context.Context, in *SetPayloadPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Delete specified key payload for points
DeletePayload(ctx context.Context, in *DeletePayloadPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Remove all payload for specified points
ClearPayload(ctx context.Context, in *ClearPayloadPoints, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Create index for field in collection
CreateFieldIndex(ctx context.Context, in *CreateFieldIndexCollection, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Delete field index for collection
DeleteFieldIndex(ctx context.Context, in *DeleteFieldIndexCollection, opts ...grpc.CallOption) (*PointsOperationResponse, error)
// Retrieve closest points based on vector similarity and given filtering conditions
Search(ctx context.Context, in *SearchPoints, opts ...grpc.CallOption) (*SearchResponse, error)
// Retrieve closest points based on vector similarity and given filtering conditions
SearchBatch(ctx context.Context, in *SearchBatchPoints, opts ...grpc.CallOption) (*SearchBatchResponse, error)
// Retrieve closest points based on vector similarity and given filtering conditions, grouped by a given field
SearchGroups(ctx context.Context, in *SearchPointGroups, opts ...grpc.CallOption) (*SearchGroupsResponse, error)
// Iterate over all or filtered points
Scroll(ctx context.Context, in *ScrollPoints, opts ...grpc.CallOption) (*ScrollResponse, error)
// Look for the points which are closer to stored positive examples and at the same time further to negative examples.
Recommend(ctx context.Context, in *RecommendPoints, opts ...grpc.CallOption) (*RecommendResponse, error)
// Look for the points which are closer to stored positive examples and at the same time further to negative examples.
RecommendBatch(ctx context.Context, in *RecommendBatchPoints, opts ...grpc.CallOption) (*RecommendBatchResponse, error)
// Look for the points which are closer to stored positive examples and at the same time further to negative examples, grouped by a given field
RecommendGroups(ctx context.Context, in *RecommendPointGroups, opts ...grpc.CallOption) (*RecommendGroupsResponse, error)
// Use context and a target to find the most similar points to the target, constrained by the context.
//
// When using only the context (without a target), a special search - called context search - is performed where
// pairs of points are used to generate a loss that guides the search towards the zone where
// most positive examples overlap. This means that the score minimizes the scenario of
// finding a point closer to a negative than to a positive part of a pair.
//
// Since the score of a context relates to loss, the maximum score a point can get is 0.0,
// and it becomes normal that many points can have a score of 0.0.
//
// When using target (with or without context), the score behaves a little different: The
// integer part of the score represents the rank with respect to the context, while the
// decimal part of the score relates to the distance to the target. The context part of the score for
// each pair is calculated +1 if the point is closer to a positive than to a negative part of a pair,
// and -1 otherwise.
Discover(ctx context.Context, in *DiscoverPoints, opts ...grpc.CallOption) (*DiscoverResponse, error)
// Batch request points based on { positive, negative } pairs of examples, and/or a target
DiscoverBatch(ctx context.Context, in *DiscoverBatchPoints, opts ...grpc.CallOption) (*DiscoverBatchResponse, error)
// Count points in collection with given filtering conditions
Count(ctx context.Context, in *CountPoints, opts ...grpc.CallOption) (*CountResponse, error)
// Perform multiple update operations in one request
UpdateBatch(ctx context.Context, in *UpdateBatchPoints, opts ...grpc.CallOption) (*UpdateBatchResponse, error)
// Universally query points. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
Query(ctx context.Context, in *QueryPoints, opts ...grpc.CallOption) (*QueryResponse, error)
// Universally query points in a batch fashion. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
QueryBatch(ctx context.Context, in *QueryBatchPoints, opts ...grpc.CallOption) (*QueryBatchResponse, error)
// Universally query points in a group fashion. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
QueryGroups(ctx context.Context, in *QueryPointGroups, opts ...grpc.CallOption) (*QueryGroupsResponse, error)
// Perform facet counts. For each value in the field, count the number of points that have this value and match the conditions.
Facet(ctx context.Context, in *FacetCounts, opts ...grpc.CallOption) (*FacetResponse, error)
// Compute distance matrix for sampled points with a pair based output format
SearchMatrixPairs(ctx context.Context, in *SearchMatrixPoints, opts ...grpc.CallOption) (*SearchMatrixPairsResponse, error)
// Compute distance matrix for sampled points with an offset based output format
SearchMatrixOffsets(ctx context.Context, in *SearchMatrixPoints, opts ...grpc.CallOption) (*SearchMatrixOffsetsResponse, error)
}
PointsClient is the client API for Points service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewPointsClient ¶
func NewPointsClient(cc grpc.ClientConnInterface) PointsClient
type PointsIdsList ¶
type PointsIdsList struct {
Ids []*PointId `protobuf:"bytes,1,rep,name=ids,proto3" json:"ids,omitempty"`
// contains filtered or unexported fields
}
func (*PointsIdsList) Descriptor
deprecated
func (*PointsIdsList) Descriptor() ([]byte, []int)
Deprecated: Use PointsIdsList.ProtoReflect.Descriptor instead.
func (*PointsIdsList) GetIds ¶
func (x *PointsIdsList) GetIds() []*PointId
func (*PointsIdsList) ProtoMessage ¶
func (*PointsIdsList) ProtoMessage()
func (*PointsIdsList) ProtoReflect ¶
func (x *PointsIdsList) ProtoReflect() protoreflect.Message
func (*PointsIdsList) Reset ¶
func (x *PointsIdsList) Reset()
func (*PointsIdsList) String ¶
func (x *PointsIdsList) String() string
type PointsOperationResponse ¶
type PointsOperationResponse struct {
Result *UpdateResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*PointsOperationResponse) Descriptor
deprecated
func (*PointsOperationResponse) Descriptor() ([]byte, []int)
Deprecated: Use PointsOperationResponse.ProtoReflect.Descriptor instead.
func (*PointsOperationResponse) GetResult ¶
func (x *PointsOperationResponse) GetResult() *UpdateResult
func (*PointsOperationResponse) GetTime ¶
func (x *PointsOperationResponse) GetTime() float64
func (*PointsOperationResponse) GetUsage ¶
func (x *PointsOperationResponse) GetUsage() *Usage
func (*PointsOperationResponse) ProtoMessage ¶
func (*PointsOperationResponse) ProtoMessage()
func (*PointsOperationResponse) ProtoReflect ¶
func (x *PointsOperationResponse) ProtoReflect() protoreflect.Message
func (*PointsOperationResponse) Reset ¶
func (x *PointsOperationResponse) Reset()
func (*PointsOperationResponse) String ¶
func (x *PointsOperationResponse) String() string
type PointsSelector ¶
type PointsSelector struct {
// Types that are assignable to PointsSelectorOneOf:
//
// *PointsSelector_Points
// *PointsSelector_Filter
PointsSelectorOneOf isPointsSelector_PointsSelectorOneOf `protobuf_oneof:"points_selector_one_of"`
// contains filtered or unexported fields
}
func NewPointsSelector ¶
func NewPointsSelector(ids ...*PointId) *PointsSelector
Creates a *PointsSelector instance for selecting points by IDs. This is an alias for NewPointsSelectorIDs().
func NewPointsSelectorFilter ¶
func NewPointsSelectorFilter(filter *Filter) *PointsSelector
Creates a *PointsSelector instance for selecting points by filter.
func NewPointsSelectorIDs ¶
func NewPointsSelectorIDs(ids []*PointId) *PointsSelector
Creates a *PointsSelector instance for selecting points by IDs.
func (*PointsSelector) Descriptor
deprecated
func (*PointsSelector) Descriptor() ([]byte, []int)
Deprecated: Use PointsSelector.ProtoReflect.Descriptor instead.
func (*PointsSelector) GetFilter ¶
func (x *PointsSelector) GetFilter() *Filter
func (*PointsSelector) GetPoints ¶
func (x *PointsSelector) GetPoints() *PointsIdsList
func (*PointsSelector) GetPointsSelectorOneOf ¶
func (m *PointsSelector) GetPointsSelectorOneOf() isPointsSelector_PointsSelectorOneOf
func (*PointsSelector) ProtoMessage ¶
func (*PointsSelector) ProtoMessage()
func (*PointsSelector) ProtoReflect ¶
func (x *PointsSelector) ProtoReflect() protoreflect.Message
func (*PointsSelector) Reset ¶
func (x *PointsSelector) Reset()
func (*PointsSelector) String ¶
func (x *PointsSelector) String() string
type PointsSelector_Filter ¶
type PointsSelector_Filter struct {
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3,oneof"`
}
type PointsSelector_Points ¶
type PointsSelector_Points struct {
Points *PointsIdsList `protobuf:"bytes,1,opt,name=points,proto3,oneof"`
}
type PointsServer ¶
type PointsServer interface {
// Perform insert + updates on points. If a point with a given ID already exists - it will be overwritten.
Upsert(context.Context, *UpsertPoints) (*PointsOperationResponse, error)
// Delete points
Delete(context.Context, *DeletePoints) (*PointsOperationResponse, error)
// Retrieve points
Get(context.Context, *GetPoints) (*GetResponse, error)
// Update named vectors for point
UpdateVectors(context.Context, *UpdatePointVectors) (*PointsOperationResponse, error)
// Delete named vectors for points
DeleteVectors(context.Context, *DeletePointVectors) (*PointsOperationResponse, error)
// Set payload for points
SetPayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
// Overwrite payload for points
OverwritePayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
// Delete specified key payload for points
DeletePayload(context.Context, *DeletePayloadPoints) (*PointsOperationResponse, error)
// Remove all payload for specified points
ClearPayload(context.Context, *ClearPayloadPoints) (*PointsOperationResponse, error)
// Create index for field in collection
CreateFieldIndex(context.Context, *CreateFieldIndexCollection) (*PointsOperationResponse, error)
// Delete field index for collection
DeleteFieldIndex(context.Context, *DeleteFieldIndexCollection) (*PointsOperationResponse, error)
// Retrieve closest points based on vector similarity and given filtering conditions
Search(context.Context, *SearchPoints) (*SearchResponse, error)
// Retrieve closest points based on vector similarity and given filtering conditions
SearchBatch(context.Context, *SearchBatchPoints) (*SearchBatchResponse, error)
// Retrieve closest points based on vector similarity and given filtering conditions, grouped by a given field
SearchGroups(context.Context, *SearchPointGroups) (*SearchGroupsResponse, error)
// Iterate over all or filtered points
Scroll(context.Context, *ScrollPoints) (*ScrollResponse, error)
// Look for the points which are closer to stored positive examples and at the same time further to negative examples.
Recommend(context.Context, *RecommendPoints) (*RecommendResponse, error)
// Look for the points which are closer to stored positive examples and at the same time further to negative examples.
RecommendBatch(context.Context, *RecommendBatchPoints) (*RecommendBatchResponse, error)
// Look for the points which are closer to stored positive examples and at the same time further to negative examples, grouped by a given field
RecommendGroups(context.Context, *RecommendPointGroups) (*RecommendGroupsResponse, error)
// Use context and a target to find the most similar points to the target, constrained by the context.
//
// When using only the context (without a target), a special search - called context search - is performed where
// pairs of points are used to generate a loss that guides the search towards the zone where
// most positive examples overlap. This means that the score minimizes the scenario of
// finding a point closer to a negative than to a positive part of a pair.
//
// Since the score of a context relates to loss, the maximum score a point can get is 0.0,
// and it becomes normal that many points can have a score of 0.0.
//
// When using target (with or without context), the score behaves a little different: The
// integer part of the score represents the rank with respect to the context, while the
// decimal part of the score relates to the distance to the target. The context part of the score for
// each pair is calculated +1 if the point is closer to a positive than to a negative part of a pair,
// and -1 otherwise.
Discover(context.Context, *DiscoverPoints) (*DiscoverResponse, error)
// Batch request points based on { positive, negative } pairs of examples, and/or a target
DiscoverBatch(context.Context, *DiscoverBatchPoints) (*DiscoverBatchResponse, error)
// Count points in collection with given filtering conditions
Count(context.Context, *CountPoints) (*CountResponse, error)
// Perform multiple update operations in one request
UpdateBatch(context.Context, *UpdateBatchPoints) (*UpdateBatchResponse, error)
// Universally query points. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
Query(context.Context, *QueryPoints) (*QueryResponse, error)
// Universally query points in a batch fashion. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
QueryBatch(context.Context, *QueryBatchPoints) (*QueryBatchResponse, error)
// Universally query points in a group fashion. This endpoint covers all capabilities of search, recommend, discover, filters. But also enables hybrid and multi-stage queries.
QueryGroups(context.Context, *QueryPointGroups) (*QueryGroupsResponse, error)
// Perform facet counts. For each value in the field, count the number of points that have this value and match the conditions.
Facet(context.Context, *FacetCounts) (*FacetResponse, error)
// Compute distance matrix for sampled points with a pair based output format
SearchMatrixPairs(context.Context, *SearchMatrixPoints) (*SearchMatrixPairsResponse, error)
// Compute distance matrix for sampled points with an offset based output format
SearchMatrixOffsets(context.Context, *SearchMatrixPoints) (*SearchMatrixOffsetsResponse, error)
// contains filtered or unexported methods
}
PointsServer is the server API for Points service. All implementations must embed UnimplementedPointsServer for forward compatibility.
type PointsUpdateOperation ¶
type PointsUpdateOperation struct {
// Types that are assignable to Operation:
//
// *PointsUpdateOperation_Upsert
// *PointsUpdateOperation_DeleteDeprecated
// *PointsUpdateOperation_SetPayload_
// *PointsUpdateOperation_OverwritePayload_
// *PointsUpdateOperation_DeletePayload_
// *PointsUpdateOperation_ClearPayloadDeprecated
// *PointsUpdateOperation_UpdateVectors_
// *PointsUpdateOperation_DeleteVectors_
// *PointsUpdateOperation_DeletePoints_
// *PointsUpdateOperation_ClearPayload_
Operation isPointsUpdateOperation_Operation `protobuf_oneof:"operation"`
// contains filtered or unexported fields
}
func NewPointsUpdateClearPayload ¶
func NewPointsUpdateClearPayload(clearPayload *PointsUpdateOperation_ClearPayload) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for clearing payload.
func NewPointsUpdateDeletePayload ¶
func NewPointsUpdateDeletePayload(deletePayload *PointsUpdateOperation_DeletePayload) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for deleting payload fields.
func NewPointsUpdateDeletePoints ¶
func NewPointsUpdateDeletePoints(deletePoints *PointsUpdateOperation_DeletePoints) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for deleting points.
func NewPointsUpdateDeleteVectors ¶
func NewPointsUpdateDeleteVectors(deleteVectors *PointsUpdateOperation_DeleteVectors) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for deleting vectors.
func NewPointsUpdateOverwritePayload ¶
func NewPointsUpdateOverwritePayload(overwritePayload *PointsUpdateOperation_OverwritePayload) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for overwriting payload.
func NewPointsUpdateSetPayload ¶
func NewPointsUpdateSetPayload(setPayload *PointsUpdateOperation_SetPayload) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for setting payload.
func NewPointsUpdateUpdateVectors ¶
func NewPointsUpdateUpdateVectors(updateVectors *PointsUpdateOperation_UpdateVectors) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for updating vectors.
func NewPointsUpdateUpsert ¶
func NewPointsUpdateUpsert(upsert *PointsUpdateOperation_PointStructList) *PointsUpdateOperation
Creates a *PointsUpdateOperation instance for upserting points.
func (*PointsUpdateOperation) Descriptor
deprecated
func (*PointsUpdateOperation) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation) GetClearPayload ¶
func (x *PointsUpdateOperation) GetClearPayload() *PointsUpdateOperation_ClearPayload
func (*PointsUpdateOperation) GetClearPayloadDeprecated
deprecated
func (x *PointsUpdateOperation) GetClearPayloadDeprecated() *PointsSelector
Deprecated: Marked as deprecated in points.proto.
func (*PointsUpdateOperation) GetDeleteDeprecated
deprecated
func (x *PointsUpdateOperation) GetDeleteDeprecated() *PointsSelector
Deprecated: Marked as deprecated in points.proto.
func (*PointsUpdateOperation) GetDeletePayload ¶
func (x *PointsUpdateOperation) GetDeletePayload() *PointsUpdateOperation_DeletePayload
func (*PointsUpdateOperation) GetDeletePoints ¶
func (x *PointsUpdateOperation) GetDeletePoints() *PointsUpdateOperation_DeletePoints
func (*PointsUpdateOperation) GetDeleteVectors ¶
func (x *PointsUpdateOperation) GetDeleteVectors() *PointsUpdateOperation_DeleteVectors
func (*PointsUpdateOperation) GetOperation ¶
func (m *PointsUpdateOperation) GetOperation() isPointsUpdateOperation_Operation
func (*PointsUpdateOperation) GetOverwritePayload ¶
func (x *PointsUpdateOperation) GetOverwritePayload() *PointsUpdateOperation_OverwritePayload
func (*PointsUpdateOperation) GetSetPayload ¶
func (x *PointsUpdateOperation) GetSetPayload() *PointsUpdateOperation_SetPayload
func (*PointsUpdateOperation) GetUpdateVectors ¶
func (x *PointsUpdateOperation) GetUpdateVectors() *PointsUpdateOperation_UpdateVectors
func (*PointsUpdateOperation) GetUpsert ¶
func (x *PointsUpdateOperation) GetUpsert() *PointsUpdateOperation_PointStructList
func (*PointsUpdateOperation) ProtoMessage ¶
func (*PointsUpdateOperation) ProtoMessage()
func (*PointsUpdateOperation) ProtoReflect ¶
func (x *PointsUpdateOperation) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation) Reset ¶
func (x *PointsUpdateOperation) Reset()
func (*PointsUpdateOperation) String ¶
func (x *PointsUpdateOperation) String() string
type PointsUpdateOperation_ClearPayload ¶
type PointsUpdateOperation_ClearPayload struct {
Points *PointsSelector `protobuf:"bytes,1,opt,name=points,proto3" json:"points,omitempty"` // Affected points
ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_ClearPayload) Descriptor
deprecated
func (*PointsUpdateOperation_ClearPayload) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_ClearPayload.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_ClearPayload) GetPoints ¶
func (x *PointsUpdateOperation_ClearPayload) GetPoints() *PointsSelector
func (*PointsUpdateOperation_ClearPayload) GetShardKeySelector ¶
func (x *PointsUpdateOperation_ClearPayload) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_ClearPayload) ProtoMessage ¶
func (*PointsUpdateOperation_ClearPayload) ProtoMessage()
func (*PointsUpdateOperation_ClearPayload) ProtoReflect ¶
func (x *PointsUpdateOperation_ClearPayload) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_ClearPayload) Reset ¶
func (x *PointsUpdateOperation_ClearPayload) Reset()
func (*PointsUpdateOperation_ClearPayload) String ¶
func (x *PointsUpdateOperation_ClearPayload) String() string
type PointsUpdateOperation_ClearPayloadDeprecated ¶
type PointsUpdateOperation_ClearPayloadDeprecated struct {
// Deprecated: Marked as deprecated in points.proto.
ClearPayloadDeprecated *PointsSelector `protobuf:"bytes,6,opt,name=clear_payload_deprecated,json=clearPayloadDeprecated,proto3,oneof"`
}
type PointsUpdateOperation_ClearPayload_ ¶
type PointsUpdateOperation_ClearPayload_ struct {
ClearPayload *PointsUpdateOperation_ClearPayload `protobuf:"bytes,10,opt,name=clear_payload,json=clearPayload,proto3,oneof"`
}
type PointsUpdateOperation_DeleteDeprecated ¶
type PointsUpdateOperation_DeleteDeprecated struct {
// Deprecated: Marked as deprecated in points.proto.
DeleteDeprecated *PointsSelector `protobuf:"bytes,2,opt,name=delete_deprecated,json=deleteDeprecated,proto3,oneof"`
}
type PointsUpdateOperation_DeletePayload ¶
type PointsUpdateOperation_DeletePayload struct {
Keys []string `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"`
PointsSelector *PointsSelector `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"` // Affected points
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_DeletePayload) Descriptor
deprecated
func (*PointsUpdateOperation_DeletePayload) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_DeletePayload.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_DeletePayload) GetKeys ¶
func (x *PointsUpdateOperation_DeletePayload) GetKeys() []string
func (*PointsUpdateOperation_DeletePayload) GetPointsSelector ¶
func (x *PointsUpdateOperation_DeletePayload) GetPointsSelector() *PointsSelector
func (*PointsUpdateOperation_DeletePayload) GetShardKeySelector ¶
func (x *PointsUpdateOperation_DeletePayload) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_DeletePayload) ProtoMessage ¶
func (*PointsUpdateOperation_DeletePayload) ProtoMessage()
func (*PointsUpdateOperation_DeletePayload) ProtoReflect ¶
func (x *PointsUpdateOperation_DeletePayload) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_DeletePayload) Reset ¶
func (x *PointsUpdateOperation_DeletePayload) Reset()
func (*PointsUpdateOperation_DeletePayload) String ¶
func (x *PointsUpdateOperation_DeletePayload) String() string
type PointsUpdateOperation_DeletePayload_ ¶
type PointsUpdateOperation_DeletePayload_ struct {
DeletePayload *PointsUpdateOperation_DeletePayload `protobuf:"bytes,5,opt,name=delete_payload,json=deletePayload,proto3,oneof"`
}
type PointsUpdateOperation_DeletePoints ¶
type PointsUpdateOperation_DeletePoints struct {
Points *PointsSelector `protobuf:"bytes,1,opt,name=points,proto3" json:"points,omitempty"` // Affected points
ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_DeletePoints) Descriptor
deprecated
func (*PointsUpdateOperation_DeletePoints) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_DeletePoints.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_DeletePoints) GetPoints ¶
func (x *PointsUpdateOperation_DeletePoints) GetPoints() *PointsSelector
func (*PointsUpdateOperation_DeletePoints) GetShardKeySelector ¶
func (x *PointsUpdateOperation_DeletePoints) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_DeletePoints) ProtoMessage ¶
func (*PointsUpdateOperation_DeletePoints) ProtoMessage()
func (*PointsUpdateOperation_DeletePoints) ProtoReflect ¶
func (x *PointsUpdateOperation_DeletePoints) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_DeletePoints) Reset ¶
func (x *PointsUpdateOperation_DeletePoints) Reset()
func (*PointsUpdateOperation_DeletePoints) String ¶
func (x *PointsUpdateOperation_DeletePoints) String() string
type PointsUpdateOperation_DeletePoints_ ¶
type PointsUpdateOperation_DeletePoints_ struct {
DeletePoints *PointsUpdateOperation_DeletePoints `protobuf:"bytes,9,opt,name=delete_points,json=deletePoints,proto3,oneof"`
}
type PointsUpdateOperation_DeleteVectors ¶
type PointsUpdateOperation_DeleteVectors struct {
PointsSelector *PointsSelector `protobuf:"bytes,1,opt,name=points_selector,json=pointsSelector,proto3" json:"points_selector,omitempty"` // Affected points
Vectors *VectorsSelector `protobuf:"bytes,2,opt,name=vectors,proto3" json:"vectors,omitempty"` // List of vector names to delete
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_DeleteVectors) Descriptor
deprecated
func (*PointsUpdateOperation_DeleteVectors) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_DeleteVectors.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_DeleteVectors) GetPointsSelector ¶
func (x *PointsUpdateOperation_DeleteVectors) GetPointsSelector() *PointsSelector
func (*PointsUpdateOperation_DeleteVectors) GetShardKeySelector ¶
func (x *PointsUpdateOperation_DeleteVectors) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_DeleteVectors) GetVectors ¶
func (x *PointsUpdateOperation_DeleteVectors) GetVectors() *VectorsSelector
func (*PointsUpdateOperation_DeleteVectors) ProtoMessage ¶
func (*PointsUpdateOperation_DeleteVectors) ProtoMessage()
func (*PointsUpdateOperation_DeleteVectors) ProtoReflect ¶
func (x *PointsUpdateOperation_DeleteVectors) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_DeleteVectors) Reset ¶
func (x *PointsUpdateOperation_DeleteVectors) Reset()
func (*PointsUpdateOperation_DeleteVectors) String ¶
func (x *PointsUpdateOperation_DeleteVectors) String() string
type PointsUpdateOperation_DeleteVectors_ ¶
type PointsUpdateOperation_DeleteVectors_ struct {
DeleteVectors *PointsUpdateOperation_DeleteVectors `protobuf:"bytes,8,opt,name=delete_vectors,json=deleteVectors,proto3,oneof"`
}
type PointsUpdateOperation_OverwritePayload ¶
type PointsUpdateOperation_OverwritePayload struct {
Payload map[string]*Value `` /* 155-byte string literal not displayed */
PointsSelector *PointsSelector `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"` // Affected points
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
Key *string `protobuf:"bytes,4,opt,name=key,proto3,oneof" json:"key,omitempty"` // Option for indicate property of payload
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_OverwritePayload) Descriptor
deprecated
func (*PointsUpdateOperation_OverwritePayload) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_OverwritePayload.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_OverwritePayload) GetKey ¶
func (x *PointsUpdateOperation_OverwritePayload) GetKey() string
func (*PointsUpdateOperation_OverwritePayload) GetPayload ¶
func (x *PointsUpdateOperation_OverwritePayload) GetPayload() map[string]*Value
func (*PointsUpdateOperation_OverwritePayload) GetPointsSelector ¶
func (x *PointsUpdateOperation_OverwritePayload) GetPointsSelector() *PointsSelector
func (*PointsUpdateOperation_OverwritePayload) GetShardKeySelector ¶
func (x *PointsUpdateOperation_OverwritePayload) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_OverwritePayload) ProtoMessage ¶
func (*PointsUpdateOperation_OverwritePayload) ProtoMessage()
func (*PointsUpdateOperation_OverwritePayload) ProtoReflect ¶
func (x *PointsUpdateOperation_OverwritePayload) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_OverwritePayload) Reset ¶
func (x *PointsUpdateOperation_OverwritePayload) Reset()
func (*PointsUpdateOperation_OverwritePayload) String ¶
func (x *PointsUpdateOperation_OverwritePayload) String() string
type PointsUpdateOperation_OverwritePayload_ ¶
type PointsUpdateOperation_OverwritePayload_ struct {
OverwritePayload *PointsUpdateOperation_OverwritePayload `protobuf:"bytes,4,opt,name=overwrite_payload,json=overwritePayload,proto3,oneof"`
}
type PointsUpdateOperation_PointStructList ¶
type PointsUpdateOperation_PointStructList struct {
Points []*PointStruct `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"`
ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
UpdateFilter *Filter `protobuf:"bytes,3,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"` // If specified, only points that match this filter will be updated, others will be inserted
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_PointStructList) Descriptor
deprecated
func (*PointsUpdateOperation_PointStructList) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_PointStructList.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_PointStructList) GetPoints ¶
func (x *PointsUpdateOperation_PointStructList) GetPoints() []*PointStruct
func (*PointsUpdateOperation_PointStructList) GetShardKeySelector ¶
func (x *PointsUpdateOperation_PointStructList) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_PointStructList) GetUpdateFilter ¶
func (x *PointsUpdateOperation_PointStructList) GetUpdateFilter() *Filter
func (*PointsUpdateOperation_PointStructList) ProtoMessage ¶
func (*PointsUpdateOperation_PointStructList) ProtoMessage()
func (*PointsUpdateOperation_PointStructList) ProtoReflect ¶
func (x *PointsUpdateOperation_PointStructList) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_PointStructList) Reset ¶
func (x *PointsUpdateOperation_PointStructList) Reset()
func (*PointsUpdateOperation_PointStructList) String ¶
func (x *PointsUpdateOperation_PointStructList) String() string
type PointsUpdateOperation_SetPayload ¶
type PointsUpdateOperation_SetPayload struct {
Payload map[string]*Value `` /* 155-byte string literal not displayed */
PointsSelector *PointsSelector `protobuf:"bytes,2,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"` // Affected points
ShardKeySelector *ShardKeySelector `protobuf:"bytes,3,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
Key *string `protobuf:"bytes,4,opt,name=key,proto3,oneof" json:"key,omitempty"` // Option for indicate property of payload
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_SetPayload) Descriptor
deprecated
func (*PointsUpdateOperation_SetPayload) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_SetPayload.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_SetPayload) GetKey ¶
func (x *PointsUpdateOperation_SetPayload) GetKey() string
func (*PointsUpdateOperation_SetPayload) GetPayload ¶
func (x *PointsUpdateOperation_SetPayload) GetPayload() map[string]*Value
func (*PointsUpdateOperation_SetPayload) GetPointsSelector ¶
func (x *PointsUpdateOperation_SetPayload) GetPointsSelector() *PointsSelector
func (*PointsUpdateOperation_SetPayload) GetShardKeySelector ¶
func (x *PointsUpdateOperation_SetPayload) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_SetPayload) ProtoMessage ¶
func (*PointsUpdateOperation_SetPayload) ProtoMessage()
func (*PointsUpdateOperation_SetPayload) ProtoReflect ¶
func (x *PointsUpdateOperation_SetPayload) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_SetPayload) Reset ¶
func (x *PointsUpdateOperation_SetPayload) Reset()
func (*PointsUpdateOperation_SetPayload) String ¶
func (x *PointsUpdateOperation_SetPayload) String() string
type PointsUpdateOperation_SetPayload_ ¶
type PointsUpdateOperation_SetPayload_ struct {
SetPayload *PointsUpdateOperation_SetPayload `protobuf:"bytes,3,opt,name=set_payload,json=setPayload,proto3,oneof"`
}
type PointsUpdateOperation_UpdateVectors ¶
type PointsUpdateOperation_UpdateVectors struct {
Points []*PointVectors `protobuf:"bytes,1,rep,name=points,proto3" json:"points,omitempty"` // List of points and vectors to update
ShardKeySelector *ShardKeySelector `protobuf:"bytes,2,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
UpdateFilter *Filter `protobuf:"bytes,3,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"` // If specified, only points that match this filter will be updated
// contains filtered or unexported fields
}
func (*PointsUpdateOperation_UpdateVectors) Descriptor
deprecated
func (*PointsUpdateOperation_UpdateVectors) Descriptor() ([]byte, []int)
Deprecated: Use PointsUpdateOperation_UpdateVectors.ProtoReflect.Descriptor instead.
func (*PointsUpdateOperation_UpdateVectors) GetPoints ¶
func (x *PointsUpdateOperation_UpdateVectors) GetPoints() []*PointVectors
func (*PointsUpdateOperation_UpdateVectors) GetShardKeySelector ¶
func (x *PointsUpdateOperation_UpdateVectors) GetShardKeySelector() *ShardKeySelector
func (*PointsUpdateOperation_UpdateVectors) GetUpdateFilter ¶
func (x *PointsUpdateOperation_UpdateVectors) GetUpdateFilter() *Filter
func (*PointsUpdateOperation_UpdateVectors) ProtoMessage ¶
func (*PointsUpdateOperation_UpdateVectors) ProtoMessage()
func (*PointsUpdateOperation_UpdateVectors) ProtoReflect ¶
func (x *PointsUpdateOperation_UpdateVectors) ProtoReflect() protoreflect.Message
func (*PointsUpdateOperation_UpdateVectors) Reset ¶
func (x *PointsUpdateOperation_UpdateVectors) Reset()
func (*PointsUpdateOperation_UpdateVectors) String ¶
func (x *PointsUpdateOperation_UpdateVectors) String() string
type PointsUpdateOperation_UpdateVectors_ ¶
type PointsUpdateOperation_UpdateVectors_ struct {
UpdateVectors *PointsUpdateOperation_UpdateVectors `protobuf:"bytes,7,opt,name=update_vectors,json=updateVectors,proto3,oneof"`
}
type PointsUpdateOperation_Upsert ¶
type PointsUpdateOperation_Upsert struct {
Upsert *PointsUpdateOperation_PointStructList `protobuf:"bytes,1,opt,name=upsert,proto3,oneof"`
}
type PowExpression ¶
type PowExpression struct {
Base *Expression `protobuf:"bytes,1,opt,name=base,proto3" json:"base,omitempty"`
Exponent *Expression `protobuf:"bytes,2,opt,name=exponent,proto3" json:"exponent,omitempty"`
// contains filtered or unexported fields
}
func (*PowExpression) Descriptor
deprecated
func (*PowExpression) Descriptor() ([]byte, []int)
Deprecated: Use PowExpression.ProtoReflect.Descriptor instead.
func (*PowExpression) GetBase ¶
func (x *PowExpression) GetBase() *Expression
func (*PowExpression) GetExponent ¶
func (x *PowExpression) GetExponent() *Expression
func (*PowExpression) ProtoMessage ¶
func (*PowExpression) ProtoMessage()
func (*PowExpression) ProtoReflect ¶
func (x *PowExpression) ProtoReflect() protoreflect.Message
func (*PowExpression) Reset ¶
func (x *PowExpression) Reset()
func (*PowExpression) String ¶
func (x *PowExpression) String() string
type PrefetchQuery ¶
type PrefetchQuery struct {
Prefetch []*PrefetchQuery `protobuf:"bytes,1,rep,name=prefetch,proto3" json:"prefetch,omitempty"` // Sub-requests to perform first. If present, the query will be performed on the results of the prefetches.
Query *Query `protobuf:"bytes,2,opt,name=query,proto3,oneof" json:"query,omitempty"` // Query to perform. If missing, returns points ordered by their IDs.
Using *string `protobuf:"bytes,3,opt,name=using,proto3,oneof" json:"using,omitempty"` // Define which vector to use for querying. If missing, the default vector is is used.
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions.
Params *SearchParams `protobuf:"bytes,5,opt,name=params,proto3,oneof" json:"params,omitempty"` // Search params for when there is no prefetch.
ScoreThreshold *float32 `protobuf:"fixed32,6,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"` // Return points with scores better than this threshold.
Limit *uint64 `protobuf:"varint,7,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // Max number of points. Default is 10
LookupFrom *LookupLocation `protobuf:"bytes,8,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"` // The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector
// contains filtered or unexported fields
}
func (*PrefetchQuery) Descriptor
deprecated
func (*PrefetchQuery) Descriptor() ([]byte, []int)
Deprecated: Use PrefetchQuery.ProtoReflect.Descriptor instead.
func (*PrefetchQuery) GetFilter ¶
func (x *PrefetchQuery) GetFilter() *Filter
func (*PrefetchQuery) GetLimit ¶
func (x *PrefetchQuery) GetLimit() uint64
func (*PrefetchQuery) GetLookupFrom ¶
func (x *PrefetchQuery) GetLookupFrom() *LookupLocation
func (*PrefetchQuery) GetParams ¶
func (x *PrefetchQuery) GetParams() *SearchParams
func (*PrefetchQuery) GetPrefetch ¶
func (x *PrefetchQuery) GetPrefetch() []*PrefetchQuery
func (*PrefetchQuery) GetQuery ¶
func (x *PrefetchQuery) GetQuery() *Query
func (*PrefetchQuery) GetScoreThreshold ¶
func (x *PrefetchQuery) GetScoreThreshold() float32
func (*PrefetchQuery) GetUsing ¶
func (x *PrefetchQuery) GetUsing() string
func (*PrefetchQuery) ProtoMessage ¶
func (*PrefetchQuery) ProtoMessage()
func (*PrefetchQuery) ProtoReflect ¶
func (x *PrefetchQuery) ProtoReflect() protoreflect.Message
func (*PrefetchQuery) Reset ¶
func (x *PrefetchQuery) Reset()
func (*PrefetchQuery) String ¶
func (x *PrefetchQuery) String() string
type ProductQuantization ¶
type ProductQuantization struct {
Compression CompressionRatio `protobuf:"varint,1,opt,name=compression,proto3,enum=qdrant.CompressionRatio" json:"compression,omitempty"` // Compression ratio
AlwaysRam *bool `protobuf:"varint,2,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"` // If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
// contains filtered or unexported fields
}
func (*ProductQuantization) Descriptor
deprecated
func (*ProductQuantization) Descriptor() ([]byte, []int)
Deprecated: Use ProductQuantization.ProtoReflect.Descriptor instead.
func (*ProductQuantization) GetAlwaysRam ¶
func (x *ProductQuantization) GetAlwaysRam() bool
func (*ProductQuantization) GetCompression ¶
func (x *ProductQuantization) GetCompression() CompressionRatio
func (*ProductQuantization) ProtoMessage ¶
func (*ProductQuantization) ProtoMessage()
func (*ProductQuantization) ProtoReflect ¶
func (x *ProductQuantization) ProtoReflect() protoreflect.Message
func (*ProductQuantization) Reset ¶
func (x *ProductQuantization) Reset()
func (*ProductQuantization) String ¶
func (x *ProductQuantization) String() string
type QdrantClient ¶
type QdrantClient interface {
HealthCheck(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckReply, error)
}
QdrantClient is the client API for Qdrant service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewQdrantClient ¶
func NewQdrantClient(cc grpc.ClientConnInterface) QdrantClient
type QdrantError ¶
type QdrantError struct {
// contains filtered or unexported fields
}
type QdrantResourceExhaustedError ¶
func (*QdrantResourceExhaustedError) Error ¶
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 ¶
type QuantizationConfig struct {
// Types that are assignable to Quantization:
//
// *QuantizationConfig_Scalar
// *QuantizationConfig_Product
// *QuantizationConfig_Binary
Quantization isQuantizationConfig_Quantization `protobuf_oneof:"quantization"`
// contains filtered or unexported fields
}
func NewQuantizationBinary ¶
func NewQuantizationBinary(binary *BinaryQuantization) *QuantizationConfig
Creates a *QuantizationConfig instance from *BinaryQuantization.
func NewQuantizationProduct ¶
func NewQuantizationProduct(product *ProductQuantization) *QuantizationConfig
Creates a *QuantizationConfig instance from *ProductQuantization.
func NewQuantizationScalar ¶
func NewQuantizationScalar(scalar *ScalarQuantization) *QuantizationConfig
Creates a *QuantizationConfig instance from *ScalarQuantization.
func (*QuantizationConfig) Descriptor
deprecated
func (*QuantizationConfig) Descriptor() ([]byte, []int)
Deprecated: Use QuantizationConfig.ProtoReflect.Descriptor instead.
func (*QuantizationConfig) GetBinary ¶
func (x *QuantizationConfig) GetBinary() *BinaryQuantization
func (*QuantizationConfig) GetProduct ¶
func (x *QuantizationConfig) GetProduct() *ProductQuantization
func (*QuantizationConfig) GetQuantization ¶
func (m *QuantizationConfig) GetQuantization() isQuantizationConfig_Quantization
func (*QuantizationConfig) GetScalar ¶
func (x *QuantizationConfig) GetScalar() *ScalarQuantization
func (*QuantizationConfig) ProtoMessage ¶
func (*QuantizationConfig) ProtoMessage()
func (*QuantizationConfig) ProtoReflect ¶
func (x *QuantizationConfig) ProtoReflect() protoreflect.Message
func (*QuantizationConfig) Reset ¶
func (x *QuantizationConfig) Reset()
func (*QuantizationConfig) String ¶
func (x *QuantizationConfig) String() string
type QuantizationConfigDiff ¶
type QuantizationConfigDiff struct {
// Types that are assignable to Quantization:
//
// *QuantizationConfigDiff_Scalar
// *QuantizationConfigDiff_Product
// *QuantizationConfigDiff_Disabled
// *QuantizationConfigDiff_Binary
Quantization isQuantizationConfigDiff_Quantization `protobuf_oneof:"quantization"`
// contains filtered or unexported fields
}
func NewQuantizationDiffBinary ¶
func NewQuantizationDiffBinary(binary *BinaryQuantization) *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance from *BinaryQuantization.
func NewQuantizationDiffDisabled ¶
func NewQuantizationDiffDisabled() *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance with quantization disabled.
func NewQuantizationDiffProduct ¶
func NewQuantizationDiffProduct(product *ProductQuantization) *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance from *ProductQuantization.
func NewQuantizationDiffScalar ¶
func NewQuantizationDiffScalar(scalar *ScalarQuantization) *QuantizationConfigDiff
Creates a *QuantizationConfigDiff instance from *ScalarQuantization.
func (*QuantizationConfigDiff) Descriptor
deprecated
func (*QuantizationConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use QuantizationConfigDiff.ProtoReflect.Descriptor instead.
func (*QuantizationConfigDiff) GetBinary ¶
func (x *QuantizationConfigDiff) GetBinary() *BinaryQuantization
func (*QuantizationConfigDiff) GetDisabled ¶
func (x *QuantizationConfigDiff) GetDisabled() *Disabled
func (*QuantizationConfigDiff) GetProduct ¶
func (x *QuantizationConfigDiff) GetProduct() *ProductQuantization
func (*QuantizationConfigDiff) GetQuantization ¶
func (m *QuantizationConfigDiff) GetQuantization() isQuantizationConfigDiff_Quantization
func (*QuantizationConfigDiff) GetScalar ¶
func (x *QuantizationConfigDiff) GetScalar() *ScalarQuantization
func (*QuantizationConfigDiff) ProtoMessage ¶
func (*QuantizationConfigDiff) ProtoMessage()
func (*QuantizationConfigDiff) ProtoReflect ¶
func (x *QuantizationConfigDiff) ProtoReflect() protoreflect.Message
func (*QuantizationConfigDiff) Reset ¶
func (x *QuantizationConfigDiff) Reset()
func (*QuantizationConfigDiff) String ¶
func (x *QuantizationConfigDiff) String() string
type QuantizationConfigDiff_Binary ¶
type QuantizationConfigDiff_Binary struct {
Binary *BinaryQuantization `protobuf:"bytes,4,opt,name=binary,proto3,oneof"`
}
type QuantizationConfigDiff_Disabled ¶
type QuantizationConfigDiff_Disabled struct {
Disabled *Disabled `protobuf:"bytes,3,opt,name=disabled,proto3,oneof"`
}
type QuantizationConfigDiff_Product ¶
type QuantizationConfigDiff_Product struct {
Product *ProductQuantization `protobuf:"bytes,2,opt,name=product,proto3,oneof"`
}
type QuantizationConfigDiff_Scalar ¶
type QuantizationConfigDiff_Scalar struct {
Scalar *ScalarQuantization `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}
type QuantizationConfig_Binary ¶
type QuantizationConfig_Binary struct {
Binary *BinaryQuantization `protobuf:"bytes,3,opt,name=binary,proto3,oneof"`
}
type QuantizationConfig_Product ¶
type QuantizationConfig_Product struct {
Product *ProductQuantization `protobuf:"bytes,2,opt,name=product,proto3,oneof"`
}
type QuantizationConfig_Scalar ¶
type QuantizationConfig_Scalar struct {
Scalar *ScalarQuantization `protobuf:"bytes,1,opt,name=scalar,proto3,oneof"`
}
type QuantizationSearchParams ¶
type QuantizationSearchParams struct {
// If set to true, search will ignore quantized vector data
Ignore *bool `protobuf:"varint,1,opt,name=ignore,proto3,oneof" json:"ignore,omitempty"`
// If true, use original vectors to re-score top-k results. If ignored, qdrant decides automatically does rescore enabled or not.
Rescore *bool `protobuf:"varint,2,opt,name=rescore,proto3,oneof" json:"rescore,omitempty"`
// Oversampling factor for quantization.
//
// Defines how many extra vectors should be pre-selected using quantized index,
// and then re-scored using original vectors.
//
// For example, if `oversampling` is 2.4 and `limit` is 100, then 240 vectors will be pre-selected using quantized index,
// and then top-100 will be returned after re-scoring.
Oversampling *float64 `protobuf:"fixed64,3,opt,name=oversampling,proto3,oneof" json:"oversampling,omitempty"`
// contains filtered or unexported fields
}
func (*QuantizationSearchParams) Descriptor
deprecated
func (*QuantizationSearchParams) Descriptor() ([]byte, []int)
Deprecated: Use QuantizationSearchParams.ProtoReflect.Descriptor instead.
func (*QuantizationSearchParams) GetIgnore ¶
func (x *QuantizationSearchParams) GetIgnore() bool
func (*QuantizationSearchParams) GetOversampling ¶
func (x *QuantizationSearchParams) GetOversampling() float64
func (*QuantizationSearchParams) GetRescore ¶
func (x *QuantizationSearchParams) GetRescore() bool
func (*QuantizationSearchParams) ProtoMessage ¶
func (*QuantizationSearchParams) ProtoMessage()
func (*QuantizationSearchParams) ProtoReflect ¶
func (x *QuantizationSearchParams) ProtoReflect() protoreflect.Message
func (*QuantizationSearchParams) Reset ¶
func (x *QuantizationSearchParams) Reset()
func (*QuantizationSearchParams) String ¶
func (x *QuantizationSearchParams) String() string
type QuantizationType ¶
type QuantizationType int32
const ( QuantizationType_UnknownQuantization QuantizationType = 0 QuantizationType_Int8 QuantizationType = 1 )
func (QuantizationType) Descriptor ¶
func (QuantizationType) Descriptor() protoreflect.EnumDescriptor
func (QuantizationType) Enum ¶
func (x QuantizationType) Enum() *QuantizationType
func (QuantizationType) EnumDescriptor
deprecated
func (QuantizationType) EnumDescriptor() ([]byte, []int)
Deprecated: Use QuantizationType.Descriptor instead.
func (QuantizationType) Number ¶
func (x QuantizationType) Number() protoreflect.EnumNumber
func (QuantizationType) String ¶
func (x QuantizationType) String() string
func (QuantizationType) Type ¶
func (QuantizationType) Type() protoreflect.EnumType
type Query ¶
type Query struct {
// Types that are assignable to Variant:
//
// *Query_Nearest
// *Query_Recommend
// *Query_Discover
// *Query_Context
// *Query_OrderBy
// *Query_Fusion
// *Query_Sample
// *Query_Formula
// *Query_NearestWithMmr
// *Query_Rrf
Variant isQuery_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
func NewQuery ¶
Creates a *Query instance for a nearest query from dense vectors. This is an alias for NewQueryDense().
func NewQueryContext ¶
func NewQueryContext(context *ContextInput) *Query
Creates a *Query instance for a context query from *ContextInput.
func NewQueryDense ¶
Creates a *Query instance for a nearest query from dense vectors.
func NewQueryDiscover ¶
func NewQueryDiscover(discover *DiscoverInput) *Query
Creates a *Query instance for a discover query from *DiscoverInput.
func NewQueryDocument ¶
Creates a *Query instance for a nearest query from a *Document input.
func NewQueryFormula ¶
Creates a *Query instance for score boosting via an arbitrary formula.
func NewQueryFusion ¶
Creeates a *Query instance for combining prefetch results with Fusion.
func NewQueryID ¶
Creates a *Query instance for a nearest query from *PointId.
func NewQueryMMR ¶
func NewQueryMMR(nearest *VectorInput, mmr *Mmr) *Query
Creates a *Query instance for re-ranking points with MMR (Maximal Marginal Relevance).
func NewQueryMulti ¶
Creates a *Query instance for a nearest query from multi vectors.
func NewQueryNearest ¶
func NewQueryNearest(nearest *VectorInput) *Query
Creates a *Query instance for a nearest query from *VectorInput.
func NewQueryOrderBy ¶
Creates a *Query instance for ordering points with *OrderBy.
func NewQueryRRF ¶
Creates a *Query instance for combining prefetch results with RRF (Reciprocal Rank Fusion).
func NewQueryRecommend ¶
func NewQueryRecommend(recommend *RecommendInput) *Query
Creates a *Query instance for recommend query from *RecommendInput.
func NewQuerySample ¶
Creates a *Query instance for sampling points.
func NewQuerySparse ¶
Creates a *Query instance for a nearest query from sparse vectors.
func (*Query) Descriptor
deprecated
func (*Query) GetContext ¶
func (x *Query) GetContext() *ContextInput
func (*Query) GetDiscover ¶
func (x *Query) GetDiscover() *DiscoverInput
func (*Query) GetFormula ¶
func (*Query) GetNearest ¶
func (x *Query) GetNearest() *VectorInput
func (*Query) GetNearestWithMmr ¶
func (x *Query) GetNearestWithMmr() *NearestInputWithMmr
func (*Query) GetOrderBy ¶
func (*Query) GetRecommend ¶
func (x *Query) GetRecommend() *RecommendInput
func (*Query) GetVariant ¶
func (m *Query) GetVariant() isQuery_Variant
func (*Query) ProtoMessage ¶
func (*Query) ProtoMessage()
func (*Query) ProtoReflect ¶
func (x *Query) ProtoReflect() protoreflect.Message
type QueryBatchPoints ¶
type QueryBatchPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
QueryPoints []*QueryPoints `protobuf:"bytes,2,rep,name=query_points,json=queryPoints,proto3" json:"query_points,omitempty"`
ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
// contains filtered or unexported fields
}
func (*QueryBatchPoints) Descriptor
deprecated
func (*QueryBatchPoints) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchPoints.ProtoReflect.Descriptor instead.
func (*QueryBatchPoints) GetCollectionName ¶
func (x *QueryBatchPoints) GetCollectionName() string
func (*QueryBatchPoints) GetQueryPoints ¶
func (x *QueryBatchPoints) GetQueryPoints() []*QueryPoints
func (*QueryBatchPoints) GetReadConsistency ¶
func (x *QueryBatchPoints) GetReadConsistency() *ReadConsistency
func (*QueryBatchPoints) GetTimeout ¶
func (x *QueryBatchPoints) GetTimeout() uint64
func (*QueryBatchPoints) ProtoMessage ¶
func (*QueryBatchPoints) ProtoMessage()
func (*QueryBatchPoints) ProtoReflect ¶
func (x *QueryBatchPoints) ProtoReflect() protoreflect.Message
func (*QueryBatchPoints) Reset ¶
func (x *QueryBatchPoints) Reset()
func (*QueryBatchPoints) String ¶
func (x *QueryBatchPoints) String() string
type QueryBatchResponse ¶
type QueryBatchResponse struct {
Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*QueryBatchResponse) Descriptor
deprecated
func (*QueryBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryBatchResponse.ProtoReflect.Descriptor instead.
func (*QueryBatchResponse) GetResult ¶
func (x *QueryBatchResponse) GetResult() []*BatchResult
func (*QueryBatchResponse) GetTime ¶
func (x *QueryBatchResponse) GetTime() float64
func (*QueryBatchResponse) GetUsage ¶
func (x *QueryBatchResponse) GetUsage() *Usage
func (*QueryBatchResponse) ProtoMessage ¶
func (*QueryBatchResponse) ProtoMessage()
func (*QueryBatchResponse) ProtoReflect ¶
func (x *QueryBatchResponse) ProtoReflect() protoreflect.Message
func (*QueryBatchResponse) Reset ¶
func (x *QueryBatchResponse) Reset()
func (*QueryBatchResponse) String ¶
func (x *QueryBatchResponse) String() string
type QueryGroupsResponse ¶
type QueryGroupsResponse struct {
Result *GroupsResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*QueryGroupsResponse) Descriptor
deprecated
func (*QueryGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryGroupsResponse.ProtoReflect.Descriptor instead.
func (*QueryGroupsResponse) GetResult ¶
func (x *QueryGroupsResponse) GetResult() *GroupsResult
func (*QueryGroupsResponse) GetTime ¶
func (x *QueryGroupsResponse) GetTime() float64
func (*QueryGroupsResponse) GetUsage ¶
func (x *QueryGroupsResponse) GetUsage() *Usage
func (*QueryGroupsResponse) ProtoMessage ¶
func (*QueryGroupsResponse) ProtoMessage()
func (*QueryGroupsResponse) ProtoReflect ¶
func (x *QueryGroupsResponse) ProtoReflect() protoreflect.Message
func (*QueryGroupsResponse) Reset ¶
func (x *QueryGroupsResponse) Reset()
func (*QueryGroupsResponse) String ¶
func (x *QueryGroupsResponse) String() string
type QueryPointGroups ¶
type QueryPointGroups struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Prefetch []*PrefetchQuery `protobuf:"bytes,2,rep,name=prefetch,proto3" json:"prefetch,omitempty"` // Sub-requests to perform first. If present, the query will be performed on the results of the prefetches.
Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof" json:"query,omitempty"` // Query to perform. If missing, returns points ordered by their IDs.
Using *string `protobuf:"bytes,4,opt,name=using,proto3,oneof" json:"using,omitempty"` // Define which vector to use for querying. If missing, the default vector is used.
Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions.
Params *SearchParams `protobuf:"bytes,6,opt,name=params,proto3,oneof" json:"params,omitempty"` // Search params for when there is no prefetch.
ScoreThreshold *float32 `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"` // Return points with scores better than this threshold.
WithPayload *WithPayloadSelector `protobuf:"bytes,8,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"` // Options for specifying which payload to include or not
WithVectors *WithVectorsSelector `protobuf:"bytes,9,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into response
LookupFrom *LookupLocation `protobuf:"bytes,10,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"` // The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector
Limit *uint64 `protobuf:"varint,11,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // Max number of points. Default is 3.
GroupSize *uint64 `protobuf:"varint,12,opt,name=group_size,json=groupSize,proto3,oneof" json:"group_size,omitempty"` // Maximum amount of points to return per group. Default to 10.
GroupBy string `protobuf:"bytes,13,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` // Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups.
ReadConsistency *ReadConsistency `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
WithLookup *WithLookup `protobuf:"bytes,15,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"` // Options for specifying how to use the group id to lookup points in another collection
Timeout *uint64 `protobuf:"varint,16,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
ShardKeySelector *ShardKeySelector `protobuf:"bytes,17,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
// contains filtered or unexported fields
}
func (*QueryPointGroups) Descriptor
deprecated
func (*QueryPointGroups) Descriptor() ([]byte, []int)
Deprecated: Use QueryPointGroups.ProtoReflect.Descriptor instead.
func (*QueryPointGroups) GetCollectionName ¶
func (x *QueryPointGroups) GetCollectionName() string
func (*QueryPointGroups) GetFilter ¶
func (x *QueryPointGroups) GetFilter() *Filter
func (*QueryPointGroups) GetGroupBy ¶
func (x *QueryPointGroups) GetGroupBy() string
func (*QueryPointGroups) GetGroupSize ¶
func (x *QueryPointGroups) GetGroupSize() uint64
func (*QueryPointGroups) GetLimit ¶
func (x *QueryPointGroups) GetLimit() uint64
func (*QueryPointGroups) GetLookupFrom ¶
func (x *QueryPointGroups) GetLookupFrom() *LookupLocation
func (*QueryPointGroups) GetParams ¶
func (x *QueryPointGroups) GetParams() *SearchParams
func (*QueryPointGroups) GetPrefetch ¶
func (x *QueryPointGroups) GetPrefetch() []*PrefetchQuery
func (*QueryPointGroups) GetQuery ¶
func (x *QueryPointGroups) GetQuery() *Query
func (*QueryPointGroups) GetReadConsistency ¶
func (x *QueryPointGroups) GetReadConsistency() *ReadConsistency
func (*QueryPointGroups) GetScoreThreshold ¶
func (x *QueryPointGroups) GetScoreThreshold() float32
func (*QueryPointGroups) GetShardKeySelector ¶
func (x *QueryPointGroups) GetShardKeySelector() *ShardKeySelector
func (*QueryPointGroups) GetTimeout ¶
func (x *QueryPointGroups) GetTimeout() uint64
func (*QueryPointGroups) GetUsing ¶
func (x *QueryPointGroups) GetUsing() string
func (*QueryPointGroups) GetWithLookup ¶
func (x *QueryPointGroups) GetWithLookup() *WithLookup
func (*QueryPointGroups) GetWithPayload ¶
func (x *QueryPointGroups) GetWithPayload() *WithPayloadSelector
func (*QueryPointGroups) GetWithVectors ¶
func (x *QueryPointGroups) GetWithVectors() *WithVectorsSelector
func (*QueryPointGroups) ProtoMessage ¶
func (*QueryPointGroups) ProtoMessage()
func (*QueryPointGroups) ProtoReflect ¶
func (x *QueryPointGroups) ProtoReflect() protoreflect.Message
func (*QueryPointGroups) Reset ¶
func (x *QueryPointGroups) Reset()
func (*QueryPointGroups) String ¶
func (x *QueryPointGroups) String() string
type QueryPoints ¶
type QueryPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Prefetch []*PrefetchQuery `protobuf:"bytes,2,rep,name=prefetch,proto3" json:"prefetch,omitempty"` // Sub-requests to perform first. If present, the query will be performed on the results of the prefetches.
Query *Query `protobuf:"bytes,3,opt,name=query,proto3,oneof" json:"query,omitempty"` // Query to perform. If missing, returns points ordered by their IDs.
Using *string `protobuf:"bytes,4,opt,name=using,proto3,oneof" json:"using,omitempty"` // Define which vector to use for querying. If missing, the default vector is used.
Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions.
Params *SearchParams `protobuf:"bytes,6,opt,name=params,proto3,oneof" json:"params,omitempty"` // Search params for when there is no prefetch.
ScoreThreshold *float32 `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"` // Return points with scores better than this threshold.
Limit *uint64 `protobuf:"varint,8,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // Max number of points. Default is 10.
Offset *uint64 `protobuf:"varint,9,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // Offset of the result. Skip this many points. Default is 0.
WithVectors *WithVectorsSelector `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into the response.
WithPayload *WithPayloadSelector `protobuf:"bytes,11,opt,name=with_payload,json=withPayload,proto3,oneof" json:"with_payload,omitempty"` // Options for specifying which payload to include or not.
ReadConsistency *ReadConsistency `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees.
ShardKeySelector *ShardKeySelector `protobuf:"bytes,13,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards.
LookupFrom *LookupLocation `protobuf:"bytes,14,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"` // The location to use for IDs lookup, if not specified - use the current collection and the 'using' vector
Timeout *uint64 `protobuf:"varint,15,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
// contains filtered or unexported fields
}
func (*QueryPoints) Descriptor
deprecated
func (*QueryPoints) Descriptor() ([]byte, []int)
Deprecated: Use QueryPoints.ProtoReflect.Descriptor instead.
func (*QueryPoints) GetCollectionName ¶
func (x *QueryPoints) GetCollectionName() string
func (*QueryPoints) GetFilter ¶
func (x *QueryPoints) GetFilter() *Filter
func (*QueryPoints) GetLimit ¶
func (x *QueryPoints) GetLimit() uint64
func (*QueryPoints) GetLookupFrom ¶
func (x *QueryPoints) GetLookupFrom() *LookupLocation
func (*QueryPoints) GetOffset ¶
func (x *QueryPoints) GetOffset() uint64
func (*QueryPoints) GetParams ¶
func (x *QueryPoints) GetParams() *SearchParams
func (*QueryPoints) GetPrefetch ¶
func (x *QueryPoints) GetPrefetch() []*PrefetchQuery
func (*QueryPoints) GetQuery ¶
func (x *QueryPoints) GetQuery() *Query
func (*QueryPoints) GetReadConsistency ¶
func (x *QueryPoints) GetReadConsistency() *ReadConsistency
func (*QueryPoints) GetScoreThreshold ¶
func (x *QueryPoints) GetScoreThreshold() float32
func (*QueryPoints) GetShardKeySelector ¶
func (x *QueryPoints) GetShardKeySelector() *ShardKeySelector
func (*QueryPoints) GetTimeout ¶
func (x *QueryPoints) GetTimeout() uint64
func (*QueryPoints) GetUsing ¶
func (x *QueryPoints) GetUsing() string
func (*QueryPoints) GetWithPayload ¶
func (x *QueryPoints) GetWithPayload() *WithPayloadSelector
func (*QueryPoints) GetWithVectors ¶
func (x *QueryPoints) GetWithVectors() *WithVectorsSelector
func (*QueryPoints) ProtoMessage ¶
func (*QueryPoints) ProtoMessage()
func (*QueryPoints) ProtoReflect ¶
func (x *QueryPoints) ProtoReflect() protoreflect.Message
func (*QueryPoints) Reset ¶
func (x *QueryPoints) Reset()
func (*QueryPoints) String ¶
func (x *QueryPoints) String() string
type QueryResponse ¶
type QueryResponse struct {
Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*QueryResponse) Descriptor
deprecated
func (*QueryResponse) Descriptor() ([]byte, []int)
Deprecated: Use QueryResponse.ProtoReflect.Descriptor instead.
func (*QueryResponse) GetResult ¶
func (x *QueryResponse) GetResult() []*ScoredPoint
func (*QueryResponse) GetTime ¶
func (x *QueryResponse) GetTime() float64
func (*QueryResponse) GetUsage ¶
func (x *QueryResponse) GetUsage() *Usage
func (*QueryResponse) ProtoMessage ¶
func (*QueryResponse) ProtoMessage()
func (*QueryResponse) ProtoReflect ¶
func (x *QueryResponse) ProtoReflect() protoreflect.Message
func (*QueryResponse) Reset ¶
func (x *QueryResponse) Reset()
func (*QueryResponse) String ¶
func (x *QueryResponse) String() string
type Query_Context ¶
type Query_Context struct {
Context *ContextInput `protobuf:"bytes,4,opt,name=context,proto3,oneof"` // Return points that live in positive areas.
}
type Query_Discover ¶
type Query_Discover struct {
Discover *DiscoverInput `protobuf:"bytes,3,opt,name=discover,proto3,oneof"` // Search for nearest points, but constrain the search space with context
}
type Query_Formula ¶
type Query_Formula struct {
Formula *Formula `protobuf:"bytes,8,opt,name=formula,proto3,oneof"` // Score boosting via an arbitrary formula
}
type Query_Fusion ¶
type Query_Fusion struct {
Fusion Fusion `protobuf:"varint,6,opt,name=fusion,proto3,enum=qdrant.Fusion,oneof"` // Fuse the results of multiple prefetches.
}
type Query_Nearest ¶
type Query_Nearest struct {
Nearest *VectorInput `protobuf:"bytes,1,opt,name=nearest,proto3,oneof"` // Find the nearest neighbors to this vector.
}
type Query_NearestWithMmr ¶
type Query_NearestWithMmr struct {
NearestWithMmr *NearestInputWithMmr `protobuf:"bytes,9,opt,name=nearest_with_mmr,json=nearestWithMmr,proto3,oneof"` // Search nearest neighbors, but re-rank based on the Maximal Marginal Relevance algorithm.
}
type Query_OrderBy ¶
type Query_OrderBy struct {
OrderBy *OrderBy `protobuf:"bytes,5,opt,name=order_by,json=orderBy,proto3,oneof"` // Order the points by a payload field.
}
type Query_Recommend ¶
type Query_Recommend struct {
Recommend *RecommendInput `protobuf:"bytes,2,opt,name=recommend,proto3,oneof"` // Use multiple positive and negative vectors to find the results.
}
type Query_Rrf ¶
type Query_Rrf struct {
Rrf *Rrf `protobuf:"bytes,10,opt,name=rrf,proto3,oneof"` // Parameterized reciprocal rank fusion
}
type Query_Sample ¶
type Query_Sample struct {
Sample Sample `protobuf:"varint,7,opt,name=sample,proto3,enum=qdrant.Sample,oneof"` // Sample points from the collection.
}
type Range ¶
type Range struct {
Lt *float64 `protobuf:"fixed64,1,opt,name=lt,proto3,oneof" json:"lt,omitempty"`
Gt *float64 `protobuf:"fixed64,2,opt,name=gt,proto3,oneof" json:"gt,omitempty"`
Gte *float64 `protobuf:"fixed64,3,opt,name=gte,proto3,oneof" json:"gte,omitempty"`
Lte *float64 `protobuf:"fixed64,4,opt,name=lte,proto3,oneof" json:"lte,omitempty"`
// contains filtered or unexported fields
}
func (*Range) Descriptor
deprecated
func (*Range) ProtoMessage ¶
func (*Range) ProtoMessage()
func (*Range) ProtoReflect ¶
func (x *Range) ProtoReflect() protoreflect.Message
type ReadConsistency ¶
type ReadConsistency struct {
// Types that are assignable to Value:
//
// *ReadConsistency_Type
// *ReadConsistency_Factor
Value isReadConsistency_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
func NewReadConsistency ¶
func NewReadConsistency(readConsistencyType ReadConsistencyType) *ReadConsistency
Creates a *ReadConsistency instance from a ReadConsistencyType. This is an alias for NewReadConsistencyType().
func NewReadConsistencyFactor ¶
func NewReadConsistencyFactor(readConsistencyFactor uint64) *ReadConsistency
Creates a *ReadConsistency instance from a factor in uint64.
func NewReadConsistencyType ¶
func NewReadConsistencyType(readConsistencyType ReadConsistencyType) *ReadConsistency
Creates a *ReadConsistency instance from a ReadConsistencyType.
func (*ReadConsistency) Descriptor
deprecated
func (*ReadConsistency) Descriptor() ([]byte, []int)
Deprecated: Use ReadConsistency.ProtoReflect.Descriptor instead.
func (*ReadConsistency) GetFactor ¶
func (x *ReadConsistency) GetFactor() uint64
func (*ReadConsistency) GetType ¶
func (x *ReadConsistency) GetType() ReadConsistencyType
func (*ReadConsistency) GetValue ¶
func (m *ReadConsistency) GetValue() isReadConsistency_Value
func (*ReadConsistency) ProtoMessage ¶
func (*ReadConsistency) ProtoMessage()
func (*ReadConsistency) ProtoReflect ¶
func (x *ReadConsistency) ProtoReflect() protoreflect.Message
func (*ReadConsistency) Reset ¶
func (x *ReadConsistency) Reset()
func (*ReadConsistency) String ¶
func (x *ReadConsistency) String() string
type ReadConsistencyType ¶
type ReadConsistencyType int32
const ( ReadConsistencyType_All ReadConsistencyType = 0 // Send request to all nodes and return points which are present on all of them ReadConsistencyType_Majority ReadConsistencyType = 1 // Send requests to all nodes and return points which are present on majority of them ReadConsistencyType_Quorum ReadConsistencyType = 2 // Send requests to half + 1 nodes, return points which are present on all of them )
func (ReadConsistencyType) Descriptor ¶
func (ReadConsistencyType) Descriptor() protoreflect.EnumDescriptor
func (ReadConsistencyType) Enum ¶
func (x ReadConsistencyType) Enum() *ReadConsistencyType
func (ReadConsistencyType) EnumDescriptor
deprecated
func (ReadConsistencyType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReadConsistencyType.Descriptor instead.
func (ReadConsistencyType) Number ¶
func (x ReadConsistencyType) Number() protoreflect.EnumNumber
func (ReadConsistencyType) String ¶
func (x ReadConsistencyType) String() string
func (ReadConsistencyType) Type ¶
func (ReadConsistencyType) Type() protoreflect.EnumType
type ReadConsistency_Factor ¶
type ReadConsistency_Factor struct {
Factor uint64 `protobuf:"varint,2,opt,name=factor,proto3,oneof"` // Send request to a specified number of nodes, and return points which are present on all of them
}
type ReadConsistency_Type ¶
type ReadConsistency_Type struct {
Type ReadConsistencyType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.ReadConsistencyType,oneof"` // Common read consistency configurations
}
type RecommendBatchPoints ¶
type RecommendBatchPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
RecommendPoints []*RecommendPoints `protobuf:"bytes,2,rep,name=recommend_points,json=recommendPoints,proto3" json:"recommend_points,omitempty"`
ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
// contains filtered or unexported fields
}
func (*RecommendBatchPoints) Descriptor
deprecated
func (*RecommendBatchPoints) Descriptor() ([]byte, []int)
Deprecated: Use RecommendBatchPoints.ProtoReflect.Descriptor instead.
func (*RecommendBatchPoints) GetCollectionName ¶
func (x *RecommendBatchPoints) GetCollectionName() string
func (*RecommendBatchPoints) GetReadConsistency ¶
func (x *RecommendBatchPoints) GetReadConsistency() *ReadConsistency
func (*RecommendBatchPoints) GetRecommendPoints ¶
func (x *RecommendBatchPoints) GetRecommendPoints() []*RecommendPoints
func (*RecommendBatchPoints) GetTimeout ¶
func (x *RecommendBatchPoints) GetTimeout() uint64
func (*RecommendBatchPoints) ProtoMessage ¶
func (*RecommendBatchPoints) ProtoMessage()
func (*RecommendBatchPoints) ProtoReflect ¶
func (x *RecommendBatchPoints) ProtoReflect() protoreflect.Message
func (*RecommendBatchPoints) Reset ¶
func (x *RecommendBatchPoints) Reset()
func (*RecommendBatchPoints) String ¶
func (x *RecommendBatchPoints) String() string
type RecommendBatchResponse ¶
type RecommendBatchResponse struct {
Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*RecommendBatchResponse) Descriptor
deprecated
func (*RecommendBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecommendBatchResponse.ProtoReflect.Descriptor instead.
func (*RecommendBatchResponse) GetResult ¶
func (x *RecommendBatchResponse) GetResult() []*BatchResult
func (*RecommendBatchResponse) GetTime ¶
func (x *RecommendBatchResponse) GetTime() float64
func (*RecommendBatchResponse) GetUsage ¶
func (x *RecommendBatchResponse) GetUsage() *Usage
func (*RecommendBatchResponse) ProtoMessage ¶
func (*RecommendBatchResponse) ProtoMessage()
func (*RecommendBatchResponse) ProtoReflect ¶
func (x *RecommendBatchResponse) ProtoReflect() protoreflect.Message
func (*RecommendBatchResponse) Reset ¶
func (x *RecommendBatchResponse) Reset()
func (*RecommendBatchResponse) String ¶
func (x *RecommendBatchResponse) String() string
type RecommendGroupsResponse ¶
type RecommendGroupsResponse struct {
Result *GroupsResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*RecommendGroupsResponse) Descriptor
deprecated
func (*RecommendGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecommendGroupsResponse.ProtoReflect.Descriptor instead.
func (*RecommendGroupsResponse) GetResult ¶
func (x *RecommendGroupsResponse) GetResult() *GroupsResult
func (*RecommendGroupsResponse) GetTime ¶
func (x *RecommendGroupsResponse) GetTime() float64
func (*RecommendGroupsResponse) GetUsage ¶
func (x *RecommendGroupsResponse) GetUsage() *Usage
func (*RecommendGroupsResponse) ProtoMessage ¶
func (*RecommendGroupsResponse) ProtoMessage()
func (*RecommendGroupsResponse) ProtoReflect ¶
func (x *RecommendGroupsResponse) ProtoReflect() protoreflect.Message
func (*RecommendGroupsResponse) Reset ¶
func (x *RecommendGroupsResponse) Reset()
func (*RecommendGroupsResponse) String ¶
func (x *RecommendGroupsResponse) String() string
type RecommendInput ¶
type RecommendInput struct {
Positive []*VectorInput `protobuf:"bytes,1,rep,name=positive,proto3" json:"positive,omitempty"` // Look for vectors closest to the vectors from these points
Negative []*VectorInput `protobuf:"bytes,2,rep,name=negative,proto3" json:"negative,omitempty"` // Try to avoid vectors like the vector from these points
Strategy *RecommendStrategy `protobuf:"varint,3,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"` // How to use the provided vectors to find the results
// contains filtered or unexported fields
}
func (*RecommendInput) Descriptor
deprecated
func (*RecommendInput) Descriptor() ([]byte, []int)
Deprecated: Use RecommendInput.ProtoReflect.Descriptor instead.
func (*RecommendInput) GetNegative ¶
func (x *RecommendInput) GetNegative() []*VectorInput
func (*RecommendInput) GetPositive ¶
func (x *RecommendInput) GetPositive() []*VectorInput
func (*RecommendInput) GetStrategy ¶
func (x *RecommendInput) GetStrategy() RecommendStrategy
func (*RecommendInput) ProtoMessage ¶
func (*RecommendInput) ProtoMessage()
func (*RecommendInput) ProtoReflect ¶
func (x *RecommendInput) ProtoReflect() protoreflect.Message
func (*RecommendInput) Reset ¶
func (x *RecommendInput) Reset()
func (*RecommendInput) String ¶
func (x *RecommendInput) String() string
type RecommendPointGroups ¶
type RecommendPointGroups struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Positive []*PointId `protobuf:"bytes,2,rep,name=positive,proto3" json:"positive,omitempty"` // Look for vectors closest to the vectors from these points
Negative []*PointId `protobuf:"bytes,3,rep,name=negative,proto3" json:"negative,omitempty"` // Try to avoid vectors like the vector from these points
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions
Limit uint32 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // Max number of groups in result
WithPayload *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"` // Options for specifying which payload to include or not
Params *SearchParams `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"` // Search config
ScoreThreshold *float32 `protobuf:"fixed32,8,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"` // If provided - cut off results with worse scores
Using *string `protobuf:"bytes,9,opt,name=using,proto3,oneof" json:"using,omitempty"` // Define which vector to use for recommendation, if not specified - default vector
WithVectors *WithVectorsSelector `protobuf:"bytes,10,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into response
LookupFrom *LookupLocation `protobuf:"bytes,11,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"` // Name of the collection to use for points lookup, if not specified - use current collection
GroupBy string `protobuf:"bytes,12,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` // Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups.
GroupSize uint32 `protobuf:"varint,13,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"` // Maximum amount of points to return per group
ReadConsistency *ReadConsistency `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
WithLookup *WithLookup `protobuf:"bytes,15,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"` // Options for specifying how to use the group id to lookup points in another collection
Strategy *RecommendStrategy `protobuf:"varint,17,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"` // How to use the example vectors to find the results
PositiveVectors []*Vector `protobuf:"bytes,18,rep,name=positive_vectors,json=positiveVectors,proto3" json:"positive_vectors,omitempty"` // Look for vectors closest to those
NegativeVectors []*Vector `protobuf:"bytes,19,rep,name=negative_vectors,json=negativeVectors,proto3" json:"negative_vectors,omitempty"` // Try to avoid vectors like this
Timeout *uint64 `protobuf:"varint,20,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
ShardKeySelector *ShardKeySelector `protobuf:"bytes,21,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
// contains filtered or unexported fields
}
func (*RecommendPointGroups) Descriptor
deprecated
func (*RecommendPointGroups) Descriptor() ([]byte, []int)
Deprecated: Use RecommendPointGroups.ProtoReflect.Descriptor instead.
func (*RecommendPointGroups) GetCollectionName ¶
func (x *RecommendPointGroups) GetCollectionName() string
func (*RecommendPointGroups) GetFilter ¶
func (x *RecommendPointGroups) GetFilter() *Filter
func (*RecommendPointGroups) GetGroupBy ¶
func (x *RecommendPointGroups) GetGroupBy() string
func (*RecommendPointGroups) GetGroupSize ¶
func (x *RecommendPointGroups) GetGroupSize() uint32
func (*RecommendPointGroups) GetLimit ¶
func (x *RecommendPointGroups) GetLimit() uint32
func (*RecommendPointGroups) GetLookupFrom ¶
func (x *RecommendPointGroups) GetLookupFrom() *LookupLocation
func (*RecommendPointGroups) GetNegative ¶
func (x *RecommendPointGroups) GetNegative() []*PointId
func (*RecommendPointGroups) GetNegativeVectors ¶
func (x *RecommendPointGroups) GetNegativeVectors() []*Vector
func (*RecommendPointGroups) GetParams ¶
func (x *RecommendPointGroups) GetParams() *SearchParams
func (*RecommendPointGroups) GetPositive ¶
func (x *RecommendPointGroups) GetPositive() []*PointId
func (*RecommendPointGroups) GetPositiveVectors ¶
func (x *RecommendPointGroups) GetPositiveVectors() []*Vector
func (*RecommendPointGroups) GetReadConsistency ¶
func (x *RecommendPointGroups) GetReadConsistency() *ReadConsistency
func (*RecommendPointGroups) GetScoreThreshold ¶
func (x *RecommendPointGroups) GetScoreThreshold() float32
func (*RecommendPointGroups) GetShardKeySelector ¶
func (x *RecommendPointGroups) GetShardKeySelector() *ShardKeySelector
func (*RecommendPointGroups) GetStrategy ¶
func (x *RecommendPointGroups) GetStrategy() RecommendStrategy
func (*RecommendPointGroups) GetTimeout ¶
func (x *RecommendPointGroups) GetTimeout() uint64
func (*RecommendPointGroups) GetUsing ¶
func (x *RecommendPointGroups) GetUsing() string
func (*RecommendPointGroups) GetWithLookup ¶
func (x *RecommendPointGroups) GetWithLookup() *WithLookup
func (*RecommendPointGroups) GetWithPayload ¶
func (x *RecommendPointGroups) GetWithPayload() *WithPayloadSelector
func (*RecommendPointGroups) GetWithVectors ¶
func (x *RecommendPointGroups) GetWithVectors() *WithVectorsSelector
func (*RecommendPointGroups) ProtoMessage ¶
func (*RecommendPointGroups) ProtoMessage()
func (*RecommendPointGroups) ProtoReflect ¶
func (x *RecommendPointGroups) ProtoReflect() protoreflect.Message
func (*RecommendPointGroups) Reset ¶
func (x *RecommendPointGroups) Reset()
func (*RecommendPointGroups) String ¶
func (x *RecommendPointGroups) String() string
type RecommendPoints ¶
type RecommendPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Positive []*PointId `protobuf:"bytes,2,rep,name=positive,proto3" json:"positive,omitempty"` // Look for vectors closest to the vectors from these points
Negative []*PointId `protobuf:"bytes,3,rep,name=negative,proto3" json:"negative,omitempty"` // Try to avoid vectors like the vector from these points
Filter *Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions
Limit uint64 `protobuf:"varint,5,opt,name=limit,proto3" json:"limit,omitempty"` // Max number of result
WithPayload *WithPayloadSelector `protobuf:"bytes,7,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"` // Options for specifying which payload to include or not
Params *SearchParams `protobuf:"bytes,8,opt,name=params,proto3" json:"params,omitempty"` // Search config
ScoreThreshold *float32 `protobuf:"fixed32,9,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"` // If provided - cut off results with worse scores
Offset *uint64 `protobuf:"varint,10,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // Offset of the result
Using *string `protobuf:"bytes,11,opt,name=using,proto3,oneof" json:"using,omitempty"` // Define which vector to use for recommendation, if not specified - default vector
WithVectors *WithVectorsSelector `protobuf:"bytes,12,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into response
LookupFrom *LookupLocation `protobuf:"bytes,13,opt,name=lookup_from,json=lookupFrom,proto3,oneof" json:"lookup_from,omitempty"` // Name of the collection to use for points lookup, if not specified - use current collection
ReadConsistency *ReadConsistency `protobuf:"bytes,14,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
Strategy *RecommendStrategy `protobuf:"varint,16,opt,name=strategy,proto3,enum=qdrant.RecommendStrategy,oneof" json:"strategy,omitempty"` // How to use the example vectors to find the results
PositiveVectors []*Vector `protobuf:"bytes,17,rep,name=positive_vectors,json=positiveVectors,proto3" json:"positive_vectors,omitempty"` // Look for vectors closest to those
NegativeVectors []*Vector `protobuf:"bytes,18,rep,name=negative_vectors,json=negativeVectors,proto3" json:"negative_vectors,omitempty"` // Try to avoid vectors like this
Timeout *uint64 `protobuf:"varint,19,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
ShardKeySelector *ShardKeySelector `protobuf:"bytes,20,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
// contains filtered or unexported fields
}
func (*RecommendPoints) Descriptor
deprecated
func (*RecommendPoints) Descriptor() ([]byte, []int)
Deprecated: Use RecommendPoints.ProtoReflect.Descriptor instead.
func (*RecommendPoints) GetCollectionName ¶
func (x *RecommendPoints) GetCollectionName() string
func (*RecommendPoints) GetFilter ¶
func (x *RecommendPoints) GetFilter() *Filter
func (*RecommendPoints) GetLimit ¶
func (x *RecommendPoints) GetLimit() uint64
func (*RecommendPoints) GetLookupFrom ¶
func (x *RecommendPoints) GetLookupFrom() *LookupLocation
func (*RecommendPoints) GetNegative ¶
func (x *RecommendPoints) GetNegative() []*PointId
func (*RecommendPoints) GetNegativeVectors ¶
func (x *RecommendPoints) GetNegativeVectors() []*Vector
func (*RecommendPoints) GetOffset ¶
func (x *RecommendPoints) GetOffset() uint64
func (*RecommendPoints) GetParams ¶
func (x *RecommendPoints) GetParams() *SearchParams
func (*RecommendPoints) GetPositive ¶
func (x *RecommendPoints) GetPositive() []*PointId
func (*RecommendPoints) GetPositiveVectors ¶
func (x *RecommendPoints) GetPositiveVectors() []*Vector
func (*RecommendPoints) GetReadConsistency ¶
func (x *RecommendPoints) GetReadConsistency() *ReadConsistency
func (*RecommendPoints) GetScoreThreshold ¶
func (x *RecommendPoints) GetScoreThreshold() float32
func (*RecommendPoints) GetShardKeySelector ¶
func (x *RecommendPoints) GetShardKeySelector() *ShardKeySelector
func (*RecommendPoints) GetStrategy ¶
func (x *RecommendPoints) GetStrategy() RecommendStrategy
func (*RecommendPoints) GetTimeout ¶
func (x *RecommendPoints) GetTimeout() uint64
func (*RecommendPoints) GetUsing ¶
func (x *RecommendPoints) GetUsing() string
func (*RecommendPoints) GetWithPayload ¶
func (x *RecommendPoints) GetWithPayload() *WithPayloadSelector
func (*RecommendPoints) GetWithVectors ¶
func (x *RecommendPoints) GetWithVectors() *WithVectorsSelector
func (*RecommendPoints) ProtoMessage ¶
func (*RecommendPoints) ProtoMessage()
func (*RecommendPoints) ProtoReflect ¶
func (x *RecommendPoints) ProtoReflect() protoreflect.Message
func (*RecommendPoints) Reset ¶
func (x *RecommendPoints) Reset()
func (*RecommendPoints) String ¶
func (x *RecommendPoints) String() string
type RecommendResponse ¶
type RecommendResponse struct {
Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*RecommendResponse) Descriptor
deprecated
func (*RecommendResponse) Descriptor() ([]byte, []int)
Deprecated: Use RecommendResponse.ProtoReflect.Descriptor instead.
func (*RecommendResponse) GetResult ¶
func (x *RecommendResponse) GetResult() []*ScoredPoint
func (*RecommendResponse) GetTime ¶
func (x *RecommendResponse) GetTime() float64
func (*RecommendResponse) GetUsage ¶
func (x *RecommendResponse) GetUsage() *Usage
func (*RecommendResponse) ProtoMessage ¶
func (*RecommendResponse) ProtoMessage()
func (*RecommendResponse) ProtoReflect ¶
func (x *RecommendResponse) ProtoReflect() protoreflect.Message
func (*RecommendResponse) Reset ¶
func (x *RecommendResponse) Reset()
func (*RecommendResponse) String ¶
func (x *RecommendResponse) String() string
type RecommendStrategy ¶
type RecommendStrategy int32
How to use positive and negative vectors to find the results, default is `AverageVector`.
const ( // Average positive and negative vectors and create a single query with the formula // `query = avg_pos + avg_pos - avg_neg`. Then performs normal search. RecommendStrategy_AverageVector RecommendStrategy = 0 // Uses custom search objective. Each candidate is compared against all // examples, its score is then chosen from the `max(max_pos_score, max_neg_score)`. // If the `max_neg_score` is chosen then it is squared and negated. RecommendStrategy_BestScore RecommendStrategy = 1 // Uses custom search objective. Compares against all inputs, sums all the scores. // Scores against positive vectors are added, against negatives are subtracted. RecommendStrategy_SumScores RecommendStrategy = 2 )
func (RecommendStrategy) Descriptor ¶
func (RecommendStrategy) Descriptor() protoreflect.EnumDescriptor
func (RecommendStrategy) Enum ¶
func (x RecommendStrategy) Enum() *RecommendStrategy
func (RecommendStrategy) EnumDescriptor
deprecated
func (RecommendStrategy) EnumDescriptor() ([]byte, []int)
Deprecated: Use RecommendStrategy.Descriptor instead.
func (RecommendStrategy) Number ¶
func (x RecommendStrategy) Number() protoreflect.EnumNumber
func (RecommendStrategy) String ¶
func (x RecommendStrategy) String() string
func (RecommendStrategy) Type ¶
func (RecommendStrategy) Type() protoreflect.EnumType
type RemoteShardInfo ¶
type RemoteShardInfo struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
PeerId uint64 `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` // Remote peer id
State ReplicaState `protobuf:"varint,3,opt,name=state,proto3,enum=qdrant.ReplicaState" json:"state,omitempty"` // Is replica active
ShardKey *ShardKey `protobuf:"bytes,4,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"` // User-defined shard key
// contains filtered or unexported fields
}
func (*RemoteShardInfo) Descriptor
deprecated
func (*RemoteShardInfo) Descriptor() ([]byte, []int)
Deprecated: Use RemoteShardInfo.ProtoReflect.Descriptor instead.
func (*RemoteShardInfo) GetPeerId ¶
func (x *RemoteShardInfo) GetPeerId() uint64
func (*RemoteShardInfo) GetShardId ¶
func (x *RemoteShardInfo) GetShardId() uint32
func (*RemoteShardInfo) GetShardKey ¶
func (x *RemoteShardInfo) GetShardKey() *ShardKey
func (*RemoteShardInfo) GetState ¶
func (x *RemoteShardInfo) GetState() ReplicaState
func (*RemoteShardInfo) ProtoMessage ¶
func (*RemoteShardInfo) ProtoMessage()
func (*RemoteShardInfo) ProtoReflect ¶
func (x *RemoteShardInfo) ProtoReflect() protoreflect.Message
func (*RemoteShardInfo) Reset ¶
func (x *RemoteShardInfo) Reset()
func (*RemoteShardInfo) String ¶
func (x *RemoteShardInfo) String() string
type RenameAlias ¶
type RenameAlias struct {
OldAliasName string `protobuf:"bytes,1,opt,name=old_alias_name,json=oldAliasName,proto3" json:"old_alias_name,omitempty"` // Name of the alias to rename
NewAliasName string `protobuf:"bytes,2,opt,name=new_alias_name,json=newAliasName,proto3" json:"new_alias_name,omitempty"` // Name of the alias
// contains filtered or unexported fields
}
func (*RenameAlias) Descriptor
deprecated
func (*RenameAlias) Descriptor() ([]byte, []int)
Deprecated: Use RenameAlias.ProtoReflect.Descriptor instead.
func (*RenameAlias) GetNewAliasName ¶
func (x *RenameAlias) GetNewAliasName() string
func (*RenameAlias) GetOldAliasName ¶
func (x *RenameAlias) GetOldAliasName() string
func (*RenameAlias) ProtoMessage ¶
func (*RenameAlias) ProtoMessage()
func (*RenameAlias) ProtoReflect ¶
func (x *RenameAlias) ProtoReflect() protoreflect.Message
func (*RenameAlias) Reset ¶
func (x *RenameAlias) Reset()
func (*RenameAlias) String ¶
func (x *RenameAlias) String() string
type RepeatedIntegers ¶
type RepeatedIntegers struct {
Integers []int64 `protobuf:"varint,1,rep,packed,name=integers,proto3" json:"integers,omitempty"`
// contains filtered or unexported fields
}
func (*RepeatedIntegers) Descriptor
deprecated
func (*RepeatedIntegers) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedIntegers.ProtoReflect.Descriptor instead.
func (*RepeatedIntegers) GetIntegers ¶
func (x *RepeatedIntegers) GetIntegers() []int64
func (*RepeatedIntegers) ProtoMessage ¶
func (*RepeatedIntegers) ProtoMessage()
func (*RepeatedIntegers) ProtoReflect ¶
func (x *RepeatedIntegers) ProtoReflect() protoreflect.Message
func (*RepeatedIntegers) Reset ¶
func (x *RepeatedIntegers) Reset()
func (*RepeatedIntegers) String ¶
func (x *RepeatedIntegers) String() string
type RepeatedStrings ¶
type RepeatedStrings struct {
Strings []string `protobuf:"bytes,1,rep,name=strings,proto3" json:"strings,omitempty"`
// contains filtered or unexported fields
}
func (*RepeatedStrings) Descriptor
deprecated
func (*RepeatedStrings) Descriptor() ([]byte, []int)
Deprecated: Use RepeatedStrings.ProtoReflect.Descriptor instead.
func (*RepeatedStrings) GetStrings ¶
func (x *RepeatedStrings) GetStrings() []string
func (*RepeatedStrings) ProtoMessage ¶
func (*RepeatedStrings) ProtoMessage()
func (*RepeatedStrings) ProtoReflect ¶
func (x *RepeatedStrings) ProtoReflect() protoreflect.Message
func (*RepeatedStrings) Reset ¶
func (x *RepeatedStrings) Reset()
func (*RepeatedStrings) String ¶
func (x *RepeatedStrings) String() string
type Replica ¶
type Replica struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
PeerId uint64 `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
// contains filtered or unexported fields
}
func (*Replica) Descriptor
deprecated
func (*Replica) GetShardId ¶
func (*Replica) ProtoMessage ¶
func (*Replica) ProtoMessage()
func (*Replica) ProtoReflect ¶
func (x *Replica) ProtoReflect() protoreflect.Message
type ReplicaState ¶
type ReplicaState int32
const ( ReplicaState_Active ReplicaState = 0 // Active and sound ReplicaState_Dead ReplicaState = 1 // Failed for some reason ReplicaState_Partial ReplicaState = 2 // The shard is partially loaded and is currently receiving data from other shards ReplicaState_Initializing ReplicaState = 3 // Collection is being created ReplicaState_Listener ReplicaState = 4 // A shard which receives data, but is not used for search; Useful for backup shards ReplicaState_PartialSnapshot ReplicaState = 5 // Deprecated: snapshot shard transfer is in progress; Updates should not be sent to (and are ignored by) the shard ReplicaState_Recovery ReplicaState = 6 // Shard is undergoing recovered by an external node; Normally rejects updates, accepts updates if force is true ReplicaState_Resharding ReplicaState = 7 // Points are being migrated to this shard as part of scale-up resharding ReplicaState_ReshardingScaleDown ReplicaState = 8 // Points are being migrated to this shard as part of scale-down resharding ReplicaState_ActiveRead ReplicaState = 9 // Active for readers, Partial for writers )
func (ReplicaState) Descriptor ¶
func (ReplicaState) Descriptor() protoreflect.EnumDescriptor
func (ReplicaState) Enum ¶
func (x ReplicaState) Enum() *ReplicaState
func (ReplicaState) EnumDescriptor
deprecated
func (ReplicaState) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReplicaState.Descriptor instead.
func (ReplicaState) Number ¶
func (x ReplicaState) Number() protoreflect.EnumNumber
func (ReplicaState) String ¶
func (x ReplicaState) String() string
func (ReplicaState) Type ¶
func (ReplicaState) Type() protoreflect.EnumType
type ReplicatePoints ¶
type ReplicatePoints struct {
FromShardKey *ShardKey `protobuf:"bytes,1,opt,name=from_shard_key,json=fromShardKey,proto3" json:"from_shard_key,omitempty"` // Source shard key
ToShardKey *ShardKey `protobuf:"bytes,2,opt,name=to_shard_key,json=toShardKey,proto3" json:"to_shard_key,omitempty"` // Target shard key
Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // If set - only points matching the filter will be replicated
// contains filtered or unexported fields
}
func (*ReplicatePoints) Descriptor
deprecated
func (*ReplicatePoints) Descriptor() ([]byte, []int)
Deprecated: Use ReplicatePoints.ProtoReflect.Descriptor instead.
func (*ReplicatePoints) GetFilter ¶
func (x *ReplicatePoints) GetFilter() *Filter
func (*ReplicatePoints) GetFromShardKey ¶
func (x *ReplicatePoints) GetFromShardKey() *ShardKey
func (*ReplicatePoints) GetToShardKey ¶
func (x *ReplicatePoints) GetToShardKey() *ShardKey
func (*ReplicatePoints) ProtoMessage ¶
func (*ReplicatePoints) ProtoMessage()
func (*ReplicatePoints) ProtoReflect ¶
func (x *ReplicatePoints) ProtoReflect() protoreflect.Message
func (*ReplicatePoints) Reset ¶
func (x *ReplicatePoints) Reset()
func (*ReplicatePoints) String ¶
func (x *ReplicatePoints) String() string
type ReplicateShard ¶
type ReplicateShard struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
Method *ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod,oneof" json:"method,omitempty"`
// contains filtered or unexported fields
}
func (*ReplicateShard) Descriptor
deprecated
func (*ReplicateShard) Descriptor() ([]byte, []int)
Deprecated: Use ReplicateShard.ProtoReflect.Descriptor instead.
func (*ReplicateShard) GetFromPeerId ¶
func (x *ReplicateShard) GetFromPeerId() uint64
func (*ReplicateShard) GetMethod ¶
func (x *ReplicateShard) GetMethod() ShardTransferMethod
func (*ReplicateShard) GetShardId ¶
func (x *ReplicateShard) GetShardId() uint32
func (*ReplicateShard) GetToPeerId ¶
func (x *ReplicateShard) GetToPeerId() uint64
func (*ReplicateShard) GetToShardId ¶
func (x *ReplicateShard) GetToShardId() uint32
func (*ReplicateShard) ProtoMessage ¶
func (*ReplicateShard) ProtoMessage()
func (*ReplicateShard) ProtoReflect ¶
func (x *ReplicateShard) ProtoReflect() protoreflect.Message
func (*ReplicateShard) Reset ¶
func (x *ReplicateShard) Reset()
func (*ReplicateShard) String ¶
func (x *ReplicateShard) String() string
type ReshardingDirection ¶
type ReshardingDirection int32
Resharding direction, scale up or down in number of shards
const ( ReshardingDirection_Up ReshardingDirection = 0 // Scale up, add a new shard ReshardingDirection_Down ReshardingDirection = 1 // Scale down, remove a shard )
func (ReshardingDirection) Descriptor ¶
func (ReshardingDirection) Descriptor() protoreflect.EnumDescriptor
func (ReshardingDirection) Enum ¶
func (x ReshardingDirection) Enum() *ReshardingDirection
func (ReshardingDirection) EnumDescriptor
deprecated
func (ReshardingDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use ReshardingDirection.Descriptor instead.
func (ReshardingDirection) Number ¶
func (x ReshardingDirection) Number() protoreflect.EnumNumber
func (ReshardingDirection) String ¶
func (x ReshardingDirection) String() string
func (ReshardingDirection) Type ¶
func (ReshardingDirection) Type() protoreflect.EnumType
type ReshardingInfo ¶
type ReshardingInfo struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"`
PeerId uint64 `protobuf:"varint,2,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"`
ShardKey *ShardKey `protobuf:"bytes,3,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"`
Direction ReshardingDirection `protobuf:"varint,4,opt,name=direction,proto3,enum=qdrant.ReshardingDirection" json:"direction,omitempty"`
// contains filtered or unexported fields
}
func (*ReshardingInfo) Descriptor
deprecated
func (*ReshardingInfo) Descriptor() ([]byte, []int)
Deprecated: Use ReshardingInfo.ProtoReflect.Descriptor instead.
func (*ReshardingInfo) GetDirection ¶
func (x *ReshardingInfo) GetDirection() ReshardingDirection
func (*ReshardingInfo) GetPeerId ¶
func (x *ReshardingInfo) GetPeerId() uint64
func (*ReshardingInfo) GetShardId ¶
func (x *ReshardingInfo) GetShardId() uint32
func (*ReshardingInfo) GetShardKey ¶
func (x *ReshardingInfo) GetShardKey() *ShardKey
func (*ReshardingInfo) ProtoMessage ¶
func (*ReshardingInfo) ProtoMessage()
func (*ReshardingInfo) ProtoReflect ¶
func (x *ReshardingInfo) ProtoReflect() protoreflect.Message
func (*ReshardingInfo) Reset ¶
func (x *ReshardingInfo) Reset()
func (*ReshardingInfo) String ¶
func (x *ReshardingInfo) String() string
type RestartTransfer ¶
type RestartTransfer struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
FromPeerId uint64 `protobuf:"varint,2,opt,name=from_peer_id,json=fromPeerId,proto3" json:"from_peer_id,omitempty"`
ToPeerId uint64 `protobuf:"varint,3,opt,name=to_peer_id,json=toPeerId,proto3" json:"to_peer_id,omitempty"`
Method ShardTransferMethod `protobuf:"varint,4,opt,name=method,proto3,enum=qdrant.ShardTransferMethod" json:"method,omitempty"`
// contains filtered or unexported fields
}
func (*RestartTransfer) Descriptor
deprecated
func (*RestartTransfer) Descriptor() ([]byte, []int)
Deprecated: Use RestartTransfer.ProtoReflect.Descriptor instead.
func (*RestartTransfer) GetFromPeerId ¶
func (x *RestartTransfer) GetFromPeerId() uint64
func (*RestartTransfer) GetMethod ¶
func (x *RestartTransfer) GetMethod() ShardTransferMethod
func (*RestartTransfer) GetShardId ¶
func (x *RestartTransfer) GetShardId() uint32
func (*RestartTransfer) GetToPeerId ¶
func (x *RestartTransfer) GetToPeerId() uint64
func (*RestartTransfer) GetToShardId ¶
func (x *RestartTransfer) GetToShardId() uint32
func (*RestartTransfer) ProtoMessage ¶
func (*RestartTransfer) ProtoMessage()
func (*RestartTransfer) ProtoReflect ¶
func (x *RestartTransfer) ProtoReflect() protoreflect.Message
func (*RestartTransfer) Reset ¶
func (x *RestartTransfer) Reset()
func (*RestartTransfer) String ¶
func (x *RestartTransfer) String() string
type RetrievedPoint ¶
type RetrievedPoint struct {
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Payload map[string]*Value `` /* 155-byte string literal not displayed */
Vectors *VectorsOutput `protobuf:"bytes,4,opt,name=vectors,proto3,oneof" json:"vectors,omitempty"`
ShardKey *ShardKey `protobuf:"bytes,5,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"` // Shard key
OrderValue *OrderValue `protobuf:"bytes,6,opt,name=order_value,json=orderValue,proto3,oneof" json:"order_value,omitempty"` // Order-by value
// contains filtered or unexported fields
}
func (*RetrievedPoint) Descriptor
deprecated
func (*RetrievedPoint) Descriptor() ([]byte, []int)
Deprecated: Use RetrievedPoint.ProtoReflect.Descriptor instead.
func (*RetrievedPoint) GetId ¶
func (x *RetrievedPoint) GetId() *PointId
func (*RetrievedPoint) GetOrderValue ¶
func (x *RetrievedPoint) GetOrderValue() *OrderValue
func (*RetrievedPoint) GetPayload ¶
func (x *RetrievedPoint) GetPayload() map[string]*Value
func (*RetrievedPoint) GetShardKey ¶
func (x *RetrievedPoint) GetShardKey() *ShardKey
func (*RetrievedPoint) GetVectors ¶
func (x *RetrievedPoint) GetVectors() *VectorsOutput
func (*RetrievedPoint) ProtoMessage ¶
func (*RetrievedPoint) ProtoMessage()
func (*RetrievedPoint) ProtoReflect ¶
func (x *RetrievedPoint) ProtoReflect() protoreflect.Message
func (*RetrievedPoint) Reset ¶
func (x *RetrievedPoint) Reset()
func (*RetrievedPoint) String ¶
func (x *RetrievedPoint) String() string
type Rrf ¶
type Rrf struct {
K *uint32 `protobuf:"varint,1,opt,name=k,proto3,oneof" json:"k,omitempty"` // K parameter for reciprocal rank fusion
// contains filtered or unexported fields
}
Parameterized reciprocal rank fusion
func (*Rrf) Descriptor
deprecated
func (*Rrf) ProtoMessage ¶
func (*Rrf) ProtoMessage()
func (*Rrf) ProtoReflect ¶
func (x *Rrf) ProtoReflect() protoreflect.Message
type Sample ¶
type Sample int32
Sample points from the collection
Available sampling methods:
* `random` - Random sampling
const (
Sample_Random Sample = 0
)
func (Sample) Descriptor ¶
func (Sample) Descriptor() protoreflect.EnumDescriptor
func (Sample) EnumDescriptor
deprecated
func (Sample) Number ¶
func (x Sample) Number() protoreflect.EnumNumber
func (Sample) Type ¶
func (Sample) Type() protoreflect.EnumType
type ScalarQuantization ¶
type ScalarQuantization struct {
Type QuantizationType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.QuantizationType" json:"type,omitempty"` // Type of quantization
Quantile *float32 `protobuf:"fixed32,2,opt,name=quantile,proto3,oneof" json:"quantile,omitempty"` // Number of bits to use for quantization
AlwaysRam *bool `protobuf:"varint,3,opt,name=always_ram,json=alwaysRam,proto3,oneof" json:"always_ram,omitempty"` // If true - quantized vectors always will be stored in RAM, ignoring the config of main storage
// contains filtered or unexported fields
}
func (*ScalarQuantization) Descriptor
deprecated
func (*ScalarQuantization) Descriptor() ([]byte, []int)
Deprecated: Use ScalarQuantization.ProtoReflect.Descriptor instead.
func (*ScalarQuantization) GetAlwaysRam ¶
func (x *ScalarQuantization) GetAlwaysRam() bool
func (*ScalarQuantization) GetQuantile ¶
func (x *ScalarQuantization) GetQuantile() float32
func (*ScalarQuantization) GetType ¶
func (x *ScalarQuantization) GetType() QuantizationType
func (*ScalarQuantization) ProtoMessage ¶
func (*ScalarQuantization) ProtoMessage()
func (*ScalarQuantization) ProtoReflect ¶
func (x *ScalarQuantization) ProtoReflect() protoreflect.Message
func (*ScalarQuantization) Reset ¶
func (x *ScalarQuantization) Reset()
func (*ScalarQuantization) String ¶
func (x *ScalarQuantization) String() string
type ScoredPoint ¶
type ScoredPoint struct {
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Point id
Payload map[string]*Value `` // Payload
/* 155-byte string literal not displayed */
Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` // Similarity score
Version uint64 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` // Last update operation applied to this point
Vectors *VectorsOutput `protobuf:"bytes,6,opt,name=vectors,proto3,oneof" json:"vectors,omitempty"` // Vectors to search
ShardKey *ShardKey `protobuf:"bytes,7,opt,name=shard_key,json=shardKey,proto3,oneof" json:"shard_key,omitempty"` // Shard key
OrderValue *OrderValue `protobuf:"bytes,8,opt,name=order_value,json=orderValue,proto3,oneof" json:"order_value,omitempty"` // Order by value
// contains filtered or unexported fields
}
func (*ScoredPoint) Descriptor
deprecated
func (*ScoredPoint) Descriptor() ([]byte, []int)
Deprecated: Use ScoredPoint.ProtoReflect.Descriptor instead.
func (*ScoredPoint) GetId ¶
func (x *ScoredPoint) GetId() *PointId
func (*ScoredPoint) GetOrderValue ¶
func (x *ScoredPoint) GetOrderValue() *OrderValue
func (*ScoredPoint) GetPayload ¶
func (x *ScoredPoint) GetPayload() map[string]*Value
func (*ScoredPoint) GetScore ¶
func (x *ScoredPoint) GetScore() float32
func (*ScoredPoint) GetShardKey ¶
func (x *ScoredPoint) GetShardKey() *ShardKey
func (*ScoredPoint) GetVectors ¶
func (x *ScoredPoint) GetVectors() *VectorsOutput
func (*ScoredPoint) GetVersion ¶
func (x *ScoredPoint) GetVersion() uint64
func (*ScoredPoint) ProtoMessage ¶
func (*ScoredPoint) ProtoMessage()
func (*ScoredPoint) ProtoReflect ¶
func (x *ScoredPoint) ProtoReflect() protoreflect.Message
func (*ScoredPoint) Reset ¶
func (x *ScoredPoint) Reset()
func (*ScoredPoint) String ¶
func (x *ScoredPoint) String() string
type ScrollPoints ¶
type ScrollPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"`
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions
Offset *PointId `protobuf:"bytes,3,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // Start with this ID
Limit *uint32 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // Max number of result
WithPayload *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"` // Options for specifying which payload to include or not
WithVectors *WithVectorsSelector `protobuf:"bytes,7,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into response
ReadConsistency *ReadConsistency `protobuf:"bytes,8,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,9,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
OrderBy *OrderBy `protobuf:"bytes,10,opt,name=order_by,json=orderBy,proto3,oneof" json:"order_by,omitempty"` // Order the records by a payload field
Timeout *uint64 `protobuf:"varint,11,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
// contains filtered or unexported fields
}
func (*ScrollPoints) Descriptor
deprecated
func (*ScrollPoints) Descriptor() ([]byte, []int)
Deprecated: Use ScrollPoints.ProtoReflect.Descriptor instead.
func (*ScrollPoints) GetCollectionName ¶
func (x *ScrollPoints) GetCollectionName() string
func (*ScrollPoints) GetFilter ¶
func (x *ScrollPoints) GetFilter() *Filter
func (*ScrollPoints) GetLimit ¶
func (x *ScrollPoints) GetLimit() uint32
func (*ScrollPoints) GetOffset ¶
func (x *ScrollPoints) GetOffset() *PointId
func (*ScrollPoints) GetOrderBy ¶
func (x *ScrollPoints) GetOrderBy() *OrderBy
func (*ScrollPoints) GetReadConsistency ¶
func (x *ScrollPoints) GetReadConsistency() *ReadConsistency
func (*ScrollPoints) GetShardKeySelector ¶
func (x *ScrollPoints) GetShardKeySelector() *ShardKeySelector
func (*ScrollPoints) GetTimeout ¶
func (x *ScrollPoints) GetTimeout() uint64
func (*ScrollPoints) GetWithPayload ¶
func (x *ScrollPoints) GetWithPayload() *WithPayloadSelector
func (*ScrollPoints) GetWithVectors ¶
func (x *ScrollPoints) GetWithVectors() *WithVectorsSelector
func (*ScrollPoints) ProtoMessage ¶
func (*ScrollPoints) ProtoMessage()
func (*ScrollPoints) ProtoReflect ¶
func (x *ScrollPoints) ProtoReflect() protoreflect.Message
func (*ScrollPoints) Reset ¶
func (x *ScrollPoints) Reset()
func (*ScrollPoints) String ¶
func (x *ScrollPoints) String() string
type ScrollResponse ¶
type ScrollResponse struct {
NextPageOffset *PointId `protobuf:"bytes,1,opt,name=next_page_offset,json=nextPageOffset,proto3,oneof" json:"next_page_offset,omitempty"` // Use this offset for the next query
Result []*RetrievedPoint `protobuf:"bytes,2,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,3,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,4,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*ScrollResponse) Descriptor
deprecated
func (*ScrollResponse) Descriptor() ([]byte, []int)
Deprecated: Use ScrollResponse.ProtoReflect.Descriptor instead.
func (*ScrollResponse) GetNextPageOffset ¶
func (x *ScrollResponse) GetNextPageOffset() *PointId
func (*ScrollResponse) GetResult ¶
func (x *ScrollResponse) GetResult() []*RetrievedPoint
func (*ScrollResponse) GetTime ¶
func (x *ScrollResponse) GetTime() float64
func (*ScrollResponse) GetUsage ¶
func (x *ScrollResponse) GetUsage() *Usage
func (*ScrollResponse) ProtoMessage ¶
func (*ScrollResponse) ProtoMessage()
func (*ScrollResponse) ProtoReflect ¶
func (x *ScrollResponse) ProtoReflect() protoreflect.Message
func (*ScrollResponse) Reset ¶
func (x *ScrollResponse) Reset()
func (*ScrollResponse) String ¶
func (x *ScrollResponse) String() string
type SearchBatchPoints ¶
type SearchBatchPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
SearchPoints []*SearchPoints `protobuf:"bytes,2,rep,name=search_points,json=searchPoints,proto3" json:"search_points,omitempty"`
ReadConsistency *ReadConsistency `protobuf:"bytes,3,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
Timeout *uint64 `protobuf:"varint,4,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
// contains filtered or unexported fields
}
func (*SearchBatchPoints) Descriptor
deprecated
func (*SearchBatchPoints) Descriptor() ([]byte, []int)
Deprecated: Use SearchBatchPoints.ProtoReflect.Descriptor instead.
func (*SearchBatchPoints) GetCollectionName ¶
func (x *SearchBatchPoints) GetCollectionName() string
func (*SearchBatchPoints) GetReadConsistency ¶
func (x *SearchBatchPoints) GetReadConsistency() *ReadConsistency
func (*SearchBatchPoints) GetSearchPoints ¶
func (x *SearchBatchPoints) GetSearchPoints() []*SearchPoints
func (*SearchBatchPoints) GetTimeout ¶
func (x *SearchBatchPoints) GetTimeout() uint64
func (*SearchBatchPoints) ProtoMessage ¶
func (*SearchBatchPoints) ProtoMessage()
func (*SearchBatchPoints) ProtoReflect ¶
func (x *SearchBatchPoints) ProtoReflect() protoreflect.Message
func (*SearchBatchPoints) Reset ¶
func (x *SearchBatchPoints) Reset()
func (*SearchBatchPoints) String ¶
func (x *SearchBatchPoints) String() string
type SearchBatchResponse ¶
type SearchBatchResponse struct {
Result []*BatchResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*SearchBatchResponse) Descriptor
deprecated
func (*SearchBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchBatchResponse.ProtoReflect.Descriptor instead.
func (*SearchBatchResponse) GetResult ¶
func (x *SearchBatchResponse) GetResult() []*BatchResult
func (*SearchBatchResponse) GetTime ¶
func (x *SearchBatchResponse) GetTime() float64
func (*SearchBatchResponse) GetUsage ¶
func (x *SearchBatchResponse) GetUsage() *Usage
func (*SearchBatchResponse) ProtoMessage ¶
func (*SearchBatchResponse) ProtoMessage()
func (*SearchBatchResponse) ProtoReflect ¶
func (x *SearchBatchResponse) ProtoReflect() protoreflect.Message
func (*SearchBatchResponse) Reset ¶
func (x *SearchBatchResponse) Reset()
func (*SearchBatchResponse) String ¶
func (x *SearchBatchResponse) String() string
type SearchGroupsResponse ¶
type SearchGroupsResponse struct {
Result *GroupsResult `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*SearchGroupsResponse) Descriptor
deprecated
func (*SearchGroupsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchGroupsResponse.ProtoReflect.Descriptor instead.
func (*SearchGroupsResponse) GetResult ¶
func (x *SearchGroupsResponse) GetResult() *GroupsResult
func (*SearchGroupsResponse) GetTime ¶
func (x *SearchGroupsResponse) GetTime() float64
func (*SearchGroupsResponse) GetUsage ¶
func (x *SearchGroupsResponse) GetUsage() *Usage
func (*SearchGroupsResponse) ProtoMessage ¶
func (*SearchGroupsResponse) ProtoMessage()
func (*SearchGroupsResponse) ProtoReflect ¶
func (x *SearchGroupsResponse) ProtoReflect() protoreflect.Message
func (*SearchGroupsResponse) Reset ¶
func (x *SearchGroupsResponse) Reset()
func (*SearchGroupsResponse) String ¶
func (x *SearchGroupsResponse) String() string
type SearchMatrixOffsets ¶
type SearchMatrixOffsets struct {
OffsetsRow []uint64 `protobuf:"varint,1,rep,packed,name=offsets_row,json=offsetsRow,proto3" json:"offsets_row,omitempty"` // Row indices of the matrix
OffsetsCol []uint64 `protobuf:"varint,2,rep,packed,name=offsets_col,json=offsetsCol,proto3" json:"offsets_col,omitempty"` // Column indices of the matrix
Scores []float32 `protobuf:"fixed32,3,rep,packed,name=scores,proto3" json:"scores,omitempty"` // Scores associated with matrix coordinates
Ids []*PointId `protobuf:"bytes,4,rep,name=ids,proto3" json:"ids,omitempty"` // Ids of the points in order
// contains filtered or unexported fields
}
func (*SearchMatrixOffsets) Descriptor
deprecated
func (*SearchMatrixOffsets) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixOffsets.ProtoReflect.Descriptor instead.
func (*SearchMatrixOffsets) GetIds ¶
func (x *SearchMatrixOffsets) GetIds() []*PointId
func (*SearchMatrixOffsets) GetOffsetsCol ¶
func (x *SearchMatrixOffsets) GetOffsetsCol() []uint64
func (*SearchMatrixOffsets) GetOffsetsRow ¶
func (x *SearchMatrixOffsets) GetOffsetsRow() []uint64
func (*SearchMatrixOffsets) GetScores ¶
func (x *SearchMatrixOffsets) GetScores() []float32
func (*SearchMatrixOffsets) ProtoMessage ¶
func (*SearchMatrixOffsets) ProtoMessage()
func (*SearchMatrixOffsets) ProtoReflect ¶
func (x *SearchMatrixOffsets) ProtoReflect() protoreflect.Message
func (*SearchMatrixOffsets) Reset ¶
func (x *SearchMatrixOffsets) Reset()
func (*SearchMatrixOffsets) String ¶
func (x *SearchMatrixOffsets) String() string
type SearchMatrixOffsetsResponse ¶
type SearchMatrixOffsetsResponse struct {
Result *SearchMatrixOffsets `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatrixOffsetsResponse) Descriptor
deprecated
func (*SearchMatrixOffsetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixOffsetsResponse.ProtoReflect.Descriptor instead.
func (*SearchMatrixOffsetsResponse) GetResult ¶
func (x *SearchMatrixOffsetsResponse) GetResult() *SearchMatrixOffsets
func (*SearchMatrixOffsetsResponse) GetTime ¶
func (x *SearchMatrixOffsetsResponse) GetTime() float64
func (*SearchMatrixOffsetsResponse) GetUsage ¶
func (x *SearchMatrixOffsetsResponse) GetUsage() *Usage
func (*SearchMatrixOffsetsResponse) ProtoMessage ¶
func (*SearchMatrixOffsetsResponse) ProtoMessage()
func (*SearchMatrixOffsetsResponse) ProtoReflect ¶
func (x *SearchMatrixOffsetsResponse) ProtoReflect() protoreflect.Message
func (*SearchMatrixOffsetsResponse) Reset ¶
func (x *SearchMatrixOffsetsResponse) Reset()
func (*SearchMatrixOffsetsResponse) String ¶
func (x *SearchMatrixOffsetsResponse) String() string
type SearchMatrixPair ¶
type SearchMatrixPair struct {
A *PointId `protobuf:"bytes,1,opt,name=a,proto3" json:"a,omitempty"` // first id of the pair
B *PointId `protobuf:"bytes,2,opt,name=b,proto3" json:"b,omitempty"` // second id of the pair
Score float32 `protobuf:"fixed32,3,opt,name=score,proto3" json:"score,omitempty"` // score of the pair
// contains filtered or unexported fields
}
func (*SearchMatrixPair) Descriptor
deprecated
func (*SearchMatrixPair) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixPair.ProtoReflect.Descriptor instead.
func (*SearchMatrixPair) GetA ¶
func (x *SearchMatrixPair) GetA() *PointId
func (*SearchMatrixPair) GetB ¶
func (x *SearchMatrixPair) GetB() *PointId
func (*SearchMatrixPair) GetScore ¶
func (x *SearchMatrixPair) GetScore() float32
func (*SearchMatrixPair) ProtoMessage ¶
func (*SearchMatrixPair) ProtoMessage()
func (*SearchMatrixPair) ProtoReflect ¶
func (x *SearchMatrixPair) ProtoReflect() protoreflect.Message
func (*SearchMatrixPair) Reset ¶
func (x *SearchMatrixPair) Reset()
func (*SearchMatrixPair) String ¶
func (x *SearchMatrixPair) String() string
type SearchMatrixPairs ¶
type SearchMatrixPairs struct {
Pairs []*SearchMatrixPair `protobuf:"bytes,1,rep,name=pairs,proto3" json:"pairs,omitempty"` // List of pairs of points with scores
// contains filtered or unexported fields
}
func (*SearchMatrixPairs) Descriptor
deprecated
func (*SearchMatrixPairs) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixPairs.ProtoReflect.Descriptor instead.
func (*SearchMatrixPairs) GetPairs ¶
func (x *SearchMatrixPairs) GetPairs() []*SearchMatrixPair
func (*SearchMatrixPairs) ProtoMessage ¶
func (*SearchMatrixPairs) ProtoMessage()
func (*SearchMatrixPairs) ProtoReflect ¶
func (x *SearchMatrixPairs) ProtoReflect() protoreflect.Message
func (*SearchMatrixPairs) Reset ¶
func (x *SearchMatrixPairs) Reset()
func (*SearchMatrixPairs) String ¶
func (x *SearchMatrixPairs) String() string
type SearchMatrixPairsResponse ¶
type SearchMatrixPairsResponse struct {
Result *SearchMatrixPairs `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*SearchMatrixPairsResponse) Descriptor
deprecated
func (*SearchMatrixPairsResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixPairsResponse.ProtoReflect.Descriptor instead.
func (*SearchMatrixPairsResponse) GetResult ¶
func (x *SearchMatrixPairsResponse) GetResult() *SearchMatrixPairs
func (*SearchMatrixPairsResponse) GetTime ¶
func (x *SearchMatrixPairsResponse) GetTime() float64
func (*SearchMatrixPairsResponse) GetUsage ¶
func (x *SearchMatrixPairsResponse) GetUsage() *Usage
func (*SearchMatrixPairsResponse) ProtoMessage ¶
func (*SearchMatrixPairsResponse) ProtoMessage()
func (*SearchMatrixPairsResponse) ProtoReflect ¶
func (x *SearchMatrixPairsResponse) ProtoReflect() protoreflect.Message
func (*SearchMatrixPairsResponse) Reset ¶
func (x *SearchMatrixPairsResponse) Reset()
func (*SearchMatrixPairsResponse) String ¶
func (x *SearchMatrixPairsResponse) String() string
type SearchMatrixPoints ¶
type SearchMatrixPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3,oneof" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions.
Sample *uint64 `protobuf:"varint,3,opt,name=sample,proto3,oneof" json:"sample,omitempty"` // How many points to select and search within. Default is 10.
Limit *uint64 `protobuf:"varint,4,opt,name=limit,proto3,oneof" json:"limit,omitempty"` // How many neighbours per sample to find. Default is 3.
Using *string `protobuf:"bytes,5,opt,name=using,proto3,oneof" json:"using,omitempty"` // Define which vector to use for querying. If missing, the default vector is is used.
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
ReadConsistency *ReadConsistency `protobuf:"bytes,7,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,8,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
// contains filtered or unexported fields
}
func (*SearchMatrixPoints) Descriptor
deprecated
func (*SearchMatrixPoints) Descriptor() ([]byte, []int)
Deprecated: Use SearchMatrixPoints.ProtoReflect.Descriptor instead.
func (*SearchMatrixPoints) GetCollectionName ¶
func (x *SearchMatrixPoints) GetCollectionName() string
func (*SearchMatrixPoints) GetFilter ¶
func (x *SearchMatrixPoints) GetFilter() *Filter
func (*SearchMatrixPoints) GetLimit ¶
func (x *SearchMatrixPoints) GetLimit() uint64
func (*SearchMatrixPoints) GetReadConsistency ¶
func (x *SearchMatrixPoints) GetReadConsistency() *ReadConsistency
func (*SearchMatrixPoints) GetSample ¶
func (x *SearchMatrixPoints) GetSample() uint64
func (*SearchMatrixPoints) GetShardKeySelector ¶
func (x *SearchMatrixPoints) GetShardKeySelector() *ShardKeySelector
func (*SearchMatrixPoints) GetTimeout ¶
func (x *SearchMatrixPoints) GetTimeout() uint64
func (*SearchMatrixPoints) GetUsing ¶
func (x *SearchMatrixPoints) GetUsing() string
func (*SearchMatrixPoints) ProtoMessage ¶
func (*SearchMatrixPoints) ProtoMessage()
func (*SearchMatrixPoints) ProtoReflect ¶
func (x *SearchMatrixPoints) ProtoReflect() protoreflect.Message
func (*SearchMatrixPoints) Reset ¶
func (x *SearchMatrixPoints) Reset()
func (*SearchMatrixPoints) String ¶
func (x *SearchMatrixPoints) String() string
type SearchParams ¶
type SearchParams struct {
// Params relevant to HNSW index. Size of the beam in a beam-search.
// Larger the value - more accurate the result, more time required for search.
HnswEf *uint64 `protobuf:"varint,1,opt,name=hnsw_ef,json=hnswEf,proto3,oneof" json:"hnsw_ef,omitempty"`
// Search without approximation. If set to true, search may run long but with exact results.
Exact *bool `protobuf:"varint,2,opt,name=exact,proto3,oneof" json:"exact,omitempty"`
// If set to true, search will ignore quantized vector data
Quantization *QuantizationSearchParams `protobuf:"bytes,3,opt,name=quantization,proto3,oneof" json:"quantization,omitempty"`
// If enabled, the engine will only perform search among indexed or small segments.
// Using this option prevents slow searches in case of delayed index, but does not
// guarantee that all uploaded vectors will be included in search results
IndexedOnly *bool `protobuf:"varint,4,opt,name=indexed_only,json=indexedOnly,proto3,oneof" json:"indexed_only,omitempty"`
// ACORN search params
Acorn *AcornSearchParams `protobuf:"bytes,5,opt,name=acorn,proto3,oneof" json:"acorn,omitempty"`
// contains filtered or unexported fields
}
func (*SearchParams) Descriptor
deprecated
func (*SearchParams) Descriptor() ([]byte, []int)
Deprecated: Use SearchParams.ProtoReflect.Descriptor instead.
func (*SearchParams) GetAcorn ¶
func (x *SearchParams) GetAcorn() *AcornSearchParams
func (*SearchParams) GetExact ¶
func (x *SearchParams) GetExact() bool
func (*SearchParams) GetHnswEf ¶
func (x *SearchParams) GetHnswEf() uint64
func (*SearchParams) GetIndexedOnly ¶
func (x *SearchParams) GetIndexedOnly() bool
func (*SearchParams) GetQuantization ¶
func (x *SearchParams) GetQuantization() *QuantizationSearchParams
func (*SearchParams) ProtoMessage ¶
func (*SearchParams) ProtoMessage()
func (*SearchParams) ProtoReflect ¶
func (x *SearchParams) ProtoReflect() protoreflect.Message
func (*SearchParams) Reset ¶
func (x *SearchParams) Reset()
func (*SearchParams) String ¶
func (x *SearchParams) String() string
type SearchPointGroups ¶
type SearchPointGroups struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
Vector []float32 `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"` // Vector to compare against
Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions
Limit uint32 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // Max number of result
WithPayload *WithPayloadSelector `protobuf:"bytes,5,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"` // Options for specifying which payload to include or not
Params *SearchParams `protobuf:"bytes,6,opt,name=params,proto3" json:"params,omitempty"` // Search config
ScoreThreshold *float32 `protobuf:"fixed32,7,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"` // If provided - cut off results with worse scores
VectorName *string `protobuf:"bytes,8,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"` // Which vector to use for search, if not specified - use default vector
WithVectors *WithVectorsSelector `protobuf:"bytes,9,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into response
GroupBy string `protobuf:"bytes,10,opt,name=group_by,json=groupBy,proto3" json:"group_by,omitempty"` // Payload field to group by, must be a string or number field. If there are multiple values for the field, all of them will be used. One point can be in multiple groups.
GroupSize uint32 `protobuf:"varint,11,opt,name=group_size,json=groupSize,proto3" json:"group_size,omitempty"` // Maximum amount of points to return per group
ReadConsistency *ReadConsistency `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
WithLookup *WithLookup `protobuf:"bytes,13,opt,name=with_lookup,json=withLookup,proto3,oneof" json:"with_lookup,omitempty"` // Options for specifying how to use the group id to lookup points in another collection
Timeout *uint64 `protobuf:"varint,14,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
ShardKeySelector *ShardKeySelector `protobuf:"bytes,15,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
SparseIndices *SparseIndices `protobuf:"bytes,16,opt,name=sparse_indices,json=sparseIndices,proto3,oneof" json:"sparse_indices,omitempty"`
// contains filtered or unexported fields
}
func (*SearchPointGroups) Descriptor
deprecated
func (*SearchPointGroups) Descriptor() ([]byte, []int)
Deprecated: Use SearchPointGroups.ProtoReflect.Descriptor instead.
func (*SearchPointGroups) GetCollectionName ¶
func (x *SearchPointGroups) GetCollectionName() string
func (*SearchPointGroups) GetFilter ¶
func (x *SearchPointGroups) GetFilter() *Filter
func (*SearchPointGroups) GetGroupBy ¶
func (x *SearchPointGroups) GetGroupBy() string
func (*SearchPointGroups) GetGroupSize ¶
func (x *SearchPointGroups) GetGroupSize() uint32
func (*SearchPointGroups) GetLimit ¶
func (x *SearchPointGroups) GetLimit() uint32
func (*SearchPointGroups) GetParams ¶
func (x *SearchPointGroups) GetParams() *SearchParams
func (*SearchPointGroups) GetReadConsistency ¶
func (x *SearchPointGroups) GetReadConsistency() *ReadConsistency
func (*SearchPointGroups) GetScoreThreshold ¶
func (x *SearchPointGroups) GetScoreThreshold() float32
func (*SearchPointGroups) GetShardKeySelector ¶
func (x *SearchPointGroups) GetShardKeySelector() *ShardKeySelector
func (*SearchPointGroups) GetSparseIndices ¶
func (x *SearchPointGroups) GetSparseIndices() *SparseIndices
func (*SearchPointGroups) GetTimeout ¶
func (x *SearchPointGroups) GetTimeout() uint64
func (*SearchPointGroups) GetVector ¶
func (x *SearchPointGroups) GetVector() []float32
func (*SearchPointGroups) GetVectorName ¶
func (x *SearchPointGroups) GetVectorName() string
func (*SearchPointGroups) GetWithLookup ¶
func (x *SearchPointGroups) GetWithLookup() *WithLookup
func (*SearchPointGroups) GetWithPayload ¶
func (x *SearchPointGroups) GetWithPayload() *WithPayloadSelector
func (*SearchPointGroups) GetWithVectors ¶
func (x *SearchPointGroups) GetWithVectors() *WithVectorsSelector
func (*SearchPointGroups) ProtoMessage ¶
func (*SearchPointGroups) ProtoMessage()
func (*SearchPointGroups) ProtoReflect ¶
func (x *SearchPointGroups) ProtoReflect() protoreflect.Message
func (*SearchPointGroups) Reset ¶
func (x *SearchPointGroups) Reset()
func (*SearchPointGroups) String ¶
func (x *SearchPointGroups) String() string
type SearchPoints ¶
type SearchPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Vector []float32 `protobuf:"fixed32,2,rep,packed,name=vector,proto3" json:"vector,omitempty"` // vector
Filter *Filter `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"` // Filter conditions - return only those points that satisfy the specified conditions
Limit uint64 `protobuf:"varint,4,opt,name=limit,proto3" json:"limit,omitempty"` // Max number of result
WithPayload *WithPayloadSelector `protobuf:"bytes,6,opt,name=with_payload,json=withPayload,proto3" json:"with_payload,omitempty"` // Options for specifying which payload to include or not
Params *SearchParams `protobuf:"bytes,7,opt,name=params,proto3" json:"params,omitempty"` // Search config
ScoreThreshold *float32 `protobuf:"fixed32,8,opt,name=score_threshold,json=scoreThreshold,proto3,oneof" json:"score_threshold,omitempty"` // If provided - cut off results with worse scores
Offset *uint64 `protobuf:"varint,9,opt,name=offset,proto3,oneof" json:"offset,omitempty"` // Offset of the result
VectorName *string `protobuf:"bytes,10,opt,name=vector_name,json=vectorName,proto3,oneof" json:"vector_name,omitempty"` // Which vector to use for search, if not specified - use default vector
WithVectors *WithVectorsSelector `protobuf:"bytes,11,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include into response
ReadConsistency *ReadConsistency `protobuf:"bytes,12,opt,name=read_consistency,json=readConsistency,proto3,oneof" json:"read_consistency,omitempty"` // Options for specifying read consistency guarantees
Timeout *uint64 `protobuf:"varint,13,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // If set, overrides global timeout setting for this request. Unit is seconds.
ShardKeySelector *ShardKeySelector `protobuf:"bytes,14,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Specify in which shards to look for the points, if not specified - look in all shards
SparseIndices *SparseIndices `protobuf:"bytes,15,opt,name=sparse_indices,json=sparseIndices,proto3,oneof" json:"sparse_indices,omitempty"`
// contains filtered or unexported fields
}
func (*SearchPoints) Descriptor
deprecated
func (*SearchPoints) Descriptor() ([]byte, []int)
Deprecated: Use SearchPoints.ProtoReflect.Descriptor instead.
func (*SearchPoints) GetCollectionName ¶
func (x *SearchPoints) GetCollectionName() string
func (*SearchPoints) GetFilter ¶
func (x *SearchPoints) GetFilter() *Filter
func (*SearchPoints) GetLimit ¶
func (x *SearchPoints) GetLimit() uint64
func (*SearchPoints) GetOffset ¶
func (x *SearchPoints) GetOffset() uint64
func (*SearchPoints) GetParams ¶
func (x *SearchPoints) GetParams() *SearchParams
func (*SearchPoints) GetReadConsistency ¶
func (x *SearchPoints) GetReadConsistency() *ReadConsistency
func (*SearchPoints) GetScoreThreshold ¶
func (x *SearchPoints) GetScoreThreshold() float32
func (*SearchPoints) GetShardKeySelector ¶
func (x *SearchPoints) GetShardKeySelector() *ShardKeySelector
func (*SearchPoints) GetSparseIndices ¶
func (x *SearchPoints) GetSparseIndices() *SparseIndices
func (*SearchPoints) GetTimeout ¶
func (x *SearchPoints) GetTimeout() uint64
func (*SearchPoints) GetVector ¶
func (x *SearchPoints) GetVector() []float32
func (*SearchPoints) GetVectorName ¶
func (x *SearchPoints) GetVectorName() string
func (*SearchPoints) GetWithPayload ¶
func (x *SearchPoints) GetWithPayload() *WithPayloadSelector
func (*SearchPoints) GetWithVectors ¶
func (x *SearchPoints) GetWithVectors() *WithVectorsSelector
func (*SearchPoints) ProtoMessage ¶
func (*SearchPoints) ProtoMessage()
func (*SearchPoints) ProtoReflect ¶
func (x *SearchPoints) ProtoReflect() protoreflect.Message
func (*SearchPoints) Reset ¶
func (x *SearchPoints) Reset()
func (*SearchPoints) String ¶
func (x *SearchPoints) String() string
type SearchResponse ¶
type SearchResponse struct {
Result []*ScoredPoint `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*SearchResponse) Descriptor
deprecated
func (*SearchResponse) Descriptor() ([]byte, []int)
Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.
func (*SearchResponse) GetResult ¶
func (x *SearchResponse) GetResult() []*ScoredPoint
func (*SearchResponse) GetTime ¶
func (x *SearchResponse) GetTime() float64
func (*SearchResponse) GetUsage ¶
func (x *SearchResponse) GetUsage() *Usage
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) ProtoReflect ¶
func (x *SearchResponse) ProtoReflect() protoreflect.Message
func (*SearchResponse) Reset ¶
func (x *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (x *SearchResponse) String() string
type SetPayloadPoints ¶
type SetPayloadPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
Payload map[string]*Value `` // New payload values
/* 155-byte string literal not displayed */
PointsSelector *PointsSelector `protobuf:"bytes,5,opt,name=points_selector,json=pointsSelector,proto3,oneof" json:"points_selector,omitempty"` // Affected points
Ordering *WriteOrdering `protobuf:"bytes,6,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,7,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
Key *string `protobuf:"bytes,8,opt,name=key,proto3,oneof" json:"key,omitempty"` // Option for indicate property of payload
// contains filtered or unexported fields
}
func (*SetPayloadPoints) Descriptor
deprecated
func (*SetPayloadPoints) Descriptor() ([]byte, []int)
Deprecated: Use SetPayloadPoints.ProtoReflect.Descriptor instead.
func (*SetPayloadPoints) GetCollectionName ¶
func (x *SetPayloadPoints) GetCollectionName() string
func (*SetPayloadPoints) GetKey ¶
func (x *SetPayloadPoints) GetKey() string
func (*SetPayloadPoints) GetOrdering ¶
func (x *SetPayloadPoints) GetOrdering() *WriteOrdering
func (*SetPayloadPoints) GetPayload ¶
func (x *SetPayloadPoints) GetPayload() map[string]*Value
func (*SetPayloadPoints) GetPointsSelector ¶
func (x *SetPayloadPoints) GetPointsSelector() *PointsSelector
func (*SetPayloadPoints) GetShardKeySelector ¶
func (x *SetPayloadPoints) GetShardKeySelector() *ShardKeySelector
func (*SetPayloadPoints) GetWait ¶
func (x *SetPayloadPoints) GetWait() bool
func (*SetPayloadPoints) ProtoMessage ¶
func (*SetPayloadPoints) ProtoMessage()
func (*SetPayloadPoints) ProtoReflect ¶
func (x *SetPayloadPoints) ProtoReflect() protoreflect.Message
func (*SetPayloadPoints) Reset ¶
func (x *SetPayloadPoints) Reset()
func (*SetPayloadPoints) String ¶
func (x *SetPayloadPoints) String() string
type ShardKey ¶
type ShardKey struct {
// Types that are assignable to Key:
//
// *ShardKey_Keyword
// *ShardKey_Number
Key isShardKey_Key `protobuf_oneof:"key"`
// contains filtered or unexported fields
}
func NewShardKey ¶
Creates a *ShardKey instance from a string. This is an alias for NewShardKeyKeyword().
func NewShardKeyKeyword ¶
Creates a *ShardKey instance from a string.
func NewShardKeyNum ¶
Creates a *ShardKey instance from a uint64.
func (*ShardKey) Descriptor
deprecated
func (*ShardKey) GetKeyword ¶
func (*ShardKey) ProtoMessage ¶
func (*ShardKey) ProtoMessage()
func (*ShardKey) ProtoReflect ¶
func (x *ShardKey) ProtoReflect() protoreflect.Message
type ShardKeySelector ¶
type ShardKeySelector struct {
ShardKeys []*ShardKey `protobuf:"bytes,1,rep,name=shard_keys,json=shardKeys,proto3" json:"shard_keys,omitempty"` // List of shard keys which should be used in the request
Fallback *ShardKey `protobuf:"bytes,2,opt,name=fallback,proto3,oneof" json:"fallback,omitempty"`
// contains filtered or unexported fields
}
func (*ShardKeySelector) Descriptor
deprecated
func (*ShardKeySelector) Descriptor() ([]byte, []int)
Deprecated: Use ShardKeySelector.ProtoReflect.Descriptor instead.
func (*ShardKeySelector) GetFallback ¶
func (x *ShardKeySelector) GetFallback() *ShardKey
func (*ShardKeySelector) GetShardKeys ¶
func (x *ShardKeySelector) GetShardKeys() []*ShardKey
func (*ShardKeySelector) ProtoMessage ¶
func (*ShardKeySelector) ProtoMessage()
func (*ShardKeySelector) ProtoReflect ¶
func (x *ShardKeySelector) ProtoReflect() protoreflect.Message
func (*ShardKeySelector) Reset ¶
func (x *ShardKeySelector) Reset()
func (*ShardKeySelector) String ¶
func (x *ShardKeySelector) String() string
type ShardKey_Keyword ¶
type ShardKey_Keyword struct {
Keyword string `protobuf:"bytes,1,opt,name=keyword,proto3,oneof"` // String key
}
type ShardKey_Number ¶
type ShardKey_Number struct {
Number uint64 `protobuf:"varint,2,opt,name=number,proto3,oneof"` // Number key
}
type ShardTransferInfo ¶
type ShardTransferInfo struct {
ShardId uint32 `protobuf:"varint,1,opt,name=shard_id,json=shardId,proto3" json:"shard_id,omitempty"` // Local shard id
ToShardId *uint32 `protobuf:"varint,5,opt,name=to_shard_id,json=toShardId,proto3,oneof" json:"to_shard_id,omitempty"`
From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
To uint64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
Sync bool `protobuf:"varint,4,opt,name=sync,proto3" json:"sync,omitempty"` // If `true` transfer is a synchronization of a replicas; If `false` transfer is a moving of a shard from one peer to another
// contains filtered or unexported fields
}
func (*ShardTransferInfo) Descriptor
deprecated
func (*ShardTransferInfo) Descriptor() ([]byte, []int)
Deprecated: Use ShardTransferInfo.ProtoReflect.Descriptor instead.
func (*ShardTransferInfo) GetFrom ¶
func (x *ShardTransferInfo) GetFrom() uint64
func (*ShardTransferInfo) GetShardId ¶
func (x *ShardTransferInfo) GetShardId() uint32
func (*ShardTransferInfo) GetSync ¶
func (x *ShardTransferInfo) GetSync() bool
func (*ShardTransferInfo) GetTo ¶
func (x *ShardTransferInfo) GetTo() uint64
func (*ShardTransferInfo) GetToShardId ¶
func (x *ShardTransferInfo) GetToShardId() uint32
func (*ShardTransferInfo) ProtoMessage ¶
func (*ShardTransferInfo) ProtoMessage()
func (*ShardTransferInfo) ProtoReflect ¶
func (x *ShardTransferInfo) ProtoReflect() protoreflect.Message
func (*ShardTransferInfo) Reset ¶
func (x *ShardTransferInfo) Reset()
func (*ShardTransferInfo) String ¶
func (x *ShardTransferInfo) String() string
type ShardTransferMethod ¶
type ShardTransferMethod int32
const ( ShardTransferMethod_StreamRecords ShardTransferMethod = 0 // Stream shard records in batches ShardTransferMethod_Snapshot ShardTransferMethod = 1 // Snapshot the shard and recover it on the target peer ShardTransferMethod_WalDelta ShardTransferMethod = 2 // Resolve WAL delta between peers and transfer the difference ShardTransferMethod_ReshardingStreamRecords ShardTransferMethod = 3 // Stream shard records in batches for resharding )
func (ShardTransferMethod) Descriptor ¶
func (ShardTransferMethod) Descriptor() protoreflect.EnumDescriptor
func (ShardTransferMethod) Enum ¶
func (x ShardTransferMethod) Enum() *ShardTransferMethod
func (ShardTransferMethod) EnumDescriptor
deprecated
func (ShardTransferMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use ShardTransferMethod.Descriptor instead.
func (ShardTransferMethod) Number ¶
func (x ShardTransferMethod) Number() protoreflect.EnumNumber
func (ShardTransferMethod) String ¶
func (x ShardTransferMethod) String() string
func (ShardTransferMethod) Type ¶
func (ShardTransferMethod) Type() protoreflect.EnumType
type ShardingMethod ¶
type ShardingMethod int32
const ( ShardingMethod_Auto ShardingMethod = 0 // Auto-sharding based on record ids ShardingMethod_Custom ShardingMethod = 1 // Shard by user-defined key )
func (ShardingMethod) Descriptor ¶
func (ShardingMethod) Descriptor() protoreflect.EnumDescriptor
func (ShardingMethod) Enum ¶
func (x ShardingMethod) Enum() *ShardingMethod
func (ShardingMethod) EnumDescriptor
deprecated
func (ShardingMethod) EnumDescriptor() ([]byte, []int)
Deprecated: Use ShardingMethod.Descriptor instead.
func (ShardingMethod) Number ¶
func (x ShardingMethod) Number() protoreflect.EnumNumber
func (ShardingMethod) String ¶
func (x ShardingMethod) String() string
func (ShardingMethod) Type ¶
func (ShardingMethod) Type() protoreflect.EnumType
type SnapshotDescription ¶
type SnapshotDescription struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Name of the snapshot
CreationTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=creation_time,json=creationTime,proto3" json:"creation_time,omitempty"` // Creation time of the snapshot
Size int64 `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"` // Size of the snapshot in bytes
Checksum *string `protobuf:"bytes,4,opt,name=checksum,proto3,oneof" json:"checksum,omitempty"` // SHA256 digest of the snapshot file
// contains filtered or unexported fields
}
func (*SnapshotDescription) Descriptor
deprecated
func (*SnapshotDescription) Descriptor() ([]byte, []int)
Deprecated: Use SnapshotDescription.ProtoReflect.Descriptor instead.
func (*SnapshotDescription) GetChecksum ¶
func (x *SnapshotDescription) GetChecksum() string
func (*SnapshotDescription) GetCreationTime ¶
func (x *SnapshotDescription) GetCreationTime() *timestamppb.Timestamp
func (*SnapshotDescription) GetName ¶
func (x *SnapshotDescription) GetName() string
func (*SnapshotDescription) GetSize ¶
func (x *SnapshotDescription) GetSize() int64
func (*SnapshotDescription) ProtoMessage ¶
func (*SnapshotDescription) ProtoMessage()
func (*SnapshotDescription) ProtoReflect ¶
func (x *SnapshotDescription) ProtoReflect() protoreflect.Message
func (*SnapshotDescription) Reset ¶
func (x *SnapshotDescription) Reset()
func (*SnapshotDescription) String ¶
func (x *SnapshotDescription) String() string
type SnapshotsClient ¶
type SnapshotsClient interface {
// Create collection snapshot
Create(ctx context.Context, in *CreateSnapshotRequest, opts ...grpc.CallOption) (*CreateSnapshotResponse, error)
// List collection snapshots
List(ctx context.Context, in *ListSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error)
// Delete collection snapshot
Delete(ctx context.Context, in *DeleteSnapshotRequest, opts ...grpc.CallOption) (*DeleteSnapshotResponse, error)
// Create full storage snapshot
CreateFull(ctx context.Context, in *CreateFullSnapshotRequest, opts ...grpc.CallOption) (*CreateSnapshotResponse, error)
// List full storage snapshots
ListFull(ctx context.Context, in *ListFullSnapshotsRequest, opts ...grpc.CallOption) (*ListSnapshotsResponse, error)
// Delete full storage snapshot
DeleteFull(ctx context.Context, in *DeleteFullSnapshotRequest, opts ...grpc.CallOption) (*DeleteSnapshotResponse, error)
}
SnapshotsClient is the client API for Snapshots service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewSnapshotsClient ¶
func NewSnapshotsClient(cc grpc.ClientConnInterface) SnapshotsClient
type SnapshotsServer ¶
type SnapshotsServer interface {
// Create collection snapshot
Create(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
// List collection snapshots
List(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
// Delete collection snapshot
Delete(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
// Create full storage snapshot
CreateFull(context.Context, *CreateFullSnapshotRequest) (*CreateSnapshotResponse, error)
// List full storage snapshots
ListFull(context.Context, *ListFullSnapshotsRequest) (*ListSnapshotsResponse, error)
// Delete full storage snapshot
DeleteFull(context.Context, *DeleteFullSnapshotRequest) (*DeleteSnapshotResponse, error)
// contains filtered or unexported methods
}
SnapshotsServer is the server API for Snapshots service. All implementations must embed UnimplementedSnapshotsServer for forward compatibility.
type SnowballParams ¶
type SnowballParams struct {
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty"` // Which language the algorithm should stem.
// contains filtered or unexported fields
}
func (*SnowballParams) Descriptor
deprecated
func (*SnowballParams) Descriptor() ([]byte, []int)
Deprecated: Use SnowballParams.ProtoReflect.Descriptor instead.
func (*SnowballParams) GetLanguage ¶
func (x *SnowballParams) GetLanguage() string
func (*SnowballParams) ProtoMessage ¶
func (*SnowballParams) ProtoMessage()
func (*SnowballParams) ProtoReflect ¶
func (x *SnowballParams) ProtoReflect() protoreflect.Message
func (*SnowballParams) Reset ¶
func (x *SnowballParams) Reset()
func (*SnowballParams) String ¶
func (x *SnowballParams) String() string
type SparseIndexConfig ¶
type SparseIndexConfig struct {
// Prefer a full scan search upto (excluding) this number of vectors.
// Note: this is number of vectors, not KiloBytes.
FullScanThreshold *uint64 `protobuf:"varint,1,opt,name=full_scan_threshold,json=fullScanThreshold,proto3,oneof" json:"full_scan_threshold,omitempty"`
// Store inverted index on disk. If set to false, the index will be stored in RAM.
OnDisk *bool `protobuf:"varint,2,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"`
// Datatype used to store weights in the index.
Datatype *Datatype `protobuf:"varint,3,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"`
// contains filtered or unexported fields
}
func (*SparseIndexConfig) Descriptor
deprecated
func (*SparseIndexConfig) Descriptor() ([]byte, []int)
Deprecated: Use SparseIndexConfig.ProtoReflect.Descriptor instead.
func (*SparseIndexConfig) GetDatatype ¶
func (x *SparseIndexConfig) GetDatatype() Datatype
func (*SparseIndexConfig) GetFullScanThreshold ¶
func (x *SparseIndexConfig) GetFullScanThreshold() uint64
func (*SparseIndexConfig) GetOnDisk ¶
func (x *SparseIndexConfig) GetOnDisk() bool
func (*SparseIndexConfig) ProtoMessage ¶
func (*SparseIndexConfig) ProtoMessage()
func (*SparseIndexConfig) ProtoReflect ¶
func (x *SparseIndexConfig) ProtoReflect() protoreflect.Message
func (*SparseIndexConfig) Reset ¶
func (x *SparseIndexConfig) Reset()
func (*SparseIndexConfig) String ¶
func (x *SparseIndexConfig) String() string
type SparseIndices ¶
type SparseIndices struct {
Data []uint32 `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
func (*SparseIndices) Descriptor
deprecated
func (*SparseIndices) Descriptor() ([]byte, []int)
Deprecated: Use SparseIndices.ProtoReflect.Descriptor instead.
func (*SparseIndices) GetData ¶
func (x *SparseIndices) GetData() []uint32
func (*SparseIndices) ProtoMessage ¶
func (*SparseIndices) ProtoMessage()
func (*SparseIndices) ProtoReflect ¶
func (x *SparseIndices) ProtoReflect() protoreflect.Message
func (*SparseIndices) Reset ¶
func (x *SparseIndices) Reset()
func (*SparseIndices) String ¶
func (x *SparseIndices) String() string
type SparseVector ¶
type SparseVector struct {
Values []float32 `protobuf:"fixed32,1,rep,packed,name=values,proto3" json:"values,omitempty"`
Indices []uint32 `protobuf:"varint,2,rep,packed,name=indices,proto3" json:"indices,omitempty"`
// contains filtered or unexported fields
}
func (*SparseVector) Descriptor
deprecated
func (*SparseVector) Descriptor() ([]byte, []int)
Deprecated: Use SparseVector.ProtoReflect.Descriptor instead.
func (*SparseVector) GetIndices ¶
func (x *SparseVector) GetIndices() []uint32
func (*SparseVector) GetValues ¶
func (x *SparseVector) GetValues() []float32
func (*SparseVector) ProtoMessage ¶
func (*SparseVector) ProtoMessage()
func (*SparseVector) ProtoReflect ¶
func (x *SparseVector) ProtoReflect() protoreflect.Message
func (*SparseVector) Reset ¶
func (x *SparseVector) Reset()
func (*SparseVector) String ¶
func (x *SparseVector) String() string
type SparseVectorConfig ¶
type SparseVectorConfig struct {
Map map[string]*SparseVectorParams `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func NewSparseVectorsConfig ¶
func NewSparseVectorsConfig(paramsMap map[string]*SparseVectorParams) *SparseVectorConfig
Creates a *SparseVectorConfig instance from a map of *SparseVectorParams.
func (*SparseVectorConfig) Descriptor
deprecated
func (*SparseVectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use SparseVectorConfig.ProtoReflect.Descriptor instead.
func (*SparseVectorConfig) GetMap ¶
func (x *SparseVectorConfig) GetMap() map[string]*SparseVectorParams
func (*SparseVectorConfig) ProtoMessage ¶
func (*SparseVectorConfig) ProtoMessage()
func (*SparseVectorConfig) ProtoReflect ¶
func (x *SparseVectorConfig) ProtoReflect() protoreflect.Message
func (*SparseVectorConfig) Reset ¶
func (x *SparseVectorConfig) Reset()
func (*SparseVectorConfig) String ¶
func (x *SparseVectorConfig) String() string
type SparseVectorParams ¶
type SparseVectorParams struct {
Index *SparseIndexConfig `protobuf:"bytes,1,opt,name=index,proto3,oneof" json:"index,omitempty"` // Configuration of sparse index
Modifier *Modifier `protobuf:"varint,2,opt,name=modifier,proto3,enum=qdrant.Modifier,oneof" json:"modifier,omitempty"` // If set - apply modifier to the vector values
// contains filtered or unexported fields
}
func (*SparseVectorParams) Descriptor
deprecated
func (*SparseVectorParams) Descriptor() ([]byte, []int)
Deprecated: Use SparseVectorParams.ProtoReflect.Descriptor instead.
func (*SparseVectorParams) GetIndex ¶
func (x *SparseVectorParams) GetIndex() *SparseIndexConfig
func (*SparseVectorParams) GetModifier ¶
func (x *SparseVectorParams) GetModifier() Modifier
func (*SparseVectorParams) ProtoMessage ¶
func (*SparseVectorParams) ProtoMessage()
func (*SparseVectorParams) ProtoReflect ¶
func (x *SparseVectorParams) ProtoReflect() protoreflect.Message
func (*SparseVectorParams) Reset ¶
func (x *SparseVectorParams) Reset()
func (*SparseVectorParams) String ¶
func (x *SparseVectorParams) String() string
type StartFrom ¶
type StartFrom struct {
// Types that are assignable to Value:
//
// *StartFrom_Float
// *StartFrom_Integer
// *StartFrom_Timestamp
// *StartFrom_Datetime
Value isStartFrom_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
func NewStartFromDatetime ¶
Creates a *StartFrom instance for a datetime string in the RFC3339 format.
func NewStartFromFloat ¶
Creates a *StartFrom instance for a float value.
func NewStartFromInt ¶
Creates a *StartFrom instance for an integer value.
func NewStartFromTimestamp ¶
Creates a *StartFrom instance for a timestamp value. Parameters: seconds: Represents seconds of UTC time since Unix epoch 1970-01-01T00:00:00Z. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive. nanos: Non-negative fractions of a second at nanosecond resolution. Negative second values with fractions must still have non-negative nanos values that count forward in time. Must be from 0 to 999,999,999 inclusive.
func (*StartFrom) Descriptor
deprecated
func (*StartFrom) GetDatetime ¶
func (*StartFrom) GetInteger ¶
func (*StartFrom) GetTimestamp ¶
func (x *StartFrom) GetTimestamp() *timestamppb.Timestamp
func (*StartFrom) ProtoMessage ¶
func (*StartFrom) ProtoMessage()
func (*StartFrom) ProtoReflect ¶
func (x *StartFrom) ProtoReflect() protoreflect.Message
type StartFrom_Datetime ¶
type StartFrom_Datetime struct {
Datetime string `protobuf:"bytes,4,opt,name=datetime,proto3,oneof"`
}
type StartFrom_Float ¶
type StartFrom_Float struct {
Float float64 `protobuf:"fixed64,1,opt,name=float,proto3,oneof"`
}
type StartFrom_Integer ¶
type StartFrom_Integer struct {
Integer int64 `protobuf:"varint,2,opt,name=integer,proto3,oneof"`
}
type StartFrom_Timestamp ¶
type StartFrom_Timestamp struct {
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3,oneof"`
}
type StemmingAlgorithm ¶
type StemmingAlgorithm struct {
// Types that are assignable to StemmingParams:
//
// *StemmingAlgorithm_Snowball
StemmingParams isStemmingAlgorithm_StemmingParams `protobuf_oneof:"stemming_params"`
// contains filtered or unexported fields
}
func NewStemmingAlgorithmSnowball ¶
func NewStemmingAlgorithmSnowball(snowBall *SnowballParams) *StemmingAlgorithm
Creates a *StemmingAlgorithm instance using Snowball stemmer.
func (*StemmingAlgorithm) Descriptor
deprecated
func (*StemmingAlgorithm) Descriptor() ([]byte, []int)
Deprecated: Use StemmingAlgorithm.ProtoReflect.Descriptor instead.
func (*StemmingAlgorithm) GetSnowball ¶
func (x *StemmingAlgorithm) GetSnowball() *SnowballParams
func (*StemmingAlgorithm) GetStemmingParams ¶
func (m *StemmingAlgorithm) GetStemmingParams() isStemmingAlgorithm_StemmingParams
func (*StemmingAlgorithm) ProtoMessage ¶
func (*StemmingAlgorithm) ProtoMessage()
func (*StemmingAlgorithm) ProtoReflect ¶
func (x *StemmingAlgorithm) ProtoReflect() protoreflect.Message
func (*StemmingAlgorithm) Reset ¶
func (x *StemmingAlgorithm) Reset()
func (*StemmingAlgorithm) String ¶
func (x *StemmingAlgorithm) String() string
type StemmingAlgorithm_Snowball ¶
type StemmingAlgorithm_Snowball struct {
Snowball *SnowballParams `protobuf:"bytes,1,opt,name=snowball,proto3,oneof"` // Parameters for snowball stemming
}
type StopwordsSet ¶
type StopwordsSet struct {
Languages []string `protobuf:"bytes,1,rep,name=languages,proto3" json:"languages,omitempty"` // List of languages to use stopwords from
Custom []string `protobuf:"bytes,2,rep,name=custom,proto3" json:"custom,omitempty"` // List of custom stopwords
// contains filtered or unexported fields
}
func (*StopwordsSet) Descriptor
deprecated
func (*StopwordsSet) Descriptor() ([]byte, []int)
Deprecated: Use StopwordsSet.ProtoReflect.Descriptor instead.
func (*StopwordsSet) GetCustom ¶
func (x *StopwordsSet) GetCustom() []string
func (*StopwordsSet) GetLanguages ¶
func (x *StopwordsSet) GetLanguages() []string
func (*StopwordsSet) ProtoMessage ¶
func (*StopwordsSet) ProtoMessage()
func (*StopwordsSet) ProtoReflect ¶
func (x *StopwordsSet) ProtoReflect() protoreflect.Message
func (*StopwordsSet) Reset ¶
func (x *StopwordsSet) Reset()
func (*StopwordsSet) String ¶
func (x *StopwordsSet) String() string
type StrictModeConfig ¶
type StrictModeConfig struct {
Enabled *bool `protobuf:"varint,1,opt,name=enabled,proto3,oneof" json:"enabled,omitempty"` // Whether strict mode is enabled for a collection or not.
MaxQueryLimit *uint32 `protobuf:"varint,2,opt,name=max_query_limit,json=maxQueryLimit,proto3,oneof" json:"max_query_limit,omitempty"` // Max allowed `limit` parameter for all APIs that don't have their own max limit.
MaxTimeout *uint32 `protobuf:"varint,3,opt,name=max_timeout,json=maxTimeout,proto3,oneof" json:"max_timeout,omitempty"` // Max allowed `timeout` parameter.
UnindexedFilteringRetrieve *bool `` // Allow usage of unindexed fields in retrieval based (e.g. search) filters.
/* 148-byte string literal not displayed */
UnindexedFilteringUpdate *bool `` // Allow usage of unindexed fields in filtered updates (e.g. delete by payload).
/* 142-byte string literal not displayed */
SearchMaxHnswEf *uint32 `protobuf:"varint,6,opt,name=search_max_hnsw_ef,json=searchMaxHnswEf,proto3,oneof" json:"search_max_hnsw_ef,omitempty"` // Max HNSW ef value allowed in search parameters.
SearchAllowExact *bool `protobuf:"varint,7,opt,name=search_allow_exact,json=searchAllowExact,proto3,oneof" json:"search_allow_exact,omitempty"` // Whether exact search is allowed.
SearchMaxOversampling *float32 `` // Max oversampling value allowed in search
/* 134-byte string literal not displayed */
UpsertMaxBatchsize *uint64 `protobuf:"varint,9,opt,name=upsert_max_batchsize,json=upsertMaxBatchsize,proto3,oneof" json:"upsert_max_batchsize,omitempty"` // Max batchsize when upserting
MaxCollectionVectorSizeBytes *uint64 `` // Max size of a collections vector storage in bytes, ignoring replicas.
/* 159-byte string literal not displayed */
ReadRateLimit *uint32 `protobuf:"varint,11,opt,name=read_rate_limit,json=readRateLimit,proto3,oneof" json:"read_rate_limit,omitempty"` // Max number of read operations per minute per replica
WriteRateLimit *uint32 `protobuf:"varint,12,opt,name=write_rate_limit,json=writeRateLimit,proto3,oneof" json:"write_rate_limit,omitempty"` // Max number of write operations per minute per replica
MaxCollectionPayloadSizeBytes *uint64 `` // Max size of a collections payload storage in bytes, ignoring replicas.
/* 162-byte string literal not displayed */
FilterMaxConditions *uint64 `` // Max conditions a filter can have.
/* 128-byte string literal not displayed */
ConditionMaxSize *uint64 `protobuf:"varint,15,opt,name=condition_max_size,json=conditionMaxSize,proto3,oneof" json:"condition_max_size,omitempty"` // Max size of a condition, eg. items in `MatchAny`.
MultivectorConfig *StrictModeMultivectorConfig `protobuf:"bytes,16,opt,name=multivector_config,json=multivectorConfig,proto3,oneof" json:"multivector_config,omitempty"` // Multivector strict mode configuration
SparseConfig *StrictModeSparseConfig `protobuf:"bytes,17,opt,name=sparse_config,json=sparseConfig,proto3,oneof" json:"sparse_config,omitempty"` // Sparse vector strict mode configuration
MaxPointsCount *uint64 `protobuf:"varint,18,opt,name=max_points_count,json=maxPointsCount,proto3,oneof" json:"max_points_count,omitempty"` // Max number of points estimated in a collection
MaxPayloadIndexCount *uint64 `` // Max number of payload indexes in a collection
/* 133-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StrictModeConfig) Descriptor
deprecated
func (*StrictModeConfig) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeConfig.ProtoReflect.Descriptor instead.
func (*StrictModeConfig) GetConditionMaxSize ¶
func (x *StrictModeConfig) GetConditionMaxSize() uint64
func (*StrictModeConfig) GetEnabled ¶
func (x *StrictModeConfig) GetEnabled() bool
func (*StrictModeConfig) GetFilterMaxConditions ¶
func (x *StrictModeConfig) GetFilterMaxConditions() uint64
func (*StrictModeConfig) GetMaxCollectionPayloadSizeBytes ¶
func (x *StrictModeConfig) GetMaxCollectionPayloadSizeBytes() uint64
func (*StrictModeConfig) GetMaxCollectionVectorSizeBytes ¶
func (x *StrictModeConfig) GetMaxCollectionVectorSizeBytes() uint64
func (*StrictModeConfig) GetMaxPayloadIndexCount ¶
func (x *StrictModeConfig) GetMaxPayloadIndexCount() uint64
func (*StrictModeConfig) GetMaxPointsCount ¶
func (x *StrictModeConfig) GetMaxPointsCount() uint64
func (*StrictModeConfig) GetMaxQueryLimit ¶
func (x *StrictModeConfig) GetMaxQueryLimit() uint32
func (*StrictModeConfig) GetMaxTimeout ¶
func (x *StrictModeConfig) GetMaxTimeout() uint32
func (*StrictModeConfig) GetMultivectorConfig ¶
func (x *StrictModeConfig) GetMultivectorConfig() *StrictModeMultivectorConfig
func (*StrictModeConfig) GetReadRateLimit ¶
func (x *StrictModeConfig) GetReadRateLimit() uint32
func (*StrictModeConfig) GetSearchAllowExact ¶
func (x *StrictModeConfig) GetSearchAllowExact() bool
func (*StrictModeConfig) GetSearchMaxHnswEf ¶
func (x *StrictModeConfig) GetSearchMaxHnswEf() uint32
func (*StrictModeConfig) GetSearchMaxOversampling ¶
func (x *StrictModeConfig) GetSearchMaxOversampling() float32
func (*StrictModeConfig) GetSparseConfig ¶
func (x *StrictModeConfig) GetSparseConfig() *StrictModeSparseConfig
func (*StrictModeConfig) GetUnindexedFilteringRetrieve ¶
func (x *StrictModeConfig) GetUnindexedFilteringRetrieve() bool
func (*StrictModeConfig) GetUnindexedFilteringUpdate ¶
func (x *StrictModeConfig) GetUnindexedFilteringUpdate() bool
func (*StrictModeConfig) GetUpsertMaxBatchsize ¶
func (x *StrictModeConfig) GetUpsertMaxBatchsize() uint64
func (*StrictModeConfig) GetWriteRateLimit ¶
func (x *StrictModeConfig) GetWriteRateLimit() uint32
func (*StrictModeConfig) ProtoMessage ¶
func (*StrictModeConfig) ProtoMessage()
func (*StrictModeConfig) ProtoReflect ¶
func (x *StrictModeConfig) ProtoReflect() protoreflect.Message
func (*StrictModeConfig) Reset ¶
func (x *StrictModeConfig) Reset()
func (*StrictModeConfig) String ¶
func (x *StrictModeConfig) String() string
type StrictModeMultivector ¶
type StrictModeMultivector struct {
MaxVectors *uint64 `protobuf:"varint,1,opt,name=max_vectors,json=maxVectors,proto3,oneof" json:"max_vectors,omitempty"` // Max number of vectors in a multivector
// contains filtered or unexported fields
}
func (*StrictModeMultivector) Descriptor
deprecated
func (*StrictModeMultivector) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeMultivector.ProtoReflect.Descriptor instead.
func (*StrictModeMultivector) GetMaxVectors ¶
func (x *StrictModeMultivector) GetMaxVectors() uint64
func (*StrictModeMultivector) ProtoMessage ¶
func (*StrictModeMultivector) ProtoMessage()
func (*StrictModeMultivector) ProtoReflect ¶
func (x *StrictModeMultivector) ProtoReflect() protoreflect.Message
func (*StrictModeMultivector) Reset ¶
func (x *StrictModeMultivector) Reset()
func (*StrictModeMultivector) String ¶
func (x *StrictModeMultivector) String() string
type StrictModeMultivectorConfig ¶
type StrictModeMultivectorConfig struct {
MultivectorConfig map[string]*StrictModeMultivector `` /* 200-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StrictModeMultivectorConfig) Descriptor
deprecated
func (*StrictModeMultivectorConfig) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeMultivectorConfig.ProtoReflect.Descriptor instead.
func (*StrictModeMultivectorConfig) GetMultivectorConfig ¶
func (x *StrictModeMultivectorConfig) GetMultivectorConfig() map[string]*StrictModeMultivector
func (*StrictModeMultivectorConfig) ProtoMessage ¶
func (*StrictModeMultivectorConfig) ProtoMessage()
func (*StrictModeMultivectorConfig) ProtoReflect ¶
func (x *StrictModeMultivectorConfig) ProtoReflect() protoreflect.Message
func (*StrictModeMultivectorConfig) Reset ¶
func (x *StrictModeMultivectorConfig) Reset()
func (*StrictModeMultivectorConfig) String ¶
func (x *StrictModeMultivectorConfig) String() string
type StrictModeSparse ¶
type StrictModeSparse struct {
MaxLength *uint64 `protobuf:"varint,10,opt,name=max_length,json=maxLength,proto3,oneof" json:"max_length,omitempty"` // Max length of sparse vector
// contains filtered or unexported fields
}
func (*StrictModeSparse) Descriptor
deprecated
func (*StrictModeSparse) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeSparse.ProtoReflect.Descriptor instead.
func (*StrictModeSparse) GetMaxLength ¶
func (x *StrictModeSparse) GetMaxLength() uint64
func (*StrictModeSparse) ProtoMessage ¶
func (*StrictModeSparse) ProtoMessage()
func (*StrictModeSparse) ProtoReflect ¶
func (x *StrictModeSparse) ProtoReflect() protoreflect.Message
func (*StrictModeSparse) Reset ¶
func (x *StrictModeSparse) Reset()
func (*StrictModeSparse) String ¶
func (x *StrictModeSparse) String() string
type StrictModeSparseConfig ¶
type StrictModeSparseConfig struct {
SparseConfig map[string]*StrictModeSparse `` /* 185-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*StrictModeSparseConfig) Descriptor
deprecated
func (*StrictModeSparseConfig) Descriptor() ([]byte, []int)
Deprecated: Use StrictModeSparseConfig.ProtoReflect.Descriptor instead.
func (*StrictModeSparseConfig) GetSparseConfig ¶
func (x *StrictModeSparseConfig) GetSparseConfig() map[string]*StrictModeSparse
func (*StrictModeSparseConfig) ProtoMessage ¶
func (*StrictModeSparseConfig) ProtoMessage()
func (*StrictModeSparseConfig) ProtoReflect ¶
func (x *StrictModeSparseConfig) ProtoReflect() protoreflect.Message
func (*StrictModeSparseConfig) Reset ¶
func (x *StrictModeSparseConfig) Reset()
func (*StrictModeSparseConfig) String ¶
func (x *StrictModeSparseConfig) String() string
type Struct ¶
type Struct struct {
// Unordered map of dynamically typed values.
Fields map[string]*Value `` /* 153-byte string literal not displayed */
// contains filtered or unexported fields
}
`Struct` represents a structured data value, consisting of fields which map to dynamically typed values. In some languages, `Struct` might be supported by a native representation. For example, in scripting languages like JS a struct is represented as an object. The details of that representation are described together with the proto support for the language.
The JSON representation for `Struct` is a JSON object.
func NewStruct ¶
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 ¶
type SumExpression struct {
Sum []*Expression `protobuf:"bytes,1,rep,name=sum,proto3" json:"sum,omitempty"`
// contains filtered or unexported fields
}
func (*SumExpression) Descriptor
deprecated
func (*SumExpression) Descriptor() ([]byte, []int)
Deprecated: Use SumExpression.ProtoReflect.Descriptor instead.
func (*SumExpression) GetSum ¶
func (x *SumExpression) GetSum() []*Expression
func (*SumExpression) ProtoMessage ¶
func (*SumExpression) ProtoMessage()
func (*SumExpression) ProtoReflect ¶
func (x *SumExpression) ProtoReflect() protoreflect.Message
func (*SumExpression) Reset ¶
func (x *SumExpression) Reset()
func (*SumExpression) String ¶
func (x *SumExpression) String() string
type TargetVector ¶
type TargetVector struct {
// Types that are assignable to Target:
//
// *TargetVector_Single
Target isTargetVector_Target `protobuf_oneof:"target"`
// contains filtered or unexported fields
}
func NewTarget ¶
func NewTarget(vector *Vector) *TargetVector
Creates a *TargetVector instance from a *Vector. This is an alias for NewTargetVector().
func NewTargetID ¶
func NewTargetID(id *PointId) *TargetVector
Creates a *TargetVector instance from a *PointId.
func NewTargetVector ¶
func NewTargetVector(vector *Vector) *TargetVector
Creates a *TargetVector instance from a *Vector.
func (*TargetVector) Descriptor
deprecated
func (*TargetVector) Descriptor() ([]byte, []int)
Deprecated: Use TargetVector.ProtoReflect.Descriptor instead.
func (*TargetVector) GetSingle ¶
func (x *TargetVector) GetSingle() *VectorExample
func (*TargetVector) GetTarget ¶
func (m *TargetVector) GetTarget() isTargetVector_Target
func (*TargetVector) ProtoMessage ¶
func (*TargetVector) ProtoMessage()
func (*TargetVector) ProtoReflect ¶
func (x *TargetVector) ProtoReflect() protoreflect.Message
func (*TargetVector) Reset ¶
func (x *TargetVector) Reset()
func (*TargetVector) String ¶
func (x *TargetVector) String() string
type TargetVector_Single ¶
type TargetVector_Single struct {
Single *VectorExample `protobuf:"bytes,1,opt,name=single,proto3,oneof"`
}
type TextIndexParams ¶
type TextIndexParams struct {
Tokenizer TokenizerType `protobuf:"varint,1,opt,name=tokenizer,proto3,enum=qdrant.TokenizerType" json:"tokenizer,omitempty"` // Tokenizer type
Lowercase *bool `protobuf:"varint,2,opt,name=lowercase,proto3,oneof" json:"lowercase,omitempty"` // If true - all tokens will be lowercase
MinTokenLen *uint64 `protobuf:"varint,3,opt,name=min_token_len,json=minTokenLen,proto3,oneof" json:"min_token_len,omitempty"` // Minimal token length
MaxTokenLen *uint64 `protobuf:"varint,4,opt,name=max_token_len,json=maxTokenLen,proto3,oneof" json:"max_token_len,omitempty"` // Maximal token length
OnDisk *bool `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
Stopwords *StopwordsSet `protobuf:"bytes,6,opt,name=stopwords,proto3,oneof" json:"stopwords,omitempty"` // Stopwords for the text index
PhraseMatching *bool `protobuf:"varint,7,opt,name=phrase_matching,json=phraseMatching,proto3,oneof" json:"phrase_matching,omitempty"` // If true - support phrase matching.
Stemmer *StemmingAlgorithm `protobuf:"bytes,8,opt,name=stemmer,proto3,oneof" json:"stemmer,omitempty"` // Set an algorithm for stemming.
AsciiFolding *bool `protobuf:"varint,9,opt,name=ascii_folding,json=asciiFolding,proto3,oneof" json:"ascii_folding,omitempty"` // If true, normalize tokens by folding accented characters to ASCII (e.g., "ação" -> "acao"). Default: false.
// contains filtered or unexported fields
}
func (*TextIndexParams) Descriptor
deprecated
func (*TextIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use TextIndexParams.ProtoReflect.Descriptor instead.
func (*TextIndexParams) GetAsciiFolding ¶
func (x *TextIndexParams) GetAsciiFolding() bool
func (*TextIndexParams) GetLowercase ¶
func (x *TextIndexParams) GetLowercase() bool
func (*TextIndexParams) GetMaxTokenLen ¶
func (x *TextIndexParams) GetMaxTokenLen() uint64
func (*TextIndexParams) GetMinTokenLen ¶
func (x *TextIndexParams) GetMinTokenLen() uint64
func (*TextIndexParams) GetOnDisk ¶
func (x *TextIndexParams) GetOnDisk() bool
func (*TextIndexParams) GetPhraseMatching ¶
func (x *TextIndexParams) GetPhraseMatching() bool
func (*TextIndexParams) GetStemmer ¶
func (x *TextIndexParams) GetStemmer() *StemmingAlgorithm
func (*TextIndexParams) GetStopwords ¶
func (x *TextIndexParams) GetStopwords() *StopwordsSet
func (*TextIndexParams) GetTokenizer ¶
func (x *TextIndexParams) GetTokenizer() TokenizerType
func (*TextIndexParams) ProtoMessage ¶
func (*TextIndexParams) ProtoMessage()
func (*TextIndexParams) ProtoReflect ¶
func (x *TextIndexParams) ProtoReflect() protoreflect.Message
func (*TextIndexParams) Reset ¶
func (x *TextIndexParams) Reset()
func (*TextIndexParams) String ¶
func (x *TextIndexParams) String() string
type TokenizerType ¶
type TokenizerType int32
const ( TokenizerType_Unknown TokenizerType = 0 TokenizerType_Prefix TokenizerType = 1 TokenizerType_Whitespace TokenizerType = 2 TokenizerType_Word TokenizerType = 3 TokenizerType_Multilingual TokenizerType = 4 )
func (TokenizerType) Descriptor ¶
func (TokenizerType) Descriptor() protoreflect.EnumDescriptor
func (TokenizerType) Enum ¶
func (x TokenizerType) Enum() *TokenizerType
func (TokenizerType) EnumDescriptor
deprecated
func (TokenizerType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TokenizerType.Descriptor instead.
func (TokenizerType) Number ¶
func (x TokenizerType) Number() protoreflect.EnumNumber
func (TokenizerType) String ¶
func (x TokenizerType) String() string
func (TokenizerType) Type ¶
func (TokenizerType) Type() protoreflect.EnumType
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 ¶
func (UnimplementedCollectionsServer) CollectionClusterInfo(context.Context, *CollectionClusterInfoRequest) (*CollectionClusterInfoResponse, error)
func (UnimplementedCollectionsServer) CollectionExists ¶
func (UnimplementedCollectionsServer) CollectionExists(context.Context, *CollectionExistsRequest) (*CollectionExistsResponse, error)
func (UnimplementedCollectionsServer) Create ¶
func (UnimplementedCollectionsServer) Create(context.Context, *CreateCollection) (*CollectionOperationResponse, error)
func (UnimplementedCollectionsServer) CreateShardKey ¶
func (UnimplementedCollectionsServer) CreateShardKey(context.Context, *CreateShardKeyRequest) (*CreateShardKeyResponse, error)
func (UnimplementedCollectionsServer) Delete ¶
func (UnimplementedCollectionsServer) Delete(context.Context, *DeleteCollection) (*CollectionOperationResponse, error)
func (UnimplementedCollectionsServer) DeleteShardKey ¶
func (UnimplementedCollectionsServer) DeleteShardKey(context.Context, *DeleteShardKeyRequest) (*DeleteShardKeyResponse, error)
func (UnimplementedCollectionsServer) List ¶
func (UnimplementedCollectionsServer) List(context.Context, *ListCollectionsRequest) (*ListCollectionsResponse, error)
func (UnimplementedCollectionsServer) ListAliases ¶
func (UnimplementedCollectionsServer) ListAliases(context.Context, *ListAliasesRequest) (*ListAliasesResponse, error)
func (UnimplementedCollectionsServer) ListCollectionAliases ¶
func (UnimplementedCollectionsServer) ListCollectionAliases(context.Context, *ListCollectionAliasesRequest) (*ListAliasesResponse, 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 ¶
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 ¶
func (UnimplementedPointsServer) Count(context.Context, *CountPoints) (*CountResponse, error)
func (UnimplementedPointsServer) CreateFieldIndex ¶
func (UnimplementedPointsServer) CreateFieldIndex(context.Context, *CreateFieldIndexCollection) (*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) DeleteVectors ¶
func (UnimplementedPointsServer) DeleteVectors(context.Context, *DeletePointVectors) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) Discover ¶
func (UnimplementedPointsServer) Discover(context.Context, *DiscoverPoints) (*DiscoverResponse, error)
func (UnimplementedPointsServer) DiscoverBatch ¶
func (UnimplementedPointsServer) DiscoverBatch(context.Context, *DiscoverBatchPoints) (*DiscoverBatchResponse, error)
func (UnimplementedPointsServer) Facet ¶
func (UnimplementedPointsServer) Facet(context.Context, *FacetCounts) (*FacetResponse, error)
func (UnimplementedPointsServer) Get ¶
func (UnimplementedPointsServer) Get(context.Context, *GetPoints) (*GetResponse, error)
func (UnimplementedPointsServer) OverwritePayload ¶
func (UnimplementedPointsServer) OverwritePayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) Query ¶
func (UnimplementedPointsServer) Query(context.Context, *QueryPoints) (*QueryResponse, error)
func (UnimplementedPointsServer) QueryBatch ¶
func (UnimplementedPointsServer) QueryBatch(context.Context, *QueryBatchPoints) (*QueryBatchResponse, error)
func (UnimplementedPointsServer) QueryGroups ¶
func (UnimplementedPointsServer) QueryGroups(context.Context, *QueryPointGroups) (*QueryGroupsResponse, error)
func (UnimplementedPointsServer) Recommend ¶
func (UnimplementedPointsServer) Recommend(context.Context, *RecommendPoints) (*RecommendResponse, error)
func (UnimplementedPointsServer) RecommendBatch ¶
func (UnimplementedPointsServer) RecommendBatch(context.Context, *RecommendBatchPoints) (*RecommendBatchResponse, error)
func (UnimplementedPointsServer) RecommendGroups ¶
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 ¶
func (UnimplementedPointsServer) SearchBatch(context.Context, *SearchBatchPoints) (*SearchBatchResponse, error)
func (UnimplementedPointsServer) SearchGroups ¶
func (UnimplementedPointsServer) SearchGroups(context.Context, *SearchPointGroups) (*SearchGroupsResponse, error)
func (UnimplementedPointsServer) SearchMatrixOffsets ¶
func (UnimplementedPointsServer) SearchMatrixOffsets(context.Context, *SearchMatrixPoints) (*SearchMatrixOffsetsResponse, error)
func (UnimplementedPointsServer) SearchMatrixPairs ¶
func (UnimplementedPointsServer) SearchMatrixPairs(context.Context, *SearchMatrixPoints) (*SearchMatrixPairsResponse, error)
func (UnimplementedPointsServer) SetPayload ¶
func (UnimplementedPointsServer) SetPayload(context.Context, *SetPayloadPoints) (*PointsOperationResponse, error)
func (UnimplementedPointsServer) UpdateBatch ¶
func (UnimplementedPointsServer) UpdateBatch(context.Context, *UpdateBatchPoints) (*UpdateBatchResponse, error)
func (UnimplementedPointsServer) UpdateVectors ¶
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 ¶
type UnimplementedSnapshotsServer struct{}
UnimplementedSnapshotsServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedSnapshotsServer) Create ¶
func (UnimplementedSnapshotsServer) Create(context.Context, *CreateSnapshotRequest) (*CreateSnapshotResponse, error)
func (UnimplementedSnapshotsServer) CreateFull ¶
func (UnimplementedSnapshotsServer) CreateFull(context.Context, *CreateFullSnapshotRequest) (*CreateSnapshotResponse, error)
func (UnimplementedSnapshotsServer) Delete ¶
func (UnimplementedSnapshotsServer) Delete(context.Context, *DeleteSnapshotRequest) (*DeleteSnapshotResponse, error)
func (UnimplementedSnapshotsServer) DeleteFull ¶
func (UnimplementedSnapshotsServer) DeleteFull(context.Context, *DeleteFullSnapshotRequest) (*DeleteSnapshotResponse, error)
func (UnimplementedSnapshotsServer) List ¶
func (UnimplementedSnapshotsServer) List(context.Context, *ListSnapshotsRequest) (*ListSnapshotsResponse, error)
func (UnimplementedSnapshotsServer) ListFull ¶
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 ¶
type UnsafeSnapshotsServer interface {
// contains filtered or unexported methods
}
UnsafeSnapshotsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SnapshotsServer will result in compilation errors.
type UpdateBatchPoints ¶
type UpdateBatchPoints struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
Operations []*PointsUpdateOperation `protobuf:"bytes,3,rep,name=operations,proto3" json:"operations,omitempty"`
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
// contains filtered or unexported fields
}
func (*UpdateBatchPoints) Descriptor
deprecated
func (*UpdateBatchPoints) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBatchPoints.ProtoReflect.Descriptor instead.
func (*UpdateBatchPoints) GetCollectionName ¶
func (x *UpdateBatchPoints) GetCollectionName() string
func (*UpdateBatchPoints) GetOperations ¶
func (x *UpdateBatchPoints) GetOperations() []*PointsUpdateOperation
func (*UpdateBatchPoints) GetOrdering ¶
func (x *UpdateBatchPoints) GetOrdering() *WriteOrdering
func (*UpdateBatchPoints) GetWait ¶
func (x *UpdateBatchPoints) GetWait() bool
func (*UpdateBatchPoints) ProtoMessage ¶
func (*UpdateBatchPoints) ProtoMessage()
func (*UpdateBatchPoints) ProtoReflect ¶
func (x *UpdateBatchPoints) ProtoReflect() protoreflect.Message
func (*UpdateBatchPoints) Reset ¶
func (x *UpdateBatchPoints) Reset()
func (*UpdateBatchPoints) String ¶
func (x *UpdateBatchPoints) String() string
type UpdateBatchResponse ¶
type UpdateBatchResponse struct {
Result []*UpdateResult `protobuf:"bytes,1,rep,name=result,proto3" json:"result,omitempty"`
Time float64 `protobuf:"fixed64,2,opt,name=time,proto3" json:"time,omitempty"` // Time spent to process
Usage *Usage `protobuf:"bytes,3,opt,name=usage,proto3,oneof" json:"usage,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateBatchResponse) Descriptor
deprecated
func (*UpdateBatchResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateBatchResponse.ProtoReflect.Descriptor instead.
func (*UpdateBatchResponse) GetResult ¶
func (x *UpdateBatchResponse) GetResult() []*UpdateResult
func (*UpdateBatchResponse) GetTime ¶
func (x *UpdateBatchResponse) GetTime() float64
func (*UpdateBatchResponse) GetUsage ¶
func (x *UpdateBatchResponse) GetUsage() *Usage
func (*UpdateBatchResponse) ProtoMessage ¶
func (*UpdateBatchResponse) ProtoMessage()
func (*UpdateBatchResponse) ProtoReflect ¶
func (x *UpdateBatchResponse) ProtoReflect() protoreflect.Message
func (*UpdateBatchResponse) Reset ¶
func (x *UpdateBatchResponse) Reset()
func (*UpdateBatchResponse) String ¶
func (x *UpdateBatchResponse) String() string
type UpdateCollection ¶
type UpdateCollection struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
OptimizersConfig *OptimizersConfigDiff `protobuf:"bytes,2,opt,name=optimizers_config,json=optimizersConfig,proto3,oneof" json:"optimizers_config,omitempty"` // New configuration parameters for the collection. This operation is blocking, it will only proceed once all current optimizations are complete
Timeout *uint64 `protobuf:"varint,3,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds if blocking, if not specified - default value will be supplied
Params *CollectionParamsDiff `protobuf:"bytes,4,opt,name=params,proto3,oneof" json:"params,omitempty"` // New configuration parameters for the collection
HnswConfig *HnswConfigDiff `protobuf:"bytes,5,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"` // New HNSW parameters for the collection index
VectorsConfig *VectorsConfigDiff `protobuf:"bytes,6,opt,name=vectors_config,json=vectorsConfig,proto3,oneof" json:"vectors_config,omitempty"` // New vector parameters
QuantizationConfig *QuantizationConfigDiff `protobuf:"bytes,7,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Quantization configuration of vector
SparseVectorsConfig *SparseVectorConfig `` // New sparse vector parameters
/* 126-byte string literal not displayed */
StrictModeConfig *StrictModeConfig `protobuf:"bytes,9,opt,name=strict_mode_config,json=strictModeConfig,proto3,oneof" json:"strict_mode_config,omitempty"` // New strict mode configuration
Metadata map[string]*Value `` // Arbitrary JSON-like metadata for the collection, will be merged with already stored metadata
/* 158-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*UpdateCollection) Descriptor
deprecated
func (*UpdateCollection) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollection.ProtoReflect.Descriptor instead.
func (*UpdateCollection) GetCollectionName ¶
func (x *UpdateCollection) GetCollectionName() string
func (*UpdateCollection) GetHnswConfig ¶
func (x *UpdateCollection) GetHnswConfig() *HnswConfigDiff
func (*UpdateCollection) GetMetadata ¶
func (x *UpdateCollection) GetMetadata() map[string]*Value
func (*UpdateCollection) GetOptimizersConfig ¶
func (x *UpdateCollection) GetOptimizersConfig() *OptimizersConfigDiff
func (*UpdateCollection) GetParams ¶
func (x *UpdateCollection) GetParams() *CollectionParamsDiff
func (*UpdateCollection) GetQuantizationConfig ¶
func (x *UpdateCollection) GetQuantizationConfig() *QuantizationConfigDiff
func (*UpdateCollection) GetSparseVectorsConfig ¶
func (x *UpdateCollection) GetSparseVectorsConfig() *SparseVectorConfig
func (*UpdateCollection) GetStrictModeConfig ¶
func (x *UpdateCollection) GetStrictModeConfig() *StrictModeConfig
func (*UpdateCollection) GetTimeout ¶
func (x *UpdateCollection) GetTimeout() uint64
func (*UpdateCollection) GetVectorsConfig ¶
func (x *UpdateCollection) GetVectorsConfig() *VectorsConfigDiff
func (*UpdateCollection) ProtoMessage ¶
func (*UpdateCollection) ProtoMessage()
func (*UpdateCollection) ProtoReflect ¶
func (x *UpdateCollection) ProtoReflect() protoreflect.Message
func (*UpdateCollection) Reset ¶
func (x *UpdateCollection) Reset()
func (*UpdateCollection) String ¶
func (x *UpdateCollection) String() string
type UpdateCollectionClusterSetupRequest ¶
type UpdateCollectionClusterSetupRequest struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // Name of the collection
// Types that are assignable to Operation:
//
// *UpdateCollectionClusterSetupRequest_MoveShard
// *UpdateCollectionClusterSetupRequest_ReplicateShard
// *UpdateCollectionClusterSetupRequest_AbortTransfer
// *UpdateCollectionClusterSetupRequest_DropReplica
// *UpdateCollectionClusterSetupRequest_CreateShardKey
// *UpdateCollectionClusterSetupRequest_DeleteShardKey
// *UpdateCollectionClusterSetupRequest_RestartTransfer
// *UpdateCollectionClusterSetupRequest_ReplicatePoints
Operation isUpdateCollectionClusterSetupRequest_Operation `protobuf_oneof:"operation"`
Timeout *uint64 `protobuf:"varint,6,opt,name=timeout,proto3,oneof" json:"timeout,omitempty"` // Wait timeout for operation commit in seconds, if not specified - default value will be supplied
// contains filtered or unexported fields
}
func NewUpdateCollectionClusterAbortTransfer ¶
func NewUpdateCollectionClusterAbortTransfer(collectionName string, abortTransfer *AbortShardTransfer) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to abort a shard transfer.
func NewUpdateCollectionClusterCreateShardKey ¶
func NewUpdateCollectionClusterCreateShardKey(collectionName string, createShardKey *CreateShardKey) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to create a shard key.
func NewUpdateCollectionClusterDeleteShardKey ¶
func NewUpdateCollectionClusterDeleteShardKey(collectionName string, deleteShardKey *DeleteShardKey) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to delete a shard key.
func NewUpdateCollectionClusterDropReplica ¶
func NewUpdateCollectionClusterDropReplica(collectionName string, dropReplica *Replica) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to drop a replica.
func NewUpdateCollectionClusterMoveShard ¶
func NewUpdateCollectionClusterMoveShard(collectionName string, moveShard *MoveShard) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to move a shard.
func NewUpdateCollectionClusterReplicatePoints ¶
func NewUpdateCollectionClusterReplicatePoints(collectionName string, replicatePoints *ReplicatePoints) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to replicate points.
func NewUpdateCollectionClusterReplicateShard ¶
func NewUpdateCollectionClusterReplicateShard(collectionName string, replicateShard *ReplicateShard) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to replicate a shard.
func NewUpdateCollectionClusterRestartTransfer ¶
func NewUpdateCollectionClusterRestartTransfer(collectionName string, restartTransfer *RestartTransfer) *UpdateCollectionClusterSetupRequest
Creates a *UpdateCollectionClusterSetupRequest to restart a transfer.
func (*UpdateCollectionClusterSetupRequest) Descriptor
deprecated
func (*UpdateCollectionClusterSetupRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionClusterSetupRequest.ProtoReflect.Descriptor instead.
func (*UpdateCollectionClusterSetupRequest) GetAbortTransfer ¶
func (x *UpdateCollectionClusterSetupRequest) GetAbortTransfer() *AbortShardTransfer
func (*UpdateCollectionClusterSetupRequest) GetCollectionName ¶
func (x *UpdateCollectionClusterSetupRequest) GetCollectionName() string
func (*UpdateCollectionClusterSetupRequest) GetCreateShardKey ¶
func (x *UpdateCollectionClusterSetupRequest) GetCreateShardKey() *CreateShardKey
func (*UpdateCollectionClusterSetupRequest) GetDeleteShardKey ¶
func (x *UpdateCollectionClusterSetupRequest) GetDeleteShardKey() *DeleteShardKey
func (*UpdateCollectionClusterSetupRequest) GetDropReplica ¶
func (x *UpdateCollectionClusterSetupRequest) GetDropReplica() *Replica
func (*UpdateCollectionClusterSetupRequest) GetMoveShard ¶
func (x *UpdateCollectionClusterSetupRequest) GetMoveShard() *MoveShard
func (*UpdateCollectionClusterSetupRequest) GetOperation ¶
func (m *UpdateCollectionClusterSetupRequest) GetOperation() isUpdateCollectionClusterSetupRequest_Operation
func (*UpdateCollectionClusterSetupRequest) GetReplicatePoints ¶
func (x *UpdateCollectionClusterSetupRequest) GetReplicatePoints() *ReplicatePoints
func (*UpdateCollectionClusterSetupRequest) GetReplicateShard ¶
func (x *UpdateCollectionClusterSetupRequest) GetReplicateShard() *ReplicateShard
func (*UpdateCollectionClusterSetupRequest) GetRestartTransfer ¶
func (x *UpdateCollectionClusterSetupRequest) GetRestartTransfer() *RestartTransfer
func (*UpdateCollectionClusterSetupRequest) GetTimeout ¶
func (x *UpdateCollectionClusterSetupRequest) GetTimeout() uint64
func (*UpdateCollectionClusterSetupRequest) ProtoMessage ¶
func (*UpdateCollectionClusterSetupRequest) ProtoMessage()
func (*UpdateCollectionClusterSetupRequest) ProtoReflect ¶
func (x *UpdateCollectionClusterSetupRequest) ProtoReflect() protoreflect.Message
func (*UpdateCollectionClusterSetupRequest) Reset ¶
func (x *UpdateCollectionClusterSetupRequest) Reset()
func (*UpdateCollectionClusterSetupRequest) String ¶
func (x *UpdateCollectionClusterSetupRequest) String() string
type UpdateCollectionClusterSetupRequest_AbortTransfer ¶
type UpdateCollectionClusterSetupRequest_AbortTransfer struct {
AbortTransfer *AbortShardTransfer `protobuf:"bytes,4,opt,name=abort_transfer,json=abortTransfer,proto3,oneof"`
}
type UpdateCollectionClusterSetupRequest_CreateShardKey ¶
type UpdateCollectionClusterSetupRequest_CreateShardKey struct {
CreateShardKey *CreateShardKey `protobuf:"bytes,7,opt,name=create_shard_key,json=createShardKey,proto3,oneof"`
}
type UpdateCollectionClusterSetupRequest_DeleteShardKey ¶
type UpdateCollectionClusterSetupRequest_DeleteShardKey struct {
DeleteShardKey *DeleteShardKey `protobuf:"bytes,8,opt,name=delete_shard_key,json=deleteShardKey,proto3,oneof"`
}
type UpdateCollectionClusterSetupRequest_DropReplica ¶
type UpdateCollectionClusterSetupRequest_DropReplica struct {
DropReplica *Replica `protobuf:"bytes,5,opt,name=drop_replica,json=dropReplica,proto3,oneof"`
}
type UpdateCollectionClusterSetupRequest_MoveShard ¶
type UpdateCollectionClusterSetupRequest_MoveShard struct {
MoveShard *MoveShard `protobuf:"bytes,2,opt,name=move_shard,json=moveShard,proto3,oneof"`
}
type UpdateCollectionClusterSetupRequest_ReplicatePoints ¶
type UpdateCollectionClusterSetupRequest_ReplicatePoints struct {
ReplicatePoints *ReplicatePoints `protobuf:"bytes,10,opt,name=replicate_points,json=replicatePoints,proto3,oneof"`
}
type UpdateCollectionClusterSetupRequest_ReplicateShard ¶
type UpdateCollectionClusterSetupRequest_ReplicateShard struct {
ReplicateShard *ReplicateShard `protobuf:"bytes,3,opt,name=replicate_shard,json=replicateShard,proto3,oneof"`
}
type UpdateCollectionClusterSetupRequest_RestartTransfer ¶
type UpdateCollectionClusterSetupRequest_RestartTransfer struct {
RestartTransfer *RestartTransfer `protobuf:"bytes,9,opt,name=restart_transfer,json=restartTransfer,proto3,oneof"`
}
type UpdateCollectionClusterSetupResponse ¶
type UpdateCollectionClusterSetupResponse struct {
Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"`
// contains filtered or unexported fields
}
func (*UpdateCollectionClusterSetupResponse) Descriptor
deprecated
func (*UpdateCollectionClusterSetupResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateCollectionClusterSetupResponse.ProtoReflect.Descriptor instead.
func (*UpdateCollectionClusterSetupResponse) GetResult ¶
func (x *UpdateCollectionClusterSetupResponse) GetResult() bool
func (*UpdateCollectionClusterSetupResponse) ProtoMessage ¶
func (*UpdateCollectionClusterSetupResponse) ProtoMessage()
func (*UpdateCollectionClusterSetupResponse) ProtoReflect ¶
func (x *UpdateCollectionClusterSetupResponse) ProtoReflect() protoreflect.Message
func (*UpdateCollectionClusterSetupResponse) Reset ¶
func (x *UpdateCollectionClusterSetupResponse) Reset()
func (*UpdateCollectionClusterSetupResponse) String ¶
func (x *UpdateCollectionClusterSetupResponse) String() string
type UpdatePointVectors ¶
type UpdatePointVectors struct {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
Points []*PointVectors `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"` // List of points and vectors to update
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
UpdateFilter *Filter `protobuf:"bytes,6,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"` // If specified, only points that match this filter will be updated
// contains filtered or unexported fields
}
func (*UpdatePointVectors) Descriptor
deprecated
func (*UpdatePointVectors) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePointVectors.ProtoReflect.Descriptor instead.
func (*UpdatePointVectors) GetCollectionName ¶
func (x *UpdatePointVectors) GetCollectionName() string
func (*UpdatePointVectors) GetOrdering ¶
func (x *UpdatePointVectors) GetOrdering() *WriteOrdering
func (*UpdatePointVectors) GetPoints ¶
func (x *UpdatePointVectors) GetPoints() []*PointVectors
func (*UpdatePointVectors) GetShardKeySelector ¶
func (x *UpdatePointVectors) GetShardKeySelector() *ShardKeySelector
func (*UpdatePointVectors) GetUpdateFilter ¶
func (x *UpdatePointVectors) GetUpdateFilter() *Filter
func (*UpdatePointVectors) GetWait ¶
func (x *UpdatePointVectors) GetWait() bool
func (*UpdatePointVectors) ProtoMessage ¶
func (*UpdatePointVectors) ProtoMessage()
func (*UpdatePointVectors) ProtoReflect ¶
func (x *UpdatePointVectors) ProtoReflect() protoreflect.Message
func (*UpdatePointVectors) Reset ¶
func (x *UpdatePointVectors) Reset()
func (*UpdatePointVectors) String ¶
func (x *UpdatePointVectors) String() string
type UpdateResult ¶
type UpdateResult struct {
OperationId *uint64 `protobuf:"varint,1,opt,name=operation_id,json=operationId,proto3,oneof" json:"operation_id,omitempty"` // Number of operation
Status UpdateStatus `protobuf:"varint,2,opt,name=status,proto3,enum=qdrant.UpdateStatus" json:"status,omitempty"` // Operation status
// contains filtered or unexported fields
}
func (*UpdateResult) Descriptor
deprecated
func (*UpdateResult) Descriptor() ([]byte, []int)
Deprecated: Use UpdateResult.ProtoReflect.Descriptor instead.
func (*UpdateResult) GetOperationId ¶
func (x *UpdateResult) GetOperationId() uint64
func (*UpdateResult) GetStatus ¶
func (x *UpdateResult) GetStatus() UpdateStatus
func (*UpdateResult) ProtoMessage ¶
func (*UpdateResult) ProtoMessage()
func (*UpdateResult) ProtoReflect ¶
func (x *UpdateResult) ProtoReflect() protoreflect.Message
func (*UpdateResult) Reset ¶
func (x *UpdateResult) Reset()
func (*UpdateResult) String ¶
func (x *UpdateResult) String() string
type UpdateStatus ¶
type UpdateStatus int32
const ( UpdateStatus_UnknownUpdateStatus UpdateStatus = 0 UpdateStatus_Acknowledged UpdateStatus = 1 // Update is received, but not processed yet UpdateStatus_Completed UpdateStatus = 2 // Update is applied and ready for search UpdateStatus_ClockRejected UpdateStatus = 3 // Internal: update is rejected due to an outdated clock )
func (UpdateStatus) Descriptor ¶
func (UpdateStatus) 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 {
CollectionName string `protobuf:"bytes,1,opt,name=collection_name,json=collectionName,proto3" json:"collection_name,omitempty"` // name of the collection
Wait *bool `protobuf:"varint,2,opt,name=wait,proto3,oneof" json:"wait,omitempty"` // Wait until the changes have been applied?
Points []*PointStruct `protobuf:"bytes,3,rep,name=points,proto3" json:"points,omitempty"`
Ordering *WriteOrdering `protobuf:"bytes,4,opt,name=ordering,proto3,oneof" json:"ordering,omitempty"` // Write ordering guarantees
ShardKeySelector *ShardKeySelector `protobuf:"bytes,5,opt,name=shard_key_selector,json=shardKeySelector,proto3,oneof" json:"shard_key_selector,omitempty"` // Option for custom sharding to specify used shard keys
UpdateFilter *Filter `protobuf:"bytes,6,opt,name=update_filter,json=updateFilter,proto3,oneof" json:"update_filter,omitempty"` // If specified, only points that match this filter will be updated, others will be inserted
// contains filtered or unexported fields
}
func (*UpsertPoints) Descriptor
deprecated
func (*UpsertPoints) Descriptor() ([]byte, []int)
Deprecated: Use UpsertPoints.ProtoReflect.Descriptor instead.
func (*UpsertPoints) GetCollectionName ¶
func (x *UpsertPoints) GetCollectionName() string
func (*UpsertPoints) GetOrdering ¶
func (x *UpsertPoints) GetOrdering() *WriteOrdering
func (*UpsertPoints) GetPoints ¶
func (x *UpsertPoints) GetPoints() []*PointStruct
func (*UpsertPoints) GetShardKeySelector ¶
func (x *UpsertPoints) GetShardKeySelector() *ShardKeySelector
func (*UpsertPoints) GetUpdateFilter ¶
func (x *UpsertPoints) GetUpdateFilter() *Filter
func (*UpsertPoints) GetWait ¶
func (x *UpsertPoints) GetWait() bool
func (*UpsertPoints) ProtoMessage ¶
func (*UpsertPoints) ProtoMessage()
func (*UpsertPoints) ProtoReflect ¶
func (x *UpsertPoints) ProtoReflect() protoreflect.Message
func (*UpsertPoints) Reset ¶
func (x *UpsertPoints) Reset()
func (*UpsertPoints) String ¶
func (x *UpsertPoints) String() string
type Usage ¶
type Usage struct {
Hardware *HardwareUsage `protobuf:"bytes,1,opt,name=hardware,proto3,oneof" json:"hardware,omitempty"`
Inference *InferenceUsage `protobuf:"bytes,2,opt,name=inference,proto3,oneof" json:"inference,omitempty"`
// contains filtered or unexported fields
}
--------------------------------------------- ----------- Measurements collector ---------- ---------------------------------------------
func (*Usage) Descriptor
deprecated
func (*Usage) GetHardware ¶
func (x *Usage) GetHardware() *HardwareUsage
func (*Usage) GetInference ¶
func (x *Usage) GetInference() *InferenceUsage
func (*Usage) ProtoMessage ¶
func (*Usage) ProtoMessage()
func (*Usage) ProtoReflect ¶
func (x *Usage) ProtoReflect() protoreflect.Message
type UuidIndexParams ¶
type UuidIndexParams struct {
IsTenant *bool `protobuf:"varint,1,opt,name=is_tenant,json=isTenant,proto3,oneof" json:"is_tenant,omitempty"` // If true - used for tenant optimization.
OnDisk *bool `protobuf:"varint,2,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - store index on disk.
// contains filtered or unexported fields
}
func (*UuidIndexParams) Descriptor
deprecated
func (*UuidIndexParams) Descriptor() ([]byte, []int)
Deprecated: Use UuidIndexParams.ProtoReflect.Descriptor instead.
func (*UuidIndexParams) GetIsTenant ¶
func (x *UuidIndexParams) GetIsTenant() bool
func (*UuidIndexParams) GetOnDisk ¶
func (x *UuidIndexParams) GetOnDisk() bool
func (*UuidIndexParams) ProtoMessage ¶
func (*UuidIndexParams) ProtoMessage()
func (*UuidIndexParams) ProtoReflect ¶
func (x *UuidIndexParams) ProtoReflect() protoreflect.Message
func (*UuidIndexParams) Reset ¶
func (x *UuidIndexParams) Reset()
func (*UuidIndexParams) String ¶
func (x *UuidIndexParams) String() string
type Value ¶
type Value struct {
// The kind of value.
//
// Types that are assignable to Kind:
//
// *Value_NullValue
// *Value_DoubleValue
// *Value_IntegerValue
// *Value_StringValue
// *Value_BoolValue
// *Value_StructValue
// *Value_ListValue
Kind isValue_Kind `protobuf_oneof:"kind"`
// contains filtered or unexported fields
}
`Value` represents a dynamically typed value which can be either null, a number, a string, a boolean, a recursive struct value, or a list of values. A producer of value is expected to set one of those variants, absence of any variant indicates an error.
The JSON representation for `Value` is a JSON value.
func NewValueFromFields ¶
Constructs a new struct Value from the provided field map.
func NewValueFromList ¶
Constructs a new list Value from the provided elements.
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 ¶
type Vector struct {
// Deprecated: Marked as deprecated in points.proto.
Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"` // Vector data (flatten for multi vectors), deprecated
// Deprecated: Marked as deprecated in points.proto.
Indices *SparseIndices `protobuf:"bytes,2,opt,name=indices,proto3,oneof" json:"indices,omitempty"` // Sparse indices for sparse vectors, deprecated
// Deprecated: Marked as deprecated in points.proto.
VectorsCount *uint32 `protobuf:"varint,3,opt,name=vectors_count,json=vectorsCount,proto3,oneof" json:"vectors_count,omitempty"` // Number of vectors per multi vector, deprecated
// Types that are assignable to Vector:
//
// *Vector_Dense
// *Vector_Sparse
// *Vector_MultiDense
// *Vector_Document
// *Vector_Image
// *Vector_Object
Vector isVector_Vector `protobuf_oneof:"vector"`
// contains filtered or unexported fields
}
func NewVector ¶
Creates a *Vector instance for dense vectors. This is an alias for NewVectorDense().
func NewVectorDense ¶
Creates a *Vector instance for dense vectors.
func NewVectorDocument ¶
Creates a *Vector instance from a *Document for cloud inference.
func NewVectorImage ¶
Creates a *Vector instance from a *Image for cloud inference.
func NewVectorMulti ¶
Creates a *Vector instance for multi vectors.
func NewVectorObject ¶
func NewVectorObject(object *InferenceObject) *Vector
Creates a *Vector instance from a *InferenceObject for cloud inference.
func NewVectorSparse ¶
Creates a *Vector instance for sparse vectors.
func (*Vector) Descriptor
deprecated
func (*Vector) GetDense ¶
func (x *Vector) GetDense() *DenseVector
func (*Vector) GetDocument ¶
func (*Vector) GetIndices
deprecated
func (x *Vector) GetIndices() *SparseIndices
Deprecated: Marked as deprecated in points.proto.
func (*Vector) GetMultiDense ¶
func (x *Vector) GetMultiDense() *MultiDenseVector
func (*Vector) GetObject ¶
func (x *Vector) GetObject() *InferenceObject
func (*Vector) GetSparse ¶
func (x *Vector) GetSparse() *SparseVector
func (*Vector) GetVectorsCount
deprecated
func (*Vector) ProtoMessage ¶
func (*Vector) ProtoMessage()
func (*Vector) ProtoReflect ¶
func (x *Vector) ProtoReflect() protoreflect.Message
type VectorExample ¶
type VectorExample struct {
// Types that are assignable to Example:
//
// *VectorExample_Id
// *VectorExample_Vector
Example isVectorExample_Example `protobuf_oneof:"example"`
// contains filtered or unexported fields
}
func (*VectorExample) Descriptor
deprecated
func (*VectorExample) Descriptor() ([]byte, []int)
Deprecated: Use VectorExample.ProtoReflect.Descriptor instead.
func (*VectorExample) GetExample ¶
func (m *VectorExample) GetExample() isVectorExample_Example
func (*VectorExample) GetId ¶
func (x *VectorExample) GetId() *PointId
func (*VectorExample) GetVector ¶
func (x *VectorExample) GetVector() *Vector
func (*VectorExample) ProtoMessage ¶
func (*VectorExample) ProtoMessage()
func (*VectorExample) ProtoReflect ¶
func (x *VectorExample) ProtoReflect() protoreflect.Message
func (*VectorExample) Reset ¶
func (x *VectorExample) Reset()
func (*VectorExample) String ¶
func (x *VectorExample) String() string
type VectorExample_Id ¶
type VectorExample_Id struct {
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}
type VectorExample_Vector ¶
type VectorExample_Vector struct {
Vector *Vector `protobuf:"bytes,2,opt,name=vector,proto3,oneof"`
}
type VectorInput ¶
type VectorInput struct {
// Types that are assignable to Variant:
//
// *VectorInput_Id
// *VectorInput_Dense
// *VectorInput_Sparse
// *VectorInput_MultiDense
// *VectorInput_Document
// *VectorInput_Image
// *VectorInput_Object
Variant isVectorInput_Variant `protobuf_oneof:"variant"`
// contains filtered or unexported fields
}
Vector type to be used in queries. Ids will be substituted with their corresponding vectors from the collection.
func NewVectorInput ¶
func NewVectorInput(values ...float32) *VectorInput
Creates a *VectorInput instance for dense vectors. This is an alias for NewVectorInputDense().
func NewVectorInputDense ¶
func NewVectorInputDense(vector []float32) *VectorInput
Creates a *VectorInput instance for dense vectors.
func NewVectorInputDocument ¶
func NewVectorInputDocument(document *Document) *VectorInput
Creates a *VectorInput instance from a *Document for cloud inference.
func NewVectorInputID ¶
func NewVectorInputID(id *PointId) *VectorInput
Creates a *VectorInput instance from a *PointId.
func NewVectorInputImage ¶
func NewVectorInputImage(image *Image) *VectorInput
Creates a *VectorInput instance from a *Image for cloud inference.
func NewVectorInputMulti ¶
func NewVectorInputMulti(vectors [][]float32) *VectorInput
Creates a *VectorInput instance for multi vectors.
func NewVectorInputObject ¶
func NewVectorInputObject(object *InferenceObject) *VectorInput
Creates a *VectorInput instance from a *InferenceObject for cloud inference.
func NewVectorInputSparse ¶
func NewVectorInputSparse(indices []uint32, values []float32) *VectorInput
Creates a *VectorInput instance for sparse vectors.
func (*VectorInput) Descriptor
deprecated
func (*VectorInput) Descriptor() ([]byte, []int)
Deprecated: Use VectorInput.ProtoReflect.Descriptor instead.
func (*VectorInput) GetDense ¶
func (x *VectorInput) GetDense() *DenseVector
func (*VectorInput) GetDocument ¶
func (x *VectorInput) GetDocument() *Document
func (*VectorInput) GetId ¶
func (x *VectorInput) GetId() *PointId
func (*VectorInput) GetImage ¶
func (x *VectorInput) GetImage() *Image
func (*VectorInput) GetMultiDense ¶
func (x *VectorInput) GetMultiDense() *MultiDenseVector
func (*VectorInput) GetObject ¶
func (x *VectorInput) GetObject() *InferenceObject
func (*VectorInput) GetSparse ¶
func (x *VectorInput) GetSparse() *SparseVector
func (*VectorInput) GetVariant ¶
func (m *VectorInput) GetVariant() isVectorInput_Variant
func (*VectorInput) ProtoMessage ¶
func (*VectorInput) ProtoMessage()
func (*VectorInput) ProtoReflect ¶
func (x *VectorInput) ProtoReflect() protoreflect.Message
func (*VectorInput) Reset ¶
func (x *VectorInput) Reset()
func (*VectorInput) String ¶
func (x *VectorInput) String() string
type VectorInput_Dense ¶
type VectorInput_Dense struct {
Dense *DenseVector `protobuf:"bytes,2,opt,name=dense,proto3,oneof"`
}
type VectorInput_Document ¶
type VectorInput_Document struct {
Document *Document `protobuf:"bytes,5,opt,name=document,proto3,oneof"`
}
type VectorInput_Id ¶
type VectorInput_Id struct {
Id *PointId `protobuf:"bytes,1,opt,name=id,proto3,oneof"`
}
type VectorInput_Image ¶
type VectorInput_Image struct {
Image *Image `protobuf:"bytes,6,opt,name=image,proto3,oneof"`
}
type VectorInput_MultiDense ¶
type VectorInput_MultiDense struct {
MultiDense *MultiDenseVector `protobuf:"bytes,4,opt,name=multi_dense,json=multiDense,proto3,oneof"`
}
type VectorInput_Object ¶
type VectorInput_Object struct {
Object *InferenceObject `protobuf:"bytes,7,opt,name=object,proto3,oneof"`
}
type VectorInput_Sparse ¶
type VectorInput_Sparse struct {
Sparse *SparseVector `protobuf:"bytes,3,opt,name=sparse,proto3,oneof"`
}
type VectorOutput ¶
type VectorOutput struct {
// Deprecated: Marked as deprecated in points.proto.
Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"` // Vector data (flatten for multi vectors), deprecated
// Deprecated: Marked as deprecated in points.proto.
Indices *SparseIndices `protobuf:"bytes,2,opt,name=indices,proto3,oneof" json:"indices,omitempty"` // Sparse indices for sparse vectors, deprecated
// Deprecated: Marked as deprecated in points.proto.
VectorsCount *uint32 `protobuf:"varint,3,opt,name=vectors_count,json=vectorsCount,proto3,oneof" json:"vectors_count,omitempty"` // Number of vectors per multi vector, deprecated
// Types that are assignable to Vector:
//
// *VectorOutput_Dense
// *VectorOutput_Sparse
// *VectorOutput_MultiDense
Vector isVectorOutput_Vector `protobuf_oneof:"vector"`
// contains filtered or unexported fields
}
func (*VectorOutput) Descriptor
deprecated
func (*VectorOutput) Descriptor() ([]byte, []int)
Deprecated: Use VectorOutput.ProtoReflect.Descriptor instead.
func (*VectorOutput) GetData
deprecated
func (x *VectorOutput) GetData() []float32
Deprecated: Marked as deprecated in points.proto.
func (*VectorOutput) GetDense ¶
func (x *VectorOutput) GetDense() *DenseVector
func (*VectorOutput) GetDenseVector ¶
func (v *VectorOutput) GetDenseVector() *DenseVector
GetDense returns the DenseVector from the VectorOutput. Returns nil if no dense vector data is available.
func (*VectorOutput) GetIndices
deprecated
func (x *VectorOutput) GetIndices() *SparseIndices
Deprecated: Marked as deprecated in points.proto.
func (*VectorOutput) GetMultiDense ¶
func (x *VectorOutput) GetMultiDense() *MultiDenseVector
func (*VectorOutput) GetMultiVector ¶
func (v *VectorOutput) GetMultiVector() *MultiDenseVector
GetMultiDense returns the MultiDenseVector from the VectorOutput. Returns nil if no multi-dense vector data is available.
func (*VectorOutput) GetSparse ¶
func (x *VectorOutput) GetSparse() *SparseVector
func (*VectorOutput) GetSparseVector ¶
func (v *VectorOutput) GetSparseVector() *SparseVector
GetSparse returns the SparseVector from the VectorOutput. Returns nil if no sparse vector data is available.
func (*VectorOutput) GetVector ¶
func (m *VectorOutput) GetVector() isVectorOutput_Vector
func (*VectorOutput) GetVectorsCount
deprecated
func (x *VectorOutput) GetVectorsCount() uint32
Deprecated: Marked as deprecated in points.proto.
func (*VectorOutput) ProtoMessage ¶
func (*VectorOutput) ProtoMessage()
func (*VectorOutput) ProtoReflect ¶
func (x *VectorOutput) ProtoReflect() protoreflect.Message
func (*VectorOutput) Reset ¶
func (x *VectorOutput) Reset()
func (*VectorOutput) String ¶
func (x *VectorOutput) String() string
type VectorOutput_Dense ¶
type VectorOutput_Dense struct {
Dense *DenseVector `protobuf:"bytes,101,opt,name=dense,proto3,oneof"` // Dense vector
}
type VectorOutput_MultiDense ¶
type VectorOutput_MultiDense struct {
MultiDense *MultiDenseVector `protobuf:"bytes,103,opt,name=multi_dense,json=multiDense,proto3,oneof"` // Multi dense vector
}
type VectorOutput_Sparse ¶
type VectorOutput_Sparse struct {
Sparse *SparseVector `protobuf:"bytes,102,opt,name=sparse,proto3,oneof"` // Sparse vector
}
type VectorParams ¶
type VectorParams struct {
Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` // Size of the vectors
Distance Distance `protobuf:"varint,2,opt,name=distance,proto3,enum=qdrant.Distance" json:"distance,omitempty"` // Distance function used for comparing vectors
HnswConfig *HnswConfigDiff `protobuf:"bytes,3,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"` // Configuration of vector HNSW graph. If omitted - the collection configuration will be used
QuantizationConfig *QuantizationConfig `protobuf:"bytes,4,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Configuration of vector quantization config. If omitted - the collection configuration will be used
OnDisk *bool `protobuf:"varint,5,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
Datatype *Datatype `protobuf:"varint,6,opt,name=datatype,proto3,enum=qdrant.Datatype,oneof" json:"datatype,omitempty"` // Data type of the vectors
MultivectorConfig *MultiVectorConfig `protobuf:"bytes,7,opt,name=multivector_config,json=multivectorConfig,proto3,oneof" json:"multivector_config,omitempty"` // Configuration for multi-vector search
// contains filtered or unexported fields
}
func (*VectorParams) Descriptor
deprecated
func (*VectorParams) Descriptor() ([]byte, []int)
Deprecated: Use VectorParams.ProtoReflect.Descriptor instead.
func (*VectorParams) GetDatatype ¶
func (x *VectorParams) GetDatatype() Datatype
func (*VectorParams) GetDistance ¶
func (x *VectorParams) GetDistance() Distance
func (*VectorParams) GetHnswConfig ¶
func (x *VectorParams) GetHnswConfig() *HnswConfigDiff
func (*VectorParams) GetMultivectorConfig ¶
func (x *VectorParams) GetMultivectorConfig() *MultiVectorConfig
func (*VectorParams) GetOnDisk ¶
func (x *VectorParams) GetOnDisk() bool
func (*VectorParams) GetQuantizationConfig ¶
func (x *VectorParams) GetQuantizationConfig() *QuantizationConfig
func (*VectorParams) GetSize ¶
func (x *VectorParams) GetSize() uint64
func (*VectorParams) ProtoMessage ¶
func (*VectorParams) ProtoMessage()
func (*VectorParams) ProtoReflect ¶
func (x *VectorParams) ProtoReflect() protoreflect.Message
func (*VectorParams) Reset ¶
func (x *VectorParams) Reset()
func (*VectorParams) String ¶
func (x *VectorParams) String() string
type VectorParamsDiff ¶
type VectorParamsDiff struct {
HnswConfig *HnswConfigDiff `protobuf:"bytes,1,opt,name=hnsw_config,json=hnswConfig,proto3,oneof" json:"hnsw_config,omitempty"` // Update params for HNSW index. If empty object - it will be unset
QuantizationConfig *QuantizationConfigDiff `protobuf:"bytes,2,opt,name=quantization_config,json=quantizationConfig,proto3,oneof" json:"quantization_config,omitempty"` // Update quantization params. If none - it is left unchanged.
OnDisk *bool `protobuf:"varint,3,opt,name=on_disk,json=onDisk,proto3,oneof" json:"on_disk,omitempty"` // If true - serve vectors from disk. If set to false, the vectors will be loaded in RAM.
// contains filtered or unexported fields
}
func (*VectorParamsDiff) Descriptor
deprecated
func (*VectorParamsDiff) Descriptor() ([]byte, []int)
Deprecated: Use VectorParamsDiff.ProtoReflect.Descriptor instead.
func (*VectorParamsDiff) GetHnswConfig ¶
func (x *VectorParamsDiff) GetHnswConfig() *HnswConfigDiff
func (*VectorParamsDiff) GetOnDisk ¶
func (x *VectorParamsDiff) GetOnDisk() bool
func (*VectorParamsDiff) GetQuantizationConfig ¶
func (x *VectorParamsDiff) GetQuantizationConfig() *QuantizationConfigDiff
func (*VectorParamsDiff) ProtoMessage ¶
func (*VectorParamsDiff) ProtoMessage()
func (*VectorParamsDiff) ProtoReflect ¶
func (x *VectorParamsDiff) ProtoReflect() protoreflect.Message
func (*VectorParamsDiff) Reset ¶
func (x *VectorParamsDiff) Reset()
func (*VectorParamsDiff) String ¶
func (x *VectorParamsDiff) String() string
type VectorParamsDiffMap ¶
type VectorParamsDiffMap struct {
Map map[string]*VectorParamsDiff `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*VectorParamsDiffMap) Descriptor
deprecated
func (*VectorParamsDiffMap) Descriptor() ([]byte, []int)
Deprecated: Use VectorParamsDiffMap.ProtoReflect.Descriptor instead.
func (*VectorParamsDiffMap) GetMap ¶
func (x *VectorParamsDiffMap) GetMap() map[string]*VectorParamsDiff
func (*VectorParamsDiffMap) ProtoMessage ¶
func (*VectorParamsDiffMap) ProtoMessage()
func (*VectorParamsDiffMap) ProtoReflect ¶
func (x *VectorParamsDiffMap) ProtoReflect() protoreflect.Message
func (*VectorParamsDiffMap) Reset ¶
func (x *VectorParamsDiffMap) Reset()
func (*VectorParamsDiffMap) String ¶
func (x *VectorParamsDiffMap) String() string
type VectorParamsMap ¶
type VectorParamsMap struct {
Map map[string]*VectorParams `` /* 147-byte string literal not displayed */
// contains filtered or unexported fields
}
func (*VectorParamsMap) Descriptor
deprecated
func (*VectorParamsMap) Descriptor() ([]byte, []int)
Deprecated: Use VectorParamsMap.ProtoReflect.Descriptor instead.
func (*VectorParamsMap) GetMap ¶
func (x *VectorParamsMap) GetMap() map[string]*VectorParams
func (*VectorParamsMap) ProtoMessage ¶
func (*VectorParamsMap) ProtoMessage()
func (*VectorParamsMap) ProtoReflect ¶
func (x *VectorParamsMap) ProtoReflect() protoreflect.Message
func (*VectorParamsMap) Reset ¶
func (x *VectorParamsMap) Reset()
func (*VectorParamsMap) String ¶
func (x *VectorParamsMap) String() string
type Vector_Dense ¶
type Vector_Dense struct {
Dense *DenseVector `protobuf:"bytes,101,opt,name=dense,proto3,oneof"` // Dense vector
}
type Vector_Document ¶
type Vector_Document struct {
Document *Document `protobuf:"bytes,104,opt,name=document,proto3,oneof"`
}
type Vector_Image ¶
type Vector_Image struct {
Image *Image `protobuf:"bytes,105,opt,name=image,proto3,oneof"`
}
type Vector_MultiDense ¶
type Vector_MultiDense struct {
MultiDense *MultiDenseVector `protobuf:"bytes,103,opt,name=multi_dense,json=multiDense,proto3,oneof"` // Multi dense vector
}
type Vector_Object ¶
type Vector_Object struct {
Object *InferenceObject `protobuf:"bytes,106,opt,name=object,proto3,oneof"`
}
type Vector_Sparse ¶
type Vector_Sparse struct {
Sparse *SparseVector `protobuf:"bytes,102,opt,name=sparse,proto3,oneof"` // Sparse vector
}
type Vectors ¶
type Vectors struct {
// Types that are assignable to VectorsOptions:
//
// *Vectors_Vector
// *Vectors_Vectors
VectorsOptions isVectors_VectorsOptions `protobuf_oneof:"vectors_options"`
// contains filtered or unexported fields
}
func NewVectors ¶
Creates a *Vectors instance for dense vectors. This is an alias for NewVectorsDense().
func NewVectorsDense ¶
Creates a *Vectors instance for dense vectors.
func NewVectorsDocument ¶
Creates a *Vectors instance from a *Document for cloud inference.
func NewVectorsImage ¶
Creates a *Vectors instance from a *Image for cloud inference.
func NewVectorsMap ¶
Creates a *Vectors instance for a map of named *Vector.
func NewVectorsMulti ¶
Creates a *Vectors instance for multi vectors.
func NewVectorsObject ¶
func NewVectorsObject(object *InferenceObject) *Vectors
Creates a *Vectors instance from a *InferenceObject for cloud inference.
func NewVectorsSparse ¶
Creates a *Vectors instance for sparse vectors.
func (*Vectors) Descriptor
deprecated
func (*Vectors) GetVectors ¶
func (x *Vectors) GetVectors() *NamedVectors
func (*Vectors) GetVectorsOptions ¶
func (m *Vectors) GetVectorsOptions() isVectors_VectorsOptions
func (*Vectors) ProtoMessage ¶
func (*Vectors) ProtoMessage()
func (*Vectors) ProtoReflect ¶
func (x *Vectors) ProtoReflect() protoreflect.Message
type VectorsConfig ¶
type VectorsConfig struct {
// Types that are assignable to Config:
//
// *VectorsConfig_Params
// *VectorsConfig_ParamsMap
Config isVectorsConfig_Config `protobuf_oneof:"config"`
// contains filtered or unexported fields
}
func NewVectorsConfig ¶
func NewVectorsConfig(params *VectorParams) *VectorsConfig
Creates a *VectorsConfig instance from *VectorParams.
func NewVectorsConfigMap ¶
func NewVectorsConfigMap(paramsMap map[string]*VectorParams) *VectorsConfig
Creates a *VectorsConfig instance from a map of *VectorParams.
func (*VectorsConfig) Descriptor
deprecated
func (*VectorsConfig) Descriptor() ([]byte, []int)
Deprecated: Use VectorsConfig.ProtoReflect.Descriptor instead.
func (*VectorsConfig) GetConfig ¶
func (m *VectorsConfig) GetConfig() isVectorsConfig_Config
func (*VectorsConfig) GetParams ¶
func (x *VectorsConfig) GetParams() *VectorParams
func (*VectorsConfig) GetParamsMap ¶
func (x *VectorsConfig) GetParamsMap() *VectorParamsMap
func (*VectorsConfig) ProtoMessage ¶
func (*VectorsConfig) ProtoMessage()
func (*VectorsConfig) ProtoReflect ¶
func (x *VectorsConfig) ProtoReflect() protoreflect.Message
func (*VectorsConfig) Reset ¶
func (x *VectorsConfig) Reset()
func (*VectorsConfig) String ¶
func (x *VectorsConfig) String() string
type VectorsConfigDiff ¶
type VectorsConfigDiff struct {
// Types that are assignable to Config:
//
// *VectorsConfigDiff_Params
// *VectorsConfigDiff_ParamsMap
Config isVectorsConfigDiff_Config `protobuf_oneof:"config"`
// contains filtered or unexported fields
}
func NewVectorsConfigDiff ¶
func NewVectorsConfigDiff(params *VectorParamsDiff) *VectorsConfigDiff
Creates a *VectorsConfigDiff instance from *VectorParamsDiff.
func NewVectorsConfigDiffMap ¶
func NewVectorsConfigDiffMap(paramsMap map[string]*VectorParamsDiff) *VectorsConfigDiff
Creates a *VectorsConfigDiff instance from a map of *VectorParamsDiff.
func (*VectorsConfigDiff) Descriptor
deprecated
func (*VectorsConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use VectorsConfigDiff.ProtoReflect.Descriptor instead.
func (*VectorsConfigDiff) GetConfig ¶
func (m *VectorsConfigDiff) GetConfig() isVectorsConfigDiff_Config
func (*VectorsConfigDiff) GetParams ¶
func (x *VectorsConfigDiff) GetParams() *VectorParamsDiff
func (*VectorsConfigDiff) GetParamsMap ¶
func (x *VectorsConfigDiff) GetParamsMap() *VectorParamsDiffMap
func (*VectorsConfigDiff) ProtoMessage ¶
func (*VectorsConfigDiff) ProtoMessage()
func (*VectorsConfigDiff) ProtoReflect ¶
func (x *VectorsConfigDiff) ProtoReflect() protoreflect.Message
func (*VectorsConfigDiff) Reset ¶
func (x *VectorsConfigDiff) Reset()
func (*VectorsConfigDiff) String ¶
func (x *VectorsConfigDiff) String() string
type VectorsConfigDiff_Params ¶
type VectorsConfigDiff_Params struct {
Params *VectorParamsDiff `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
}
type VectorsConfigDiff_ParamsMap ¶
type VectorsConfigDiff_ParamsMap struct {
ParamsMap *VectorParamsDiffMap `protobuf:"bytes,2,opt,name=params_map,json=paramsMap,proto3,oneof"`
}
type VectorsConfig_Params ¶
type VectorsConfig_Params struct {
Params *VectorParams `protobuf:"bytes,1,opt,name=params,proto3,oneof"`
}
type VectorsConfig_ParamsMap ¶
type VectorsConfig_ParamsMap struct {
ParamsMap *VectorParamsMap `protobuf:"bytes,2,opt,name=params_map,json=paramsMap,proto3,oneof"`
}
type VectorsOutput ¶
type VectorsOutput struct {
// Types that are assignable to VectorsOptions:
//
// *VectorsOutput_Vector
// *VectorsOutput_Vectors
VectorsOptions isVectorsOutput_VectorsOptions `protobuf_oneof:"vectors_options"`
// contains filtered or unexported fields
}
func (*VectorsOutput) Descriptor
deprecated
func (*VectorsOutput) Descriptor() ([]byte, []int)
Deprecated: Use VectorsOutput.ProtoReflect.Descriptor instead.
func (*VectorsOutput) GetVector ¶
func (x *VectorsOutput) GetVector() *VectorOutput
func (*VectorsOutput) GetVectors ¶
func (x *VectorsOutput) GetVectors() *NamedVectorsOutput
func (*VectorsOutput) GetVectorsOptions ¶
func (m *VectorsOutput) GetVectorsOptions() isVectorsOutput_VectorsOptions
func (*VectorsOutput) ProtoMessage ¶
func (*VectorsOutput) ProtoMessage()
func (*VectorsOutput) ProtoReflect ¶
func (x *VectorsOutput) ProtoReflect() protoreflect.Message
func (*VectorsOutput) Reset ¶
func (x *VectorsOutput) Reset()
func (*VectorsOutput) String ¶
func (x *VectorsOutput) String() string
type VectorsOutput_Vector ¶
type VectorsOutput_Vector struct {
Vector *VectorOutput `protobuf:"bytes,1,opt,name=vector,proto3,oneof"`
}
type VectorsOutput_Vectors ¶
type VectorsOutput_Vectors struct {
Vectors *NamedVectorsOutput `protobuf:"bytes,2,opt,name=vectors,proto3,oneof"`
}
type VectorsSelector ¶
type VectorsSelector struct {
Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"` // List of vectors to include into result
// contains filtered or unexported fields
}
func (*VectorsSelector) Descriptor
deprecated
func (*VectorsSelector) Descriptor() ([]byte, []int)
Deprecated: Use VectorsSelector.ProtoReflect.Descriptor instead.
func (*VectorsSelector) GetNames ¶
func (x *VectorsSelector) GetNames() []string
func (*VectorsSelector) ProtoMessage ¶
func (*VectorsSelector) ProtoMessage()
func (*VectorsSelector) ProtoReflect ¶
func (x *VectorsSelector) ProtoReflect() protoreflect.Message
func (*VectorsSelector) Reset ¶
func (x *VectorsSelector) Reset()
func (*VectorsSelector) String ¶
func (x *VectorsSelector) String() string
type Vectors_Vector ¶
type Vectors_Vector struct {
Vector *Vector `protobuf:"bytes,1,opt,name=vector,proto3,oneof"`
}
type Vectors_Vectors ¶
type Vectors_Vectors struct {
Vectors *NamedVectors `protobuf:"bytes,2,opt,name=vectors,proto3,oneof"`
}
type Version ¶
func ParseVersion ¶
ParseVersion converts a version string "x.y[.z]" into a Version struct.
type WalConfigDiff ¶
type WalConfigDiff struct {
WalCapacityMb *uint64 `protobuf:"varint,1,opt,name=wal_capacity_mb,json=walCapacityMb,proto3,oneof" json:"wal_capacity_mb,omitempty"` // Size of a single WAL block file
WalSegmentsAhead *uint64 `protobuf:"varint,2,opt,name=wal_segments_ahead,json=walSegmentsAhead,proto3,oneof" json:"wal_segments_ahead,omitempty"` // Number of segments to create in advance
WalRetainClosed *uint64 `protobuf:"varint,3,opt,name=wal_retain_closed,json=walRetainClosed,proto3,oneof" json:"wal_retain_closed,omitempty"` // Number of closed segments to retain
// contains filtered or unexported fields
}
func (*WalConfigDiff) Descriptor
deprecated
func (*WalConfigDiff) Descriptor() ([]byte, []int)
Deprecated: Use WalConfigDiff.ProtoReflect.Descriptor instead.
func (*WalConfigDiff) GetWalCapacityMb ¶
func (x *WalConfigDiff) GetWalCapacityMb() uint64
func (*WalConfigDiff) GetWalRetainClosed ¶
func (x *WalConfigDiff) GetWalRetainClosed() uint64
func (*WalConfigDiff) GetWalSegmentsAhead ¶
func (x *WalConfigDiff) GetWalSegmentsAhead() uint64
func (*WalConfigDiff) ProtoMessage ¶
func (*WalConfigDiff) ProtoMessage()
func (*WalConfigDiff) ProtoReflect ¶
func (x *WalConfigDiff) ProtoReflect() protoreflect.Message
func (*WalConfigDiff) Reset ¶
func (x *WalConfigDiff) Reset()
func (*WalConfigDiff) String ¶
func (x *WalConfigDiff) String() string
type WithLookup ¶
type WithLookup struct {
Collection string `protobuf:"bytes,1,opt,name=collection,proto3" json:"collection,omitempty"` // Name of the collection to use for points lookup
WithPayload *WithPayloadSelector `protobuf:"bytes,2,opt,name=with_payload,json=withPayload,proto3,oneof" json:"with_payload,omitempty"` // Options for specifying which payload to include (or not)
WithVectors *WithVectorsSelector `protobuf:"bytes,3,opt,name=with_vectors,json=withVectors,proto3,oneof" json:"with_vectors,omitempty"` // Options for specifying which vectors to include (or not)
// contains filtered or unexported fields
}
func (*WithLookup) Descriptor
deprecated
func (*WithLookup) Descriptor() ([]byte, []int)
Deprecated: Use WithLookup.ProtoReflect.Descriptor instead.
func (*WithLookup) GetCollection ¶
func (x *WithLookup) GetCollection() string
func (*WithLookup) GetWithPayload ¶
func (x *WithLookup) GetWithPayload() *WithPayloadSelector
func (*WithLookup) GetWithVectors ¶
func (x *WithLookup) GetWithVectors() *WithVectorsSelector
func (*WithLookup) ProtoMessage ¶
func (*WithLookup) ProtoMessage()
func (*WithLookup) ProtoReflect ¶
func (x *WithLookup) ProtoReflect() protoreflect.Message
func (*WithLookup) Reset ¶
func (x *WithLookup) Reset()
func (*WithLookup) String ¶
func (x *WithLookup) String() string
type WithPayloadSelector ¶
type WithPayloadSelector struct {
// Types that are assignable to SelectorOptions:
//
// *WithPayloadSelector_Enable
// *WithPayloadSelector_Include
// *WithPayloadSelector_Exclude
SelectorOptions isWithPayloadSelector_SelectorOptions `protobuf_oneof:"selector_options"`
// contains filtered or unexported fields
}
func NewWithPayload ¶
func NewWithPayload(enable bool) *WithPayloadSelector
Creates a *WithPayloadSelector instance with payload enabled/disabled. This is an alias for NewWithPayloadEnable().
func NewWithPayloadEnable ¶
func NewWithPayloadEnable(enable bool) *WithPayloadSelector
Creates a *WithPayloadSelector instance with payload enabled/disabled.
func NewWithPayloadExclude ¶
func NewWithPayloadExclude(exclude ...string) *WithPayloadSelector
Creates a *WithPayloadSelector instance with payload fields excluded.
func NewWithPayloadInclude ¶
func NewWithPayloadInclude(include ...string) *WithPayloadSelector
Creates a *WithPayloadSelector instance with payload fields included.
func (*WithPayloadSelector) Descriptor
deprecated
func (*WithPayloadSelector) Descriptor() ([]byte, []int)
Deprecated: Use WithPayloadSelector.ProtoReflect.Descriptor instead.
func (*WithPayloadSelector) GetEnable ¶
func (x *WithPayloadSelector) GetEnable() bool
func (*WithPayloadSelector) GetExclude ¶
func (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 {
Enable bool `protobuf:"varint,1,opt,name=enable,proto3,oneof"` // If `true` - return all payload, if `false` - none
}
type WithPayloadSelector_Exclude ¶
type WithPayloadSelector_Exclude struct {
Exclude *PayloadExcludeSelector `protobuf:"bytes,3,opt,name=exclude,proto3,oneof"`
}
type WithPayloadSelector_Include ¶
type WithPayloadSelector_Include struct {
Include *PayloadIncludeSelector `protobuf:"bytes,2,opt,name=include,proto3,oneof"`
}
type WithVectorsSelector ¶
type WithVectorsSelector struct {
// Types that are assignable to SelectorOptions:
//
// *WithVectorsSelector_Enable
// *WithVectorsSelector_Include
SelectorOptions isWithVectorsSelector_SelectorOptions `protobuf_oneof:"selector_options"`
// contains filtered or unexported fields
}
func NewWithVectors ¶
func NewWithVectors(enable bool) *WithVectorsSelector
Creates a *WithVectorsSelector instance with vectors enabled/disabled. This is an alias for NewWithVectorsEnable().
func NewWithVectorsEnable ¶
func NewWithVectorsEnable(enable bool) *WithVectorsSelector
Creates a *WithVectorsSelector instance with vectors enabled/disabled.
func NewWithVectorsInclude ¶
func NewWithVectorsInclude(names ...string) *WithVectorsSelector
Creates a *WithVectorsSelector instance with vectors included.
func (*WithVectorsSelector) Descriptor
deprecated
func (*WithVectorsSelector) Descriptor() ([]byte, []int)
Deprecated: Use WithVectorsSelector.ProtoReflect.Descriptor instead.
func (*WithVectorsSelector) GetEnable ¶
func (x *WithVectorsSelector) GetEnable() bool
func (*WithVectorsSelector) GetInclude ¶
func (x *WithVectorsSelector) GetInclude() *VectorsSelector
func (*WithVectorsSelector) GetSelectorOptions ¶
func (m *WithVectorsSelector) GetSelectorOptions() isWithVectorsSelector_SelectorOptions
func (*WithVectorsSelector) ProtoMessage ¶
func (*WithVectorsSelector) ProtoMessage()
func (*WithVectorsSelector) ProtoReflect ¶
func (x *WithVectorsSelector) ProtoReflect() protoreflect.Message
func (*WithVectorsSelector) Reset ¶
func (x *WithVectorsSelector) Reset()
func (*WithVectorsSelector) String ¶
func (x *WithVectorsSelector) String() string
type WithVectorsSelector_Enable ¶
type WithVectorsSelector_Enable struct {
Enable bool `protobuf:"varint,1,opt,name=enable,proto3,oneof"` // If `true` - return all vectors, if `false` - none
}
type WithVectorsSelector_Include ¶
type WithVectorsSelector_Include struct {
Include *VectorsSelector `protobuf:"bytes,2,opt,name=include,proto3,oneof"` // List of payload keys to include into result
}
type WriteOrdering ¶
type WriteOrdering struct {
Type WriteOrderingType `protobuf:"varint,1,opt,name=type,proto3,enum=qdrant.WriteOrderingType" json:"type,omitempty"` // Write ordering guarantees
// contains filtered or unexported fields
}
func (*WriteOrdering) Descriptor
deprecated
func (*WriteOrdering) Descriptor() ([]byte, []int)
Deprecated: Use WriteOrdering.ProtoReflect.Descriptor instead.
func (*WriteOrdering) GetType ¶
func (x *WriteOrdering) GetType() WriteOrderingType
func (*WriteOrdering) ProtoMessage ¶
func (*WriteOrdering) ProtoMessage()
func (*WriteOrdering) ProtoReflect ¶
func (x *WriteOrdering) ProtoReflect() protoreflect.Message
func (*WriteOrdering) Reset ¶
func (x *WriteOrdering) Reset()
func (*WriteOrdering) String ¶
func (x *WriteOrdering) String() string
type WriteOrderingType ¶
type WriteOrderingType int32
const ( WriteOrderingType_Weak WriteOrderingType = 0 // Write operations may be reordered, works faster, default WriteOrderingType_Medium WriteOrderingType = 1 // Write operations go through dynamically selected leader, may be inconsistent for a short period of time in case of leader change WriteOrderingType_Strong WriteOrderingType = 2 // Write operations go through the permanent leader, consistent, but may be unavailable if leader is down )
func (WriteOrderingType) Descriptor ¶
func (WriteOrderingType) Descriptor() protoreflect.EnumDescriptor
func (WriteOrderingType) Enum ¶
func (x WriteOrderingType) Enum() *WriteOrderingType
func (WriteOrderingType) EnumDescriptor
deprecated
func (WriteOrderingType) EnumDescriptor() ([]byte, []int)
Deprecated: Use WriteOrderingType.Descriptor instead.
func (WriteOrderingType) Number ¶
func (x WriteOrderingType) Number() protoreflect.EnumNumber
func (WriteOrderingType) String ¶
func (x WriteOrderingType) String() string
func (WriteOrderingType) Type ¶
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
- snapshots.go
- snapshots_service.pb.go
- snapshots_service_grpc.pb.go
- value_map.go