Hi Nick,

Thank you very much for your response. I think you are right in saying that it should be very similar to an ANDQuery. I looked at the PhraseMatcher and saw that there is an additional for loop (over the query terms) in order to check the positions of the terms are consecutive (to ensure that it is a phrase). I was concerned about the implication of this for loop, but thinking one more time it multiplies the complexity of an ANDQuery with a small value (which is the number of terms in the phrase query).

Thanks again,
Serkan

On 2017-12-04 07:20, Nick Wellnhofer <[EMAIL PROTECTED]> wrote: