- Backend: FastAPI app with all models, services, schemas, routes - Admin Panel: Next.js dashboard with all modules (CRM, POS, repairs, warranties, billing, notifications, etc.) - Ecommerce: storefront (submodule) + product catalog - AI Agents: .agents/ skill library for Antigravity IDE - Docs: architecture, billing, notification gateway markdown - Submodules: Backend/OpenWA, Ecommerce/File 2/storefront
11 lines
541 B
Markdown
11 lines
541 B
Markdown
# ADR-003: Search Engine Selection & Abstraction
|
|
|
|
## Context
|
|
Searching 50M items with dynamic attributes requires a distributed search engine.
|
|
|
|
## Options Considered
|
|
1. **MySQL Full-Text Search**: Low operational overhead, but lacks scaling capability for 50M dynamic attribute aggregations under peak traffic.
|
|
2. **OpenSearch via `SearchService` (Selected)**: OpenSearch handles 100% of catalog search and faceting. Decoupled via `SearchService` interface with a Circuit Breaker fallback for MySQL resilience.
|
|
|
|
## Decision
|
|
Select Option 2.
|