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

Sorter API: Make TermsEnum.docs accept any source of liveDocs

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.3
    • None
    • None
    • New

    Description

      TermsEnum.docs currently only works when liveDocs is null or the reader's liveDocs. This is enough for addIndexes but it would be cleaner to follow TermsEnum.docs contract and accept any source of liveDocs.

      Attachments

        1. LUCENE-4834.patch
          11 kB
          Adrien Grand

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: