Class MorfologikFilterFactory

  • All Implemented Interfaces:

    public class MorfologikFilterFactory
    extends TokenFilterFactory
    implements ResourceLoaderAware
    Filter factory for MorfologikFilter.

    An explicit resource name of the dictionary (".dict") can be provided via the dictionary attribute, as the example below demonstrates:

     <fieldType name="text_mylang" class="solr.TextField" positionIncrementGap="100">
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.MorfologikFilterFactory" dictionary="mylang.dict" />

    If the dictionary attribute is not provided, the Polish dictionary is loaded and used by default.

    See Also:
    Morfologik web site