Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

using MMapDirectoryFactory as solution for ClosedChannelException given in https://issues.apache.org/jira/browse/SOLR-2247

Michael Peter Christenf53703df6229
diff --git a/defaults/solr/solrconfig.xml b/defaults/solr/solrconfig.xml
index 09a01e4aa..cad12cb72 100755
--- a/defaults/solr/solrconfig.xml
+++ b/defaults/solr/solrconfig.xml
@@ -118,8 +118,9 @@
solr.RAMDirectoryFactory is memory based, not
persistent, and doesn't work with replication.
-->
- <directoryFactory name="DirectoryFactory"
- class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/>
+ <!-- <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/> -->
+ <directoryFactory name="DirectoryFactory" class="${solr.directoryFactory:solr.MMapDirectoryFactory}"/>
+ <!-- using MMapDirectoryFactory as solution for ClosedChannelException given in https://issues.apache.org/jira/browse/SOLR-2247 -->
<!-- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Index Config - These settings control low-level behavior of indexing