LuYunCheng created LUCENE-8887:
----------------------------------
Summary: CLONE - Add setting for moving FST offheap/onheap
Key: LUCENE-8887
URL: https://issues.apache.org/jira/browse/LUCENE-8887
Project: Lucene - Core
Issue Type: New Feature
Components: core/FSTs, core/store
Reporter: LuYunCheng
Assignee: Simon Willnauer
Fix For: 8.1, master (9.0)
Attachments: offheap_generic_settings.patch, offheap_settings.patch
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.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]