[[docs]]
= Document APIs

[partintro]
--

This section starts with a short introduction to Elasticsearch's <<docs-replication,data replication model>>, followed by a
detailed description of the following CRUD APIs:

.Single document APIs
* <<docs-index_>>
* <<docs-get>>
* <<docs-delete>>
* <<docs-update>>

.Multi-document APIs
* <<docs-multi-get>>
* <<docs-bulk>>
* <<docs-delete-by-query>>
* <<docs-update-by-query>>
* <<docs-reindex>>

NOTE: All CRUD APIs are single-index APIs. The `index` parameter accepts a single
index name, or an `alias` which points to a single index.

--

include::docs/data-replication.asciidoc[]

include::docs/index_.asciidoc[]

include::docs/get.asciidoc[]

include::docs/delete.asciidoc[]

include::docs/delete-by-query.asciidoc[]

include::docs/update.asciidoc[]

include::docs/update-by-query.asciidoc[]

include::docs/multi-get.asciidoc[]

include::docs/bulk.asciidoc[]

include::docs/reindex.asciidoc[]

include::docs/termvectors.asciidoc[]

include::docs/multi-termvectors.asciidoc[]

include::docs/refresh.asciidoc[]
