Source header: cuvs/neighbors/scann.hpp
ANN parameters used by ScaNN to build index
Fields
ScaNN index.
The index stores the dataset and the ScaNN graph in device memory.
Distance metric used for clustering.
Returns
Total length of the index (number of vectors).
Returns
IdxT
Dimensionality of the data.
Returns
uint32_t
Build the index from the dataset for efficient search.
Parameters
Returns
cuvs::neighbors::experimental::scann::index<float, int64_t>
Save the index to files in a directory
This serializes the index into a list of files for integration into OSS ScaNN for use with search
NOTE: the implementation of ScaNN index build is EXPERIMENTAL and currently not subject to comprehensive, automated testing. Accuracy and performance are not guaranteed, and could diverge without warning.
Parameters
Returns
void
Additional overload: neighbors::experimental::scann::serialize
Save the index to files in a directory
This serializes the index into a list of files for integration into OSS ScaNN for use with search
NOTE: the implementation of ScaNN index build is EXPERIMENTAL and currently not subject to comprehensive, automated testing. Accuracy and performance are not guaranteed, and could diverge without warning.
Parameters
Returns
void