Added minimal docs for reindex api in java-api docs

Additionally:
* Included the existing update by query java api docs in java-api docs.
  (for some reason it was never included, it needed some tweaking and
  then it was good to go)
* moved delete-by-query / update-by-query code samples to java file so
  that we can verify that these samples at least compile.

Closes #24203
This commit is contained in:
Martijn van Groningen 2018-03-15 20:36:00 +01:00
parent 4897e0034b
commit 069a876542
No known key found for this signature in database
GPG key ID: AB236F4FCF2AF12A
6 changed files with 255 additions and 117 deletions

View file

@ -7,12 +7,14 @@ This section describes the following CRUD APIs:
* <<java-docs-index>>
* <<java-docs-get>>
* <<java-docs-delete>>
* <<java-docs-delete-by-query>>
* <<java-docs-update>>
.Multi-document APIs
* <<java-docs-multi-get>>
* <<java-docs-bulk>>
* <<java-docs-reindex>>
* <<java-docs-update-by-query>>
* <<java-docs-delete-by-query>>
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.
@ -28,3 +30,7 @@ include::docs/update.asciidoc[]
include::docs/multi-get.asciidoc[]
include::docs/bulk.asciidoc[]
include::docs/update-by-query.asciidoc[]
include::docs/reindex.asciidoc[]