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

Add setting for moving FST offheap/onheap

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 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_settings.patch
          20 kB
          Ankit Jain
        2. offheap_generic_settings.patch
          20 kB
          Ankit Jain

        Issue Links

          Activity

            People

              simonw Simon Willnauer
              akjain Ankit Jain
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 24h
                  24h
                  Remaining:
                  Time Spent - 5h 10m Remaining Estimate - 18h 50m
                  18h 50m
                  Logged:
                  Time Spent - 5h 10m Remaining Estimate - 18h 50m
                  5h 10m