Description Usage Arguments Details References Examples
Delete a typed JSON document from a specific index based on its id.
1 2 3 4 5 6 7 |
index |
String The name of the index |
type |
String The type of the document |
id |
String The document ID |
version |
Number Explicit version number for concurrency control |
version_type |
String Specific version type |
routing |
String Specific routing value |
parent |
String ID of parent document |
replication |
String Specific replication type |
refresh |
Logical Refresh the index after performing the operation |
timeout |
Date Explicit operation timeout |
consistency |
String Specific write consistency setting for the operation |
delete
deletes a document from an index based on its id.
http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/docs-delete.html
1 | delete("twitter", "tweet", 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.