Re: Is there some sensible way to do giant BooleanQuery or similar lazily?

2017-04-03 Thread Trejkaz
On Mon, Apr 3, 2017 at 6:25 PM, Adrien Grand wrote: > Large boolean queries can cause a lot of random access as each sub clause > is advanced one after the other. Even in the case that everything fits in > the filesystem cache, the fact that the heap needs to be rebalanced after > each documents m

Re: Is there some sensible way to do giant BooleanQuery or similar lazily?

2017-04-03 Thread Adrien Grand
Large boolean queries can cause a lot of random access as each sub clause is advanced one after the other. Even in the case that everything fits in the filesystem cache, the fact that the heap needs to be rebalanced after each documents makes queries on many clauses slow. This is why we have TermIn