Class PatternCaptureGroupFilterFactory


  • public class PatternCaptureGroupFilterFactory
    extends TokenFilterFactory
    Factory for PatternCaptureGroupTokenFilter.
     <fieldType name="text_ptncapturegroup" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.KeywordTokenizerFactory"/>
         <filter class="solr.PatternCaptureGroupFilterFactory" pattern="([^a-z])" preserve_original="true"/>
       </analyzer>
     </fieldType>
    Since:
    4.4.0
    See Also:
    PatternCaptureGroupTokenFilter
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "patternCaptureGroup"