Skip to content

SMA [4] Improve steering for JSON output and Querqy detection#40

Open
seanoc5 wants to merge 1 commit into
mainfrom
feature/sma-steering-tmdb-fixes
Open

SMA [4] Improve steering for JSON output and Querqy detection#40
seanoc5 wants to merge 1 commit into
mainfrom
feature/sma-steering-tmdb-fixes

Conversation

@seanoc5
Copy link
Copy Markdown
Collaborator

@seanoc5 seanoc5 commented Apr 8, 2026

Summary

  • index_design.md: Always include a complete OpenSearch JSON mapping as the primary deliverable
  • incompatibilities.md: Add Querqy as a known plugin with an OpenSearch equivalent

Why

The TMDB eval (PR #39) showed the agent describing field mappings in prose
without a concrete JSON mapping, and not flagging Querqy as a dependency.
These 7 lines of steering fix both issues.

Test plan

🤖 Generated with Claude Code

index_design.md: Always include a complete OpenSearch JSON mapping as
the primary deliverable, not just prose descriptions.

incompatibilities.md: Add Querqy as a known plugin with an OpenSearch
equivalent (querqy-opensearch). Flag when detected.

These changes move the TMDB eval (PR #39) from 4/6 to 6/6 assertions.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Custom Request Handlers: No direct equivalent; must rebuild using standard Search API + Client-side logic.
- Search Components: No equivalent; logic must be moved to the client or a custom OpenSearch plugin.
- Solr Power: No equivalent; use standard OpenSearch feature set.
- Querqy: The Solr query rewriting plugin has an OpenSearch equivalent — [Querqy for OpenSearch](https://github.com/querqy/querqy-opensearch). Migration requires installing the plugin and converting rewriter configs. Flag this as a critical dependency when detected (e.g. querqy JARs in lib/, QuerqyRewriterRequestHandler in solrconfig.xml).
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a tidy PR!

This comment holds for this file and the index_design.md change below:
One thing Im missing: is there a corresponding test? If not, but in another PR, Id pull this to the PR where the test is located (you mentioned this change was needed to make the test go green?). If existing nowhere, Id suggest to add it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants