lets say I have products with serial numbers, and format is
FOO is always there and XXXXX are digits.
When I search for
FOO-12345, the results are showing all products, for example (score in brackets):
FOO-12345 (3) FOO-12344 (2.5) FOO-42353 (0.01) FOO-XXXX (0.01)
Basically, all numbers where only
FOO is being matched returns low score.
Soo basically, this data can be grouped into 2 distinct clusters score. Sadly, I don't know proper terminology, but one cluster is wider and close to 3, and second has very similar score close to 0.01. Is there a way to instruct elasticsearch, that in such case, return only first cluster?
I am happy to do all the reading, as well learn/relearn required math, so all I am asking are good reads you can point me to.