Class WordDelimiterFilterFactory

  • All Implemented Interfaces:
    ResourceLoaderAware

    @Deprecated
    public class WordDelimiterFilterFactory
    extends TokenFilterFactory
    implements ResourceLoaderAware
    Deprecated.
    Use WordDelimiterGraphFilterFactory instead: it produces a correct token graph so that e.g. PhraseQuery works correctly when it's used in the search time analyzer.
    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>
    Since:
    3.1
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "wordDelimiter"