You always write that score is higher, it means match is better. While actually score is lower if match is better.
Is there an existing issue for this?
- [X] I have searched the existing issues
Description of the bug
e.g. from docs: "The higher the weight, the higher its relevance score."
but actually in the array when match is better it goes up, its score is lower
Screenshots
No response
You are confusing the terminology of key weights and scores.
A high score indicates a high distance away from the target query. Thus, lower score => more relevant.
A key having higher relevance will correlate to lower scores for fields that match that key. The docs should probably state something a bit better than "The higher the weight, the higher its relevance score". Maybe, "The higher the weight, the more relevant a key is."
This issue is stale because it has been open 120 days with no activity. Remove stale label or comment or this will be closed in 30 days