Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
5.0, 5.1
-
None
-
None
Description
Normally, the status for a DIH when done will be something like:
{ "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" } }
But when it processes 0 rows, it's missing the "Indexing completed" part:
{ "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" } }
This makes the output very inconsistent and harder to handle programatically
Attachments
Issue Links
- is superceded by
-
SOLR-14783 Remove DIH from 9.0
- Closed