On Thu, Feb 19, 2009 at 6:53 AM, Joel Halbert <j...@su3analytics.com> 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.


-Yonik
Lucene/Solr? http://www.lucidimagination.com

---------------------------------------------------------------------
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