C# Class org.apache.lucene.analysis.ngram.NGramFilterFactory

Factory for NGramTokenFilter.
 <fieldType name="text_ngrm" class="solr.TextField" positionIncrementGap="100"> <analyzer> <tokenizer class="solr.WhitespaceTokenizerFactory"/> <filter class="solr.NGramFilterFactory" minGramSize="1" maxGramSize="2"/> </analyzer> </fieldType>
Inheritance: Lucene.Net.Analysis.Util.TokenFilterFactory
Mostrar archivo Open project: paulirwin/lucene.net

Public Methods

Method Description
NGramFilterFactory ( string>.IDictionary args ) : System.Collections.Generic

Creates a new NGramFilterFactory

create ( TokenStream input ) : NGramTokenFilter

Method Details

NGramFilterFactory() public method

Creates a new NGramFilterFactory
public NGramFilterFactory ( string>.IDictionary args ) : System.Collections.Generic
args string>.IDictionary
return System.Collections.Generic

create() public method

public create ( TokenStream input ) : NGramTokenFilter
input TokenStream
return NGramTokenFilter