Class HunspellStemFilterFactory

All Implemented Interfaces:
ResourceLoaderAware

public class HunspellStemFilterFactory extends TokenFilterFactory implements ResourceLoaderAware
TokenFilterFactory that creates instances of HunspellStemFilter. Example config for British English:
 <filter class="solr.HunspellStemFilterFactory"
         dictionary="en_GB.dic,my_custom.dic"
         affix="en_GB.aff" 
         ignoreCase="false"
         longestOnly="false" />
Both parameters dictionary and affix are mandatory. Dictionaries for many languages are available through the OpenOffice project. See http://wiki.apache.org/solr/Hunspell
Since:
3.5.0