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 2011/07/09 13:02:26 UTC
[Solr Wiki] Trivial Update of "DIHCustomFunctions" by ShalinMangar
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 ShalinMangar:
http://wiki.apache.org/solr/DIHCustomFunctions?action=diff&rev1=2&rev2=3
Comment:
Fixed typo
= Custom Functions for DIH =
- 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.
+ 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|Evaluator]] 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"/>