You are looking at preliminary documentation for a future release.
Not what you want? See the
current release documentation.
Delete APIedit
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" }