[
https://issues.apache.org/jira/browse/SOLR-5431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexandre Rafalovitch resolved SOLR-5431.
-----------------------------------------
Resolution: Won't Fix
> Data Import Handler Silently Fails (Letter Casing)
> --------------------------------------------------
>
> Key: SOLR-5431
> URL: https://issues.apache.org/jira/browse/SOLR-5431
> Project: Solr
> Issue Type: Bug
> Components: contrib - DataImportHandler
> Affects Versions: 4.2
> Environment: See it both in Linux and Windows environment
> Reporter: Bryce Griner
> Priority: Minor
>
> If you don't define data-config.xml fields with the right casing the data
> import handler silently fails. The reason for this is because DocBuilder
> class line 627 takes into account the case of the db fields and therefore
> cannot find the field in the entity.
> Set<EntityField> field = entity.getColNameVsField().get(key)
> It would be nice to have more logging to be able to understand why nothing
> was imported and that it was because no field in the entity could be found
> that matched the db columns.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]