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