Class NGramTokenizerFactory


  • public class NGramTokenizerFactory
    extends TokenizerFactory
    Factory for NGramTokenizer.
     <fieldType name="text_ngrm" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.NGramTokenizerFactory" minGramSize="1" maxGramSize="2"/>
       </analyzer>
     </fieldType>