Re: Better to use "must" and "terms", or "should", in a bool query?
You will only see the difference when you have more complex queries that combine MUST and SHOULD together. In your example you could have just change MUST to SHOULD (i.e. used TERMS). By the definition, SHOULD is like an OR and without a MUST clause it implies 'at least' one should match.
On Friday, January 10, 2014 11:17:57 AM UTC-5, Nick Hoffman wrote:
Hi guys. These 2 queries produce the same results via different approaches. Is there any reason why one should be used over another?