Easy ability to add static mulit-valued fields
----------------------------------------------
Key: SOLR-1816
URL: https://issues.apache.org/jira/browse/SOLR-1816
Project: Solr
Issue Type: Improvement
Components: contrib - DataImportHandler
Affects Versions: 1.4
Reporter: Robert Zotter
Priority: Minor
To add a static value one must use a the TemplateTransformer but there is no
way to specify multiple values using this method.
The only way that I know of that can accomplish this is by using a
RegexTransformer and specifying the the static field as part of the query.
<document>
<entity name="foo"
transformer="RegexTransformer"
query="select *, 'multiValueA, multiValueB' values from foos">
<field column="multiValueField" sourceColName="values" splitBy=","/>
...
</entity>
</document>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.