Class 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
System.Object
NGramFilterFactory
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class NGramFilterFactory : TokenFilterFactory
Constructors
|
Improve this Doc
View Source
NGramFilterFactory(IDictionary<String, String>)
Declaration
public NGramFilterFactory(IDictionary<string, string> args)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
args |
|
Methods
|
Improve this Doc
View Source
Create(TokenStream)
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Returns
Overrides