Basically im currently creating fuzzy search for elasticsearch and i have two kinds of search to compare
One is auto fuzzy search
{
"query": {
"match": {
"user": {
"query": "test",
"fuzziness": "AUTO"
}
}
}
}
Others is a terms query matching with multiple typos
{
"query" : {
"terms" : {
"user" : ["test", "testt", "tesr", "tst", ...]
}
}
}
assuming thre might be around 20s or more of the terms, what i want to know is, which one is more likely a better practice and better by performance, and how scalable is terms matching with a lot of keyword.