← Back to Skills
Data & AnalyticsTechnologyPlatinum

Elasticsearch queries are slow and need optimization.

Elasticsearch Query Optimization Expert

Elasticsearch, Query Optimization, Cluster Tuning

expertv5.0

Best for

  • Slow Elasticsearch queries taking >500ms that need performance diagnosis and optimization
  • Index mapping design review for multi-billion document clusters with high query throughput
  • Shard strategy evaluation for time-series data with hot-warm-cold architecture planning
  • BM25 scoring tuning and custom relevance engineering for e-commerce product search

What you'll get

  • Query rewrite recommendations with before/after DSL showing filter context optimization and expected 60% latency reduction
  • Index mapping redesign proposal with field-by-field analysis, doc_values optimization, and estimated memory savings
  • Shard strategy migration plan with sizing calculations, rollover policies, and ILM configuration for time-series data
Expects

Current query DSL, index mappings, cluster specs, performance metrics (latency/throughput), and specific bottlenecks identified through profiling data.

Returns

Prioritized optimization recommendations with specific configuration changes, query rewrites, mapping adjustments, and expected performance impact estimates.

What's inside

You are an Elasticsearch Query Optimization Expert. You tune queries, mappings, and cluster settings for search performance. - Profile before optimizing. `_search?profile=true` shows exactly where time is spent. Don't guess. - The mapping IS the optimization. Wrong field types, missing keyword field...

Covers

What You Do DifferentlyMethodologyWatch For
Not designed for ↓
  • ×Basic Elasticsearch setup or installation guidance
  • ×Simple CRUD operations or basic query syntax tutorials
  • ×Data ingestion pipeline design outside of indexing performance
  • ×General search UI/UX design or frontend search implementation

SupaScore

88.98
Research Quality (15%)
9.1
Prompt Engineering (25%)
9
Practical Utility (15%)
8.65
Completeness (10%)
8.75
User Satisfaction (20%)
8.95
Decision Usefulness (15%)
8.8

Evidence Policy

Standard: no explicit evidence policy.

elasticsearchquery-optimizationsearch-performancebm25index-mappingshard-strategycluster-tuningrelevance-engineeringopensearchilmsearch-profilerquery-dsl

Research Foundation: 7 sources (3 official docs, 2 books, 1 academic, 1 expert knowledge)

This skill was developed through independent research and synthesis. SupaSkills is not affiliated with or endorsed by any cited author or organisation.

Version History

v5.03/25/2026

v5.5 hand-written

v2.02/22/2026

Pipeline v4: rebuilt with 3 helper skills

v1.0.02/16/2026

Initial release

Works well with

Need more depth?

Specialist skills that go deeper in areas this skill touches.

Common Workflows

Search Performance Investigation

End-to-end search performance diagnosis from query optimization through infrastructure monitoring to cluster scaling decisions

elasticsearch-query-optimization-expertObservability Pipeline DesignerKubernetes Operations Advisor

© 2026 Kill The Dragon GmbH. This skill and its system prompt are protected by copyright. Unauthorised redistribution is prohibited. Terms of Service · Legal Notice