I was actually able to accomplish (althought not pretty) what I wanted using
a regex transformer.

  <entity name="item"
            transformer="RegexTransformer"
            query="select *, 'valueA, valueB' values from items">
    <field column="myMultiValueField"  sourceColName="values" splitBy=","/>
  </entity>


blargy wrote:
> 
> How can I manually specify a static multiple value field in the
> DataImportHandler?
> 
> I finally figured out the answer of how to statically define a value from
> this FAQ: http://wiki.apache.org/solr/DataImportHandlerFaq which basically
> states to use the TemplateTransformer.
> 
> My question is what do I put for template when the value is multi-valued?
> 

-- 
View this message in context: 
http://old.nabble.com/DIH-template-multivalued-fields-tp27883630p27885965.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to