import { Client } from "https://deno.land/x/deno_es@v0.4.3/mod.ts";
The reindex API extracts the document source from the source index and indexes the documents into the destination index. You can copy all documents to the destination index, reindex a subset of the documents or update the source before to reindex it.