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

CLONE - Add setting for moving FST offheap/onheap

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Duplicate
    • None
    • 8.1, 9.0
    • core/FSTs, core/store
    • None
    • 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

              simonw Simon Willnauer
              luyuncheng LuYunCheng
              Votes:
              0 Vote for this issue
              Watchers:
              3 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