Class ArabicAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ArabicAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.ArabicAnalyzer.Builder
- All Implemented Interfaces:
WithJson<ArabicAnalyzer.Builder>,ObjectBuilder<ArabicAnalyzer>
- Enclosing class:
- ArabicAnalyzer
public static class ArabicAnalyzer.Builder
extends WithJsonObjectBuilderBase<ArabicAnalyzer.Builder>
implements ObjectBuilder<ArabicAnalyzer>
Builder for
ArabicAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aArabicAnalyzer.protected ArabicAnalyzer.Builderself()final ArabicAnalyzer.BuilderstemExclusion(String value, String... values) API name:stem_exclusionfinal ArabicAnalyzer.BuilderstemExclusion(List<String> list) API name:stem_exclusionfinal ArabicAnalyzer.BuilderAPI name:stopwordsfinal ArabicAnalyzer.BuilderAPI name:stopwordsfinal ArabicAnalyzer.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<ArabicAnalyzer.Builder>
-
build
Builds aArabicAnalyzer.- Specified by:
buildin interfaceObjectBuilder<ArabicAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-