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

MatchAllDocsQuery should not expose approximations

Details

    • Task
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • 5.4
    • None
    • None
    • New

    Description

      This is a relic from when queries had to deal with deleted docs themselves: MatchAllDocsQuery used to return an iterator that matched everything as an approximation and applied live docs in the confirmation phase. But now that live docs are checked on top, it should just returns an efficient Scorer that matches every document.

      Attachments

        1. LUCENE-6761.patch
          1 kB
          Adrien Grand

        Activity

          People

            jpountz Adrien Grand
            jpountz Adrien Grand
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: