lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Krzysztof Szalast (JIRA)" <>
Subject [jira] Created: (SOLR-2050) Column name in JDBC oracle data source is case sensitivity
Date Mon, 16 Aug 2010 17:52:16 GMT
Column name in JDBC oracle data source is case sensitivity

                 Key: SOLR-2050
             Project: Solr
          Issue Type: Bug
          Components: contrib - DataImportHandler
    Affects Versions: 1.4.1
         Environment: Windows XP 32bit,
java -version
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing),
runned on embeded jetty
            Reporter: Krzysztof Szalast
            Priority: Minor

I have table in Oracle database:
table (
message CLOB

Data source xml file (data-config.xml):

<entity name="esdk_msg" transformer="ClobTransformer" ...
<field column="ID" name="id" />
<field column="MSG" name="msg" clob="true"/>

works fine, but (MSG vs. msg as column name):

<entity name="esdk_msg" transformer="ClobTransformer" ...
<field column="ID" name="id" />
<field column="msg" name="msg" clob="true"/>

ends with error:

org.apache.solr.common.SolrException: Document [106249] missing required field: msg
        at org.apache.solr.update.DocumentBuilder.toDocument(
        at org.apache.solr.update.processor.RunUpdateProcessor.processAdd(
        at org.apache.solr.handler.dataimport.SolrWriter.upload(
        at org.apache.solr.handler.dataimport.DataImportHandler$1.upload(
        at org.apache.solr.handler.dataimport.DocBuilder.buildDocument(
        at org.apache.solr.handler.dataimport.DocBuilder.doFullDump(
        at org.apache.solr.handler.dataimport.DocBuilder.execute(
        at org.apache.solr.handler.dataimport.DataImporter.doFullImport(
        at org.apache.solr.handler.dataimport.DataImporter.runCmd(
        at org.apache.solr.handler.dataimport.DataImporter$
2010-08-16 19:39:33 org.apache.solr.handler.dataimport.DocBuilder finish

On other database (Informix) both versions of data-config.xml works fine.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

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

View raw message