Function faiss_sys::faiss_Index_range_search
source · pub unsafe extern "C" fn faiss_Index_range_search(
index: *const FaissIndex,
n: idx_t,
x: *const f32,
radius: f32,
result: *mut FaissRangeSearchResult
) -> c_int
Expand description
query n vectors of dimension d to the index.
return all vectors with distance < radius. Note that many indexes do not implement the range_search (only the k-NN search is mandatory).
@param index opaque pointer to index object @param x input vectors to search, size n * d @param radius search radius @param result result table