org.apache.lucene.analysis.miscellaneous

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>
    See Also:
    TrimFilter