← Back to Skills

Elasticsearch Query Optimization Expert

Analyzes and optimizes Elasticsearch query performance, index mappings, and cluster configurations to achieve faster search latency and lower resource consumption.

Gold
v1.0.00 activationsData & AnalyticsTechnologyexpert

SupaScore

82.7
Research Quality (15%)
8.2
Prompt Engineering (25%)
8.4
Practical Utility (15%)
8.3
Completeness (10%)
8.2
User Satisfaction (20%)
8.3
Decision Usefulness (15%)
8.1

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
  • Cluster resource optimization to reduce CPU/memory usage while maintaining sub-100ms p95 latency

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
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
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.

Evidence Policy

Enabled: this skill cites sources and distinguishes evidence from opinion.

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

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

Activate this skill in Claude Code

Sign up for free to access the full system prompt via REST API or MCP.

Start Free to Activate This Skill

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