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

      1. LUCENE-2356.patch
        6 kB
        Michael McCandless

        Activity

        Michael McCandless created issue -
        Uwe Schindler made changes -
        Field Original Value New Value
        Fix Version/s 4.0.0 [ 12314822 ]
        Fix Version/s 3.1 [ 12314025 ]
        Robert Muir made changes -
        Component/s Index [ 12310232 ]
        Uwe Schindler made changes -
        Fix Version/s 4.0 [ 12314025 ]
        Fix Version/s 3.1 [ 12314822 ]
        Michael McCandless made changes -
        Fix Version/s 2.9.3 [ 12314799 ]
        Fix Version/s 3.0.2 [ 12314798 ]
        Fix Version/s 3.1 [ 12314822 ]
        Michael McCandless made changes -
        Attachment LUCENE-2356.patch [ 12446064 ]
        Michael McCandless made changes -
        Assignee Michael McCandless [ mikemccand ]
        Michael McCandless made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Uwe Schindler made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Mark Thomas made changes -
        Workflow jira [ 12503241 ] Default workflow, editable Closed status [ 12564292 ]
        Mark Thomas made changes -
        Workflow Default workflow, editable Closed status [ 12564292 ] jira [ 12584104 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development