Skip to content

elastic/elasticsearch

v1.0.0Apache-2.0

Elastic Search skills for Elasticsearch — translate natural language to ES|QL, design indexes and mappings, ingest and reindex data, tune search relevance, optimize queries, detect anomalies, and check cluster health.

elasticsearch-query-optimization

Diagnose slow Elasticsearch Query DSL searches and propose measured fixes. Use when a search is slow, profile output shows an expensive clause, exact-match filters sit in scoring context, or leading wildcards dominate latency. Ground every recommendation in search profiling — move non-scoring clauses to filter context, eliminate leading wildcards, and re-profile to confirm improvement.

Version
0.1.0
Compatibility
Elasticsearch 8.x or 9.x, self-managed, Elastic Cloud Hosted, or Elastic Cloud Serverless; relies on the search profiling API available on all deployment types. Requires the `elastic` CLI ≥ 0.2 with `stack es` support.
Read SKILL.md at the source

Pinned to revision 7f467b547325, so it is the text this page describes rather than whatever the author pushed since.

Files

Every link opens the file at its source, pinned to the revision this page describes.