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 Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StandardAnalyzerbuild()Builds aStandardAnalyzer.StandardAnalyzer.BuildermaxTokenLength(java.lang.Integer value)API name:max_token_lengthprotected StandardAnalyzer.Builderself()StandardAnalyzer.Builderstopwords(java.lang.String value, java.lang.String... values)API name:stopwordsStandardAnalyzer.Builderstopwords(java.util.List<java.lang.String> list)API name:stopwordsMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxTokenLength
API name:max_token_length -
stopwords
API name:stopwordsAdds all elements of
listtostopwords. -
stopwords
public final StandardAnalyzer.Builder stopwords(java.lang.String value, java.lang.String... values)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:
java.lang.NullPointerException- if some of the required fields are null.
-