mirror of
https://github.com/lancedb/lancedb.git
synced 2026-06-07 22:30:40 +00:00
Fixes #2031 When we do hybrid search, we normalize the scores. We do this calculation in-place, because the Rerankers expect the `_distance` and `_score` columns to be the normalized ones. So I've changed the logic so that we restore the original distance and scores by matching on row ids.