org.apache.lucene.analysis.ngram

Class EdgeNGramTokenizerFactory



  • public class EdgeNGramTokenizerFactory
    extends TokenizerFactory
    Creates new instances of EdgeNGramTokenizer.
     <fieldType name="text_edgngrm" class="solr.TextField" positionIncrementGap="100">
       <analyzer>
         <tokenizer class="solr.EdgeNGramTokenizerFactory" minGramSize="1" maxGramSize="1"/>
       </analyzer>
     </fieldType>