Struct faiss::index::lsh::LshIndex [−][src]
pub struct LshIndex { /* fields omitted */ }
Implementations
Create a new LSH index.
Trait Implementations
Similar to search
, but only provides the labels.
Perform a search for the k
closest vectors to the given query vectors.
Perform a ranged search for the vectors closest to the given query vectors by the given radius. Read more
Create an index using the given pointer to a native object. Read more
Whether the Index does not require training, or if training is done already
The metric type assumed by the index
Add new data vectors to the index.
This assumes a C-contiguous memory slice of vectors, where the total
number of vectors is x.len() / d
. Read more
Add new data vectors to the index with IDs.
This assumes a C-contiguous memory slice of vectors, where the total
number of vectors is x.len() / d
.
Not all index types may support this operation. Read more
Similar to search
, but only provides the labels.
Perform a search for the k
closest vectors to the given query vectors.
Perform a ranged search for the vectors closest to the given query vectors by the given radius. Read more
Remove data vectors represented by IDs.
Set Index verbosity level
Retrieve a pointer to the native index object.