MCPcopy Create free account
hub / github.com/alibaba/zvec / search_impl

Method search_impl

src/core/algorithm/flat_sparse/flat_sparse_streamer.cc:298–305  ·  view source on GitHub ↗

Similarity search with sparse inputs

Source from the content-addressed store, hash-verified

296
297//! Similarity search with sparse inputs
298int FlatSparseStreamer::search_impl(const uint32_t sparse_count,
299 const uint32_t *sparse_indices,
300 const void *sparse_query,
301 const IndexQueryMeta &qmeta,
302 Context::Pointer &context) const {
303 return search_impl(&sparse_count, sparse_indices, sparse_query, qmeta, 1,
304 context);
305}
306
307//! Similarity search with sparse inputs
308int FlatSparseStreamer::search_impl(const uint32_t *sparse_count,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected