issue-3: Apply recommended index settings: add attribute ranking rule to products index #4
No reviewers
Labels
No labels
bug
chore
documentation
enhancement
feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
shoppy/shoppy-index-configuration!4
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/issue-3/apply-recommended-index-settings-add-attribute-ranking-rule-to-products-index"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What & why
Applies the index-side fix recommended in the search-relevance research brief: add the missing
attributeranking rule to the Shoppy Meilisearch products index settings. This restores the Meilisearch default word-position sub-scoring, so a product whosenamestarts with the query term (e.g.Bananas,Apple) outranks a mid-name match (e.g.Squeezie Banana Yoghurt Pouch) even at a higher price.Also brings the repo's version-controlled index settings + research docs into the tree, and documents the whole thing in the README.
Empirically (A/B on scratch index, app-default
price ascsort + store filter):banana/coles flips from "yoghurt pouch #1" toBananas#1; woolworths/colesapplealready OK and stays OK. Per the brief:sortstays beforeexactness(moving it penalises plural-named produce) and no synonyms are added (no measurable benefit givenprefixSearch: "indexingTime").Files changed
Modified
README.md— new repo documentation: purpose, repo layout, index-settings reference for both indexes, consumption pipeline (product-sync → Meilisearch → bff), search-relevance summary + recommended fix, workflow conventions, related repos.Added
shoppy-products.json— Meilisearch settings template for the products index (mirrorsshoppy-indexes/shoppy-test.json), with theattributeranking rule applied:shoppy-categories.json— Meilisearch settings template for the categories index (mirrorsshoppy-indexes/shoppy-categories.json); unchanged settings, baseline tracked for review.docs/research-brief-meilisearch-search-relevance.md— the research brief: singular vs plural search relevance findings, root cause, A/B data, and validation steps.Notes
shoppy-test-v10) — no data changes needed.shoppy-indexes/shoppy-test.json(consumed byproduct-sync) still needs the same one-line change to take effect in production — tracked in #3.10.1.5.170:1234) is down; the next fresh index run will fail to embed unless restored.Closes #3