[ 
https://issues.apache.org/jira/browse/LUCENE-8859?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16863810#comment-16863810
 ] 

Jim Ferenczi commented on LUCENE-8859:
--------------------------------------

Here is a patch that exposes an option to force the load on-heap, off-heap or 
auto (make the decision based on the type of directory that is used, e.g.: mmap 
vs others). [^LUCENE-8859.patch] 

> Add an option to load the completion suggester's FST off-heap
> -------------------------------------------------------------
>
>                 Key: LUCENE-8859
>                 URL: https://issues.apache.org/jira/browse/LUCENE-8859
>             Project: Lucene - Core
>          Issue Type: Improvement
>            Reporter: Jim Ferenczi
>            Priority: Minor
>         Attachments: LUCENE-8859.patch
>
>
> Now that FSTs can be loaded off-heap 
> (https://issues.apache.org/jira/browse/LUCENE-8635) it would be nice to 
> expose this option in the completion suggester postings format. I didn't ran 
> any benchmark yet so I can't say it this really makes sense or not but I 
> wanted to get some opinion whether this could be a good trade-off.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to