Apache Solr open-source search software
docs: update description of updateLog / autoCommit in solrconfig
Yonik Seeley9c4916912b09
diff --git a/solr/example/solr/collection1/conf/solrconfig.xml b/solr/example/solr/collection1/conf/solrconfig.xmlindex 41c8304d348..a3b11576cb4 100755--- a/solr/example/solr/collection1/conf/solrconfig.xml+++ b/solr/example/solr/collection1/conf/solrconfig.xml@@ -304,6 +304,16 @@<!-- The default high-performance update handler --><updateHandler class="solr.DirectUpdateHandler2">+ <!-- Enables a transaction log, used for real-time get, durability, and+ and solr cloud replica recovery. The log can grow as big as+ uncommitted changes to the index, so use of a hard autoCommit+ is recommended (see below).+ "dir" - the target directory for transaction logs, defaults to the+ solr data directory. -->+ <updateLog>+ <str name="dir">${solr.ulog.dir:}</str>+ </updateLog>+<!-- AutoCommitPerform a hard commit automatically under certain conditions.@@ -319,8 +329,11 @@since a document was added before automaticlytriggering a new commit.openSearcher - if false, the commit causes recent index changes- to be flushed to stable storage, but does not cause a new- searcher to be opened to make those changes visible.+ to be flushed to stable storage, but does not cause a new+ searcher to be opened to make those changes visible.++ If the updateLog is enabled, then it's highly recommended to+ have some sort of hard autoCommit to limit the log size.--><autoCommit><maxTime>15000</maxTime>@@ -370,14 +383,6 @@</listener>-->- <!-- Enables a transaction log, currently used for real-time get.- "dir" - the target directory for transaction logs, defaults to the- solr data directory. -->- <updateLog>- <str name="dir">${solr.ulog.dir:}</str>- </updateLog>--</updateHandler><!-- IndexReaderFactory