Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Non-authoritative Qdrant vector search index owned by the Catalog bounded context for hybrid semantic and keyword book discovery.

SearchIndexqdrantResidency: eastasiaRetention: transientAccess Mode: readWriteSearch Index

Purpose & Ownership Boundary

Catalog Vector (vectordb) is the non-authoritative Qdrant search index owned by the Catalog bounded context for hybrid semantic and keyword book discovery. Catalog IngestionServicev1.0.0Catalog IngestionInternal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant. SubscribesProcessVectorBatchIntegrationEventOwnercatalog-experience-teamDiagramRepositoryOpen docs writes 1,536-dimensional embeddings asynchronously in batches, while Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs queries the index for candidate book IDs before hydrating authoritative prices, stock status, and ratings from Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs.

Data Store Profile

PropertyValue
Bounded Context / OwnerCatalog — Catalog Experience TeamTeamCatalog Experience TeamStream-Aligned team owning BookWorm's product catalog, customer reviews, and storefront/backoffice discovery experience....Open docs
Engine / TechnologyQdrant (Qdrant Cloud in cloud; Qdrant container locally)
Store TypeVector
Primary Writer(s)Catalog IngestionServicev1.0.0Catalog IngestionInternal background worker that reads pending Catalog book updates and synchronizes semantic search vectors in Qdrant. SubscribesProcessVectorBatchIntegrationEventOwnercatalog-experience-teamDiagramRepositoryOpen docs
Primary Reader(s)Catalog APIServicev1.0.0Catalog APIInternal HTTP and gRPC service for Catalog product management, hybrid discovery, and authoritative book metadata. PublishesBookUpdatedRatingFailedIntegrationEventSubscribesCreatePublisher, UpdatePublisher +24APIsOpenAPI, AsyncAPIOwnercatalog-experience-teamDiagramRepositoryOpen docs
Authoritative / Source of TruthDerived Read Model (Ephemeral)
Data ClassificationInternal
Retention / TTL PolicyTransient (rebuildable derived projection from Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs)

Logical Data Layout & Key Patterns

Collection / Point KeyStored DataTTL / EvictionInvalidation / Update Trigger
data-bookworm-snippets / book_id (uuid)Assembled text (Title, Description, Authors, Category, Publisher) + 1,536-dim cosine embedding (Cohere.EmbedV40)Retained while book is active (is_deleted = false)Asynchronous 5-minute batch triggered by Scheduler ServiceServicev1.0.0Scheduler ServiceSingle-host Quartz.NET job execution engine and operational dashboard UI for scheduling recurring platform jobs and insp...PublishesProcessVectorBatchIntegrationEventAPIsAsyncAPIOwnerplatform-engineering-teamDiagramRepositoryOpen docs (scheduler.process-vector-batch) draining pending_vector_updates. Soft-deleted books are removed from the index.

Commercial fields—prices, stock status, cover image URNs, and rating summaries—are intentionally excluded from Qdrant and always resolved from Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs.

Consistency, Isolation & Security Guardrails

Warning

Derived Index Only — Never Authoritative: vectordb is strictly a derived search projection. Never treat vector payloads as canonical product data, and never return prices or availability from Qdrant without hydrating from Catalog DatabaseContainerv1.0.0Catalog DatabaseAuthoritative PostgreSQL system of record owned by the Catalog bounded context for books, authors, categories, publisher...Ownercatalog-experience-teamDiagramOpen docs. Because the index is fully rebuildable from catalogdb, collection resets carry zero data-loss risk.

Operational & Resilience Notes

Architecture Visualizations

Loading graph...