JingsongLi opened a new pull request, #9:
URL: https://github.com/apache/paimon-vector-index/pull/9

   ## Summary
   
   Improve reader-side vector search I/O by using positional reads for inverted 
lists and routing JNI batch search through the core batch reader. This keeps 
inverted-list reads from moving the shared stream cursor and lets batched Java 
queries share list reads.
   
   ## Changes
   
   - Use `SeekRead::pread` in `IVFPQIndexReader::read_inverted_list` after 
metadata is loaded.
   - Add validation for out-of-range list IDs, negative list offsets, and 
inverted-list byte-size overflow.
   - Add a regression test that verifies inverted-list reads use positional 
reads instead of `seek`/`read_exact`.
   - Update JNI `searchBatch` to call `search_batch_reader` instead of looping 
over single-query search.
   
   ## Testing
   
   - `cargo fmt`
   - `cargo test -p paimon-vindex-core`
   - `cargo check -p paimon-vindex-jni`
   - `git diff --check`
   
   ## Notes
   
   This PR is based on `add-contributing-ci-tools` because the working branch 
was created from that branch.
   


-- 
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