Lightlines
By elastic

elasticsearch-reindex

elastic811 installs

Move Elasticsearch documents with verified counts.

What it does

Copies Elasticsearch documents into prepared destination indices and verifies the resulting document counts.

When to use it

Use when copying or migrating indices, changing mappings, or transforming documents during reindexing.

How to use it

Give it source and destination index names; it copies the documents in Elasticsearch and reports the verified destination count.

What you provide

  • source index names
  • destination index name

Uses

Good to know

  • cannot be undone: Elasticsearch
  • sends a credential to a server: password; api_key

Latest review

What you need · 4

Requires a reachable Elasticsearch 8.x or 9.x deployment, whether self-managed, Elastic Cloud Hosted, or Elastic Cloud Serverless.

Requires the elastic CLI version 0.2 or newer with stack es support; direct HTTP calls and other workarounds are prohibited.

For remote reindexing with basic authentication, the remote cluster password is supplied with a username in source.remote; an API key is the preferred alternative.


Access · 1

This skill

Elasticsearch

Execute

Starts background Elasticsearch reindex jobs

Write

Copies documents into Elasticsearch (irreversible)