Fuse icon indicating copy to clipboard operation
Fuse copied to clipboard

You always write that score is higher, it means match is better. While actually score is lower if match is better.

Open Nurai1 opened this issue 1 year ago • 1 comments

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." image but actually in the array when match is better it goes up, its score is lower image

Screenshots

No response

Nurai1 avatar Aug 01 '24 07:08 Nurai1

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

OverHash avatar Sep 10 '24 11:09 OverHash

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

github-actions[bot] avatar Apr 29 '25 00:04 github-actions[bot]