mirror of https://github.com/apache/lucene.git
Fix MultiTermQueryDocValuesWrapper not propagating QueryVisitor
This commit is contained in:
parent
42269203cc
commit
4f691e946e
|
@ -72,7 +72,7 @@ public final class DocValuesRewriteMethod extends MultiTermQuery.RewriteMethod {
|
|||
@Override
|
||||
public void visit(QueryVisitor visitor) {
|
||||
if (visitor.acceptField(query.getField())) {
|
||||
visitor.getSubVisitor(BooleanClause.Occur.FILTER, query);
|
||||
query.visit(visitor.getSubVisitor(BooleanClause.Occur.FILTER, this));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue