Lightlines
By elastic

elasticsearch-index-design

elastic836 installs

Elasticsearch mappings that fit your queries.

What it does

Designs and corrects Elasticsearch index mappings to match how fields are searched, filtered, sorted, and aggregated.

When to use it

Use when creating an index, reviewing mapping performance or storage, correcting field types, or choosing types for field operations.

How to use it

Give it the fields' access patterns; it creates a corrected index, copies existing documents when needed, and validates the result before cutover.

What you provide

  • how each field is queried

Uses

Latest review

What you need · 2

Requires Elasticsearch 8.x or 9.x, self-managed, Elastic Cloud Hosted, or Elastic Cloud Serverless; explicit shard and replica settings do not apply on Serverless.

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


Access · 1

This skill

Elasticsearch

Execute

Starts background reindex tasks

Write

Creates indices and copies documents