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