Documentation ¶
Index ¶
- Constants
- Variables
- func DocToStruct(doc *Document, res interface{}) (err error)
- func MakeBinaryVectorField(key string, value []uint8) (*Field, error)
- func MakeDocument(doc interface{}) (*Document, error)
- func MakeFloat32Field(key string, value float32) *Field
- func MakeFloat64Field(key string, value float64) *Field
- func MakeFloatVectorField(key string, value []float32) (*Field, error)
- func MakeInt32Field(key string, value int32) *Field
- func MakeInt64Field(key string, value int64) *Field
- func MakeStringField(key string, value string) *Field
- func MakeStringVectorField(key string, value []string) (*Field, error)
- func New(dbName, spaceName string, addrs ...string) (*vearchClient, error)
- func Normalization(feature []float32) error
Constants ¶
View Source
const ( String = "string" Int32 = "int32" Int64 = "int64" Float32 = "float32" Float64 = "float64" ArrayFloat = "[]float32" ArrayUint8 = "[]uint8" ArrayString = "[]string" )
Variables ¶
View Source
var (
ErrResponse = errors.New("Response or Response.Head or Response.Head.Err can not be nil")
)
Functions ¶
func DocToStruct ¶
func DocToStruct(doc *Document, res interface{}) (err error)
func MakeBinaryVectorField ¶
func MakeDocument ¶
func MakeDocument(doc interface{}) (*Document, error)
func MakeFloat32Field ¶
func MakeFloat64Field ¶
func MakeFloatVectorField ¶
func MakeInt32Field ¶
func MakeInt64Field ¶
func MakeStringField ¶
func MakeStringVectorField ¶
func Normalization ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.