Re: Internals question: BooleanQuery with many TermQuery children

2009-04-07 Thread Paul Elschot
On Tuesday 07 April 2009 05:04:44 Daniel Noll wrote: > Hi all. > > This is something I have been wondering for a while but can't find a > good answer by reading the code myself. > > If you have a query like this: > >( field:Value1 OR > field:Value2 OR > field:Value3 OR > ...

Internals question: BooleanQuery with many TermQuery children

2009-04-06 Thread Daniel Noll
Hi all. This is something I have been wondering for a while but can't find a good answer by reading the code myself. If you have a query like this: ( field:Value1 OR field:Value2 OR field:Value3 OR ... ) How many TermEnum / TermDocs scans should this execute? (a) One per clau