Hello,

I need somehow to add some custom properties to an entity so they will
appear with indexed datas. Something like this :

<entity>
   <field column="id" name="id" />
   <custom name="prop1" value="val1" />
</entity>

The point is that I don't have this property in the database so it can't be
imported.
Plus, I'm generating the data-source file from another database so I don't
know fields' name in advance.

Triky things I may have tried with the regex transfomers for example don't
work because column name must be existing but not already used (or it will
be replaced).
<field column="required" name="prop1" regex="(.+)" replaceWith="val1"/>

Any idea please ?
-- 
View this message in context: 
http://www.nabble.com/DataImportHandler%2C-custom-properties-tp20482190p20482190.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to