OpenSearch/docs/java-api/docs/reindex.asciidoc
Martijn van Groningen 069a876542
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
2018-03-16 07:42:48 +01:00

12 lines
436 B
Plaintext

[[java-docs-reindex]]
=== Reindex API
See {ref}/docs-reindex.html[reindex API].
["source","java",subs="attributes,callouts,macros"]
--------------------------------------------------
include-tagged::{client-reindex-tests}/ReindexDocumentationIT.java[reindex1]
--------------------------------------------------
<1> Optionally a query can provided to filter what documents should be
re-indexed from the source to the target index.