Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-8849

DocValuesRewriteMethod.visit should visit the MTQ

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.6
    • core/search
    • None
    • New

    Description

      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:

          @Override
          public void visit(QueryVisitor visitor) {
            query.visit(visitor.getSubVisitor(BooleanClause.Occur.MUST, this));
          }
      

      CC romseygeek

      Attachments

        1. LUCENE-8849.patch
          1 kB
          Michele Palmia

        Activity

          People

            dsmiley David Smiley
            dsmiley David Smiley
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: