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

IndexWriter should let you optionally enable reader pooling

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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
          mikemccand Michael McCandless added a comment -

          Adds IWC.set/getReaderPooling.

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

          Fixed on newtrunk.

          Show
          mikemccand Michael McCandless added a comment - Fixed on newtrunk.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development