mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-05 20:48:22 +00:00
5cff2a046d
and be much more stingy about what we consider a console candidate. * Add `// CONSOLE` to check-running * Fix version in some snippets * Mark groovy snippets as groovy * Fix versions in plugins * Fix language marker errors * Fix language parsing in snippets This adds support for snippets who's language is written like `[source, txt]` and `["source","js",subs="attributes,callouts"]`. This also makes language required for snippets which is nice because then we can be sure we can grep for snippets in a particular language.
17 lines
336 B
Plaintext
17 lines
336 B
Plaintext
[[delete]]
|
|
== Delete API
|
|
|
|
The delete API is very similar to the
|
|
// {java}/java-docs-delete.html[]
|
|
Java delete API, here is an
|
|
example:
|
|
|
|
[source,groovy]
|
|
--------------------------------------------------
|
|
def deleteF = node.client.delete {
|
|
index "test"
|
|
type "type1"
|
|
id "1"
|
|
}
|
|
--------------------------------------------------
|