Class HunspellTokenFilter
Inherited Members
Namespace: OpenSearch.Client
Assembly: OpenSearch.Client.dll
Syntax
public class HunspellTokenFilter : TokenFilterBase, IHunspellTokenFilter, ITokenFilter
Constructors
| Edit this page View SourceHunspellTokenFilter()
Declaration
public HunspellTokenFilter()
Properties
| Edit this page View SourceDedup
If only unique terms should be returned, this needs to be set to true.
Declaration
public 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
public 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
public string Locale { get; set; }
Property Value
Type | Description |
---|---|
string |
LongestOnly
If only the longest term should be returned, set this to true.
Declaration
public bool? LongestOnly { get; set; }
Property Value
Type | Description |
---|---|
bool? |