EntityHub batch indexing tools should fail early if the input is incorrect
--------------------------------------------------------------------------

                 Key: STANBOL-328
                 URL: https://issues.apache.org/jira/browse/STANBOL-328
             Project: Stanbol
          Issue Type: Bug
            Reporter: Olivier Grisel


If exceptions occur during the initialization step of the RdfIndexingSource 
they are just loggued and the indexing process continue with incomplete data: 
if the error is at the beginning of an RDF dump most of the dump is just 
ingored and the SolrYard indexer goes on with partial data which is just a wast 
of CPU resources since the resulting index in incomplete.

Instead the indexer should fail early by raising the exceptions that are caught 
in ResourceLoader#loadResource (while adding the incriminated filename to the 
exception message) and ask the user to fix the input files before proceeding.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to