You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Bryce Griner (JIRA)" <ji...@apache.org> on 2013/11/08 00:45:17 UTC

[jira] [Created] (SOLR-5431) Data Import Handler Silently Fails (Letter Casing)

Bryce Griner created SOLR-5431:
----------------------------------

             Summary: 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
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org