You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-commits@lucene.apache.org by Apache Wiki <wi...@apache.org> on 2009/04/09 11:55:39 UTC

[Solr Wiki] Update of "DataImportHandlerFaq" by NoblePaul

Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by NoblePaul:
http://wiki.apache.org/solr/DataImportHandlerFaq

------------------------------------------------------------------------------
   * [http://markmail.org/message/svlmsygl3sss4f67 see the mail thread]
  
  === How would I insert a static value into a field ? ===
- add the TemplateTransformer to the transformer attribute of the entity and create a field as follows
+ add the [wiki:Self:DataImportHandler#head-071ff018f44ecbdb1cf55afc4c2a857f44ea1ea4 TemplateTransformer] to the transformer attribute of the entity and create a field as follows
  {{{
  <field column="the_static_field_name" template="any-string-can-be-put-here"/>
  }}}