Elasticsearch Search Relevance

by elasticbaa511126ba2No license592 starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated yesterday

Improve Elasticsearch search relevance for content and catalog indices: pin or promote results with query rules (correct rule type, criteria, and rule-query wiring) and tune organic ranking with multi_match, field boosts, and analysis grounded in the index mapping. Use when search results rank poorly, a specific document must appear first for a query, or the user asks to tune full-text matching — not for ES|QL analytics, index ingest, or cluster health.

Instructions only

Add to a SourceWeft workspace

  1. Open the skill in your dashboard and add it to a workspace.
  2. Enable it for the chats that should use it.

This skill is instructions only: it ships no scripts to execute.

Add to SourceWeft

You will be asked to sign in first, then taken straight to this skill.

Ask your agent to install it

Paste this prompt into Claude Code, Codex, Cursor or another agent that can run commands — or into SourceWeft chat. The agent reads this skill's install guide, shows you its source, license and scripts, and installs it with the SourceWeft CLI once you agree.

Read https://sourceweft.com/skills/gh-elastic-agent-skills-elasticsearch-search-relevance/install.md and install the skill it describes. Before installing, show me its source, license and whether it ships scripts, and wait for my OK. Ask me before changing anything else on my machine.

Read the install guide the agent follows

Install it yourself from a terminal

For Claude Code, Codex, Cursor and other local agents. The SourceWeft CLI fetches the skill from its source repository at the commit scanned here, and verifies every file against the hashes recorded when the skill was scanned. If anything differs, nothing is written.

npx @sourceweft/cli skills install gh-elastic-agent-skills-elasticsearch-search-relevance

Add --agent claude-code, codex, cursor or universal to choose which agent gets it (Claude Code by default).

Upstream installer — not verified by SourceWeft

The open-source skills installer fetches the same pinned commit, but does not check the files against the hashes SourceWeft recorded.

npx skills add https://github.com/elastic/agent-skills/tree/baa511126ba2dc37b52e273b52734f8e4e0d323c/skills/elasticsearch/elasticsearch-search-relevance

Source and attribution

Source:elastic/agent-skillsinskills/elasticsearch/elasticsearch-search-relevanceat commitbaa5111

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal

More from elastic/agent-skills

Elasticsearch Query Optimization

elastic

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.

Awaiting classification592updated yesterday

Elasticsearch Ingest

elastic

Load CSV and JSON files into Elasticsearch indices using the bulk API and explicit mappings when field types matter. Use when batch-importing local files, converting CSV rows or JSON arrays to NDJSON bulk format, or verifying document counts and mappings after ingest — not for Logstash pipelines, Beats, custom scripts, or index-to-index reindex.

Awaiting classification592updated yesterday

Elasticsearch Index Design

elastic

Designs and reviews Elasticsearch index mappings from access patterns, covering field types, multi-fields, and shard settings.

Data & Analytics592updated yesterday

Kibana Dashboards

elastic

Create and manage Kibana Dashboards and Lens visualizations. Use when you need to define dashboards and visualizations declaratively, version control them, or automate their deployment.

Awaiting classification592updated yesterday

Kibana Anomaly Detection

elastic

Investigates, explains, troubleshoots and configures Elastic ML anomaly detection jobs in Kibana/Elasticsearch.

Data & Analytics592updated yesterday

Elasticsearch Cluster Health

elastic

Read-only triage of a non-green Elasticsearch cluster to name the likely cause and remediation.

DevOps & Cloud592updated yesterday