lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-974) DataImportHandler should not commit if no data has been updated
Date Mon, 26 Jan 2009 17:41:59 GMT

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

Shalin Shekhar Mangar commented on SOLR-974:
--------------------------------------------

No, nothing right now. The XML response would say that no documents were created. However,
one can add a postCommit or newSearcher listener if a commit is all you are interested in.

> 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.


Mime
View raw message