elasticsearch

Design Elasticsearch mappings, queries, and cluster optimizations.

4|1|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/aegntic/clawreform --skill elasticsearch-aegntic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elasticsearch
Source: https://github.com/aegntic/clawreform/tree/main/crates/clawreform-skills/bundled/elasticsearch
Command: npx skills add https://github.com/aegntic/clawreform --skill elasticsearch-aegntic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides expert guidance for managing, querying, and optimizing Elasticsearch clusters, enabling efficient search experiences and robust data analytics pipelines.

Core Features & Use Cases

  • Querying & Aggregations: Construct complex queries and build powerful aggregations for data analysis.
  • Index Management: Design mappings, manage index lifecycle policies (ILM), and perform reindexing.
  • Cluster Operations: Monitor cluster health, diagnose shard allocation issues, and tune performance.
  • Use Case: Optimize a large e-commerce product catalog search by designing explicit mappings, implementing efficient search-as-you-type queries, and tuning aggregations for faceted navigation.

Quick Start

Use the elasticsearch skill to create a new index with the name 'my-logs' and a simple mapping for timestamp and message fields.

Frequently Asked Questions about elasticsearch

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

FAQPage Schema
How do I design Elasticsearch mappings to optimize search and analytics pipelines?

To optimize Elasticsearch mappings, you must explicitly define schemas by distinguishing keyword versus text fields to ensure exact filtering or full-text search, which guarantees efficient aggregations and query performance for your data pipelines.

What is the best way to perform zero-downtime reindexing in an Elasticsearch cluster?

The best way to perform zero-downtime reindexing in an Elasticsearch cluster is to use index aliases, allowing you to swap the underlying physical index without changing the application's query targets or interrupting search operations.

How do I build search-as-you-type queries for an e-commerce catalog?

You build search-as-you-type queries for an e-commerce catalog by utilizing the Elasticsearch query DSL to construct complex searches and tuning aggregations to support faceted navigation across large product datasets.

How do I diagnose and fix shard allocation issues in Elasticsearch cluster management?

To diagnose and fix shard allocation issues in Elasticsearch cluster management, monitor cluster health metrics and use built-in allocation APIs to identify unassigned shards, rebalance data, and tune performance parameters for stability.

When should I use index lifecycle management policies for time-series data platforms?

You should use index lifecycle management (ILM) policies for time-series data platforms when you need to automatically roll over, manage, and delete aging indices to control storage costs and maintain cluster performance.