Skip to content

docs: add semantic and hybrid search specification#53

Draft
adityamparikh wants to merge 3 commits intoapache:mainfrom
adityamparikh:docs/semantic-hybrid-search-spec
Draft

docs: add semantic and hybrid search specification#53
adityamparikh wants to merge 3 commits intoapache:mainfrom
adityamparikh:docs/semantic-hybrid-search-spec

Conversation

@adityamparikh
Copy link
Contributor

Summary

  • Adds a design specification for upgrading the Solr MCP server with semantic and hybrid search capabilities
  • Defines SolrVectorStore (Spring AI VectorStore implementation), three new MCP tools (semantic-search, hybrid-search, index-with-embeddings), and supporting components (RrfMerger, EmbeddingService, VectorStoreFactory)
  • Based on patterns from the ai-powered-search reference implementation

Test plan

  • Review spec for completeness and correctness
  • Validate architecture against Spring AI 1.1.2 APIs
  • Confirm Solr 9.x KNN/DenseVectorField compatibility
  • Implementation will follow in a separate PR

🤖 Generated with Claude Code

adityamparikh and others added 2 commits February 27, 2026 13:48
Design spec for adding vector search capabilities to the Solr MCP server,
including SolrVectorStore (Spring AI VectorStore implementation), semantic
search, hybrid search with Reciprocal Rank Fusion, and embedding-aware
indexing. Based on patterns from the ai-powered-search reference implementation.

Signed-off-by: Aditya Parikh <adityamparikh@gmail.com>

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: adityamparikh <aditya.m.parikh@gmail.com>
Explain the ConcurrentHashMap caching strategy, why it exists
(SolrVectorStore is bound per-collection), and when to consider
a bounded cache alternative.

Signed-off-by: Aditya Parikh <adityamparikh@gmail.com>

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: adityamparikh <aditya.m.parikh@gmail.com>
Signed-off-by: Aditya Parikh <adityamparikh@gmail.com>
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.

1 participant