- Groovy API:
- Preface
- API Anatomy
- Client
- Index API
- Get API
- Delete API
- Search API
- Count API
The Groovy API is no longer actively maintained or supported.
Delete API
edit
IMPORTANT: This documentation is no longer updated. Refer to Elastic's version policy and the latest documentation.
Delete 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" }
Was this helpful?
Thank you for your feedback.