Apache Lucene open-source search software
SOLR-5533: Improve out of the box support for running Solr on hdfs with SolrCloud.
Mark Robert Miller618f6b876d08
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex a84f60e33bb..d51fcb0df65 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -234,6 +234,9 @@ Other Changes* SOLR-5539: Admin UI - Remove ability to create/modify files (steffkes)+* SOLR-5533: Improve out of the box support for running Solr on hdfs with+ SolrCloud. (Mark Miller)+================== 4.6.0 ==================Versions of Major Componentsdiff --git a/solr/example/solr/collection1/conf/solrconfig.xml b/solr/example/solr/collection1/conf/solrconfig.xmlindex c770599b7e2..3126c21d74d 100755--- a/solr/example/solr/collection1/conf/solrconfig.xml+++ b/solr/example/solr/collection1/conf/solrconfig.xml@@ -117,7 +117,20 @@persistent, and doesn't work with replication.--><directoryFactory name="DirectoryFactory"- class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}"/>+ class="${solr.directoryFactory:solr.NRTCachingDirectoryFactory}">+++ <!-- These will be used if you are using the solr.HdfsDirectoryFactory,+ otherwise they will be ignored. If you don't plan on using hdfs,+ you can safely remove this section. -->+ <!-- The root directory that collection data should be written to. -->+ <str name="solr.hdfs.home">${solr.hdfs.home:}</str>+ <!-- The hadoop configuration files to use for the hdfs client. -->+ <str name="solr.hdfs.confdir">${solr.hdfs.confdir:}</str>+ <!-- Enable/Disable the hdfs cache. -->+ <str name="solr.hdfs.blockcache.enabled">${solr.hdfs.blockcache.enabled:true}</str>++ </directoryFactory><!-- The CodecFactory for defining the format of the inverted index.The default implementation is SchemaCodecFactory, which is the official Lucene