Class TrimFilterFactory


  • public class TrimFilterFactory
    extends TokenFilterFactory
    Factory for TrimFilter.
     <fieldType name="text_trm" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.NGramTokenizerFactory"/>
         <filter class="solr.TrimFilterFactory" />
       </analyzer>
     </fieldType>
    Since:
    3.1
    See Also:
    TrimFilter
    SPI Name (case-insensitive: if the name is 'htmlStrip', 'htmlstrip' can be used when looking up the service).
    "trim"