JingsongLi opened a new pull request, #8341:
URL: https://github.com/apache/paimon/pull/8341

   ## Summary
   
   Support batch vector search for the PyPaimon vindex global index reader so 
batch vector reads can use the native paimon-vindex batch API instead of 
falling back to per-query searches.
   
   ## Changes
   
   - Add `visit_batch_vector_search` to `VindexVectorGlobalIndexReader` and 
share query validation, effective-k handling, filtering, and score conversion 
with single-vector search.
   - Use `search_batch` when the loaded vindex reader provides it, while 
keeping a single-query fallback for compatibility.
   - Add a native-free unit test with a fake `paimon_vindex` reader to verify 
the batch API is used once and results stay aligned with query order.
   
   ## Testing
   
   - `python -m pytest -q 
paimon-python/pypaimon/tests/vindex_vector_index_test.py`
   - `python -m pytest -q 
paimon-python/pypaimon/tests/vector_search_filter_test.py -k 'Batch or 
batch'`\n\n## Notes\n\nNo migration or behavior change for single-vector search.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to