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

mrtz edited comment on SOLR-480 at 2/15/08 4:56 PM:
----------------------------------------------------------------

I needed this for a project. I've created this JIRA so that I can contribute a 
patch for this.

About the contributed patch (affects SolrCore.java and solrconfig.xml example):
I've modified SolrCore such that it picks up a new configuration option called 
"useRAMDirectory" from solrconfig.xml. If it is set to true, the lucene 
searcher uses the RAMDirectory created from the index - if false or missing, it 
uses the FSDirectory as usual. 

So far I have been using builds using this patch for 1 month and has worked 
quite fine.

If someone can have a look to see if it is right and worth including into the 
source, I would appreciate it. Thanks!

      was (Author: mrtz):
    I needed this for a project. I've created this JIRA so that I can 
contribute a patch for this.
  
> Use RAMDirectory instead of FSDirectory when searching
> ------------------------------------------------------
>
>                 Key: SOLR-480
>                 URL: https://issues.apache.org/jira/browse/SOLR-480
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Murtaza Sonaseth
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: useRAMDirectory.patch
>
>
> Allow one to configure SOLR to use RAMDirectory instead of FSDirectory when 
> searching.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to