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 HunspellTokenFilter
build()
Builds aHunspellTokenFilter
.HunspellTokenFilter.Builder
dedup(boolean value)
Required - API name:dedup
HunspellTokenFilter.Builder
dictionary(java.lang.String value)
Required - API name:dictionary
HunspellTokenFilter.Builder
locale(java.lang.String value)
Required - API name:locale
HunspellTokenFilter.Builder
longestOnly(boolean value)
Required - API name:longest_only
protected HunspellTokenFilter.Builder
self()
-
Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder
version
-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _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:
self
in classTokenFilterBase.AbstractBuilder<HunspellTokenFilter.Builder>
-
build
public HunspellTokenFilter build()
Builds aHunspellTokenFilter
.- Specified by:
build
in interfaceObjectBuilder<HunspellTokenFilter>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-