Bistro Innovation LabsSearch & AI consulting · Berlin
TalkBerlin Buzzwords 2021 (online), Kesselhaus

Exploring the Alchemy of Streaming and Solr Cloud

Berlin Buzzwords 2021 lightning talk on moving an e-commerce search platform from batch indexing on master-slave Solr to a Kafka and Redis streaming pipeline with near-real-time indexing on SolrCloud.

In this lightning talk Atita argues that a batch-reindex architecture quietly caps how large an e-commerce catalogue can grow, and that the fix is to stream. She tells the story of turning a four-hour batch index pipeline into a near-real-time streaming pipeline on SolrCloud.

What the talk covers

Delivered in the Kesselhaus track of the online Berlin Buzzwords 2021 on 15 June, when Atita was Senior Search Engineer at MyToys GmbH in Berlin, the talk describes a normal e-commerce setup that had relied on standalone Solr and later master-slave replication for years. Everything ran smoothly until a requirement arrived to support "unlimited products" in the shops. Two full reindexes a day looked fine on paper, but with the index pipeline already taking more than four hours it was clear the architecture needed what she calls some cloud magic.

The team transformed the batch index pipeline into a stream index pipeline using Kafka and Redis, achieving near-real-time indexing. Alongside that they upgraded the infrastructure from Solr 6.6.2 to Solr 8.7 and migrated from master-slave to SolrCloud. The talk is an honest account of that journey and the important lessons learned along the way, rated intermediate on the conference programme.

Who it is for

Search engineers running Solr for e-commerce or any catalogue that outgrows batch indexing, and anyone planning a master-slave to SolrCloud migration. The slides are available as a PDF from the Berlin Buzzwords 2021 site and the recording is embedded above.

Frequently asked questions

What triggered the migration?
A business requirement to support unlimited products in the shops, which the existing standalone and master-slave Solr setup with full reindexes could not keep up with.

Search, IR & NLP

Working on search, ir & nlp?

We design, tune and migrate search systems on Vespa, Apache Solr, Elasticsearch and OpenSearch, combining lexical and vector retrieval with learning-to-rank and NLP-driven query understanding: intent classification, entity extraction and domain-adapted models. Tell us what you are building and we will say whether this is the kind of engagement we take on.