Documentation
¶
Index ¶
- Variables
- type ArrayArray
- func (*ArrayArray) Descriptor() ([]byte, []int)deprecated
- func (x *ArrayArray) GetData() []*ScalarField
- func (x *ArrayArray) GetElementType() DataType
- func (*ArrayArray) ProtoMessage()
- func (x *ArrayArray) ProtoReflect() protoreflect.Message
- func (x *ArrayArray) Reset()
- func (x *ArrayArray) String() string
- type BoolArray
- type BytesArray
- type ClusteringInfo
- func (*ClusteringInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ClusteringInfo) GetScalarClusteringInfos() []*ScalarClusteringInfo
- func (x *ClusteringInfo) GetVectorClusteringInfos() []*VectorClusteringInfo
- func (*ClusteringInfo) ProtoMessage()
- func (x *ClusteringInfo) ProtoReflect() protoreflect.Message
- func (x *ClusteringInfo) Reset()
- func (x *ClusteringInfo) String() string
- type CollectionSchema
- func (*CollectionSchema) Descriptor() ([]byte, []int)deprecated
- func (x *CollectionSchema) GetAutoID() booldeprecated
- func (x *CollectionSchema) GetDbName() string
- func (x *CollectionSchema) GetDescription() string
- func (x *CollectionSchema) GetEnableDynamicField() bool
- func (x *CollectionSchema) GetFields() []*FieldSchema
- func (x *CollectionSchema) GetFunctions() []*FunctionSchema
- func (x *CollectionSchema) GetName() string
- func (x *CollectionSchema) GetProperties() []*commonpb.KeyValuePair
- func (x *CollectionSchema) GetStructArrayFields() []*StructArrayFieldSchema
- func (*CollectionSchema) ProtoMessage()
- func (x *CollectionSchema) ProtoReflect() protoreflect.Message
- func (x *CollectionSchema) Reset()
- func (x *CollectionSchema) String() string
- type DataType
- type DoubleArray
- type FieldData
- func (*FieldData) Descriptor() ([]byte, []int)deprecated
- func (m *FieldData) GetField() isFieldData_Field
- func (x *FieldData) GetFieldId() int64
- func (x *FieldData) GetFieldName() string
- func (x *FieldData) GetIsDynamic() bool
- func (x *FieldData) GetScalars() *ScalarField
- func (x *FieldData) GetStructArrays() *StructArrayField
- func (x *FieldData) GetType() DataType
- func (x *FieldData) GetValidData() []bool
- func (x *FieldData) GetVectors() *VectorField
- func (*FieldData) ProtoMessage()
- func (x *FieldData) ProtoReflect() protoreflect.Message
- func (x *FieldData) Reset()
- func (x *FieldData) String() string
- type FieldData_Scalars
- type FieldData_StructArrays
- type FieldData_Vectors
- type FieldSchema
- func (*FieldSchema) Descriptor() ([]byte, []int)deprecated
- func (x *FieldSchema) GetAutoID() bool
- func (x *FieldSchema) GetDataType() DataType
- func (x *FieldSchema) GetDefaultValue() *ValueField
- func (x *FieldSchema) GetDescription() string
- func (x *FieldSchema) GetElementType() DataType
- func (x *FieldSchema) GetFieldID() int64
- func (x *FieldSchema) GetIndexParams() []*commonpb.KeyValuePair
- func (x *FieldSchema) GetIsClusteringKey() bool
- func (x *FieldSchema) GetIsDynamic() bool
- func (x *FieldSchema) GetIsFunctionOutput() bool
- func (x *FieldSchema) GetIsPartitionKey() bool
- func (x *FieldSchema) GetIsPrimaryKey() bool
- func (x *FieldSchema) GetName() string
- func (x *FieldSchema) GetNullable() bool
- func (x *FieldSchema) GetState() FieldState
- func (x *FieldSchema) GetTypeParams() []*commonpb.KeyValuePair
- func (*FieldSchema) ProtoMessage()
- func (x *FieldSchema) ProtoReflect() protoreflect.Message
- func (x *FieldSchema) Reset()
- func (x *FieldSchema) String() string
- type FieldState
- type FloatArray
- type FunctionSchema
- func (*FunctionSchema) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionSchema) GetDescription() string
- func (x *FunctionSchema) GetId() int64
- func (x *FunctionSchema) GetInputFieldIds() []int64
- func (x *FunctionSchema) GetInputFieldNames() []string
- func (x *FunctionSchema) GetName() string
- func (x *FunctionSchema) GetOutputFieldIds() []int64
- func (x *FunctionSchema) GetOutputFieldNames() []string
- func (x *FunctionSchema) GetParams() []*commonpb.KeyValuePair
- func (x *FunctionSchema) GetType() FunctionType
- func (*FunctionSchema) ProtoMessage()
- func (x *FunctionSchema) ProtoReflect() protoreflect.Message
- func (x *FunctionSchema) Reset()
- func (x *FunctionSchema) String() string
- type FunctionScore
- func (*FunctionScore) Descriptor() ([]byte, []int)deprecated
- func (x *FunctionScore) GetFunctions() []*FunctionSchema
- func (x *FunctionScore) GetParams() []*commonpb.KeyValuePair
- func (*FunctionScore) ProtoMessage()
- func (x *FunctionScore) ProtoReflect() protoreflect.Message
- func (x *FunctionScore) Reset()
- func (x *FunctionScore) String() string
- type FunctionType
- func (FunctionType) Descriptor() protoreflect.EnumDescriptor
- func (x FunctionType) Enum() *FunctionType
- func (FunctionType) EnumDescriptor() ([]byte, []int)deprecated
- func (x FunctionType) Number() protoreflect.EnumNumber
- func (x FunctionType) String() string
- func (FunctionType) Type() protoreflect.EnumType
- type GeometryArray
- type IDs
- type IDs_IntId
- type IDs_StrId
- type IntArray
- type JSONArray
- type LongArray
- type ScalarClusteringInfo
- func (*ScalarClusteringInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ScalarClusteringInfo) GetField() string
- func (*ScalarClusteringInfo) ProtoMessage()
- func (x *ScalarClusteringInfo) ProtoReflect() protoreflect.Message
- func (x *ScalarClusteringInfo) Reset()
- func (x *ScalarClusteringInfo) String() string
- type ScalarField
- func (*ScalarField) Descriptor() ([]byte, []int)deprecated
- func (x *ScalarField) GetArrayData() *ArrayArray
- func (x *ScalarField) GetBoolData() *BoolArray
- func (x *ScalarField) GetBytesData() *BytesArray
- func (m *ScalarField) GetData() isScalarField_Data
- func (x *ScalarField) GetDoubleData() *DoubleArray
- func (x *ScalarField) GetFloatData() *FloatArray
- func (x *ScalarField) GetGeometryData() *GeometryArray
- func (x *ScalarField) GetIntData() *IntArray
- func (x *ScalarField) GetJsonData() *JSONArray
- func (x *ScalarField) GetLongData() *LongArray
- func (x *ScalarField) GetStringData() *StringArray
- func (*ScalarField) ProtoMessage()
- func (x *ScalarField) ProtoReflect() protoreflect.Message
- func (x *ScalarField) Reset()
- func (x *ScalarField) String() string
- type ScalarField_ArrayData
- type ScalarField_BoolData
- type ScalarField_BytesData
- type ScalarField_DoubleData
- type ScalarField_FloatData
- type ScalarField_GeometryData
- type ScalarField_IntData
- type ScalarField_JsonData
- type ScalarField_LongData
- type ScalarField_StringData
- type SearchIteratorV2Results
- func (*SearchIteratorV2Results) Descriptor() ([]byte, []int)deprecated
- func (x *SearchIteratorV2Results) GetLastBound() float32
- func (x *SearchIteratorV2Results) GetToken() string
- func (*SearchIteratorV2Results) ProtoMessage()
- func (x *SearchIteratorV2Results) ProtoReflect() protoreflect.Message
- func (x *SearchIteratorV2Results) Reset()
- func (x *SearchIteratorV2Results) String() string
- type SearchResultData
- func (*SearchResultData) Descriptor() ([]byte, []int)deprecated
- func (x *SearchResultData) GetAllSearchCount() int64
- func (x *SearchResultData) GetDistances() []float32
- func (x *SearchResultData) GetFieldsData() []*FieldData
- func (x *SearchResultData) GetGroupByFieldValue() *FieldData
- func (x *SearchResultData) GetIds() *IDs
- func (x *SearchResultData) GetNumQueries() int64
- func (x *SearchResultData) GetOutputFields() []string
- func (x *SearchResultData) GetPrimaryFieldName() string
- func (x *SearchResultData) GetRecalls() []float32
- func (x *SearchResultData) GetScores() []float32
- func (x *SearchResultData) GetSearchIteratorV2Results() *SearchIteratorV2Results
- func (x *SearchResultData) GetTopK() int64
- func (x *SearchResultData) GetTopks() []int64
- func (*SearchResultData) ProtoMessage()
- func (x *SearchResultData) ProtoReflect() protoreflect.Message
- func (x *SearchResultData) Reset()
- func (x *SearchResultData) String() string
- type SparseFloatArray
- func (*SparseFloatArray) Descriptor() ([]byte, []int)deprecated
- func (x *SparseFloatArray) GetContents() [][]byte
- func (x *SparseFloatArray) GetDim() int64
- func (*SparseFloatArray) ProtoMessage()
- func (x *SparseFloatArray) ProtoReflect() protoreflect.Message
- func (x *SparseFloatArray) Reset()
- func (x *SparseFloatArray) String() string
- type StringArray
- type StructArrayField
- type StructArrayFieldSchema
- func (*StructArrayFieldSchema) Descriptor() ([]byte, []int)deprecated
- func (x *StructArrayFieldSchema) GetDescription() string
- func (x *StructArrayFieldSchema) GetFieldID() int64
- func (x *StructArrayFieldSchema) GetFields() []*FieldSchema
- func (x *StructArrayFieldSchema) GetName() string
- func (*StructArrayFieldSchema) ProtoMessage()
- func (x *StructArrayFieldSchema) ProtoReflect() protoreflect.Message
- func (x *StructArrayFieldSchema) Reset()
- func (x *StructArrayFieldSchema) String() string
- type TemplateArrayValue
- func (*TemplateArrayValue) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateArrayValue) GetArrayData() *TemplateArrayValueArray
- func (x *TemplateArrayValue) GetBoolData() *BoolArray
- func (m *TemplateArrayValue) GetData() isTemplateArrayValue_Data
- func (x *TemplateArrayValue) GetDoubleData() *DoubleArray
- func (x *TemplateArrayValue) GetJsonData() *JSONArray
- func (x *TemplateArrayValue) GetLongData() *LongArray
- func (x *TemplateArrayValue) GetStringData() *StringArray
- func (*TemplateArrayValue) ProtoMessage()
- func (x *TemplateArrayValue) ProtoReflect() protoreflect.Message
- func (x *TemplateArrayValue) Reset()
- func (x *TemplateArrayValue) String() string
- type TemplateArrayValueArray
- func (*TemplateArrayValueArray) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateArrayValueArray) GetData() []*TemplateArrayValue
- func (*TemplateArrayValueArray) ProtoMessage()
- func (x *TemplateArrayValueArray) ProtoReflect() protoreflect.Message
- func (x *TemplateArrayValueArray) Reset()
- func (x *TemplateArrayValueArray) String() string
- type TemplateArrayValue_ArrayData
- type TemplateArrayValue_BoolData
- type TemplateArrayValue_DoubleData
- type TemplateArrayValue_JsonData
- type TemplateArrayValue_LongData
- type TemplateArrayValue_StringData
- type TemplateValue
- func (*TemplateValue) Descriptor() ([]byte, []int)deprecated
- func (x *TemplateValue) GetArrayVal() *TemplateArrayValue
- func (x *TemplateValue) GetBoolVal() bool
- func (x *TemplateValue) GetFloatVal() float64
- func (x *TemplateValue) GetInt64Val() int64
- func (x *TemplateValue) GetStringVal() string
- func (m *TemplateValue) GetVal() isTemplateValue_Val
- func (*TemplateValue) ProtoMessage()
- func (x *TemplateValue) ProtoReflect() protoreflect.Message
- func (x *TemplateValue) Reset()
- func (x *TemplateValue) String() string
- type TemplateValue_ArrayVal
- type TemplateValue_BoolVal
- type TemplateValue_FloatVal
- type TemplateValue_Int64Val
- type TemplateValue_StringVal
- type ValueField
- func (*ValueField) Descriptor() ([]byte, []int)deprecated
- func (x *ValueField) GetBoolData() bool
- func (x *ValueField) GetBytesData() []byte
- func (m *ValueField) GetData() isValueField_Data
- func (x *ValueField) GetDoubleData() float64
- func (x *ValueField) GetFloatData() float32
- func (x *ValueField) GetIntData() int32
- func (x *ValueField) GetLongData() int64
- func (x *ValueField) GetStringData() string
- func (*ValueField) ProtoMessage()
- func (x *ValueField) ProtoReflect() protoreflect.Message
- func (x *ValueField) Reset()
- func (x *ValueField) String() string
- type ValueField_BoolData
- type ValueField_BytesData
- type ValueField_DoubleData
- type ValueField_FloatData
- type ValueField_IntData
- type ValueField_LongData
- type ValueField_StringData
- type VectorArray
- func (*VectorArray) Descriptor() ([]byte, []int)deprecated
- func (x *VectorArray) GetData() []*VectorField
- func (x *VectorArray) GetDim() int64
- func (x *VectorArray) GetElementType() DataType
- func (*VectorArray) ProtoMessage()
- func (x *VectorArray) ProtoReflect() protoreflect.Message
- func (x *VectorArray) Reset()
- func (x *VectorArray) String() string
- type VectorClusteringInfo
- func (*VectorClusteringInfo) Descriptor() ([]byte, []int)deprecated
- func (x *VectorClusteringInfo) GetCentroid() *VectorField
- func (x *VectorClusteringInfo) GetField() string
- func (*VectorClusteringInfo) ProtoMessage()
- func (x *VectorClusteringInfo) ProtoReflect() protoreflect.Message
- func (x *VectorClusteringInfo) Reset()
- func (x *VectorClusteringInfo) String() string
- type VectorField
- func (*VectorField) Descriptor() ([]byte, []int)deprecated
- func (x *VectorField) GetBfloat16Vector() []byte
- func (x *VectorField) GetBinaryVector() []byte
- func (m *VectorField) GetData() isVectorField_Data
- func (x *VectorField) GetDim() int64
- func (x *VectorField) GetFloat16Vector() []byte
- func (x *VectorField) GetFloatVector() *FloatArray
- func (x *VectorField) GetInt8Vector() []byte
- func (x *VectorField) GetSparseFloatVector() *SparseFloatArray
- func (x *VectorField) GetVectorArray() *VectorArray
- func (*VectorField) ProtoMessage()
- func (x *VectorField) ProtoReflect() protoreflect.Message
- func (x *VectorField) Reset()
- func (x *VectorField) String() string
- type VectorField_Bfloat16Vector
- type VectorField_BinaryVector
- type VectorField_Float16Vector
- type VectorField_FloatVector
- type VectorField_Int8Vector
- type VectorField_SparseFloatVector
- type VectorField_VectorArray
Constants ¶
This section is empty.
Variables ¶
var ( DataType_name = map[int32]string{ 0: "None", 1: "Bool", 2: "Int8", 3: "Int16", 4: "Int32", 5: "Int64", 10: "Float", 11: "Double", 20: "String", 21: "VarChar", 22: "Array", 23: "JSON", 24: "Geometry", 25: "Text", 100: "BinaryVector", 101: "FloatVector", 102: "Float16Vector", 103: "BFloat16Vector", 104: "SparseFloatVector", 105: "Int8Vector", 106: "ArrayOfVector", 200: "ArrayOfStruct", } DataType_value = map[string]int32{ "None": 0, "Bool": 1, "Int8": 2, "Int16": 3, "Int32": 4, "Int64": 5, "Float": 10, "Double": 11, "String": 20, "VarChar": 21, "Array": 22, "JSON": 23, "Geometry": 24, "Text": 25, "BinaryVector": 100, "FloatVector": 101, "Float16Vector": 102, "BFloat16Vector": 103, "SparseFloatVector": 104, "Int8Vector": 105, "ArrayOfVector": 106, "ArrayOfStruct": 200, } )
Enum value maps for DataType.
var ( FunctionType_name = map[int32]string{ 0: "Unknown", 1: "BM25", 2: "TextEmbedding", 3: "Rerank", } FunctionType_value = map[string]int32{ "Unknown": 0, "BM25": 1, "TextEmbedding": 2, "Rerank": 3, } )
Enum value maps for FunctionType.
var ( FieldState_name = map[int32]string{ 0: "FieldCreated", 1: "FieldCreating", 2: "FieldDropping", 3: "FieldDropped", } FieldState_value = map[string]int32{ "FieldCreated": 0, "FieldCreating": 1, "FieldDropping": 2, "FieldDropped": 3, } )
Enum value maps for FieldState.
var File_schema_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type ArrayArray ¶
type ArrayArray struct { Data []*ScalarField `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` ElementType DataType `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ArrayArray) Descriptor
deprecated
func (*ArrayArray) Descriptor() ([]byte, []int)
Deprecated: Use ArrayArray.ProtoReflect.Descriptor instead.
func (*ArrayArray) GetData ¶
func (x *ArrayArray) GetData() []*ScalarField
func (*ArrayArray) GetElementType ¶
func (x *ArrayArray) GetElementType() DataType
func (*ArrayArray) ProtoMessage ¶
func (*ArrayArray) ProtoMessage()
func (*ArrayArray) ProtoReflect ¶
func (x *ArrayArray) ProtoReflect() protoreflect.Message
func (*ArrayArray) Reset ¶
func (x *ArrayArray) Reset()
func (*ArrayArray) String ¶
func (x *ArrayArray) String() string
type BoolArray ¶
type BoolArray struct { Data []bool `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*BoolArray) Descriptor
deprecated
func (*BoolArray) ProtoMessage ¶
func (*BoolArray) ProtoMessage()
func (*BoolArray) ProtoReflect ¶
func (x *BoolArray) ProtoReflect() protoreflect.Message
type BytesArray ¶
type BytesArray struct { Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
For special fields such as bigdecimal, array...
func (*BytesArray) Descriptor
deprecated
func (*BytesArray) Descriptor() ([]byte, []int)
Deprecated: Use BytesArray.ProtoReflect.Descriptor instead.
func (*BytesArray) GetData ¶
func (x *BytesArray) GetData() [][]byte
func (*BytesArray) ProtoMessage ¶
func (*BytesArray) ProtoMessage()
func (*BytesArray) ProtoReflect ¶
func (x *BytesArray) ProtoReflect() protoreflect.Message
func (*BytesArray) Reset ¶
func (x *BytesArray) Reset()
func (*BytesArray) String ¶
func (x *BytesArray) String() string
type ClusteringInfo ¶
type ClusteringInfo struct { VectorClusteringInfos []*VectorClusteringInfo `` /* 126-byte string literal not displayed */ ScalarClusteringInfos []*ScalarClusteringInfo `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
clustering distribution info of a certain data unit, it can be segment, partition, etc.
func (*ClusteringInfo) Descriptor
deprecated
func (*ClusteringInfo) Descriptor() ([]byte, []int)
Deprecated: Use ClusteringInfo.ProtoReflect.Descriptor instead.
func (*ClusteringInfo) GetScalarClusteringInfos ¶
func (x *ClusteringInfo) GetScalarClusteringInfos() []*ScalarClusteringInfo
func (*ClusteringInfo) GetVectorClusteringInfos ¶
func (x *ClusteringInfo) GetVectorClusteringInfos() []*VectorClusteringInfo
func (*ClusteringInfo) ProtoMessage ¶
func (*ClusteringInfo) ProtoMessage()
func (*ClusteringInfo) ProtoReflect ¶
func (x *ClusteringInfo) ProtoReflect() protoreflect.Message
func (*ClusteringInfo) Reset ¶
func (x *ClusteringInfo) Reset()
func (*ClusteringInfo) String ¶
func (x *ClusteringInfo) String() string
type CollectionSchema ¶
type CollectionSchema struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Deprecated: Marked as deprecated in schema.proto. AutoID bool `protobuf:"varint,3,opt,name=autoID,proto3" json:"autoID,omitempty"` // deprecated later, keep compatible with c++ part now Fields []*FieldSchema `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` EnableDynamicField bool `protobuf:"varint,5,opt,name=enable_dynamic_field,json=enableDynamicField,proto3" json:"enable_dynamic_field,omitempty"` // mark whether this table has the dynamic field function enabled. Properties []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty"` Functions []*FunctionSchema `protobuf:"bytes,7,rep,name=functions,proto3" json:"functions,omitempty"` DbName string `protobuf:"bytes,8,opt,name=dbName,proto3" json:"dbName,omitempty"` StructArrayFields []*StructArrayFieldSchema `protobuf:"bytes,9,rep,name=struct_array_fields,json=structArrayFields,proto3" json:"struct_array_fields,omitempty"` // contains filtered or unexported fields }
* @brief Collection schema
func (*CollectionSchema) Descriptor
deprecated
func (*CollectionSchema) Descriptor() ([]byte, []int)
Deprecated: Use CollectionSchema.ProtoReflect.Descriptor instead.
func (*CollectionSchema) GetAutoID
deprecated
func (x *CollectionSchema) GetAutoID() bool
Deprecated: Marked as deprecated in schema.proto.
func (*CollectionSchema) GetDbName ¶
func (x *CollectionSchema) GetDbName() string
func (*CollectionSchema) GetDescription ¶
func (x *CollectionSchema) GetDescription() string
func (*CollectionSchema) GetEnableDynamicField ¶
func (x *CollectionSchema) GetEnableDynamicField() bool
func (*CollectionSchema) GetFields ¶
func (x *CollectionSchema) GetFields() []*FieldSchema
func (*CollectionSchema) GetFunctions ¶
func (x *CollectionSchema) GetFunctions() []*FunctionSchema
func (*CollectionSchema) GetName ¶
func (x *CollectionSchema) GetName() string
func (*CollectionSchema) GetProperties ¶
func (x *CollectionSchema) GetProperties() []*commonpb.KeyValuePair
func (*CollectionSchema) GetStructArrayFields ¶
func (x *CollectionSchema) GetStructArrayFields() []*StructArrayFieldSchema
func (*CollectionSchema) ProtoMessage ¶
func (*CollectionSchema) ProtoMessage()
func (*CollectionSchema) ProtoReflect ¶
func (x *CollectionSchema) ProtoReflect() protoreflect.Message
func (*CollectionSchema) Reset ¶
func (x *CollectionSchema) Reset()
func (*CollectionSchema) String ¶
func (x *CollectionSchema) String() string
type DataType ¶
type DataType int32
* @brief Field data type
const ( DataType_None DataType = 0 DataType_Bool DataType = 1 DataType_Int8 DataType = 2 DataType_Int16 DataType = 3 DataType_Int32 DataType = 4 DataType_Int64 DataType = 5 DataType_Float DataType = 10 DataType_Double DataType = 11 DataType_String DataType = 20 DataType_VarChar DataType = 21 // variable-length strings with a specified maximum length DataType_Array DataType = 22 DataType_JSON DataType = 23 DataType_Geometry DataType = 24 DataType_Text DataType = 25 DataType_BinaryVector DataType = 100 DataType_FloatVector DataType = 101 DataType_Float16Vector DataType = 102 DataType_BFloat16Vector DataType = 103 DataType_SparseFloatVector DataType = 104 DataType_Int8Vector DataType = 105 DataType_ArrayOfVector DataType = 106 DataType_ArrayOfStruct DataType = 200 )
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 DoubleArray ¶
type DoubleArray struct { Data []float64 `protobuf:"fixed64,1,rep,packed,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*DoubleArray) Descriptor
deprecated
func (*DoubleArray) Descriptor() ([]byte, []int)
Deprecated: Use DoubleArray.ProtoReflect.Descriptor instead.
func (*DoubleArray) GetData ¶
func (x *DoubleArray) GetData() []float64
func (*DoubleArray) ProtoMessage ¶
func (*DoubleArray) ProtoMessage()
func (*DoubleArray) ProtoReflect ¶
func (x *DoubleArray) ProtoReflect() protoreflect.Message
func (*DoubleArray) Reset ¶
func (x *DoubleArray) Reset()
func (*DoubleArray) String ¶
func (x *DoubleArray) String() string
type FieldData ¶
type FieldData struct { Type DataType `protobuf:"varint,1,opt,name=type,proto3,enum=milvus.proto.schema.DataType" json:"type,omitempty"` FieldName string `protobuf:"bytes,2,opt,name=field_name,json=fieldName,proto3" json:"field_name,omitempty"` // Types that are assignable to Field: // // *FieldData_Scalars // *FieldData_Vectors // *FieldData_StructArrays Field isFieldData_Field `protobuf_oneof:"field"` FieldId int64 `protobuf:"varint,5,opt,name=field_id,json=fieldId,proto3" json:"field_id,omitempty"` IsDynamic bool `protobuf:"varint,6,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` ValidData []bool `protobuf:"varint,7,rep,packed,name=valid_data,json=validData,proto3" json:"valid_data,omitempty"` // contains filtered or unexported fields }
func (*FieldData) Descriptor
deprecated
func (*FieldData) GetFieldId ¶
func (*FieldData) GetFieldName ¶
func (*FieldData) GetIsDynamic ¶
func (*FieldData) GetScalars ¶
func (x *FieldData) GetScalars() *ScalarField
func (*FieldData) GetStructArrays ¶
func (x *FieldData) GetStructArrays() *StructArrayField
func (*FieldData) GetValidData ¶
func (*FieldData) GetVectors ¶
func (x *FieldData) GetVectors() *VectorField
func (*FieldData) ProtoMessage ¶
func (*FieldData) ProtoMessage()
func (*FieldData) ProtoReflect ¶
func (x *FieldData) ProtoReflect() protoreflect.Message
type FieldData_Scalars ¶
type FieldData_Scalars struct {
Scalars *ScalarField `protobuf:"bytes,3,opt,name=scalars,proto3,oneof"`
}
type FieldData_StructArrays ¶
type FieldData_StructArrays struct {
StructArrays *StructArrayField `protobuf:"bytes,8,opt,name=struct_arrays,json=structArrays,proto3,oneof"`
}
type FieldData_Vectors ¶
type FieldData_Vectors struct {
Vectors *VectorField `protobuf:"bytes,4,opt,name=vectors,proto3,oneof"`
}
type FieldSchema ¶
type FieldSchema struct { FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` IsPrimaryKey bool `protobuf:"varint,3,opt,name=is_primary_key,json=isPrimaryKey,proto3" json:"is_primary_key,omitempty"` Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` DataType DataType `protobuf:"varint,5,opt,name=data_type,json=dataType,proto3,enum=milvus.proto.schema.DataType" json:"data_type,omitempty"` TypeParams []*commonpb.KeyValuePair `protobuf:"bytes,6,rep,name=type_params,json=typeParams,proto3" json:"type_params,omitempty"` IndexParams []*commonpb.KeyValuePair `protobuf:"bytes,7,rep,name=index_params,json=indexParams,proto3" json:"index_params,omitempty"` AutoID bool `protobuf:"varint,8,opt,name=autoID,proto3" json:"autoID,omitempty"` State FieldState `protobuf:"varint,9,opt,name=state,proto3,enum=milvus.proto.schema.FieldState" json:"state,omitempty"` // To keep compatible with older version, the default // state is `Created`. ElementType DataType `` // For array type, the element type is stored here /* 130-byte string literal not displayed */ DefaultValue *ValueField `protobuf:"bytes,11,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"` // default_value only support scalars except array and json for now IsDynamic bool `protobuf:"varint,12,opt,name=is_dynamic,json=isDynamic,proto3" json:"is_dynamic,omitempty"` // mark whether this field is the dynamic field IsPartitionKey bool `protobuf:"varint,13,opt,name=is_partition_key,json=isPartitionKey,proto3" json:"is_partition_key,omitempty"` // enable logic partitions IsClusteringKey bool `protobuf:"varint,14,opt,name=is_clustering_key,json=isClusteringKey,proto3" json:"is_clustering_key,omitempty"` Nullable bool `protobuf:"varint,15,opt,name=nullable,proto3" json:"nullable,omitempty"` // enable set null as field value IsFunctionOutput bool `protobuf:"varint,16,opt,name=is_function_output,json=isFunctionOutput,proto3" json:"is_function_output,omitempty"` // contains filtered or unexported fields }
* @brief Field schema
func (*FieldSchema) Descriptor
deprecated
func (*FieldSchema) Descriptor() ([]byte, []int)
Deprecated: Use FieldSchema.ProtoReflect.Descriptor instead.
func (*FieldSchema) GetAutoID ¶
func (x *FieldSchema) GetAutoID() bool
func (*FieldSchema) GetDataType ¶
func (x *FieldSchema) GetDataType() DataType
func (*FieldSchema) GetDefaultValue ¶
func (x *FieldSchema) GetDefaultValue() *ValueField
func (*FieldSchema) GetDescription ¶
func (x *FieldSchema) GetDescription() string
func (*FieldSchema) GetElementType ¶
func (x *FieldSchema) GetElementType() DataType
func (*FieldSchema) GetFieldID ¶
func (x *FieldSchema) GetFieldID() int64
func (*FieldSchema) GetIndexParams ¶
func (x *FieldSchema) GetIndexParams() []*commonpb.KeyValuePair
func (*FieldSchema) GetIsClusteringKey ¶
func (x *FieldSchema) GetIsClusteringKey() bool
func (*FieldSchema) GetIsDynamic ¶
func (x *FieldSchema) GetIsDynamic() bool
func (*FieldSchema) GetIsFunctionOutput ¶
func (x *FieldSchema) GetIsFunctionOutput() bool
func (*FieldSchema) GetIsPartitionKey ¶
func (x *FieldSchema) GetIsPartitionKey() bool
func (*FieldSchema) GetIsPrimaryKey ¶
func (x *FieldSchema) GetIsPrimaryKey() bool
func (*FieldSchema) GetName ¶
func (x *FieldSchema) GetName() string
func (*FieldSchema) GetNullable ¶
func (x *FieldSchema) GetNullable() bool
func (*FieldSchema) GetState ¶
func (x *FieldSchema) GetState() FieldState
func (*FieldSchema) GetTypeParams ¶
func (x *FieldSchema) GetTypeParams() []*commonpb.KeyValuePair
func (*FieldSchema) ProtoMessage ¶
func (*FieldSchema) ProtoMessage()
func (*FieldSchema) ProtoReflect ¶
func (x *FieldSchema) ProtoReflect() protoreflect.Message
func (*FieldSchema) Reset ¶
func (x *FieldSchema) Reset()
func (*FieldSchema) String ¶
func (x *FieldSchema) String() string
type FieldState ¶
type FieldState int32
const ( FieldState_FieldCreated FieldState = 0 FieldState_FieldCreating FieldState = 1 FieldState_FieldDropping FieldState = 2 FieldState_FieldDropped FieldState = 3 )
func (FieldState) Descriptor ¶
func (FieldState) Descriptor() protoreflect.EnumDescriptor
func (FieldState) Enum ¶
func (x FieldState) Enum() *FieldState
func (FieldState) EnumDescriptor
deprecated
func (FieldState) EnumDescriptor() ([]byte, []int)
Deprecated: Use FieldState.Descriptor instead.
func (FieldState) Number ¶
func (x FieldState) Number() protoreflect.EnumNumber
func (FieldState) String ¶
func (x FieldState) String() string
func (FieldState) Type ¶
func (FieldState) Type() protoreflect.EnumType
type FloatArray ¶
type FloatArray struct { Data []float32 `protobuf:"fixed32,1,rep,packed,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*FloatArray) Descriptor
deprecated
func (*FloatArray) Descriptor() ([]byte, []int)
Deprecated: Use FloatArray.ProtoReflect.Descriptor instead.
func (*FloatArray) GetData ¶
func (x *FloatArray) GetData() []float32
func (*FloatArray) ProtoMessage ¶
func (*FloatArray) ProtoMessage()
func (*FloatArray) ProtoReflect ¶
func (x *FloatArray) ProtoReflect() protoreflect.Message
func (*FloatArray) Reset ¶
func (x *FloatArray) Reset()
func (*FloatArray) String ¶
func (x *FloatArray) String() string
type FunctionSchema ¶
type FunctionSchema struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Type FunctionType `protobuf:"varint,4,opt,name=type,proto3,enum=milvus.proto.schema.FunctionType" json:"type,omitempty"` InputFieldNames []string `protobuf:"bytes,5,rep,name=input_field_names,json=inputFieldNames,proto3" json:"input_field_names,omitempty"` InputFieldIds []int64 `protobuf:"varint,6,rep,packed,name=input_field_ids,json=inputFieldIds,proto3" json:"input_field_ids,omitempty"` OutputFieldNames []string `protobuf:"bytes,7,rep,name=output_field_names,json=outputFieldNames,proto3" json:"output_field_names,omitempty"` OutputFieldIds []int64 `protobuf:"varint,8,rep,packed,name=output_field_ids,json=outputFieldIds,proto3" json:"output_field_ids,omitempty"` Params []*commonpb.KeyValuePair `protobuf:"bytes,9,rep,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*FunctionSchema) Descriptor
deprecated
func (*FunctionSchema) Descriptor() ([]byte, []int)
Deprecated: Use FunctionSchema.ProtoReflect.Descriptor instead.
func (*FunctionSchema) GetDescription ¶
func (x *FunctionSchema) GetDescription() string
func (*FunctionSchema) GetId ¶
func (x *FunctionSchema) GetId() int64
func (*FunctionSchema) GetInputFieldIds ¶
func (x *FunctionSchema) GetInputFieldIds() []int64
func (*FunctionSchema) GetInputFieldNames ¶
func (x *FunctionSchema) GetInputFieldNames() []string
func (*FunctionSchema) GetName ¶
func (x *FunctionSchema) GetName() string
func (*FunctionSchema) GetOutputFieldIds ¶
func (x *FunctionSchema) GetOutputFieldIds() []int64
func (*FunctionSchema) GetOutputFieldNames ¶
func (x *FunctionSchema) GetOutputFieldNames() []string
func (*FunctionSchema) GetParams ¶
func (x *FunctionSchema) GetParams() []*commonpb.KeyValuePair
func (*FunctionSchema) GetType ¶
func (x *FunctionSchema) GetType() FunctionType
func (*FunctionSchema) ProtoMessage ¶
func (*FunctionSchema) ProtoMessage()
func (*FunctionSchema) ProtoReflect ¶
func (x *FunctionSchema) ProtoReflect() protoreflect.Message
func (*FunctionSchema) Reset ¶
func (x *FunctionSchema) Reset()
func (*FunctionSchema) String ¶
func (x *FunctionSchema) String() string
type FunctionScore ¶
type FunctionScore struct { Functions []*FunctionSchema `protobuf:"bytes,1,rep,name=functions,proto3" json:"functions,omitempty"` // Currently only a single function is supported, and multiple functions // may be supported in the future, so repeated is used here. Params []*commonpb.KeyValuePair `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*FunctionScore) Descriptor
deprecated
func (*FunctionScore) Descriptor() ([]byte, []int)
Deprecated: Use FunctionScore.ProtoReflect.Descriptor instead.
func (*FunctionScore) GetFunctions ¶
func (x *FunctionScore) GetFunctions() []*FunctionSchema
func (*FunctionScore) GetParams ¶
func (x *FunctionScore) GetParams() []*commonpb.KeyValuePair
func (*FunctionScore) ProtoMessage ¶
func (*FunctionScore) ProtoMessage()
func (*FunctionScore) ProtoReflect ¶
func (x *FunctionScore) ProtoReflect() protoreflect.Message
func (*FunctionScore) Reset ¶
func (x *FunctionScore) Reset()
func (*FunctionScore) String ¶
func (x *FunctionScore) String() string
type FunctionType ¶
type FunctionType int32
const ( FunctionType_Unknown FunctionType = 0 FunctionType_BM25 FunctionType = 1 FunctionType_TextEmbedding FunctionType = 2 FunctionType_Rerank FunctionType = 3 )
func (FunctionType) Descriptor ¶
func (FunctionType) Descriptor() protoreflect.EnumDescriptor
func (FunctionType) Enum ¶
func (x FunctionType) Enum() *FunctionType
func (FunctionType) EnumDescriptor
deprecated
func (FunctionType) EnumDescriptor() ([]byte, []int)
Deprecated: Use FunctionType.Descriptor instead.
func (FunctionType) Number ¶
func (x FunctionType) Number() protoreflect.EnumNumber
func (FunctionType) String ¶
func (x FunctionType) String() string
func (FunctionType) Type ¶
func (FunctionType) Type() protoreflect.EnumType
type GeometryArray ¶
type GeometryArray struct { Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*GeometryArray) Descriptor
deprecated
func (*GeometryArray) Descriptor() ([]byte, []int)
Deprecated: Use GeometryArray.ProtoReflect.Descriptor instead.
func (*GeometryArray) GetData ¶
func (x *GeometryArray) GetData() [][]byte
func (*GeometryArray) ProtoMessage ¶
func (*GeometryArray) ProtoMessage()
func (*GeometryArray) ProtoReflect ¶
func (x *GeometryArray) ProtoReflect() protoreflect.Message
func (*GeometryArray) Reset ¶
func (x *GeometryArray) Reset()
func (*GeometryArray) String ¶
func (x *GeometryArray) String() string
type IDs ¶
type IDs struct { // Types that are assignable to IdField: // // *IDs_IntId // *IDs_StrId IdField isIDs_IdField `protobuf_oneof:"id_field"` // contains filtered or unexported fields }
func (*IDs) Descriptor
deprecated
func (*IDs) GetIdField ¶
func (m *IDs) GetIdField() isIDs_IdField
func (*IDs) GetStrId ¶
func (x *IDs) GetStrId() *StringArray
func (*IDs) ProtoMessage ¶
func (*IDs) ProtoMessage()
func (*IDs) ProtoReflect ¶
func (x *IDs) ProtoReflect() protoreflect.Message
type IDs_IntId ¶
type IDs_IntId struct {
IntId *LongArray `protobuf:"bytes,1,opt,name=int_id,json=intId,proto3,oneof"`
}
type IDs_StrId ¶
type IDs_StrId struct {
StrId *StringArray `protobuf:"bytes,2,opt,name=str_id,json=strId,proto3,oneof"`
}
type IntArray ¶
type IntArray struct { Data []int32 `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*IntArray) Descriptor
deprecated
func (*IntArray) ProtoMessage ¶
func (*IntArray) ProtoMessage()
func (*IntArray) ProtoReflect ¶
func (x *IntArray) ProtoReflect() protoreflect.Message
type JSONArray ¶
type JSONArray struct { Data [][]byte `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*JSONArray) Descriptor
deprecated
func (*JSONArray) ProtoMessage ¶
func (*JSONArray) ProtoMessage()
func (*JSONArray) ProtoReflect ¶
func (x *JSONArray) ProtoReflect() protoreflect.Message
type LongArray ¶
type LongArray struct { Data []int64 `protobuf:"varint,1,rep,packed,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*LongArray) Descriptor
deprecated
func (*LongArray) ProtoMessage ¶
func (*LongArray) ProtoMessage()
func (*LongArray) ProtoReflect ¶
func (x *LongArray) ProtoReflect() protoreflect.Message
type ScalarClusteringInfo ¶
type ScalarClusteringInfo struct { Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` // contains filtered or unexported fields }
Scalar field clustering info todo more definitions: min/max, etc
func (*ScalarClusteringInfo) Descriptor
deprecated
func (*ScalarClusteringInfo) Descriptor() ([]byte, []int)
Deprecated: Use ScalarClusteringInfo.ProtoReflect.Descriptor instead.
func (*ScalarClusteringInfo) GetField ¶
func (x *ScalarClusteringInfo) GetField() string
func (*ScalarClusteringInfo) ProtoMessage ¶
func (*ScalarClusteringInfo) ProtoMessage()
func (*ScalarClusteringInfo) ProtoReflect ¶
func (x *ScalarClusteringInfo) ProtoReflect() protoreflect.Message
func (*ScalarClusteringInfo) Reset ¶
func (x *ScalarClusteringInfo) Reset()
func (*ScalarClusteringInfo) String ¶
func (x *ScalarClusteringInfo) String() string
type ScalarField ¶
type ScalarField struct { // Types that are assignable to Data: // // *ScalarField_BoolData // *ScalarField_IntData // *ScalarField_LongData // *ScalarField_FloatData // *ScalarField_DoubleData // *ScalarField_StringData // *ScalarField_BytesData // *ScalarField_ArrayData // *ScalarField_JsonData // *ScalarField_GeometryData Data isScalarField_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*ScalarField) Descriptor
deprecated
func (*ScalarField) Descriptor() ([]byte, []int)
Deprecated: Use ScalarField.ProtoReflect.Descriptor instead.
func (*ScalarField) GetArrayData ¶
func (x *ScalarField) GetArrayData() *ArrayArray
func (*ScalarField) GetBoolData ¶
func (x *ScalarField) GetBoolData() *BoolArray
func (*ScalarField) GetBytesData ¶
func (x *ScalarField) GetBytesData() *BytesArray
func (*ScalarField) GetData ¶
func (m *ScalarField) GetData() isScalarField_Data
func (*ScalarField) GetDoubleData ¶
func (x *ScalarField) GetDoubleData() *DoubleArray
func (*ScalarField) GetFloatData ¶
func (x *ScalarField) GetFloatData() *FloatArray
func (*ScalarField) GetGeometryData ¶
func (x *ScalarField) GetGeometryData() *GeometryArray
func (*ScalarField) GetIntData ¶
func (x *ScalarField) GetIntData() *IntArray
func (*ScalarField) GetJsonData ¶
func (x *ScalarField) GetJsonData() *JSONArray
func (*ScalarField) GetLongData ¶
func (x *ScalarField) GetLongData() *LongArray
func (*ScalarField) GetStringData ¶
func (x *ScalarField) GetStringData() *StringArray
func (*ScalarField) ProtoMessage ¶
func (*ScalarField) ProtoMessage()
func (*ScalarField) ProtoReflect ¶
func (x *ScalarField) ProtoReflect() protoreflect.Message
func (*ScalarField) Reset ¶
func (x *ScalarField) Reset()
func (*ScalarField) String ¶
func (x *ScalarField) String() string
type ScalarField_ArrayData ¶
type ScalarField_ArrayData struct {
ArrayData *ArrayArray `protobuf:"bytes,8,opt,name=array_data,json=arrayData,proto3,oneof"`
}
type ScalarField_BoolData ¶
type ScalarField_BoolData struct {
BoolData *BoolArray `protobuf:"bytes,1,opt,name=bool_data,json=boolData,proto3,oneof"`
}
type ScalarField_BytesData ¶
type ScalarField_BytesData struct {
BytesData *BytesArray `protobuf:"bytes,7,opt,name=bytes_data,json=bytesData,proto3,oneof"`
}
type ScalarField_DoubleData ¶
type ScalarField_DoubleData struct {
DoubleData *DoubleArray `protobuf:"bytes,5,opt,name=double_data,json=doubleData,proto3,oneof"`
}
type ScalarField_FloatData ¶
type ScalarField_FloatData struct {
FloatData *FloatArray `protobuf:"bytes,4,opt,name=float_data,json=floatData,proto3,oneof"`
}
type ScalarField_GeometryData ¶
type ScalarField_GeometryData struct {
GeometryData *GeometryArray `protobuf:"bytes,10,opt,name=geometry_data,json=geometryData,proto3,oneof"`
}
type ScalarField_IntData ¶
type ScalarField_IntData struct {
IntData *IntArray `protobuf:"bytes,2,opt,name=int_data,json=intData,proto3,oneof"`
}
type ScalarField_JsonData ¶
type ScalarField_JsonData struct {
JsonData *JSONArray `protobuf:"bytes,9,opt,name=json_data,json=jsonData,proto3,oneof"`
}
type ScalarField_LongData ¶
type ScalarField_LongData struct {
LongData *LongArray `protobuf:"bytes,3,opt,name=long_data,json=longData,proto3,oneof"`
}
type ScalarField_StringData ¶
type ScalarField_StringData struct {
StringData *StringArray `protobuf:"bytes,6,opt,name=string_data,json=stringData,proto3,oneof"`
}
type SearchIteratorV2Results ¶
type SearchIteratorV2Results struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` LastBound float32 `protobuf:"fixed32,2,opt,name=last_bound,json=lastBound,proto3" json:"last_bound,omitempty"` // contains filtered or unexported fields }
func (*SearchIteratorV2Results) Descriptor
deprecated
func (*SearchIteratorV2Results) Descriptor() ([]byte, []int)
Deprecated: Use SearchIteratorV2Results.ProtoReflect.Descriptor instead.
func (*SearchIteratorV2Results) GetLastBound ¶
func (x *SearchIteratorV2Results) GetLastBound() float32
func (*SearchIteratorV2Results) GetToken ¶
func (x *SearchIteratorV2Results) GetToken() string
func (*SearchIteratorV2Results) ProtoMessage ¶
func (*SearchIteratorV2Results) ProtoMessage()
func (*SearchIteratorV2Results) ProtoReflect ¶
func (x *SearchIteratorV2Results) ProtoReflect() protoreflect.Message
func (*SearchIteratorV2Results) Reset ¶
func (x *SearchIteratorV2Results) Reset()
func (*SearchIteratorV2Results) String ¶
func (x *SearchIteratorV2Results) String() string
type SearchResultData ¶
type SearchResultData struct { NumQueries int64 `protobuf:"varint,1,opt,name=num_queries,json=numQueries,proto3" json:"num_queries,omitempty"` TopK int64 `protobuf:"varint,2,opt,name=top_k,json=topK,proto3" json:"top_k,omitempty"` FieldsData []*FieldData `protobuf:"bytes,3,rep,name=fields_data,json=fieldsData,proto3" json:"fields_data,omitempty"` Scores []float32 `protobuf:"fixed32,4,rep,packed,name=scores,proto3" json:"scores,omitempty"` Ids *IDs `protobuf:"bytes,5,opt,name=ids,proto3" json:"ids,omitempty"` Topks []int64 `protobuf:"varint,6,rep,packed,name=topks,proto3" json:"topks,omitempty"` OutputFields []string `protobuf:"bytes,7,rep,name=output_fields,json=outputFields,proto3" json:"output_fields,omitempty"` GroupByFieldValue *FieldData `protobuf:"bytes,8,opt,name=group_by_field_value,json=groupByFieldValue,proto3" json:"group_by_field_value,omitempty"` AllSearchCount int64 `protobuf:"varint,9,opt,name=all_search_count,json=allSearchCount,proto3" json:"all_search_count,omitempty"` Distances []float32 `protobuf:"fixed32,10,rep,packed,name=distances,proto3" json:"distances,omitempty"` SearchIteratorV2Results *SearchIteratorV2Results `` /* 141-byte string literal not displayed */ Recalls []float32 `protobuf:"fixed32,12,rep,packed,name=recalls,proto3" json:"recalls,omitempty"` PrimaryFieldName string `protobuf:"bytes,13,opt,name=primary_field_name,json=primaryFieldName,proto3" json:"primary_field_name,omitempty"` // contains filtered or unexported fields }
func (*SearchResultData) Descriptor
deprecated
func (*SearchResultData) Descriptor() ([]byte, []int)
Deprecated: Use SearchResultData.ProtoReflect.Descriptor instead.
func (*SearchResultData) GetAllSearchCount ¶
func (x *SearchResultData) GetAllSearchCount() int64
func (*SearchResultData) GetDistances ¶
func (x *SearchResultData) GetDistances() []float32
func (*SearchResultData) GetFieldsData ¶
func (x *SearchResultData) GetFieldsData() []*FieldData
func (*SearchResultData) GetGroupByFieldValue ¶
func (x *SearchResultData) GetGroupByFieldValue() *FieldData
func (*SearchResultData) GetIds ¶
func (x *SearchResultData) GetIds() *IDs
func (*SearchResultData) GetNumQueries ¶
func (x *SearchResultData) GetNumQueries() int64
func (*SearchResultData) GetOutputFields ¶
func (x *SearchResultData) GetOutputFields() []string
func (*SearchResultData) GetPrimaryFieldName ¶
func (x *SearchResultData) GetPrimaryFieldName() string
func (*SearchResultData) GetRecalls ¶
func (x *SearchResultData) GetRecalls() []float32
func (*SearchResultData) GetScores ¶
func (x *SearchResultData) GetScores() []float32
func (*SearchResultData) GetSearchIteratorV2Results ¶
func (x *SearchResultData) GetSearchIteratorV2Results() *SearchIteratorV2Results
func (*SearchResultData) GetTopK ¶
func (x *SearchResultData) GetTopK() int64
func (*SearchResultData) GetTopks ¶
func (x *SearchResultData) GetTopks() []int64
func (*SearchResultData) ProtoMessage ¶
func (*SearchResultData) ProtoMessage()
func (*SearchResultData) ProtoReflect ¶
func (x *SearchResultData) ProtoReflect() protoreflect.Message
func (*SearchResultData) Reset ¶
func (x *SearchResultData) Reset()
func (*SearchResultData) String ¶
func (x *SearchResultData) String() string
type SparseFloatArray ¶
type SparseFloatArray struct { Contents [][]byte `protobuf:"bytes,1,rep,name=contents,proto3" json:"contents,omitempty"` // dim is the max dimension of the current batch of vectors Dim int64 `protobuf:"varint,2,opt,name=dim,proto3" json:"dim,omitempty"` // contains filtered or unexported fields }
beta, api may change
func (*SparseFloatArray) Descriptor
deprecated
func (*SparseFloatArray) Descriptor() ([]byte, []int)
Deprecated: Use SparseFloatArray.ProtoReflect.Descriptor instead.
func (*SparseFloatArray) GetContents ¶
func (x *SparseFloatArray) GetContents() [][]byte
func (*SparseFloatArray) GetDim ¶
func (x *SparseFloatArray) GetDim() int64
func (*SparseFloatArray) ProtoMessage ¶
func (*SparseFloatArray) ProtoMessage()
func (*SparseFloatArray) ProtoReflect ¶
func (x *SparseFloatArray) ProtoReflect() protoreflect.Message
func (*SparseFloatArray) Reset ¶
func (x *SparseFloatArray) Reset()
func (*SparseFloatArray) String ¶
func (x *SparseFloatArray) String() string
type StringArray ¶
type StringArray struct { Data []string `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*StringArray) Descriptor
deprecated
func (*StringArray) Descriptor() ([]byte, []int)
Deprecated: Use StringArray.ProtoReflect.Descriptor instead.
func (*StringArray) GetData ¶
func (x *StringArray) GetData() []string
func (*StringArray) ProtoMessage ¶
func (*StringArray) ProtoMessage()
func (*StringArray) ProtoReflect ¶
func (x *StringArray) ProtoReflect() protoreflect.Message
func (*StringArray) Reset ¶
func (x *StringArray) Reset()
func (*StringArray) String ¶
func (x *StringArray) String() string
type StructArrayField ¶
type StructArrayField struct { Fields []*FieldData `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*StructArrayField) Descriptor
deprecated
func (*StructArrayField) Descriptor() ([]byte, []int)
Deprecated: Use StructArrayField.ProtoReflect.Descriptor instead.
func (*StructArrayField) GetFields ¶
func (x *StructArrayField) GetFields() []*FieldData
func (*StructArrayField) ProtoMessage ¶
func (*StructArrayField) ProtoMessage()
func (*StructArrayField) ProtoReflect ¶
func (x *StructArrayField) ProtoReflect() protoreflect.Message
func (*StructArrayField) Reset ¶
func (x *StructArrayField) Reset()
func (*StructArrayField) String ¶
func (x *StructArrayField) String() string
type StructArrayFieldSchema ¶
type StructArrayFieldSchema struct { FieldID int64 `protobuf:"varint,1,opt,name=fieldID,proto3" json:"fieldID,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` Fields []*FieldSchema `protobuf:"bytes,4,rep,name=fields,proto3" json:"fields,omitempty"` // contains filtered or unexported fields }
func (*StructArrayFieldSchema) Descriptor
deprecated
func (*StructArrayFieldSchema) Descriptor() ([]byte, []int)
Deprecated: Use StructArrayFieldSchema.ProtoReflect.Descriptor instead.
func (*StructArrayFieldSchema) GetDescription ¶
func (x *StructArrayFieldSchema) GetDescription() string
func (*StructArrayFieldSchema) GetFieldID ¶
func (x *StructArrayFieldSchema) GetFieldID() int64
func (*StructArrayFieldSchema) GetFields ¶
func (x *StructArrayFieldSchema) GetFields() []*FieldSchema
func (*StructArrayFieldSchema) GetName ¶
func (x *StructArrayFieldSchema) GetName() string
func (*StructArrayFieldSchema) ProtoMessage ¶
func (*StructArrayFieldSchema) ProtoMessage()
func (*StructArrayFieldSchema) ProtoReflect ¶
func (x *StructArrayFieldSchema) ProtoReflect() protoreflect.Message
func (*StructArrayFieldSchema) Reset ¶
func (x *StructArrayFieldSchema) Reset()
func (*StructArrayFieldSchema) String ¶
func (x *StructArrayFieldSchema) String() string
type TemplateArrayValue ¶
type TemplateArrayValue struct { // Types that are assignable to Data: // // *TemplateArrayValue_BoolData // *TemplateArrayValue_LongData // *TemplateArrayValue_DoubleData // *TemplateArrayValue_StringData // *TemplateArrayValue_ArrayData // *TemplateArrayValue_JsonData Data isTemplateArrayValue_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*TemplateArrayValue) Descriptor
deprecated
func (*TemplateArrayValue) Descriptor() ([]byte, []int)
Deprecated: Use TemplateArrayValue.ProtoReflect.Descriptor instead.
func (*TemplateArrayValue) GetArrayData ¶
func (x *TemplateArrayValue) GetArrayData() *TemplateArrayValueArray
func (*TemplateArrayValue) GetBoolData ¶
func (x *TemplateArrayValue) GetBoolData() *BoolArray
func (*TemplateArrayValue) GetData ¶
func (m *TemplateArrayValue) GetData() isTemplateArrayValue_Data
func (*TemplateArrayValue) GetDoubleData ¶
func (x *TemplateArrayValue) GetDoubleData() *DoubleArray
func (*TemplateArrayValue) GetJsonData ¶
func (x *TemplateArrayValue) GetJsonData() *JSONArray
func (*TemplateArrayValue) GetLongData ¶
func (x *TemplateArrayValue) GetLongData() *LongArray
func (*TemplateArrayValue) GetStringData ¶
func (x *TemplateArrayValue) GetStringData() *StringArray
func (*TemplateArrayValue) ProtoMessage ¶
func (*TemplateArrayValue) ProtoMessage()
func (*TemplateArrayValue) ProtoReflect ¶
func (x *TemplateArrayValue) ProtoReflect() protoreflect.Message
func (*TemplateArrayValue) Reset ¶
func (x *TemplateArrayValue) Reset()
func (*TemplateArrayValue) String ¶
func (x *TemplateArrayValue) String() string
type TemplateArrayValueArray ¶
type TemplateArrayValueArray struct { Data []*TemplateArrayValue `protobuf:"bytes,1,rep,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*TemplateArrayValueArray) Descriptor
deprecated
func (*TemplateArrayValueArray) Descriptor() ([]byte, []int)
Deprecated: Use TemplateArrayValueArray.ProtoReflect.Descriptor instead.
func (*TemplateArrayValueArray) GetData ¶
func (x *TemplateArrayValueArray) GetData() []*TemplateArrayValue
func (*TemplateArrayValueArray) ProtoMessage ¶
func (*TemplateArrayValueArray) ProtoMessage()
func (*TemplateArrayValueArray) ProtoReflect ¶
func (x *TemplateArrayValueArray) ProtoReflect() protoreflect.Message
func (*TemplateArrayValueArray) Reset ¶
func (x *TemplateArrayValueArray) Reset()
func (*TemplateArrayValueArray) String ¶
func (x *TemplateArrayValueArray) String() string
type TemplateArrayValue_ArrayData ¶
type TemplateArrayValue_ArrayData struct {
ArrayData *TemplateArrayValueArray `protobuf:"bytes,5,opt,name=array_data,json=arrayData,proto3,oneof"`
}
type TemplateArrayValue_BoolData ¶
type TemplateArrayValue_BoolData struct {
BoolData *BoolArray `protobuf:"bytes,1,opt,name=bool_data,json=boolData,proto3,oneof"`
}
type TemplateArrayValue_DoubleData ¶
type TemplateArrayValue_DoubleData struct {
DoubleData *DoubleArray `protobuf:"bytes,3,opt,name=double_data,json=doubleData,proto3,oneof"`
}
type TemplateArrayValue_JsonData ¶
type TemplateArrayValue_JsonData struct {
JsonData *JSONArray `protobuf:"bytes,6,opt,name=json_data,json=jsonData,proto3,oneof"`
}
type TemplateArrayValue_LongData ¶
type TemplateArrayValue_LongData struct {
LongData *LongArray `protobuf:"bytes,2,opt,name=long_data,json=longData,proto3,oneof"`
}
type TemplateArrayValue_StringData ¶
type TemplateArrayValue_StringData struct {
StringData *StringArray `protobuf:"bytes,4,opt,name=string_data,json=stringData,proto3,oneof"`
}
type TemplateValue ¶
type TemplateValue struct { // Types that are assignable to Val: // // *TemplateValue_BoolVal // *TemplateValue_Int64Val // *TemplateValue_FloatVal // *TemplateValue_StringVal // *TemplateValue_ArrayVal Val isTemplateValue_Val `protobuf_oneof:"val"` // contains filtered or unexported fields }
func (*TemplateValue) Descriptor
deprecated
func (*TemplateValue) Descriptor() ([]byte, []int)
Deprecated: Use TemplateValue.ProtoReflect.Descriptor instead.
func (*TemplateValue) GetArrayVal ¶
func (x *TemplateValue) GetArrayVal() *TemplateArrayValue
func (*TemplateValue) GetBoolVal ¶
func (x *TemplateValue) GetBoolVal() bool
func (*TemplateValue) GetFloatVal ¶
func (x *TemplateValue) GetFloatVal() float64
func (*TemplateValue) GetInt64Val ¶
func (x *TemplateValue) GetInt64Val() int64
func (*TemplateValue) GetStringVal ¶
func (x *TemplateValue) GetStringVal() string
func (*TemplateValue) GetVal ¶
func (m *TemplateValue) GetVal() isTemplateValue_Val
func (*TemplateValue) ProtoMessage ¶
func (*TemplateValue) ProtoMessage()
func (*TemplateValue) ProtoReflect ¶
func (x *TemplateValue) ProtoReflect() protoreflect.Message
func (*TemplateValue) Reset ¶
func (x *TemplateValue) Reset()
func (*TemplateValue) String ¶
func (x *TemplateValue) String() string
type TemplateValue_ArrayVal ¶
type TemplateValue_ArrayVal struct {
ArrayVal *TemplateArrayValue `protobuf:"bytes,5,opt,name=array_val,json=arrayVal,proto3,oneof"`
}
type TemplateValue_BoolVal ¶
type TemplateValue_BoolVal struct {
BoolVal bool `protobuf:"varint,1,opt,name=bool_val,json=boolVal,proto3,oneof"`
}
type TemplateValue_FloatVal ¶
type TemplateValue_FloatVal struct {
FloatVal float64 `protobuf:"fixed64,3,opt,name=float_val,json=floatVal,proto3,oneof"`
}
type TemplateValue_Int64Val ¶
type TemplateValue_Int64Val struct {
Int64Val int64 `protobuf:"varint,2,opt,name=int64_val,json=int64Val,proto3,oneof"`
}
type TemplateValue_StringVal ¶
type TemplateValue_StringVal struct {
StringVal string `protobuf:"bytes,4,opt,name=string_val,json=stringVal,proto3,oneof"`
}
type ValueField ¶
type ValueField struct { // Types that are assignable to Data: // // *ValueField_BoolData // *ValueField_IntData // *ValueField_LongData // *ValueField_FloatData // *ValueField_DoubleData // *ValueField_StringData // *ValueField_BytesData Data isValueField_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*ValueField) Descriptor
deprecated
func (*ValueField) Descriptor() ([]byte, []int)
Deprecated: Use ValueField.ProtoReflect.Descriptor instead.
func (*ValueField) GetBoolData ¶
func (x *ValueField) GetBoolData() bool
func (*ValueField) GetBytesData ¶
func (x *ValueField) GetBytesData() []byte
func (*ValueField) GetData ¶
func (m *ValueField) GetData() isValueField_Data
func (*ValueField) GetDoubleData ¶
func (x *ValueField) GetDoubleData() float64
func (*ValueField) GetFloatData ¶
func (x *ValueField) GetFloatData() float32
func (*ValueField) GetIntData ¶
func (x *ValueField) GetIntData() int32
func (*ValueField) GetLongData ¶
func (x *ValueField) GetLongData() int64
func (*ValueField) GetStringData ¶
func (x *ValueField) GetStringData() string
func (*ValueField) ProtoMessage ¶
func (*ValueField) ProtoMessage()
func (*ValueField) ProtoReflect ¶
func (x *ValueField) ProtoReflect() protoreflect.Message
func (*ValueField) Reset ¶
func (x *ValueField) Reset()
func (*ValueField) String ¶
func (x *ValueField) String() string
type ValueField_BoolData ¶
type ValueField_BoolData struct {
BoolData bool `protobuf:"varint,1,opt,name=bool_data,json=boolData,proto3,oneof"`
}
type ValueField_BytesData ¶
type ValueField_BytesData struct {
BytesData []byte `protobuf:"bytes,7,opt,name=bytes_data,json=bytesData,proto3,oneof"`
}
type ValueField_DoubleData ¶
type ValueField_DoubleData struct {
DoubleData float64 `protobuf:"fixed64,5,opt,name=double_data,json=doubleData,proto3,oneof"`
}
type ValueField_FloatData ¶
type ValueField_FloatData struct {
FloatData float32 `protobuf:"fixed32,4,opt,name=float_data,json=floatData,proto3,oneof"`
}
type ValueField_IntData ¶
type ValueField_IntData struct {
IntData int32 `protobuf:"varint,2,opt,name=int_data,json=intData,proto3,oneof"`
}
type ValueField_LongData ¶
type ValueField_LongData struct {
LongData int64 `protobuf:"varint,3,opt,name=long_data,json=longData,proto3,oneof"`
}
type ValueField_StringData ¶
type ValueField_StringData struct {
StringData string `protobuf:"bytes,6,opt,name=string_data,json=stringData,proto3,oneof"`
}
type VectorArray ¶
type VectorArray struct { Dim int64 `protobuf:"varint,1,opt,name=dim,proto3" json:"dim,omitempty"` Data []*VectorField `protobuf:"bytes,2,rep,name=data,proto3" json:"data,omitempty"` ElementType DataType `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*VectorArray) Descriptor
deprecated
func (*VectorArray) Descriptor() ([]byte, []int)
Deprecated: Use VectorArray.ProtoReflect.Descriptor instead.
func (*VectorArray) GetData ¶
func (x *VectorArray) GetData() []*VectorField
func (*VectorArray) GetDim ¶
func (x *VectorArray) GetDim() int64
func (*VectorArray) GetElementType ¶
func (x *VectorArray) GetElementType() DataType
func (*VectorArray) ProtoMessage ¶
func (*VectorArray) ProtoMessage()
func (*VectorArray) ProtoReflect ¶
func (x *VectorArray) ProtoReflect() protoreflect.Message
func (*VectorArray) Reset ¶
func (x *VectorArray) Reset()
func (*VectorArray) String ¶
func (x *VectorArray) String() string
type VectorClusteringInfo ¶
type VectorClusteringInfo struct { // for multi vectors Field string `protobuf:"bytes,1,opt,name=field,proto3" json:"field,omitempty"` Centroid *VectorField `protobuf:"bytes,2,opt,name=centroid,proto3" json:"centroid,omitempty"` // contains filtered or unexported fields }
vector field clustering info
func (*VectorClusteringInfo) Descriptor
deprecated
func (*VectorClusteringInfo) Descriptor() ([]byte, []int)
Deprecated: Use VectorClusteringInfo.ProtoReflect.Descriptor instead.
func (*VectorClusteringInfo) GetCentroid ¶
func (x *VectorClusteringInfo) GetCentroid() *VectorField
func (*VectorClusteringInfo) GetField ¶
func (x *VectorClusteringInfo) GetField() string
func (*VectorClusteringInfo) ProtoMessage ¶
func (*VectorClusteringInfo) ProtoMessage()
func (*VectorClusteringInfo) ProtoReflect ¶
func (x *VectorClusteringInfo) ProtoReflect() protoreflect.Message
func (*VectorClusteringInfo) Reset ¶
func (x *VectorClusteringInfo) Reset()
func (*VectorClusteringInfo) String ¶
func (x *VectorClusteringInfo) String() string
type VectorField ¶
type VectorField struct { // For sparse vector, dim is the max dimension of the current batch of vectors Dim int64 `protobuf:"varint,1,opt,name=dim,proto3" json:"dim,omitempty"` // Types that are assignable to Data: // // *VectorField_FloatVector // *VectorField_BinaryVector // *VectorField_Float16Vector // *VectorField_Bfloat16Vector // *VectorField_SparseFloatVector // *VectorField_Int8Vector // *VectorField_VectorArray Data isVectorField_Data `protobuf_oneof:"data"` // contains filtered or unexported fields }
func (*VectorField) Descriptor
deprecated
func (*VectorField) Descriptor() ([]byte, []int)
Deprecated: Use VectorField.ProtoReflect.Descriptor instead.
func (*VectorField) GetBfloat16Vector ¶
func (x *VectorField) GetBfloat16Vector() []byte
func (*VectorField) GetBinaryVector ¶
func (x *VectorField) GetBinaryVector() []byte
func (*VectorField) GetData ¶
func (m *VectorField) GetData() isVectorField_Data
func (*VectorField) GetDim ¶
func (x *VectorField) GetDim() int64
func (*VectorField) GetFloat16Vector ¶
func (x *VectorField) GetFloat16Vector() []byte
func (*VectorField) GetFloatVector ¶
func (x *VectorField) GetFloatVector() *FloatArray
func (*VectorField) GetInt8Vector ¶
func (x *VectorField) GetInt8Vector() []byte
func (*VectorField) GetSparseFloatVector ¶
func (x *VectorField) GetSparseFloatVector() *SparseFloatArray
func (*VectorField) GetVectorArray ¶
func (x *VectorField) GetVectorArray() *VectorArray
func (*VectorField) ProtoMessage ¶
func (*VectorField) ProtoMessage()
func (*VectorField) ProtoReflect ¶
func (x *VectorField) ProtoReflect() protoreflect.Message
func (*VectorField) Reset ¶
func (x *VectorField) Reset()
func (*VectorField) String ¶
func (x *VectorField) String() string
type VectorField_Bfloat16Vector ¶
type VectorField_Bfloat16Vector struct {
Bfloat16Vector []byte `protobuf:"bytes,5,opt,name=bfloat16_vector,json=bfloat16Vector,proto3,oneof"`
}
type VectorField_BinaryVector ¶
type VectorField_BinaryVector struct {
BinaryVector []byte `protobuf:"bytes,3,opt,name=binary_vector,json=binaryVector,proto3,oneof"`
}
type VectorField_Float16Vector ¶
type VectorField_Float16Vector struct {
Float16Vector []byte `protobuf:"bytes,4,opt,name=float16_vector,json=float16Vector,proto3,oneof"`
}
type VectorField_FloatVector ¶
type VectorField_FloatVector struct {
FloatVector *FloatArray `protobuf:"bytes,2,opt,name=float_vector,json=floatVector,proto3,oneof"`
}
type VectorField_Int8Vector ¶
type VectorField_Int8Vector struct {
Int8Vector []byte `protobuf:"bytes,7,opt,name=int8_vector,json=int8Vector,proto3,oneof"`
}
type VectorField_SparseFloatVector ¶
type VectorField_SparseFloatVector struct {
SparseFloatVector *SparseFloatArray `protobuf:"bytes,6,opt,name=sparse_float_vector,json=sparseFloatVector,proto3,oneof"`
}
type VectorField_VectorArray ¶
type VectorField_VectorArray struct {
VectorArray *VectorArray `protobuf:"bytes,8,opt,name=vector_array,json=vectorArray,proto3,oneof"`
}