Lucene - Core
  1. Lucene - Core
  2. LUCENE-2297

IndexWriter should let you optionally enable reader pooling

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0-ALPHA
    • Component/s: None
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      For apps using a large index and frequently need to commit and resolve deletes, the cost of opening the SegmentReaders on demand for every commit can be prohibitive.

      We an already pool readers (NRT does so), but, we only turn it on if NRT readers are in use.

      We should allow separate control.

      We should do this after LUCENE-2294.

      1. LUCENE-2297.patch
        6 kB
        Michael McCandless

        Issue Links

          Activity

          Hide
          Michael McCandless added a comment -

          Adds IWC.set/getReaderPooling.

          Show
          Michael McCandless added a comment - Adds IWC.set/getReaderPooling.
          Hide
          Michael McCandless added a comment -

          Fixed on newtrunk.

          Show
          Michael McCandless added a comment - Fixed on newtrunk.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development