elasticsearch

Design Elasticsearch index mappings, tune queries, and plan safe cluster operations.

3|2|Updated Dec 26, 2025
One-click install
npx skills add https://github.com/muzhicaomingwang/ai-ideas --skill elasticsearch-muzhicaomingwang
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elasticsearch
Source: https://github.com/muzhicaomingwang/ai-ideas/tree/main/.project/ai/DBA/skills/ES
Command: npx skills add https://github.com/muzhicaomingwang/ai-ideas --skill elasticsearch-muzhicaomingwang

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Elasticsearch DBAs face design, tuning, and operational challenges in production clusters.

Core Features & Use Cases

  • Index & mapping design
  • Shard and replica planning
  • Query tuning and profiling
  • Lifecycle management and safe upgrades
  • Cluster operations and monitoring
  • Safe changes and migration planning

Quick Start

Define your ES version and deployment type, then outline index mappings and shard strategy to begin a safe production setup.

Frequently Asked Questions about elasticsearch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design Elasticsearch index mappings and select field types for a production cluster?

Plan shard sizing and replicas by evaluating data volume, query load, and node capacity to prevent hotspots. Proper shard allocation balances cluster stability and indexing throughput.

What is the best way to optimize slow Elasticsearch queries using profiling?

Optimize slow Elasticsearch queries by running profiling to identify bottlenecks, rewriting inefficient DSL, and applying filter caching. Query tuning reduces execution time and cluster resource consumption.

How do I implement Index Lifecycle Management and plan safe Elasticsearch upgrades?

Implement Index Lifecycle Management (ILM) to automate rollovers and deletions, and plan safe upgrades by checking version compatibility. This maintains cluster health during operational changes and migrations.

Can I perform safe reindexing and cluster migrations on self-hosted or managed Elasticsearch deployments?

Yes, safe reindexing and migrations apply to both self-hosted and managed Elasticsearch deployments. Following safety-guided runbooks prevents data loss and minimizes downtime during structural changes.