Class StopAnalyzer.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StopAnalyzer.Builder>
co.elastic.clients.elasticsearch._types.analysis.StopAnalyzer.Builder
- All Implemented Interfaces:
WithJson<StopAnalyzer.Builder>,ObjectBuilder<StopAnalyzer>
- Enclosing class:
- StopAnalyzer
public static class StopAnalyzer.Builder
extends WithJsonObjectBuilderBase<StopAnalyzer.Builder>
implements ObjectBuilder<StopAnalyzer>
Builder for
StopAnalyzer.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aStopAnalyzer.protected StopAnalyzer.Builderself()final StopAnalyzer.BuilderA pre-defined stop words list like_english_or an array containing a list of stop words.final StopAnalyzer.BuilderA pre-defined stop words list like_english_or an array containing a list of stop words.final StopAnalyzer.BuilderstopwordsPath(String value) The path to a file containing stop words.final StopAnalyzer.BuilderDeprecated.7.14.0Methods 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
-
version
Deprecated.7.14.0API name:version -
stopwords
A pre-defined stop words list like_english_or an array containing a list of stop words. Defaults to_none_.API name:
stopwordsAdds all elements of
listtostopwords. -
stopwords
A pre-defined stop words list like_english_or an array containing a list of stop words. Defaults to_none_.API name:
stopwordsAdds one or more values to
stopwords. -
stopwordsPath
The path to a file containing stop words.API name:
stopwords_path -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<StopAnalyzer.Builder>
-
build
Builds aStopAnalyzer.- Specified by:
buildin interfaceObjectBuilder<StopAnalyzer>- Throws:
NullPointerException- if some of the required fields are null.
-