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

   Closes #134.
   
   A single query can return fewer matches than requested. Preserve those 
matches in the caller’s fixed-size output buffers and fill the unused tail with 
the existing ID and distance sentinels. Only the unused slots are padded.
   
   All single-query entry points, including filtered searches, use this 
behavior. Batch calls still require a complete result matrix. The C signatures 
and on-disk format are unchanged.
   
   ### Validation
   
   Added cases for two returned hits with four requested slots, and for a short 
batch result.
   
   Local checks passed with `cargo fmt --all -- --check` and `cargo build 
--locked -p paimon-vindex-ffi --lib`. Tests are left to upstream CI.
   


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