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 String
id()
The identifier for the synonym rule.static SynonymRule
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
synonyms()
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:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupSynonymRuleDeserializer
-