mirror of https://github.com/apache/lucene.git
remove stale comment
This commit is contained in:
parent
0fb386a864
commit
a3f4896359
|
@ -183,7 +183,6 @@ public class BooleanQuery extends Query implements Iterable<BooleanClause> {
|
||||||
|
|
||||||
private BooleanQuery rewriteNoScoring() {
|
private BooleanQuery rewriteNoScoring() {
|
||||||
BooleanQuery.Builder newQuery = new BooleanQuery.Builder();
|
BooleanQuery.Builder newQuery = new BooleanQuery.Builder();
|
||||||
// ignore disableCoord, which only matters for scores
|
|
||||||
newQuery.setMinimumNumberShouldMatch(getMinimumNumberShouldMatch());
|
newQuery.setMinimumNumberShouldMatch(getMinimumNumberShouldMatch());
|
||||||
for (BooleanClause clause : clauses) {
|
for (BooleanClause clause : clauses) {
|
||||||
if (clause.getOccur() == Occur.MUST) {
|
if (clause.getOccur() == Occur.MUST) {
|
||||||
|
|
Loading…
Reference in New Issue