Class HunspellStemFilterFactory
TokenFilterFactory that creates instances of HunspellStemFilter. Example config for British English:
<filter class="solr.HunspellStemFilterFactory"
dictionary="en_GB.dic,my_custom.dic"
affix="en_GB.aff"
ignoreCase="false"
longestOnly="false" />
Both parameters dictionary and affix are mandatory. Dictionaries for many languages are available through the OpenOffice project.
See http://wiki.apache.org/solr/Hunspell
This is a Lucene.NET EXPERIMENTAL API, use at your own risk
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Lucene.Net.Analysis.Hunspell
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class HunspellStemFilterFactory : TokenFilterFactory, IResourceLoaderAware
Constructors
| Improve this Doc View SourceHunspellStemFilterFactory(IDictionary<String, String>)
Creates a new HunspellStemFilterFactory
Declaration
public HunspellStemFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IDictionary<System.String, System.String> | args |
Methods
| Improve this Doc View SourceCreate(TokenStream)
Declaration
public override TokenStream Create(TokenStream tokenStream)
Parameters
Type | Name | Description |
---|---|---|
Lucene.Net.Analysis.TokenStream | tokenStream |
Returns
Type | Description |
---|---|
Lucene.Net.Analysis.TokenStream |
Overrides
| Improve this Doc View SourceInform(IResourceLoader)
Declaration
public virtual void Inform(IResourceLoader loader)
Parameters
Type | Name | Description |
---|---|---|
IResourceLoader | loader |