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

   ### Purpose
   
   `ScoredGlobalIndexResult.top_k` used `(score, row_id)` as its min-heap key. 
When tied candidates crossed the top-k boundary, a later higher-scored row 
could evict the smaller row ID.
   
   Use `(score, -row_id)` so the retained set consistently follows 
score-descending, row-ID-ascending semantics.
   
   ### Tests
   
     - Added regression coverage for ties at the top-k boundary.
     - `vindex_vector_index_test.py`: 3 passed.
     - Python license and flake8 checks passed.


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