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



Reply via email to