Class DeleteSynonymRuleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.synonyms.DeleteSynonymRuleRequest
Delete a synonym rule. Delete a synonym rule from a synonym set.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionEndpoint "synonyms.delete_synonym_rule". -
Method Summary
Modifier and TypeMethodDescriptionstatic DeleteSynonymRuleRequestfinal Booleanrefresh()Iftrue, the request will refresh the analyzers with the deleted synonym rule and wait for the new synonyms to be available before returning.final StringruleId()Required - The ID of the synonym rule to delete.final StringsetId()Required - The ID of the synonym set to update.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteSynonymRuleRequest,DeleteSynonymRuleResponse, _ENDPOINTErrorResponse> Endpoint "synonyms.delete_synonym_rule".
-
-
Method Details
-
of
public static DeleteSynonymRuleRequest of(Function<DeleteSynonymRuleRequest.Builder, ObjectBuilder<DeleteSynonymRuleRequest>> fn) -
refresh
Iftrue, the request will refresh the analyzers with the deleted synonym rule and wait for the new synonyms to be available before returning. Iffalse, analyzers will not be reloaded with the deleted synonym ruleAPI name:
refresh -
ruleId
Required - The ID of the synonym rule to delete.API name:
rule_id -
setId
Required - The ID of the synonym set to update.API name:
set_id
-