Class SynonymRule
java.lang.Object
co.elastic.clients.elasticsearch.synonyms.SynonymRule
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<SynonymRule>Json deserializer forSynonymRule -
Method Summary
Modifier and TypeMethodDescriptionfinal Stringid()The identifier for the synonym rule.static SynonymRulevoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringsynonyms()Required - The synonyms that conform the synonym rule in Solr format.toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forSynonymRule
-
-
Method Details
-
of
-
id
The identifier for the synonym rule. If you do not specify a synonym rule ID when you create a rule, an identifier is created automatically by Elasticsearch.API name:
id -
synonyms
Required - The synonyms that conform the synonym rule in Solr format.API name:
synonyms -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSynonymRuleDeserializer
-