Zum Inhalt springen
Kitbay
SkillOffiziellTechnical Preview

elasticsearch-query-optimization

Apache-2.0Aktualisiert am 10. Nov. 2026605GitHub-Sterne

Elastic's skill for speeding up slow Query DSL searches in Elasticsearch based on measurement rather than guesswork.

Was der Skill vermittelt

Elastic's skill for speeding up slow Query DSL searches in Elasticsearch based on measurement rather than guesswork. The agent runs the query with profiling turned on, finds the clause that costs the most, rewrites the query to remove that cost while keeping the same matches, for example by moving exact-match clauses into filter context or removing leading wildcards, and profiles again to show the change. It works on self-managed, Cloud Hosted and Serverless deployments through Elastic's elastic command-line tool.

Funktionen

  • Profile a slow Elasticsearch search
  • Find the most expensive query clause
  • Move non-scoring clauses into filter context
  • Re-measure a rewritten query