[ 
https://issues.apache.org/jira/browse/SOLR-1488?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12761910#action_12761910
 ] 

Matt Weber commented on SOLR-1488:
----------------------------------

Forgot to mention, the new parameter used to configure this feature is called 
idleTime.  

Here is an example that will commit every 100k docs or after 10 seconds of idle 
time:

<autoCommit>
     <maxDocs>100000</maxDocs>
     <idleTime>10000</idleTime>
     <!-- <maxTime>30000</maxTime> -->
</autoCommit>

> autoCommit when idle
> --------------------
>
>                 Key: SOLR-1488
>                 URL: https://issues.apache.org/jira/browse/SOLR-1488
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.4
>            Reporter: Matt Weber
>            Priority: Minor
>             Fix For: 1.4
>
>         Attachments: SOLR-1488.patch
>
>
> Enable autoCommit to execute after a given amount of idle time (no documents 
> submitted).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to