Skip to content

Commit

Permalink
Updated Sunspot config to automatically commit every 10,000 docs or 1…
Browse files Browse the repository at this point in the history
… second.
  • Loading branch information
igal committed Feb 7, 2011
1 parent c8d090c commit bbafac1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solr/conf/solrconfig.xml
Expand Up @@ -208,11 +208,11 @@
maxTime - oldest uncommited update (in ms) is this long ago
Instead of enabling autoCommit, consider using "commitWithin"
when adding documents. http://wiki.apache.org/solr/UpdateXmlMessages
-->
<autoCommit>
<maxDocs>10000</maxDocs>
<maxTime>1000</maxTime>
</autoCommit>
-->
<!-- The RunExecutableListener executes an external command from a
hook such as postCommit or postOptimize.
exe - the name of the executable to run
Expand Down

0 comments on commit bbafac1

Please sign in to comment.