Open jobergum opened 2 years ago
Matches features are missing as well. Example: https://stackoverflow.com/questions/74053567/ranking-in-fuzzy-match-in-vespa.
I'm resetting the milestone on this issue in light of recent work on fuzzy prefix support (#30720). Fuzzy prefix matching can have a lot more matches than non-prefix fuzzy matching, so exposing the edit distance as a rank feature (rawScore
most likely) is all the more useful.
In https://github.com/vespa-engine/vespa/issues/13814 we added support for fuzzy query with
maxEditDistance
, for larger values, it would make sense to expose the distance as a rank-feature, for example,rawScore()
or a dedicated new rank-feature.