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.
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.
Legacy Jira details
LUCENE-8887 by LuYunCheng on Jun 27 2019, resolved Jun 27 2019 Attachments: offheap_generic_settings.patch, offheap_settings.patch Linked issues: