Class TypeAsPayloadTokenFilterFactory


  • public class TypeAsPayloadTokenFilterFactory
    extends TokenFilterFactory
    Factory for TypeAsPayloadTokenFilter.
     <fieldType name="text_typeaspayload" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.TypeAsPayloadTokenFilterFactory"/>
       </analyzer>
     </fieldType>
    Since:
    3.1
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "typeAsPayload"