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:
CopyableBuilder<HunspellTokenFilter.Builder,,HunspellTokenFilter> MutableBuilder<HunspellTokenFilter.Builder,,HunspellTokenFilter> ObjectBuilder<HunspellTokenFilter>
- Enclosing class:
HunspellTokenFilter
public static class HunspellTokenFilter.Builder
extends TokenFilterBase.AbstractBuilder<HunspellTokenFilter.Builder>
implements CopyableBuilder<HunspellTokenFilter.Builder,HunspellTokenFilter>
Builder for
HunspellTokenFilter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aHunspellTokenFilter.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:dedupdictionary(String value) API name:dictionaryRequired - API name:localelongestOnly(Boolean value) API name:longest_onlyprotected HunspellTokenFilter.Builderself()Methods inherited from class org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder
versionMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<HunspellTokenFilter.Builder,HunspellTokenFilter> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classTokenFilterBase.AbstractBuilder<HunspellTokenFilter.Builder>
-
dedup
API name:dedup -
dictionary
API name:dictionary -
locale
Required - API name:locale -
longestOnly
API name:longest_only -
build
Builds aHunspellTokenFilter.- Specified by:
buildin interfaceObjectBuilder<HunspellTokenFilter>- Throws:
NullPointerException- if some of the required fields are null.
-