Class StandardAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StandardAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.StandardAnalyzer.Builder
- All Implemented Interfaces:
WithJson<StandardAnalyzer.Builder>,ObjectBuilder<StandardAnalyzer>
- Enclosing class:
- StandardAnalyzer
public static class StandardAnalyzer.Builder
extends WithJsonObjectBuilderBase<StandardAnalyzer.Builder>
implements ObjectBuilder<StandardAnalyzer>
Builder for
StandardAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aStandardAnalyzer.final StandardAnalyzer.BuildermaxTokenLength(Integer value) API name:max_token_lengthprotected StandardAnalyzer.Builderself()final StandardAnalyzer.BuilderAPI name:stopwordsfinal StandardAnalyzer.BuilderAPI name:stopwordsMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxTokenLength
API name:max_token_length -
stopwords
API name:stopwordsAdds all elements of
listtostopwords. -
stopwords
API name:stopwordsAdds one or more values to
stopwords. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<StandardAnalyzer.Builder>
-
build
Builds aStandardAnalyzer.- Specified by:
buildin interfaceObjectBuilder<StandardAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-