Documentation
¶
Overview ¶
Package vectoria provides an embedded vector database for simple use cases.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) NumIndexes ¶
type LSHConfig ¶
type LSHConfig struct {
IndexName string `json:"index_name"`
// Number of rounds. More rounds improve quality, but also adds computation overhead.
// It must be at least 1.
// If invalid value is given, default value is used.
NumRounds uint32 `json:"num_rounds"`
// Number of hyperplanes to split the space on. It must be at least 1.
// If invalid value is given, default value is used.
NumHyperPlanes uint32 `json:"num_hyper_planes"`
// Dimension of the space (vector length). It must be at least 2.
// If invalid value is given, default value is used.
SpaceDim uint32 `json:"space_dim"`
}
Click to show internal directories.
Click to hide internal directories.