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
Note
This API is experimental and might change in incompatible ways in the next release.
Implements
Inherited Members
Namespace: Lucene.Net.Analysis.Hunspell
Assembly: Lucene.Net.Analysis.Common.dll
Syntax
public class HunspellStemFilterFactory : TokenFilterFactory, IResourceLoaderAware
  Constructors
HunspellStemFilterFactory(IDictionary<string, string>)
Creates a new HunspellStemFilterFactory
Declaration
public HunspellStemFilterFactory(IDictionary<string, string> args)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IDictionary<string, string> | args | 
Methods
Create(TokenStream)
Transform the specified input Lucene.Net.Analysis.TokenStream
Declaration
public override TokenStream Create(TokenStream tokenStream)
  Parameters
| Type | Name | Description | 
|---|---|---|
| TokenStream | tokenStream | 
Returns
| Type | Description | 
|---|---|
| TokenStream | 
Overrides
Inform(IResourceLoader)
Initializes this component with the provided IResourceLoader (used for loading types, embedded resources, files, etc).
Declaration
public virtual void Inform(IResourceLoader loader)
  Parameters
| Type | Name | Description | 
|---|---|---|
| IResourceLoader | loader |