Backend
Frontend
Infrastructure
Architecture Overview
Sports Index follows a layered architecture:Key Patterns
- Post Type Handlers: Abstract base class pattern for 7 content types (external_media, chart, data_table, uploaded_media, timeline, page, collection)
- Canonical Deduplication: External URLs stored once globally, users link via relationships
- Dual Tagging: Owned posts use
content_post_tags, canonical posts usetopic_post_index - Denormalized Caches:
TopicPostIndex,TopicTimelineCache,UserLibraryCachefor fast reads - Feature-Flagged Embeddings: Semantic search gated behind
EMBEDDING_ENABLED