Hi guys, i dont seem to understand how does ES scoring works.
I have a three values in a field:
-Bean
-Soybean
-Winged bean.
Why when i perform a wildcard search by bea sorted by score it retrieves the following:
"buckets": [
{
"key": "Soybean",
"doc_count": 28,
"max_score": {
"value": 3.7833919525146484
}
},
{
"key": "Bean",
"doc_count": 12,
"max_score": {
"value": 4.607567310333252
}
},
{
"key": "Winged bean",
"doc_count": 3,
"max_score": {
"value": 5.880533218383789
}
}.....
based on levenshtein algorythm, shouldn't be bean closer to bea than Soybean? How does ES scoring works?
How can i perform a sorting by levenshtein distance?
is this possible?
Kind regards,