org.apache.lucene.analysis.miscellaneous

Class CodepointCountFilterFactory



  • public class CodepointCountFilterFactory
    extends TokenFilterFactory
    Factory for CodepointCountFilter.
     <fieldType name="text_lngth" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.WhitespaceTokenizerFactory"/>
         <filter class="solr.CodepointCountFilterFactory" min="0" max="1" />
       </analyzer>
     </fieldType>