What are the best practices for managing millions of product variants and attributes in real-time without slowing down our database queries or ruining the customer search experience?
Download run
Fan-out diagram
The searches the AI actually ran for this prompt.
SEED QUERY
What are the best practices for managing millions of product variants and attributes in real-time without slowing down our database queries or ruining the customer search experience?
3 real searches · 1 real-search pass
ecommerce product catalog millions variants attributes search architecture faceted filtering Elasticsearch nested documents denormalization CDC best practicesGoogle ↗
OBSERVEDInstruction
PostgreSQL documentation JSONB indexing partitioning materialized views performanceGoogle ↗
OBSERVEDOther / navigational
Elasticsearch documentation nested field type object arrays faceted search aggregationsGoogle ↗
OBSERVEDOther / navigational
Badge and edge weight = share of passes that produced the query. Hover a query for its intent and routing format.
Query classes
Google's semantic query class for every sub-query: what kind of answer each search is after, simulated vs real.
ChatGPT real searches (3)
Classes come from the query-classifier (a local Laya model). 3 of 3 calls are low-confidence (under 50%) — hover a query in the table to see its confidence.
Searches and sources
ChatGPT3 real searches · gpt-6
ecommerce product catalog millions variants attributes search architecture faceted filtering Elasticsearch nested documents denormalization CDC best practices Google ↗
PostgreSQL documentation JSONB indexing partitioning materialized views performance Google ↗
Elasticsearch documentation nested field type object arrays faceted search aggregations Google ↗
- PostgreSQL: Documentation: 18: 8.14. JSON Types · postgresql.org
- Best practices · docs.commercetools.com
- Retail Architecture Best Practices Part 1: Building A MongoDB Product Catalog · mongodb.com
- Nested field type · elastic.co
- Arrays · elastic.co
Queries
3 queries · click a column to sort
| Query / type | Search | Intent | Query class | Routing format | Cluster | Freq ↓ | Weight |
|---|---|---|---|---|---|---|---|
ecommerce product catalog millions variants attributes search architecture faceted filtering Elasticsearch nested documents denormalization CDC best practices OBSERVED | Google ↗ AI Mode ↗ | — | Instruction | — | — | 1x of 1 | |
PostgreSQL documentation JSONB indexing partitioning materialized views performance OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 | |
Elasticsearch documentation nested field type object arrays faceted search aggregations OBSERVED | Google ↗ AI Mode ↗ | — | Other / navigational | — | — | 1x of 1 |