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

   ### Purpose
   
   Closes #1488.
   
   Hybrid route fusion compared floating scores with a partial order, while 
vector Top-K uses a total order. As a result, RRF and MRR could choose a 
different row at the Top-1 boundary for `-0.0` and `+0.0`.
   
   ### Brief change log
   
   Use the same total score ordering as vector Top-K for route ranking, 
duplicate hits, and final score ordering. Equal scores still use the smaller 
row ID first.
   
   ### Tests
   
   The signed-zero regression failed on the previous code and now passes for 
RRF and MRR. The 58 targeted hybrid and vector ranking tests passed, as did 
`cargo fmt --all -- --check`.
   
   ### API and Format
   
   The change is limited to query ordering.
   
   ### Documentation
   
   The existing score and row-ID ordering is consistent across standalone and 
hybrid Top-K.
   


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