C++ RAII wrapper for the XVECTOR exact KNN index.
More...
Go to the source code of this file.
C++ RAII wrapper for the XVECTOR exact KNN index.
static KnnExactIndex fromRawVectors(xvecExecutionContextTag *context, const xvecFloat32 *vectors, xvecVectorIdType vectorCount, xvecDimensionType dimension, xvecDistanceType distanceType)
Load a KNN index from raw float32 vectors.
xvecStatus xvecKnnExactSearch(xvecExecutionContextTag *context, xvecKnnExactIndexTag *indexHandle, xvecKnnExactSearchQueryFloat32 *searchQuery, xvecBufferTag *resultsBufferHandle, xvecKnnExactSearchTiming *outTiming)
Performs a brute-force K-nearest neighbors search.
C++ RAII wrapper for the XVECTOR exact KNN index.
@ XVEC_DISTANCE_L2
Squared Euclidean (L2) distance.
Definition in file xvec_knn_exact_index.hpp.