Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno_es/mod.ts>Client#reindex

deno elasticsearch
Go to Latest
method Client.prototype.reindex
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.

Parameters

params: ReIndexParams

Returns

Promise<ReIndexInfo>