Class NumericPayloadTokenFilterFactory


  • public class NumericPayloadTokenFilterFactory
    extends TokenFilterFactory
    Factory for NumericPayloadTokenFilter.
     <fieldType name="text_numpayload" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.NumericPayloadTokenFilterFactory" payload="24" typeMatch="word"/>
       </analyzer>
     </fieldType>
    Since:
    3.1
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "numericPayload"