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

add one-syllable method to IndexReader enumerate subreaders

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 4.0, 6.0
    • None
    • None
    • 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

        1. LUCENE-4152.patch
          0.9 kB
          Robert Muir

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: