Index products from standard grocery categories into Bonsai
How it works:
Each staple fetches a fixed batch size (Coffee=60, Milk=40, Bread=40, others=30) ordered by product_id ASC. Page 0 = rows 1β60. Page 1 = rows 61β120. And so on β new products always get higher IDs so they're never skipped.
Seeding is sequential (coffee β banana β milkβ¦). Re-seeding the same page upserts β no duplicates.
Set From = To to seed a single page. Set To higher to auto-loop through multiple pages (e.g. 0 β 24 indexes all 1,482 coffee products). The numbers in brackets are products per page per category.
Search & Index by Name
π
Index by Product Name
Search CockroachDB by product name keywords and index matching products
Full Product Index
ποΈ
Full Index (All Products)
Index every product in the database in batches of 100. Resumes from the last processed ID.
Startingβ¦
Test Search
π
Search Bonsai Index
Query the Bonsai index to test relevance and ranking