mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 14:26:27 +00:00
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
12 lines
436 B
Plaintext
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.
|