Class MappingCharFilterFactory

  • All Implemented Interfaces:
    ResourceLoaderAware

    public class MappingCharFilterFactory
    extends CharFilterFactory
    implements ResourceLoaderAware
    Factory for MappingCharFilter.
     <fieldType name="text_map" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <charFilter class="solr.MappingCharFilterFactory" mapping="mapping.txt"/>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
       </analyzer>
     </fieldType>
    Since:
    Solr 1.4
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "mapping"