Interface IHunspellTokenFilter
Basic support for hunspell stemming.
Hunspell dictionaries will be picked up from a dedicated hunspell directory on the filesystem.
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public interface IHunspellTokenFilter : ITokenFilter
Properties
| Edit this page View SourceDedup
If only unique terms should be returned, this needs to be set to true.
Declaration
[DataMember(Name = "dedup")]
bool? Dedup { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Dictionary
The name of a dictionary.The path to your hunspell dictionaries should be configured via
indices.analysis.hunspell.dictionary.location
before.
Declaration
[DataMember(Name = "dictionary")]
string Dictionary { get; set; }
Property Value
Type | Description |
---|---|
string |
Locale
A locale for this filter. If this is unset, the lang or language are used instead - so one of these has to be set.
Declaration
[DataMember(Name = "locale")]
string Locale { get; set; }
Property Value
Type | Description |
---|---|
string |
LongestOnly
If only the longest term should be returned, set this to true.
Declaration
[DataMember(Name = "longest_only")]
bool? LongestOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |