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

Amrit Sarkar commented on SOLR-10158:
-------------------------------------

SOLR-10158.patch uploaded.

Added a new boolean init param "preload" in MMapDirectoryFactory. Very trivial.

Though loading the data at startup-time is not favorable as discussed in 
LUCENE-6549, but anybody has the option now.

> MMapDirectoryFactory support for "preload" option (LUCENE-6549)
> ---------------------------------------------------------------
>
>                 Key: SOLR-10158
>                 URL: https://issues.apache.org/jira/browse/SOLR-10158
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: search
>            Reporter: Amrit Sarkar
>            Priority: Trivial
>         Attachments: SOLR-10158.patch
>
>
> Lucene 5.3 added a new preload option to MMapDirectory (see LUCENE-6549)
> MMapDirectoryFactory needs to be updated to offer this as a config option.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to