---
title: "Elasticsearch Index Mapping Design: review, setup & limitations · Undominated.ai"
canonical: https://undominated.ai/skills/elastic-elasticsearch-index-design/
description: "Design index field types and storage settings from concrete access patterns."
---

# Elasticsearch Index Mapping Design: review, setup & limitations · Undominated.ai

> Design index field types and storage settings from concrete access patterns.

[← Explore all skills](/skills/)

SEARCH AND RETRIEVAL / elastic

# Elasticsearch Index Mapping Design

Design index field types and storage settings from concrete access patterns.

 [See setup guidance ↓](#setup)[Original source ↗](https://github.com/elastic/agent-skills/tree/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-index-design)

SOURCE REVIEW

 Reviewed 2026-10-15
 Evidence 4 linked sources
 Publisher elastic
 Licence [Apache-2.0 ↗](https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/LICENSE)
 Revision baa511126ba2
 [Read what was—and wasn’t—checked ↓](#review)

“Design and review Elasticsearch index mappings for stated access patterns: correct field types, text+keyword multi-fields, doc_values tuning, mapping-explosion avoidance, and explicit shard settings. Use when creating a new index, reviewing a mapping for storage or query performance, fixing wrong field types, or when the user asks which type to use for search, filter, sort, or aggregation on a field.”

 [elastic · upstream description ↗](https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-index-design/SKILL.md) Our analysis follows below.

01 / THE REASONING

## Why this made the selection.

 - The workflow separates full-text, exact-match and retrieve-only fields and calls out flattened fields as an alternative to unbounded dynamic mappings.
- Review text-plus-keyword fields and free-form objects before a catalogue index migration.

### A good fit for

 - Review text-plus-keyword fields and free-form objects before a catalogue index migration.
- List each field’s search, filter, aggregation, sorting and retrieval uses before selecting a mapping.

### Weigh up before choosing

 - Changing existing field types requires a new index/reindex strategy; Serverless manages shard and replica settings. Type choices need actual precision and retention requirements.
- Source inspection only; no installation, authenticated operation, runtime benchmark or security certification was performed.

02 / THE REVIEW RECORD

## What we actually inspected.

Source review has boundaries. A clear record is more useful than a “safe” badge.

### Material inspected

 - skills/elasticsearch/elasticsearch-index-design/SKILL.md
- LICENSE
- README.md

### Our findings

 - The workflow separates full-text, exact-match and retrieve-only fields and calls out flattened fields as an alternative to unbounded dynamic mappings.

### Not established by this review

 - Third-party instructions and helpers were not executed; service access, host compatibility and outcomes remain untested.
- Not executed: it was not installed or run.

The review applies to the material and revision named here. A newer upstream release can change its behavior.

03 / PUT IT TO WORK

## Add a skill to your workflow.

[Upstream setup instructions ↗](https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/README.md)

DOCUMENTED COMMAND

 npx skills add elastic/agent-skills/skills/elasticsearch/elasticsearch-index-design Copy command ↗

Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.

 Optional: install the reviewed revision

Keeps the original source and installer version where recorded, while leaving your AI tools and installation scope for you to choose.

 npx skills add https://github.com/elastic/agent-skills/tree/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-index-design Copy reviewed-revision command ↗ - Install the pinned directory interactively and retain its referenced files; inspect the source before granting tool access.
- List search/filter/aggregate/sort/retrieve use per field, inspect current mappings, then prepare explicit mappings and a migration plan.

### Before you start

 - Configured elastic CLI with stack es support, compatible Elasticsearch deployment and scoped credentials

### Compatibility

Agents supporting directory-based SKILL.md instructions

### Local instructions with workflow-dependent access

 - Reads mappings and can create indexes or change settings; reindexing writes documents and requires capacity.

### Cost model

Skill source is freely available under its stated licence; host, infrastructure and service usage may incur charges.

04 / FOLLOW THE EVIDENCE

## The source trail.

Our notes are separate from the original resource. Check upstream before adopting a new version.

 - [Pinned skills/elasticsearch/elasticsearch-index-design/SKILL.md ↗](https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-index-design/SKILL.md) Checked 2026-10-14 https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-index-design/SKILL.md Supports: summary, review, install, access, limitations
- [Pinned LICENSE ↗](https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/LICENSE) Checked 2026-10-14 https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/LICENSE Supports: license
- [Pinned README.md ↗](https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/README.md) Checked 2026-10-14 https://github.com/elastic/agent-skills/blob/baa511126ba2dc37b52e273b52734f8e4e0d323c/README.md Supports: summary, review, install, access, limitations
- [2026-10-15 C2-W33 source re-review at the existing pin ↗](https://raw.githubusercontent.com/elastic/agent-skills/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-index-design/SKILL.md) Checked 2026-10-15 https://raw.githubusercontent.com/elastic/agent-skills/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-index-design/SKILL.md Supports: upstreamDescription, review.notTested, review.reviewedAt, bestFor

KEEP COMPARING

## Other approaches to consider.

Related by category or shared topics. These are alternatives to inspect, not a measured quality order.

 [### Elasticsearch Query DSL Optimization ↗ Use query profiles and mappings to investigate slow Elasticsearch searches.](/skills/elastic-elasticsearch-query-optimization/)[### Elasticsearch Search Relevance ↗ Choose deterministic query rules or organic ranking changes from mappings and example searches.](/skills/elastic-elasticsearch-search-relevance/)[### Redis Search and Retrieval ↗ Design lexical, filtered and vector retrieval with Redis Search indexes.](/skills/redis-redis-search/)

 [AI Tools ↗](/tools/)[Skills ↗](/skills/)[Agents ↗](/agents/)[MCP Servers ↗](/mcp-servers/)[Workflows ↗](/workflows/)

## Continue your investigation

 - [Choose a toolkit](/tools/)
- [Inspect execution hosts](/agents/)
- [Check tool access](/mcp-servers/)
- [Check project dependencies](/check-repo/)
