org.apache.lucene.analysis.miscellaneous

Class WordDelimiterFilterFactory

  • All Implemented Interfaces:
    ResourceLoaderAware


    public class WordDelimiterFilterFactory
    extends TokenFilterFactory
    implements ResourceLoaderAware
    Factory for WordDelimiterFilter.
     <fieldType name="text_wd" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.WordDelimiterFilterFactory" protected="protectedword.txt"
                 preserveOriginal="0" splitOnNumerics="1" splitOnCaseChange="1"
                 catenateWords="0" catenateNumbers="0" catenateAll="0"
                 generateWordParts="1" generateNumberParts="1" stemEnglishPossessive="1"
                 types="wdfftypes.txt" />
       </analyzer>
     </fieldType>