lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shalin Shekhar Mangar (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SOLR-742) Unable to create dynamic fields with custom DataImportHandler transformer
Date Thu, 30 Oct 2008 05:19:44 GMT

     [ https://issues.apache.org/jira/browse/SOLR-742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Shalin Shekhar Mangar updated SOLR-742:
---------------------------------------

    Attachment: SOLR-742.patch

We also need to keep a lowercase map of schema fields. The only caveat is that dynamic fields
which are added by the transformers must be in the correct case as defined in schema.xml

> Unable to create dynamic fields with custom DataImportHandler transformer
> -------------------------------------------------------------------------
>
>                 Key: SOLR-742
>                 URL: https://issues.apache.org/jira/browse/SOLR-742
>             Project: Solr
>          Issue Type: Bug
>          Components: contrib - DataImportHandler
>    Affects Versions: 1.3
>            Reporter: Wojtek Piaseczny
>            Assignee: Shalin Shekhar Mangar
>             Fix For: 1.4
>
>         Attachments: SOLR-742.patch, SOLR-742.patch, SOLR-742.patch, SOLR-742.patch,
SOLR-742.patch, SOLR-742.patch
>
>
> Discussion at: http://www.nabble.com/Creating-dynamic-fields-with-DataImportHandler-to19226532.html
> Dynamic fields aren't created when specified in a DataImportHandler's transformer. 
> Reproducing the issue:
> I have defined a dynamic field (of type sdouble) in my schema called "_dynamic*". Inside
the transformer's transformRow method, I am adding the name-value pair "_dynamicTest" and
'1.0'. No errors are observed, but the data does not appear in the index after importing is
complete.
> Interestingly, I can specify that same name-value pair combination in the DataImportHandler's
config file, and it does appear in the index.

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


Mime
View raw message