mirror of https://github.com/apache/lucene.git
LUCENE-8849: DocValuesRewriteMethod.visit should visit subquery
This commit is contained in:
parent
e43f8572cb
commit
5286098ac5
|
@ -125,6 +125,8 @@ Bug Fixes
|
|||
---------------------
|
||||
* LUCENE-9259: Fix wrong NGramFilterFactory argument name for preserveOriginal option (Paul Pazderski)
|
||||
|
||||
* LUCENE-8849: DocValuesRewriteMethod.visit wasn't visiting its embedded query (Michele Palmia, David Smiley)
|
||||
|
||||
Other
|
||||
---------------------
|
||||
|
||||
|
|
|
@ -74,7 +74,7 @@ public final class DocValuesRewriteMethod extends MultiTermQuery.RewriteMethod {
|
|||
@Override
|
||||
public void visit(QueryVisitor visitor) {
|
||||
if (visitor.acceptField(query.getField())) {
|
||||
visitor.visitLeaf(this);
|
||||
visitor.getSubVisitor(BooleanClause.Occur.FILTER, query);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue