Skip to content

Commit

Permalink
Changing the autoSoftCommit maxTime (#121)
Browse files Browse the repository at this point in the history
Matching the MaxTime of autoSoftCommit to 20ms. This value is recommeded in the documenetion.
  • Loading branch information
arfaram authored and andrerom committed Apr 25, 2018
1 parent aca8ca4 commit 4624cf1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,15 @@ For Contributing to this Bundle, you should make sure to run both unit and integ
which can lead to issues of content not showing up in the index. You can control this by adjusting `autoSoftCommit` *(visibility
of change to search index)* and `autoCommit` *(hard commit, for durability and replication)* values in `solrconfig.xml`.

Example of working `solrconfig.xml` settings that you can use to tune for your needs, change from defaults is on `autoSoftCommit` from `-1` *(disabled)* to `100`ms:
Example of working `solrconfig.xml` settings that you can use to tune for your needs, change from defaults is on `autoSoftCommit` from `-1` *(disabled)* to `20`ms:

<autoCommit>
<maxTime>${solr.autoCommit.maxTime:15000}</maxTime>
<openSearcher>false</openSearcher>
</autoCommit>

<autoSoftCommit>
<maxTime>${solr.autoSoftCommit.maxTime:100}</maxTime>
<maxTime>${solr.autoSoftCommit.maxTime:20}</maxTime>
</autoSoftCommit>


Expand Down

0 comments on commit 4624cf1

Please sign in to comment.