Skip to main content
Version: 0.13.0

Document APIs

Introduced 0.1.0

The document APIs allow you to handle documents relative to your index, such as adding, updating, and deleting documents.

Document APIs are separated into two categories: single document operations and multi-document operations. Multi-document operations offer performance advantages over submitting many individual requests, so whenever practical, we recommend that you use multi-document operations.

Single document operations​

  • Index
  • Content ingest (POST /{index}/_ingest) — JSON metadata plus a raw binary part as multipart/related, for content_extract input_mode: "stream".
  • Get
  • Delete
  • Update

Multi-document operations​

  • Bulk
  • Multi get
  • Delete by query
  • Update by query
  • Reindex