You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/03/16 05:58:48 UTC
[jira] [Updated] (SOLR-2664) Disable/enable autocommit on the fly
[ https://issues.apache.org/jira/browse/SOLR-2664?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
David Smiley updated SOLR-2664:
-------------------------------
Fix Version/s: (was: 4.7)
4.8
> Disable/enable autocommit on the fly
> ------------------------------------
>
> Key: SOLR-2664
> URL: https://issues.apache.org/jira/browse/SOLR-2664
> Project: Solr
> Issue Type: New Feature
> Components: update
> Affects Versions: 4.0-ALPHA
> Reporter: Simon Rosenthal
> Priority: Minor
> Fix For: 4.8
>
> Attachments: SOLR-2664.patch
>
>
> There are occasions when although autocommit is configured, it would be desirable to disable it temporarily - for instance when batch adding/updating a set of documents which should be committed atomically (e.g. a set of price changes).
> The patch adds <disableAutoCommit/> and </enableAutoCommit> commands to XMLUpdateHandler, and also adds a disableAutoCommit=true|false attribute to the <add> element - this will disable autocommit until the terminating </add> at the end of the XML document is reached.
> At present, the autocommit state will not survive a core reload.
> It should be possible to extend this functionality to SolrJ, CSVUpdatehandler ( and JSONUpdateHandler ?)
--
This message was sent by Atlassian JIRA
(v6.2#6252)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org