Files
OpenSearch-Docs-Cn/_api-reference/document-apis/index.md
T

32 lines
765 B
Markdown
Raw Normal View History

2021-07-07 14:26:50 -07:00
---
layout: default
title: Document APIs
has_children: true
2022-10-27 11:50:39 -05:00
nav_order: 25
2021-08-12 14:34:31 -07:00
redirect_from:
2023-05-04 17:03:27 -07:00
- /opensearch/rest-api/document-apis/index/
2021-07-07 14:26:50 -07:00
---
# Document APIs
**Introduced 1.0**
{: .label .label-purple }
2021-07-07 14:26:50 -07:00
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
- Get
- Delete
- Update
## Multi-document operations
- Bulk
- Multi get
- Delete by query
- Update by query
- Reindex