Class CommonGramsFilterFactory
Constructs a CommonGramsFilter.
<fieldType name="text_cmmngrms" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.WhitespaceTokenizerFactory"/>
<filter class="solr.CommonGramsFilterFactory" words="commongramsstopwords.txt" ignoreCase="false"/>
</analyzer>
</fieldType>
Inheritance
System.Object
CommonGramsFilterFactory
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class CommonGramsFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
|
Improve this Doc
View Source
CommonGramsFilterFactory(IDictionary<String, String>)
Declaration
public CommonGramsFilterFactory(IDictionary<string, string> args)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
args |
|
Properties
|
Improve this Doc
View Source
CommonWords
Declaration
public virtual CharArraySet CommonWords { get; }
Property Value
|
Improve this Doc
View Source
IgnoreCase
Declaration
public virtual bool IgnoreCase { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Create(TokenStream)
Declaration
public override TokenStream Create(TokenStream input)
Parameters
Returns
Overrides
|
Improve this Doc
View Source
Declaration
public virtual void Inform(IResourceLoader loader)
Parameters
Implements