Hi,
When I search with this query,
{
"match":{
"company":{
"query":"walmart"
}
}
}
I got results like 11148 from my data.
When I include hyphen(-) in between the value like "wal-mart"
{
"match":{
"company":{
"query":"wal-mart"
}
}
}
I got some different count like 2417
At the same time when I search with "wal mart",
{
"match":{
"company":{
"query":"wal mart"
}
}
}
i got result like 2417. Which is equal to "wal-mart". I didn't gave any analyzer or any tokenizer to it. My query is, How can I equal all the above three kind of scenario without Synonyms..?
I also tried to equal these with Fuzziness. It is also failed. which is only used in spelling mistake counts from Levenshtein distance method.
Can you guys provide any solution.
Thanks&Regards,