Class ShingleFilterFactory
Factory for ShingleFilter.
<fieldType name="text_shingle" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.ShingleFilterFactory" minShingleSize="2" maxShingleSize="2"
outputUnigrams="true" outputUnigramsIfNoShingles="false" tokenSeparator=" " fillerToken="_"/>
</analyzer>
</fieldType>
Inheritance
System.Object
ShingleFilterFactory
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class ShingleFilterFactory : TokenFilterFactory
Constructors
|
Improve this Doc
View Source
ShingleFilterFactory(IDictionary<String, String>)
Declaration
public ShingleFilterFactory(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