mirror of https://github.com/apache/lucene.git
SOLR-14376: remove no-longer-needed 'not no filter queries' check in SolrFeatureWeight
This commit is contained in:
parent
74ac97e402
commit
68a9e8fc97
|
@ -173,11 +173,9 @@ public class SolrFeature extends Feature {
|
|||
}
|
||||
}
|
||||
|
||||
if (filterQueries.isEmpty() == false) { // TODO optimize getDocSet to make this check unnecessary SOLR-14376
|
||||
DocSet filtersDocSet = searcher.getDocSet(filterQueries); // execute
|
||||
if (filtersDocSet != searcher.getLiveDocSet()) {
|
||||
filterDocSetQuery = filtersDocSet.getTopFilter();
|
||||
}
|
||||
DocSet filtersDocSet = searcher.getDocSet(filterQueries); // execute
|
||||
if (filtersDocSet != searcher.getLiveDocSet()) {
|
||||
filterDocSetQuery = filtersDocSet.getTopFilter();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue