[ https://issues.apache.org/jira/browse/LUCENE-8849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17050461#comment-17050461 ]
Michele Palmia commented on LUCENE-8849: ---------------------------------------- No use case, I'm studying Lucene, found the issue and used it to learn how the query visiting system works. Failed at learning how they're normally tested though! :) > DocValuesRewriteMethod.visit should visit the MTQ > ------------------------------------------------- > > Key: LUCENE-8849 > URL: https://issues.apache.org/jira/browse/LUCENE-8849 > Project: Lucene - Core > Issue Type: Bug > Components: core/search > Reporter: David Smiley > Priority: Minor > Attachments: LUCENE-8849.patch > > > The DocValuesRewriteMethod implements the QueryVisitor API (visit method) in > a way that surprises me. It does not visit the wrapped MTQ query. Shouldn't > it? Here is what I think it should do, similar to other query wrappers: > {code:java} > @Override > public void visit(QueryVisitor visitor) { > query.visit(visitor.getSubVisitor(BooleanClause.Occur.MUST, this)); > } > {code} > CC [~romseygeek] -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org