lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: Filters - at what stage are they applied?
Date Thu, 19 Feb 2009 16:15:42 GMT
On Thu, Feb 19, 2009 at 6:53 AM, Joel Halbert <> wrote:
> By way of clarification, when a filter is used with a search query, is
> the filter applied only to documents that matched the search query or is
> it applied to all documents in the index before the query is executed?

Filters are currently applied concurrently with the scorer from the query.
They take turns skipping until they both land on the same docid, which
is a match.

See IndexSearcher.doSearch() for the actual implementation.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message