Class HunspellTokenFilter.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder<HunspellTokenFilter.Builder>
-
- org.opensearch.client.opensearch._types.analysis.HunspellTokenFilter.Builder
-
- All Implemented Interfaces:
ObjectBuilder<HunspellTokenFilter>
- Enclosing class:
- HunspellTokenFilter
public static class HunspellTokenFilter.Builder extends TokenFilterBase.AbstractBuilder<HunspellTokenFilter.Builder> implements ObjectBuilder<HunspellTokenFilter>
Builder forHunspellTokenFilter.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HunspellTokenFilterbuild()Builds aHunspellTokenFilter.HunspellTokenFilter.Builderdedup(boolean value)Required - API name:dedupHunspellTokenFilter.Builderdictionary(java.lang.String value)Required - API name:dictionaryHunspellTokenFilter.Builderlocale(java.lang.String value)Required - API name:localeHunspellTokenFilter.BuilderlongestOnly(boolean value)Required - API name:longest_onlyprotected HunspellTokenFilter.Builderself()-
Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder
version
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
dedup
public final HunspellTokenFilter.Builder dedup(boolean value)
Required - API name:dedup
-
dictionary
public final HunspellTokenFilter.Builder dictionary(java.lang.String value)
Required - API name:dictionary
-
locale
public final HunspellTokenFilter.Builder locale(java.lang.String value)
Required - API name:locale
-
longestOnly
public final HunspellTokenFilter.Builder longestOnly(boolean value)
Required - API name:longest_only
-
self
protected HunspellTokenFilter.Builder self()
- Specified by:
selfin classTokenFilterBase.AbstractBuilder<HunspellTokenFilter.Builder>
-
build
public HunspellTokenFilter build()
Builds aHunspellTokenFilter.- Specified by:
buildin interfaceObjectBuilder<HunspellTokenFilter>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-