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

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

[~thetaphi] I agree, the patch is very trivial and I put the test-cases for the 
sake of it. We can use the old-patch where we added 4 lines/optional parameter. 
_LuceneTestCase.assumeWorkingMmap_ method is testing the directory, which is 
already tested, not the factory.

Uploaded a patch with no test-cases.

> 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
>            Assignee: Uwe Schindler
>            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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to