[ https://issues.apache.org/jira/browse/SOLR-793?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637018#action_12637018 ]
noble.paul edited comment on SOLR-793 at 10/6/08 12:06 AM: ----------------------------------------------------------- I somehow am confused with the usecase {code} <add commitWithin="100">... {code} If I have 10 docs with with a commitWithin="100" This may mean that there will be 10 commits because each <add> happened at different time. Wouldn't the user want to commit all the important documents at once . or wouldn't they want to commit tsay doc x,y,z first and then the rest of the docs? was (Author: noble.paul): I somehow am confused with the usecase {code} <add commitWithin="100">... {code} If I have 10 docs with with a commitWithin="100" This may mean that there will be 100 commits because each <add> happened at different time. Wouldn't the user want to commit all the important documents at once . or wouldn't they want to commit tsay doc x,y,z first and then the rest of the docs? > set a commit time bounds in the <add> command > --------------------------------------------- > > Key: SOLR-793 > URL: https://issues.apache.org/jira/browse/SOLR-793 > Project: Solr > Issue Type: Improvement > Components: update > Reporter: Ryan McKinley > Priority: Minor > Attachments: SOLR-793-commitWithin.patch, SOLR-793-commitWithin.patch > > > Currently there are two options for how to handle commiting documents: > 1. the client explicitly starts the commit via <commit/> > 2. set an auto commit value on the server -- clients can assume all documents > will be commited within that time. > However, this does not help in the case where the clients know what documents > need updating quickly and others that could wait. I suggest adding: > {code:xml} > <add commitWithin="100">... > {/code:xml} > to the update syntax so the client can schedule commits explicitly. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.