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