Rethinking SAP Commerce Search: From Solr to AI-Driven Discovery
June 14, 2025
Article 1 Title: Why Solr Is No Longer Enough for Modern Commerce Search
Introduction I had the opportunity to create a search engine using Retrieval-Augmented Generation (RAG) with OpenAI and in-memory vector datastore. To say that I was impressed is an understatement. I realized that every developer now has the power to build advanced search capabilities tailored to their organization’s needs without relying on legacy keyword search engines.
For over a decade, Apache Solr has been the backbone of search functionality in SAP Commerce (Hybris). It excels at keyword indexing, faceted navigation, and performance at scale. But in the age of AI-driven customer experiences, Solr is showing its limitations. Today’s customers expect search to understand their intent, not just match their keywords.
This article is the first in a multi-part series dedicated to helping SAP Commerce teams modernize their search stack using Retrieval-Augmented Generation (RAG) with OpenAI and custom vector store. We’ll explore why traditional search is no longer enough, how to build a modern AI-enhanced layer, and how to gradually evolve your platform without disrupting your existing infrastructure.
In this first article, we explore why Solr, while still reliable, is no longer sufficient for delivering intelligent, personalized product discovery—and why RAG powered by OpenAI and vector datastores are emerging as a next-gen alternative.
The Solr Era: What It Got Right
But while Solr is structured and reliable, it lacks “understanding.”
Where Solr Falls Short in 2025
RAG with OpenAI + InMemoryVectorStore: A New Paradigm
Retrieval-Augmented Generation (RAG) combines two powerful ideas:
With custom in-memory vector store as your vector store (likeInMemoryVectorStore) and OpenAI for embeddings + response generation, you can:
Example: Solr vs RAG in Action User Query: “What’s a good air purifier for someone with pet allergies?”
Why SAP Commerce “Hybirs” Architects Should Pay Attention
Coming Up Next in the Series
Conclusion Solr has served SAP Commerce well, but the future of product discovery is AI-driven. By augmenting or gradually replacing Solr with OpenAI + a custom vector store (like `InMemoryVectorStore`) RAG architectures, you unlock a new level of intelligence, personalization, and user satisfaction in commerce search.
Let’s rethink what “search” means in 2025.
Marc is the Founder of HybrisArchitect.com.
He enjoys helping others learn more about SAP Commerce Cloud (Hybris). Marc is a SAP Commerce Certified Professional and has held the role of SAP Commerce Cloud Architect at Deloitte, PwC, Brillio (a Bain Company), and Nasty Gal. Marc holds an M.S. Software Engineering from Carnegie Mellon University and a B.S. in Accountancy from California State University, Fresno. He can be reached at: mraygoza@localhost