[ https://issues.apache.org/jira/browse/SOLR-287?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan McKinley updated SOLR-287: ------------------------------- Summary: set commitMaxTime when adding a document (was: set commitMaxTime when adding a single document) sorry, bad title. This adds a maxCommitTime to the AddUpdateCommand - that only takes one document at at time, but the command is shared between everything updated together. As implemented, If you post 1000 docs in a single request with an maxCommitTime=500. It will fire a commit 500ms after the first document is added - even if there are still more coming. > set commitMaxTime when adding a document > ---------------------------------------- > > Key: SOLR-287 > URL: https://issues.apache.org/jira/browse/SOLR-287 > Project: Solr > Issue Type: Improvement > Reporter: Ryan McKinley > Priority: Minor > Attachments: SOLR-287-AddCommitMaxTime.patch > > > Rather then setting a global autoCommit maxTime, it would be nice to set a > maximum time for a single add command. This patch adds: > <add commitMaxTime="1000"> > ... > </add> > to add the document within 1 sec. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.