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

IndexWriter should let you optionally enable reader pooling

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.0-ALPHA
    • None
    • None
    • 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.

      Attachments

        1. LUCENE-2297.patch
          6 kB
          Michael McCandless

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: