capabilities.work

Delete all documents matching a query

One step with Elastic Stack. We can help you get access.

Get something done

Delete all documents matching a query

Use Elastic Stack: its Elk Stack Document API lets you delete all documents 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 every document that matches a search, not just one ID?
  • Can I cap how many matching documents a delete-by-query removes?
  • What happens on version conflicts while deleting documents by query?
Say it to your AI assistant
  • Delete all documents in {index} matching query {query}.
  • Delete up to {max_docs} matching documents from {index}, proceeding on conflicts.
  • Run a delete-by-query on {index} for Lucene query {q} in the background.
For your developer

POST /{index}/_delete_by_query in Elk Stack Document API. Full spec on APIs.io.