Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeleteRequest ¶
type Field ¶
type Field struct {
Name string `json:"name"`
Type string `json:"type"`
Dimension int `json:"dimension,omitempty"`
StoreType string `json:"store_type,omitempty"`
Format string `json:"format,omitempty"`
Index *Index `json:"index,omitempty"`
StoreParam *struct {
CacheSize string `json:"cache_size,omitempty"`
} `json:"store_param,omitempty"`
}
type Index ¶
type Index struct {
Name string `json:"name"`
Type string `json:"type"`
Params *IndexParams `json:"params,omitempty"`
}
type IndexParams ¶
type IndexParams struct {
MetricType string `json:"metric_type"`
Nprobe int `json:"nprobe,omitempty"`
Ncentroids int `json:"ncentroids,omitempty"`
Nsubvector int `json:"nsubvector,omitempty"`
EfConstruction int `json:"efConstruction,omitempty"`
EfSearch int `json:"efSearch,omitempty"`
TrainingThreshold int `json:"training_threshold,omitempty"`
}
type QueryRequest ¶
type SearchRequest ¶
Click to show internal directories.
Click to hide internal directories.