Class SerbianAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<SerbianAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.SerbianAnalyzer.Builder
- All Implemented Interfaces:
WithJson<SerbianAnalyzer.Builder>,ObjectBuilder<SerbianAnalyzer>
- Enclosing class:
- SerbianAnalyzer
public static class SerbianAnalyzer.Builder
extends WithJsonObjectBuilderBase<SerbianAnalyzer.Builder>
implements ObjectBuilder<SerbianAnalyzer>
Builder for
SerbianAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aSerbianAnalyzer.protected SerbianAnalyzer.Builderself()final SerbianAnalyzer.BuilderstemExclusion(String value, String... values) API name:stem_exclusionfinal SerbianAnalyzer.BuilderstemExclusion(List<String> list) API name:stem_exclusionfinal SerbianAnalyzer.BuilderAPI name:stopwordsfinal SerbianAnalyzer.BuilderAPI name:stopwordsfinal SerbianAnalyzer.BuilderstopwordsPath(String value) API name:stopwords_pathMethods 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
-
stopwords
API name:stopwordsAdds all elements of
listtostopwords. -
stopwords
API name:stopwordsAdds one or more values to
stopwords. -
stopwordsPath
API name:stopwords_path -
stemExclusion
API name:stem_exclusionAdds all elements of
listtostemExclusion. -
stemExclusion
API name:stem_exclusionAdds one or more values to
stemExclusion. -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<SerbianAnalyzer.Builder>
-
build
Builds aSerbianAnalyzer.- Specified by:
buildin interfaceObjectBuilder<SerbianAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-