lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bryce Griner (JIRA)" <>
Subject [jira] [Created] (SOLR-5431) Data Import Handler Silently Fails (Letter Casing)
Date Thu, 07 Nov 2013 23:45:17 GMT
Bryce Griner created SOLR-5431:

             Summary: Data Import Handler Silently Fails (Letter Casing)
                 Key: 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message