elasticsearch

Guide Elasticsearch index design, query DSL, and lifecycle management.

Updated Mar 12, 2026
One-click install
npx skills add https://github.com/mefardales/skillbox --skill elasticsearch-mefardales
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elasticsearch
Source: https://github.com/mefardales/skillbox/tree/main/skills/data/elasticsearch
Command: npx skills add https://github.com/mefardales/skillbox --skill elasticsearch-mefardales

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides best practices for designing, querying, and managing Elasticsearch to ensure efficient search, analytics, and log management.

Core Features & Use Cases

  • Index Design: Learn to create optimal mappings, use aliases, and manage index lifecycles.
  • Querying: Master the Query DSL for effective searching and filtering.
  • Performance Tuning: Optimize shard sizing, bulk indexing, and search performance.
  • Use Case: When building a new search feature for an e-commerce site, use this Skill to define efficient index mappings and craft powerful search queries that leverage full-text search and aggregations.

Quick Start

Apply the elasticsearch skill to define best practices for index design and querying.

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 for search and analytics?

Design Elasticsearch index mappings by defining optimal field types, leveraging aliases for zero-downtime reindexing, and structuring documents to support efficient full-text search and aggregations.

What is the best way to write Elasticsearch Query DSL for filtering and aggregations?

The best way to write Elasticsearch Query DSL is to combine full-text search queries with filter clauses and aggregations, enabling precise data retrieval and complex analytics dashboards.

How does index lifecycle management work for Elasticsearch log pipelines?

Index lifecycle management automates Elasticsearch log pipelines by rolling over, archiving, and deleting indices based on shard sizing, age, or storage limits to maintain cluster performance.

Can I use Elasticsearch for e-commerce search features with custom analyzers?

Yes, you can use Elasticsearch for e-commerce search features by configuring custom analyzers and tokenizers to handle product catalog searches, synonyms, and relevance tuning effectively.

Why is my Elasticsearch bulk indexing performance slow and how do I tune it?

Elasticsearch bulk indexing performance slows down due to improper shard sizing and mapping; optimize it by tuning batch sizes, adjusting refresh intervals, and monitoring cluster node resources.

When do I need to configure ELK stack patterns for log management?

You need to configure ELK stack patterns for log management when ingesting high-volume machine data, requiring structured parsing, centralized indexing, and real-time analytics dashboards for operational visibility.