Search
Searches the index and deletes all matched documents
post/es/{index}/_delete_by_query
Path parameters
indexstring required
Index
Request body
Response
OK
Example response
{
"batches": 0,
"retries": {
"search": 2,
"bulk": 5
},
"throttled_millis": 7,
"took": 3,
"total": 2,
"deleted": 6,
"failures": [
"failures",
"failures"
],
"noops": 1,
"requests_per_second": 5,
"version_conflicts": 4,
"throttled_until_millis": 9,
"time_out": true
}Changes
Changed in 2 of the 3 revisions of this API.11
- ○
endpoint added
endpoint-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲