MR MARVIS rebuilt its storefront on Next.js. Category browse runs on Algolia, fed from the Sanity collections merchandisers already edit.

Problem
Category pages shift whenever someone moves a collection in Sanity. Static Algolia rules did not match how shoppers actually clicked through the site.
Constraints
Sanity is the source of truth for collections. Algolia had to reflect those edits without a nightly rebuild. Rankings needed to follow real browse behavior.
System
Category pages call Algolia with browse-event signals. Sanity pushes index updates on webhook so merchandisers never wait on batch jobs.
Decisions
Event-driven reranking instead of static rules. Webhook sync so index updates land as soon as content changes.
Aftermath
- Next.js navigation and category redesign shipped
- Browse events wired into Algolia reranking
- Sanity webhook pipeline into Algolia