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

CLONE - Add setting for moving FST offheap/onheap

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • 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_generic_settings.patch
          20 kB
          LuYunCheng
        2. offheap_settings.patch
          20 kB
          LuYunCheng

          Issue Links

            Activity

              People

              • Assignee:
                simonw Simon Willnauer
                Reporter:
                luyuncheng LuYunCheng
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Remaining Estimate - 24h
                  24h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified