You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2009/01/27 08:52:59 UTC
[jira] Resolved: (SOLR-974) DataImportHandler should not commit if
no data has been updated
[ https://issues.apache.org/jira/browse/SOLR-974?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar resolved SOLR-974.
----------------------------------------
Resolution: Fixed
Committed revision 738020.
Thanks Wojtek!
Kay, we can work on exposing the statistics through context with SOLR-989. With this change, one can easily detect if any documents were created or not.
> DataImportHandler should not commit if no data has been updated
> ---------------------------------------------------------------
>
> Key: SOLR-974
> URL: https://issues.apache.org/jira/browse/SOLR-974
> Project: Solr
> Issue Type: Improvement
> Components: contrib - DataImportHandler
> Affects Versions: 1.3
> Reporter: Wojtek Piaseczny
> Assignee: Shalin Shekhar Mangar
> Priority: Minor
> Fix For: 1.4
>
> Attachments: SOLR-974.patch, SOLR-974.patch
>
>
> The DataImportHandler always finishes an import with a commit, even if it retrieved no data from its data source. Add a short circuit to not commit if no data was imported.
> Related discussion:
> http://www.nabble.com/Performance-Hit-for-Zero-Record-Dataimport-td21572935.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.