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

Enable setting the terms index divisor used by IndexWriter whenever it opens internal readers

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.3, 3.0.2, 3.1, 4.0-ALPHA
    • Component/s: core/index
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      Opening a place holder issue... if all the refactoring being discussed don't make this possible, then we should add a setting to IWC to do so.

      Apps with very large numbers of unique terms must set the terms index divisor to control RAM usage.

      (NOTE: flex's RAM terms dict index RAM usage is more efficient, so this will help such apps).

      But, when IW resolves deletes internally it always uses default 1 terms index divisor, and the app cannot change that. Though one workaround is to call getReader(termInfosIndexDivisor) which will pool the reader with the right divisor.

        Attachments

        1. LUCENE-2356.patch
          6 kB
          Michael McCandless

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: