Class KeywordMarkerFilterFactory

  • All Implemented Interfaces:
    ResourceLoaderAware

    public class KeywordMarkerFilterFactory
    extends TokenFilterFactory
    implements ResourceLoaderAware
    Factory for KeywordMarkerFilter.
     <fieldType name="text_keyword" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.KeywordMarkerFilterFactory" protected="protectedkeyword.txt" pattern="^.+er$" ignoreCase="false"/>
       </analyzer>
     </fieldType>
    Since:
    3.1.0
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "keywordMarker"