: > On the other side: I have a problem. Because I want to give some entities
: > a default value "A" and others default value "B" - which I could do inside
: > a <field>inside of<entity> in data-config.xml but not inside a <field> in
: > schema.xml.

: In that case, you will need to write a custom DIH Transformer.

Nope ... you cna just use TemplateTransformer and specify a static value 
with no variables for the template...

http://wiki.apache.org/solr/DataImportHandlerFaq#How_would_I_insert_a_static_value_into_a_field_.3F


-Hoss

Reply via email to