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

Break loop early while checking whether DocValuesFieldExistsQuery can be rewrite to MatchAllDocsQuery

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 9.1
    • None
    • None
    • New

    Description

      In the implementation of Query#rewrite in DocValuesFieldExistsQuery, when one Segment can't match the condition occurs, maybe we should break loop directly.

      Attachments

        Activity

          People

            Unassigned Unassigned
            ChrisLu Lu Xugang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 1.5h
                1.5h