added docs to the repo
This commit is contained in:
11
docs/_examples/delete.asciidoc
Normal file
11
docs/_examples/delete.asciidoc
Normal file
@ -0,0 +1,11 @@
|
||||
.Delete the document `/myindex/mytype/1`
|
||||
[source,js]
|
||||
---------
|
||||
client.delete({
|
||||
index: 'myindex',
|
||||
type: 'mytype',
|
||||
id: '1'
|
||||
}, function (error, response) {
|
||||
// ...
|
||||
});
|
||||
---------
|
||||
Reference in New Issue
Block a user