elasticsearch
Installation
SKILL.md
When to use this skill
Use this skill whenever the user wants to:
- Design index mappings with analyzers and field types
- Write search queries (match, term, bool, multi_match, nested, aggregations)
- Index, update, or bulk-load documents via the REST API
- Manage clusters (shards, replicas, snapshots, upgrades)
- Integrate Elasticsearch with Kibana or Logstash (ELK stack)
How to use this skill
Workflow
- Design the mapping - Define field types, analyzers, and index settings
- Index documents - Use PUT/POST or bulk API
- Write queries - Use Query DSL with filters for caching
- Monitor and tune - Check cluster health, slow logs, and shard balance