Class TypeTokenFilterFactory

  • All Implemented Interfaces:
    ResourceLoaderAware

    public class TypeTokenFilterFactory
    extends TokenFilterFactory
    implements ResourceLoaderAware
    Factory class for TypeTokenFilter.
     <fieldType name="chars" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.StandardTokenizerFactory"/>
         <filter class="solr.TypeTokenFilterFactory" types="stoptypes.txt"
                       useWhitelist="false"/>
       </analyzer>
     </fieldType>
    Since:
    3.6.0
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "type"