Boost documents having a particular field with any value except a certain value

(Maryam Abdullah) #1


Is there any way I can boost documents with a particular field having any value except a certain value (might be multiple)?

Thank you.

(Jaspreet Singh) #2

There sure is. Check this -
For exclusion cases, just use must_not. If you can share specific example requirement, I can try being more specific about framing the query.

(system) closed #3

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.