2013-08-28 19:24:34 -04:00
|
|
|
[[delete]]
|
|
|
|
== Delete API
|
|
|
|
|
|
|
|
The delete API is very similar to the
|
2017-02-04 05:42:45 -05:00
|
|
|
// {javaclient}/java-docs-delete.html[]
|
2015-10-22 18:00:35 -04:00
|
|
|
Java delete API, here is an
|
2013-08-28 19:24:34 -04:00
|
|
|
example:
|
|
|
|
|
2016-08-29 17:33:25 -04:00
|
|
|
[source,groovy]
|
2013-08-28 19:24:34 -04:00
|
|
|
--------------------------------------------------
|
|
|
|
def deleteF = node.client.delete {
|
|
|
|
index "test"
|
|
|
|
type "type1"
|
|
|
|
id "1"
|
|
|
|
}
|
|
|
|
--------------------------------------------------
|