MCPcopy Create free account
hub / github.com/antgroup/vsag / Search

Method Search

src/impl/searcher/basic_searcher.cpp:69–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

67}
68
69DistHeapPtr
70BasicSearcher::Search(const GraphInterfacePtr& graph,
71 const FlattenInterfacePtr& flatten,
72 const VisitedListPtr& vl,
73 const void* query,
74 const InnerSearchParam& inner_search_param,
75 const LabelTablePtr& label_table,
76 QueryContext* ctx) const {
77 if (inner_search_param.search_mode == KNN_SEARCH) {
78 return this->search_impl<KNN_SEARCH>(
79 graph, flatten, vl, query, inner_search_param, label_table, ctx);
80 }
81 return this->search_impl<RANGE_SEARCH>(
82 graph, flatten, vl, query, inner_search_param, label_table, ctx);
83}
84
85DistHeapPtr
86BasicSearcher::Search(const GraphInterfacePtr& graph,

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected