Repository navigation
Add elasticsearch-migration skill - #8
Merged
Merged
Conversation
Coordinator skill for ES→Vespa migrations: 5-phase flow, concept
mapping, query translation, parser tooling, and LLM-friendly doc-
fetching patterns. Defers schema/query/feed/deploy specifics to
existing sibling skills.
Every Vespa, Elasticsearch, and ElasticDump claim is grounded in
verbatim quotes from the live docs (Vespa /reference/{schemas,
querying,ranking}/* via the .html.md form; Elastic /docs/reference/*;
elasticsearch-dump README). Doc URLs use current canonical paths,
not the redirect stubs.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
radu-gheorghe
previously approved these changes
May 15, 2026
radu-gheorghe
left a comment
Contributor
There was a problem hiding this comment.
I've left a few comments; most of them are small. Only significant one: I'd use Logstash instead of Elasticdump.
Great stuff, though! It captures a lot of the mechanics and the general flow.
| } | ||
|
|
||
| rank-profile default { | ||
| first-phase { expression: nativeRank } |
Contributor
There was a problem hiding this comment.
Consistency nitpick: I'd decide whether we want to steer agent to BM25 or nativeRank. Right now it says nativeRank here and bm25 in the upcoming schema snippet.
Since analysis won't be equivalent until somebody uses Lucene linguistics, I would stick to nativeRank and remove enable-bm25 for the simplest migration.
added 2 commits
May 18, 2026 10:45
abhishekkrthakur
approved these changes
May 18, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a new top-level skill,
elasticsearch-migration/, to thevespa-skillsplugin. It is the coordinator skill for ES→Vespa migrations and delegates schema, query, feed, and deploy details to the existing sibling skills.The skill builds on two upstream resources from the Vespa project:
ES_Vespa_parser.py— the starter mapping-to-schema converter from vespa-engine/sample-apps.docs/parser-and-tooling.mdwalks through its invocation alongsideelasticdump, and documents what the parser does not handle (rank profiles, nested fields, analyzer-specific behavior, embeddings, doc IDs, indexing directives) so users know what to hand-edit.Files
elasticsearch-migration/SKILL.md— overview, 5-phase flow, concept-mapping cheat sheet, indexing-directives callout, ranking-divergence warning, gotchas, LLM-friendly doc-fetching section.elasticsearch-migration/docs/concept-mapping.md— field-by-field ES → Vespa mapping with before/after snippets.elasticsearch-migration/docs/query-translation.md— ES Query DSL → YQL side-by-sides (match, bool, range, function_score, knn, nested, aggs, sort).elasticsearch-migration/docs/parser-and-tooling.md— ElasticDump + ES_Vespa_parser.py end-to-end with the parser's limitations.elasticsearch-migration/docs/fetching-docs.md— how to retrieve fresh Vespa and Elasticsearch docs on demand (Vespa.html.mdper-page suffix,llms.txt,llms-full.txt; Elastic has no llms.txt, fall back toelastic/docs-contenton GitHub orelastic.co/docs/)..claude-plugin/marketplace.json,AGENTS.md,README.md— regenerated byvespaskills generate.Design constraint
No Vespa or Elasticsearch doc content is embedded inline — the skill teaches Claude how to fetch fresh docs so the content cannot go stale. Every technical claim (YQL operators, schema directives, ES query DSL shape, ElasticDump flags) is grounded in a verbatim quote from the live upstream docs.
Test plan
uv run python -m vespaskills.cli generate --checkpassesdocs.vespa.ai/en/reference/{schemas,querying,ranking}/*and corrected (bool-queryrank()form,index { enable-bm25 }block, struct insidedocument,prenormalized-angularsemantics,input.query(name)request param, current canonical URLs)www.elastic.co/docs/*and the elasticsearch-dump README (NDJSON output format, full--typeenum, current/docs/URL pattern,docs-contentGitHub repo)data/evals_elasticsearch-migration.jsonmodeled ondata/evals_app-package.json🤖 Generated with Claude Code