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

Most Codec.*Format().*Reader() methods should use SegmentReadState

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • 4.0-ALPHA
    • core/codecs
    • None
    • New

    Description

      Codec formats API for opening readers is inconsistent - sometimes it uses SegmentReadState, in other cases it uses individual arguments that are already available via SegmentReadState. This complicates extending the API, e.g. if additional per-segment state would need to be passed to the readers.

      Attachments

        1. LUCENE-3836.patch
          17 kB
          Andrzej Bialecki

        Activity

          People

            ab Andrzej Bialecki
            ab Andrzej Bialecki
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: