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

Add setting for moving FST offheap/onheap

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 8.1, master (9.0)
    • Component/s: core/FSTs, core/store
    • Labels:
      None
    • Lucene Fields:
      New

      Description

      While LUCENE-8635, adds support for loading FST offheap using mmap, users do not have the flexibility to specify fields for which FST needs to be offheap. This allows users to tune heap usage as per their workload.

      Ideal way will be to add an attribute to FieldInfo, where we have put/getAttribute. Then FieldReader can inspect the FieldInfo and pass the appropriate On/OffHeapStore when creating its FST. It can support special keywords like ALL/NONE.

        Attachments

        1. offheap_settings.patch
          20 kB
          Ankit Jain
        2. offheap_generic_settings.patch
          20 kB
          Ankit Jain

          Issue Links

            Activity

              People

              • Assignee:
                simonw Simon Willnauer
                Reporter:
                akjain Ankit Jain
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Time Spent - 5h Remaining Estimate - 19h
                  19h
                  Logged:
                  Time Spent - 5h Remaining Estimate - 19h
                  5h