lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Miller <markrmil...@gmail.com>
Subject Re: Using MMapDirectory
Date Mon, 06 Jul 2009 13:28:43 GMT
Marc Sturlese wrote:
> Hey there,
>
> For testing purpose I am trying to use lucene's MMapDirectory in a recent
> Solr nightly instance. I have read in Lucene's documentation:
> "To use MMapDirectory, invoke Java with the System property
> org.apache.lucene.FSDirectory.class set to
> org.apache.lucene.store.MMapDirectory. This will cause
> FSDirectory.getDirectory(File,boolean) to return instances of this class. "
>
> Do I have to change something in solrconfig.xml or modifying system property
> is just enough?
> Thanks in advance.
>   
The system property won't do it. You will have to try the custom 
DirectoryFactory in solrconfig.xml.

Report back how it goes - havn't tried Solr with MMapDirectory before 
myself.

-- 
- Mark

http://www.lucidimagination.com




Mime
View raw message