If you are using the "fuzziness" parameter from "query_string" is there any way for you to know if you have any exact match in your results?
My main problem is to figure out what searches would fail (end with 0 results) if I had not used the fuzziness. Any advices?
I would try using a boolean query here with two should clauses (with default minimum_should_match
= 1):
- Should be an exact match
- Should be a fuzzy match
Use named queries to see if sub-query 1 matched.
1 Like
Hi Loren,
Thanks a lot! You had a brilliant method here
Great! Glad to be of help.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.