Yes.

As soon as Lucene sees that the Name docID iteration has ended, the
search will break.

Mike

On Thu, May 21, 2009 at 8:44 AM, Joel Halbert <j...@su3analytics.com> wrote:
> Hi,
>
> When Lucene performs a Boolean query, say:
>
> Field Name = Male
> AND
> Field Age = 30
>
> assuming the resultant docs for each portion of the query were:
>
> Matching docs for:  Name = 1,2
> Matching docs for:  Age = 1,2,5,10
>
> Will Lucene stop searching for documents matching the Age term once it
> has found documents 1 and 2 ?
> i.e. since 5 and 10 will not be used will it stop searching at document
> number 2 ?
>
> Thx,
> Joel
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
> For additional commands, e-mail: java-user-h...@lucene.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to