I am trying to import data through my db but I have dynamic fields that I don't always know the names of. Can someone tell me why something like this doesn't work.
<entity name="dynamicfield" processor="CachedSqlEntityProcessor" datasource="database" query="select optionname, datatype, optionvalue FROM mmc.dbo.product_specs WITH (NOLOCK) WHERE optionName='Category' AND productId='K-690' AND manufacturer='Kohler'"> <field column="optionvalue" name="${dynamicfield.optionname}_${dynamicfield.datatype}"/> </entity> -- View this message in context: http://lucene.472066.n3.nabble.com/Data-Import-Handler-with-Dynamic-Fields-tp3978419.html Sent from the Solr - User mailing list archive at Nabble.com.