This is a demo catalog. Create one for your own architecture with a single prompt.

Get started →

Product search indexing

How product catalog changes are projected into the Search System for customer-facing search.

Flow

Product Search IndexingFlowv1.0.0Product Search IndexingHow a change to a product in the catalog reliably flows into the search index — via the outbox, product events and the i...Ownersearch-platformView flowOpen docs keeps product search aligned with catalog changes. It is intentionally asynchronous: product writes should not wait for search indexing to complete.

Flow map

Producers

Product Catalog SystemSystemv1.0.0Product Catalog SystemInternal system that is the source of truth for product data. Owns the product database and publishes product change eve...Ownerproduct-platformDiagramOpen docs owns product data. Product changes are represented by:

These events are published by services inside the Product Catalog System, including Product Search PublisherServicev1.0.0Product Search PublisherReads product changes from the product database (outbox) and reliably publishes product-created, product-updated and pro...Publishesproduct-created, product-updated +1Ownerproduct-platformDiagramRepositoryOpen docs.

Consumers

Search SystemSystemv1.0.0Search SystemInternal system that keeps product data searchable. Consumes product change events from the Product Catalog System, main...Ownersearch-platformDiagramOpen docs consumes product change events and updates Search IndexContainerv1.0.0Search IndexThe denormalised, search-optimised index of products that powers product search.Ownersearch-platformDiagramOpen docs. Search APIServicev1.0.0Search APIPublic-facing API that serves fast, relevant product search to the rest of the business, reading from the search index. Subscribessearch-productsAPIsOpenAPIOwnersearch-platformDiagramRepositoryOpen docs then serves Search ProductsQueryv1.0.0Search ProductsQuery to search the catalog for products matching a term, with optional filters and pagination. Ownersearch-platformSchemaDiagramOpen docs against that index.

Consistency model

The product database is immediately authoritative. The search index is eventually consistent. User interfaces should tolerate a short delay between product update and search result update.

Operational signals

Watch for indexing lag, failed event handling and search query errors. A stale search index affects product discovery even when product writes are healthy.