SOLR-1111: also use lucene filters for generating docsets

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@779407 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Yonik Seeley 2009-05-28 02:31:05 +00:00
parent 6bccd58110
commit 00a33b5adc
1 changed files with 2 additions and 0 deletions

View File

@ -620,6 +620,8 @@ public class SolrIndexSearcher extends IndexSearcher implements SolrInfoMBean {
// query must be positive
protected DocSet getDocSetNC(Query query, DocSet filter) throws IOException {
query = QueryUtils.simplifyQuery(query);
DocSetCollector collector = new DocSetCollector(maxDoc()>>6, maxDoc());
if (filter==null) {