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>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
[Serializable]
public class SnowballPorterFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
Name | Description |
---|---|
SnowballPorterFilterFactory(IDictionary<String, String>) | Creates a new SnowballPorterFilterFactory |
Fields
Name | Description |
---|---|
PROTECTED_TOKENS |
Methods
Name | Description |
---|---|
Create(TokenStream) | |
Inform(IResourceLoader) |