The Groovy API is no longer actively maintained or supported.
Delete API
editDelete API
editThe delete API is very similar to the Java delete API, here is an example:
def deleteF = node.client.delete { index "test" type "type1" id "1" }
The delete API is very similar to the Java delete API, here is an example:
def deleteF = node.client.delete { index "test" type "type1" id "1" }