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

Make accessible subenums in MappingMultiDocsEnum

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0-ALPHA
    • Fix Version/s: 4.0-ALPHA
    • Component/s: core/codecs
    • Labels:
    • Lucene Fields:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: