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

SearcherManager should accept foreign DirectoryReader on init

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.0, 6.0
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Today you init SearcherManager either with a dir or an IndexWriter,
      but since we have a useful FilterDirectoryReader class to wrap the
      sub-readers, it's useful for apps to also pass their own wrapped
      DirectoryReader and have SearcherManager reopen from that.

        Attachments

        1. LUCENE-6087.patch
          4 kB
          Michael McCandless

          Activity

            People

            • Assignee:
              mikemccand Michael McCandless
              Reporter:
              mikemccand Michael McCandless
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: