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
             Fix For: 1.3


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.

Reply via email to