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

add one-syllable method to IndexReader enumerate subreaders

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Description is exactly as written.

      getSequentialSubReaders/getTopLevelReaderContext, these method names are way too long/unuseable. They also have tricky semantics (e.g. returning null).

      In lucene 4, people cannot just use any indexreader and get a merged view. So we need to make this stuff easy on them:

      • single-syllable method name (leaves(), subs(), i will think on this)
      • supports enhanced for-loop (no returning null or anything like that)
      • on indexreader (not atomic or composite, plain old indexreader)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                rcmuir Robert Muir
                Reporter:
                rcmuir Robert Muir
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: