On 8/9/2014 6:40 AM, Ramkumar R. Aiyengar wrote:
> Can anyone help with info on how to disable transaction logs ?

In the updateHandler section of solrconfig.xml, you have an updateLog
tag.  Just remove that entire section.  In my config, it's exactly one
line, but in the example config, it's three lines.

My updateHandler, where updateLog is a self-contained single element:

<updateHandler class="solr.DirectUpdateHandler2">
  <autoCommit>
    <maxDocs>25000</maxDocs>
    <maxTime>300000</maxTime>
    <openSearcher>false</openSearcher>
  </autoCommit>
  <updateLog />
</updateHandler>

Here's what the example config contains - this entire section needs to
be removed:

    <updateLog>
      <str name="dir">${solr.ulog.dir:}</str>
    </updateLog>

If you are disabling the transaction log for testing purposes, that
should be OK, but it's a bad idea to run SolrCloud all the time without
a transaction log.

Thanks,
Shawn

Reply via email to