Class SynonymTokenFilterBase.AbstractBuilder<BuilderT extends SynonymTokenFilterBase.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch._types.analysis.SynonymTokenFilterBase.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
SynonymGraphTokenFilter.Builder,SynonymTokenFilter.Builder
- Enclosing class:
- SynonymTokenFilterBase
public abstract static class SynonymTokenFilterBase.AbstractBuilder<BuilderT extends SynonymTokenFilterBase.AbstractBuilder<BuilderT>>
extends TokenFilterBase.AbstractBuilder<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderTExpands definitions for equivalent synonym rules.final BuilderTformat(SynonymFormat value) Sets the synonym rules format.final BuilderTIftrueignores errors while parsing the synonym rules.final BuilderTUsed to define inline synonyms.final BuilderTUsed to define inline synonyms.final BuilderTsynonymsPath(String value) Used to provide a synonym file.final BuilderTsynonymsSet(String value) Provide a synonym set created via Synonyms Management APIs.final BuilderTDeprecated.6.0.0final BuilderTupdateable(Boolean value) Iftrueallows reloading search analyzers to pick up changes to synonym files.Methods inherited from class co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase.AbstractBuilder
self, versionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
expand
Expands definitions for equivalent synonym rules. Defaults totrue.API name:
expand -
format
Sets the synonym rules format.API name:
format -
lenient
Iftrueignores errors while parsing the synonym rules. It is important to note that only those synonym rules which cannot get parsed are ignored. Defaults to the value of theupdateablesetting.API name:
lenient -
synonyms
Used to define inline synonyms.API name:
synonymsAdds all elements of
listtosynonyms. -
synonyms
Used to define inline synonyms.API name:
synonymsAdds one or more values to
synonyms. -
synonymsPath
Used to provide a synonym file. This path must be absolute or relative to theconfiglocation.API name:
synonyms_path -
synonymsSet
Provide a synonym set created via Synonyms Management APIs.API name:
synonyms_set -
tokenizer
Deprecated.6.0.0Controls the tokenizers that will be used to tokenize the synonym, this parameter is for backwards compatibility for indices that created before 6.0.API name:
tokenizer -
updateable
Iftrueallows reloading search analyzers to pick up changes to synonym files. Only to be used for search analyzers. Defaults tofalse.API name:
updateable
-