Class SnowballPorterFilterFactory
Factory for SnowballFilter, with configurable language
Note: Use of the "Lovins" stemmer is not recommended, as it is implemented with reflection.
<fieldType name="text_snowballstem" class="solr.TextField" positionIncrementGap="100">
<analyzer>
<tokenizer class="solr.StandardTokenizerFactory"/>
<filter class="solr.LowerCaseFilterFactory"/>
<filter class="solr.SnowballPorterFilterFactory" protected="protectedkeyword.txt" language="English"/>
</analyzer>
</fieldType>
Inheritance
System.Object
SnowballPorterFilterFactory
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class SnowballPorterFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
|
Improve this Doc
View Source
SnowballPorterFilterFactory(IDictionary<String, String>)
Declaration
public SnowballPorterFilterFactory(IDictionary<string, string> args)
Parameters
Type |
Name |
Description |
IDictionary<System.String, System.String> |
args |
|
Fields
|
Improve this Doc
View Source
PROTECTED_TOKENS
Declaration
public const string PROTECTED_TOKENS = null
Field Value
Type |
Description |
System.String |
|
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