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 ShalinMangar:
http://wiki.apache.org/solr/DataImportHandler

The comment on the change is:
Adding info on HTMLStripTransformer and ClobTransformer

------------------------------------------------------------------------------
  ==== Attributes ====
   * '''`template`''' : The template string. In the above example there are two 
placeholders '${e.name}' and '${eparent.surname}' .   Both the values must be 
present when it is being evaluated. Else it will not be evaluated.
  
+ === HTMLStripTransformer ===
+ Can be used to strip HTML out of a string field
+ e.g.:
+ {{{
+ <entity name="e" transformer="HTML!StripTransformer" ..>
+ <field column="htmlText" stripHTML="true" />
+ ...
+ </entity>
+ }}}
+ It uses the org.apache.solr.analysis.HTML!StripReader class to strip HTML 
tags out of the field on which it is applied
+ ==== Attributes ====
+  * '''`stripHTML`''' : Boolean value to signal if HTML!StripTransformer 
should process this field or not.
+ 
+ === ClobTransformer ===
+ Can be used to create a String out of a Clob type in database.
+ e.g.:
+ {{{
+ <entity name="e" transformer="ClobTransformer" ..>
+ <field column="hugeTextField" clob="true" />
+ ...
+ </entity>
+ }}}
+ 
+ ==== Attributes ====
+  * '''`clob`''' : Boolean value to signal if !ClobTransformer should process 
this field or not.
+ 
  [[Anchor(custom-transformers)]]
  == Writing Custom Transformers ==
  [:DIHCustomTransformer:see here]

Reply via email to