Class SynonymTokenFilterBase
java.lang.Object
co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase
co.elastic.clients.elasticsearch._types.analysis.SynonymTokenFilterBase
- All Implemented Interfaces:
JsonpSerializable
- Direct Known Subclasses:
SynonymGraphTokenFilter,SynonymTokenFilter
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classSynonymTokenFilterBase.AbstractBuilder<BuilderT extends SynonymTokenFilterBase.AbstractBuilder<BuilderT>> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionfinal Booleanexpand()Expands definitions for equivalent synonym rules.final SynonymFormatformat()Sets the synonym rules format.final Booleanlenient()Iftrueignores errors while parsing the synonym rules.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static <BuilderT extends SynonymTokenFilterBase.AbstractBuilder<BuilderT>>
voidsetupSynonymTokenFilterBaseDeserializer(ObjectDeserializer<BuilderT> op) synonyms()Used to define inline synonyms.final StringUsed to provide a synonym file.final StringProvide a synonym set created via Synonyms Management APIs.final StringDeprecated.6.0.0final BooleanIftrueallows reloading search analyzers to pick up changes to synonym files.Methods inherited from class co.elastic.clients.elasticsearch._types.analysis.TokenFilterBase
serialize, setupTokenFilterBaseDeserializer, toString, version
-
Constructor Details
-
SynonymTokenFilterBase
-
-
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:
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 -
serializeInternal
- Overrides:
serializeInternalin classTokenFilterBase
-
setupSynonymTokenFilterBaseDeserializer
protected static <BuilderT extends SynonymTokenFilterBase.AbstractBuilder<BuilderT>> void setupSynonymTokenFilterBaseDeserializer(ObjectDeserializer<BuilderT> op)
-