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

Method _execute_python_pipeline

python/zvec/executor/query_executor.py:194–198  ·  view source on GitHub ↗

Execute queries serially for the Python-only reranker path.

(
        self, vectors: list[_SearchQuery], collection: _Collection
    )

Source from the content-addressed store, hash-verified

192 return multi_query
193
194 def _execute_python_pipeline(
195 self, vectors: list[_SearchQuery], collection: _Collection
196 ) -> list[DocList]:
197 """Execute queries serially for the Python-only reranker path."""
198 return [self._execute_single_query(query, collection) for query in vectors]
199
200 def _merge_and_rerank(self, ctx: QueryContext, docs_list: list[DocList]) -> DocList:
201 """Merge and rerank results from the Python pipeline path."""

Callers 2

_execute_multi_queryMethod · 0.95

Calls 1

_execute_single_queryMethod · 0.95

Tested by 1