Currently, supplying a filter to IndexSearcher.search() assumes that it's cheaper to run than the main query.
We should add the following method to IndexSearcher: public void search(Query query, Filter beforeFilter, Filter afterFilter, Collector results) beforeFilter would be skipped first when possible, afterFilter would be skipped last when possible, and the scorer would be in the middle. -Yonik http://www.lucenerevolution.org -- Lucene/Solr User Conference, May 25-26, San Francisco --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org