lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Doug Cutting <cutt...@apache.org>
Subject Re: Number of Boolean Clauses (AND vs OR)
Date Mon, 11 Apr 2011 22:21:27 GMT
On 04/11/2011 01:25 PM, entdeveloper wrote:
> Thanks Otis. And by your answer, does this mean that individual clauses in a
> boolean query are executed sequentially? not in parallel?

Clauses are executed in parallel.  The execution of a conjunction is
able to efficiently skip occurrences in ranges of documents that do not
contain all clauses, while, for a disjunction, every occurrence of every
clause must be considered.

Doug

Mime
View raw message