mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
f854330e06
* Replace custom type names with _doc in REST examples. * Avoid using two mapping types in the percolator docs. * Rename doc -> _doc in the main repository README. * Also replace some custom type names in the HLRC docs.
17 lines
341 B
Plaintext
17 lines
341 B
Plaintext
[[delete]]
|
|
== Delete API
|
|
|
|
The delete API is very similar to the
|
|
// {javaclient}/java-docs-delete.html[]
|
|
Java delete API, here is an
|
|
example:
|
|
|
|
[source,groovy]
|
|
--------------------------------------------------
|
|
def deleteF = node.client.delete {
|
|
index "test"
|
|
type "_doc"
|
|
id "1"
|
|
}
|
|
--------------------------------------------------
|