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

Method _execute_python_pipeline

python/zvec/executor/query_executor.py:198–202  ·  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

196 return multi_query
197
198 def _execute_python_pipeline(
199 self, vectors: list[_SearchQuery], collection: _Collection
200 ) -> list[DocList]:
201 """Execute queries serially for the Python-only reranker path."""
202 return [self._execute_single_query(query, collection) for query in vectors]
203
204 def _merge_and_rerank(self, ctx: QueryContext, docs_list: list[DocList]) -> DocList:
205 """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