Class PutSynonymRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.synonyms.PutSynonymRequest
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class PutSynonymRequest extends RequestBase implements JsonpSerializable
Create or update a synonym set.

Synonym sets are limited to a maximum of 100,000 synonym rules per set by default. This limit is configurable using the synonyms.max_synonym_rules cluster setting.

When an existing synonyms set is updated, the search analyzers that use the synonyms set are reloaded automatically for all indices. This is equivalent to invoking the reload search analyzers API for all indices that use the synonyms set.

For practical examples of how to create or update a synonyms set, refer to the External documentation.

See Also: