Lucene - Core
  1. Lucene - Core
  2. LUCENE-6087

SearcherManager should accept foreign DirectoryReader on init

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major 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.

      1. LUCENE-6087.patch
        4 kB
        Michael McCandless

        Activity

        Hide
        Michael McCandless added a comment -

        Simple patch + test; I think it's ready.

        Show
        Michael McCandless added a comment - Simple patch + test; I think it's ready.
        Hide
        Adrien Grand added a comment -

        +1

        Show
        Adrien Grand added a comment - +1
        Hide
        Simon Willnauer added a comment -

        +1 thanks mike

        Show
        Simon Willnauer added a comment - +1 thanks mike
        Hide
        ASF subversion and git services added a comment -

        Commit 1642887 from Michael McCandless in branch 'dev/trunk'
        [ https://svn.apache.org/r1642887 ]

        LUCENE-6087: allow custom DirectoryReader to SearcherManager

        Show
        ASF subversion and git services added a comment - Commit 1642887 from Michael McCandless in branch 'dev/trunk' [ https://svn.apache.org/r1642887 ] LUCENE-6087 : allow custom DirectoryReader to SearcherManager
        Hide
        ASF subversion and git services added a comment -

        Commit 1642891 from Michael McCandless in branch 'dev/branches/branch_5x'
        [ https://svn.apache.org/r1642891 ]

        LUCENE-6087: allow custom DirectoryReader to SearcherManager

        Show
        ASF subversion and git services added a comment - Commit 1642891 from Michael McCandless in branch 'dev/branches/branch_5x' [ https://svn.apache.org/r1642891 ] LUCENE-6087 : allow custom DirectoryReader to SearcherManager
        Hide
        Anshum Gupta added a comment -

        Bulk close after 5.0 release.

        Show
        Anshum Gupta added a comment - Bulk close after 5.0 release.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development