Delete every document matching a query
One step with Elastic. We can help you get access.
Get something done
Delete every document matching a query
with Elastic
Use Elastic: its Elasticsearch Document API lets you delete every document matching a query in a single step (POST /{index}/_delete_by_query). capabilities.work can help you get signed up and connected.
- How do I delete all documents older than a date from an index?
- Can a delete by query keep going when it hits version conflicts?
- Is there a way to cap how many documents a delete by query removes?
Say it to your AI assistant
- Delete all documents in {index} that match this query.
- Delete matching docs in {index}, proceeding on conflicts set to {conflicts}.
- Delete at most {max_docs} matching documents from {index}.
For your developer
POST /{index}/_delete_by_query in Elasticsearch Document API. Full spec on APIs.io.