mirror of
https://github.com/apache/lucene.git
synced 2025-03-02 14:29:23 +00:00
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…
x
Reference in New Issue
Block a user