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

Empty DisjunctionMaxQuery can rewrite to MatchNoDocsQuery

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 8.10
    • None
    • New

    Description

      It's possible to create a DisjunctionMaxQuery with no clauses. This could be rewritten to MatchNoDocsQuery, matching the approach we take for BooleanQuery.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            julietibs Julie Tibshirani
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Issue deployment