Hello!
My template is:
...,
"code": {
"type": "keyword",
"copy_to": "full_text"
},
...,
"full_text": {
"type": "text"
}
My query is:
{
"bool": {
"must": {
"match": {
"full_text": {
"query": "AD2480ME",
"operator": "and",
"fuzziness": "AUTO"
}
}
}
}
}
And response is:
{
...,
"_score": 2.7549238,
"_source": {
"code": "AD3440ME",
....
}
},
{
...,
"_score": 2.7438653,
"_source": {
"code": "AD2480ME",
...
}
}
So the question is why the exact matching record has lower score than fuzzy one?