"Fossies" - the Fresh Open Source Software Archive

Member "elasticsearch-6.8.23/docs/groovy-api/delete.asciidoc" (29 Dec 2021, 341 Bytes) of package /linux/www/elasticsearch-6.8.23-src.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format (assuming AsciiDoc format). Alternatively you can here view or download the uninterpreted source code file. A member file download can also be achieved by clicking within a package contents listing on the according byte size field.

Delete API

The delete API is very similar to the Java delete API, here is an example:

def deleteF = node.client.delete {
    index "test"
    type "_doc"
    id "1"