You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucene.apache.org by "Alexandre Rafalovitch (Jira)" <ji...@apache.org> on 2020/08/29 19:55:00 UTC
[jira] [Resolved] (SOLR-7533) DIH doesn't return "Indexing
completed" when 0 documents processed
[ https://issues.apache.org/jira/browse/SOLR-7533?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Alexandre Rafalovitch resolved SOLR-7533.
-----------------------------------------
Resolution: Won't Fix
> DIH doesn't return "Indexing completed" when 0 documents processed
> ------------------------------------------------------------------
>
> Key: SOLR-7533
> URL: https://issues.apache.org/jira/browse/SOLR-7533
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 5.0, 5.1
> Reporter: Jellyfrog
> Priority: Major
>
> Normally, the status for a DIH when done will be something like:
> {code}
> {
> "responseHeader": {
> "status": 0,
> "QTime": 0
> },
> "initArgs": [
> "defaults",
> [
> "config",
> "data_import.xml"
> ]
> ],
> "command": "status",
> "status": "idle",
> "importResponse": "",
> "statusMessages": {
> "Total Requests made to DataSource": "1",
> "Total Rows Fetched": "480463",
> "Total Documents Skipped": "0",
> "Full Dump Started": "2015-04-21 14:16:17",
> "": "Indexing completed. Added/Updated: 480463 documents. Deleted 0 documents.",
> "Total Documents Processed": "480463",
> "Time taken": "0:12:31.863"
> }
> }
> {code}
> But when it processes 0 rows, it's missing the "Indexing completed" part:
> {code}
> {
> "responseHeader": {
> "status": 0,
> "QTime": 0
> },
> "initArgs": [
> "defaults",
> [
> "config",
> "data_import.xml"
> ]
> ],
> "command": "status",
> "status": "idle",
> "importResponse": "",
> "statusMessages": {
> "Total Requests made to DataSource": "1",
> "Total Rows Fetched": "0",
> "Total Documents Processed": "0",
> "Total Documents Skipped": "0",
> "Full Dump Started": "2015-05-12 17:39:44",
> "Time taken": "0:0:2.805"
> }
> }
> {code}
> This makes the output very inconsistent and harder to handle programatically
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@lucene.apache.org
For additional commands, e-mail: issues-help@lucene.apache.org