Class HunspellStemFilterFactory
Token
<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
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 Hunspell
Declaration
public HunspellStemFilterFactory(IDictionary<string, string> args)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<System. |
args |
Methods
| Improve this Doc View SourceCreate(TokenStream)
Declaration
public override TokenStream Create(TokenStream tokenStream)
Parameters
Type | Name | Description |
---|---|---|
Token |
tokenStream |
Returns
Type | Description |
---|---|
Token |
Overrides
| Improve this Doc View SourceInform(IResourceLoader)
Declaration
public virtual void Inform(IResourceLoader loader)
Parameters
Type | Name | Description |
---|---|---|
IResource |
loader |