Re: Filter and query precedence, boolean query

2011-10-23 Thread Josh Devins
mize cache hits. Will peek at the source once I have some time ;) Thanks, Josh On 23 October 2011 22:08, Simon Willnauer wrote: > hey josh, > > On Sun, Oct 23, 2011 at 5:39 PM, Josh Devins wrote: > > Hi folks, > > > > I'm hoping someone can shed some light o

Filter and query precedence, boolean query

2011-10-23 Thread Josh Devins
Hi folks, I'm hoping someone can shed some light on how filters and boolean queries work under the hood. As I understand it, the following two queries are functionally equivalent: boolean must, term query: foo, boolean must, term query: bar term query: foo, term filter: bar What I'd like to unde