Re: TwoPhaseIterator

2015-05-24 Thread Adrien Grand
Hi, Sorry but I did not understand what you are trying to achieve. However, TwoPhaseIterator does not really help implement search use-cases. It is rather an optimization which allows Lucene to dissociate query executon into a cheap approximation and a costly verificati. A good example is phrase

TwoPhaseIterator

2015-05-22 Thread Eduardo Manrique
Hi, I’m trying to make a cross document MUST with query time join. What I need is return a group if one of its documents matches a condition, and one of another of its doc matches another condition. Searching on internet I found the two phase intersection https://issues.apache.org/jira/browse/L