As per example posted in elastic website, it won't return the result with "exactMatchFirst ",
What should be included in the query?. I have played around "minimum_should_match" but
when its value is 100% then only exact value return or nothing return. I am looking for a solution when minimum_should_match would be 98-99% but result should be in order by exactMatchFirst.
Hey,
I am not sure I fully understand the use-case (please supply a full reproducible example to ensure there are no ambiguities), but have you tried to wrap your current query into a bool query in the must
clause and then add a should
clause for the exact match to increase scoring?
--Alex
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.