Class SynonymGraphTokenFilter.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch._types.analysis.TokenFilterBase.AbstractBuilder<SynonymGraphTokenFilter.Builder>
org.opensearch.client.opensearch._types.analysis.SynonymGraphTokenFilter.Builder
- All Implemented Interfaces:
CopyableBuilder<SynonymGraphTokenFilter.Builder,,SynonymGraphTokenFilter> MutableBuilder<SynonymGraphTokenFilter.Builder,,SynonymGraphTokenFilter> ObjectBuilder<SynonymGraphTokenFilter>
- Enclosing class:
SynonymGraphTokenFilter
public static class SynonymGraphTokenFilter.Builder
extends TokenFilterBase.AbstractBuilder<SynonymGraphTokenFilter.Builder>
implements CopyableBuilder<SynonymGraphTokenFilter.Builder,SynonymGraphTokenFilter>
Builder for
SynonymGraphTokenFilter.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSynonymGraphTokenFilter.copy()Create a new builderCopyableBuilderthat is a copy of this one.API name:expandformat(SynonymFormat value) API name:formatAPI name:lenientprotected SynonymGraphTokenFilter.Builderself()API name:synonymsAPI name:synonymssynonymsPath(String value) API name:synonyms_pathAPI name:tokenizerupdateable(Boolean value) API name:updateableMethods 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<SynonymGraphTokenFilter.Builder,SynonymGraphTokenFilter> - Returns:
- a new builder instance.
-
self
- Specified by:
selfin classTokenFilterBase.AbstractBuilder<SynonymGraphTokenFilter.Builder>
-
expand
API name:expand -
format
API name:format -
lenient
API name:lenient -
synonyms
API name:synonymsAdds all elements of
listtosynonyms. -
synonyms
API name:synonymsAdds one or more values to
synonyms. -
synonymsPath
API name:synonyms_path -
tokenizer
API name:tokenizer -
updateable
API name:updateable -
build
Builds aSynonymGraphTokenFilter.- Specified by:
buildin interfaceObjectBuilder<SynonymGraphTokenFilter>- Throws:
NullPointerException- if some of the required fields are null.
-