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

Make accessible subenums in MappingMultiDocsEnum

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.0-ALPHA
    • 4.0-ALPHA
    • core/codecs
    • New, Patch Available

    Description

      The #merge method of the PostingsConsumer receives MappingMultiDocsEnum and MappingMultiDocsAndPositionsEnum as postings enum. In certain case (with specific postings formats), the #merge method needs to be overwritten, and the underlying DocsEnums wrapped by the MappingMultiDocsEnum need to be accessed.

      The MappingMultiDocsEnum class should provide a method #getSubs similarly to MultiDocsEnum class.

      Attachments

        1. LUCENE-4018.patch
          2 kB
          Renaud Delbru

        Activity

          People

            simonw Simon Willnauer
            renaud.delbru Renaud Delbru
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: