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 2010/04/13 16:32:03 UTC

[Solr Wiki] Update of "DIHCustomFunctions" by RobertMuir

Dear Wiki user,

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

The "DIHCustomFunctions" page has been changed by RobertMuir.
The comment on this change is: update trunk location.
http://wiki.apache.org/solr/DIHCustomFunctions?action=diff&rev1=1&rev2=2

--------------------------------------------------

  = Custom Functions for DIH =
- It is possible to plug in custom functions into DIH. Implement an [[http://svn.apache.org/viewvc/lucene/solr/trunk/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/Evaluator.java?view=markup|Evalutor]] and specify it in the data-config.xml . Following is an example of an evaluator which does a 'toLowerCase' on a String.
+ It is possible to plug in custom functions into DIH. Implement an [[http://svn.apache.org/viewvc/lucene/dev/trunk/solr/contrib/dataimporthandler/src/main/java/org/apache/solr/handler/dataimport/Evaluator.java?view=markup|Evalutor]] and specify it in the data-config.xml . Following is an example of an evaluator which does a 'toLowerCase' on a String.
  {{{
  <dataConfig>
     <function name="toLowerCase" class="foo.LowerCaseFunctionEvaluator"/>