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

   ## Purpose
   
   Avoid unnecessary IVF-PQ distance computation when a RowId filter selects 
only a subset of candidates in an inverted list.
   
   ## Changes
   
   - precompute matching code positions for each probed inverted list
   - scan only matching PQ codes when the filter is selective
   - retain the existing full-list fast-scan path when the filter is dense
   - apply the optimization to 4-bit, transposed, batched, and reader-backed 
search paths
   - keep the public API and search result semantics unchanged
   
   ## Tests
   
   ```text
   cargo fmt --all -- --check
   cargo clippy -p paimon-vindex-core --lib -- -D warnings
   cargo test -p paimon-vindex-core --lib ivfpq
   ```
   
   The IVF-PQ test suite passes with 34 tests.
   


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