If the default boolean operator is AND why does the following give me results that include chicken, latte and coffee? How do I fix? I tried “mcdonalds AND hamburger” with the same results. Help would be appreciated.
“query”: “mcdonalds hamburger”,
Take note of the score field on each result. Notice that the exact match you are looking for has a score of ~= `3.7`. Your `min_score` is set to `0.5` this will include results that are not what you are looking for but may contain one of the words in the query. Typically exact matches will have a score above 1.1 if both words are in a given field.
So to solve your problem, set the `min_score` to `1.1`
Thanks. Really appreciate your help.
No problem, I am going to make a note to have our team add this link to the documentation. Thanks for asking a great question.