LuXugang opened a new pull request, #873: URL: https://github.com/apache/lucene/pull/873
This bug due to `score` and `node` were packed together as a sortable `long`, then it only work on `VectorSimilarityFunction.EUCLIDEAN`, because `reversed` in `NeighborQueue` was true. So I think we should split this sortable `long` so that if multiple documents get the same score then the ones that have the lowest doc ID would get returned first. If so, should we still need this sortable `long`? -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org