SOLR-14376: remove no-longer-needed 'not no filter queries' check in SolrFeatureWeight

This commit is contained in:
Christine Poerschke 2020-06-26 17:42:56 +01:00
parent 74ac97e402
commit 68a9e8fc97
1 changed files with 3 additions and 5 deletions

View File

@ -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();
}
}