Skip to content

Objective -

Debug and understand the key system constraints leading to incorrect catalogs showing up upon filter and sort application for HVF launch

Problem context -

Price sort & filtration doesn’t surface the right catalogs due to the following problems -
No context of zonal / user discounts on ES for final price mapping (~5% of cases)
No context of product discounts on ES for final price mapping (~95% cases)
Pre discount price values null on ES due to multiple sub issues -
Bootstrap job not updating ES indexes
Non GST Catalogs present in GST index
Incorrect catalogs getting fetched when filter applied for Mall / Gold / Smartcoins

Recommended solution -

No context of zonal / user discounts on ES
Runtime sort - Do a hard sort operation from the list of first X catalogs on run-time across CLP / search and collection (X=100 or more basis latency) - POC
No context of product discounts on ES
Proposed solve -
Pipeline creation / fix - Create or fix the event pipeline that triggers product level offer / discounting detail to ES (Possibly - offer_update_event_topic) and make sure ES across OFS / Q-west persists seller added discount or offer detail
S&F implementation -
Make sure final sort for price and discount as well as filter application for price labels (i.e. 15 and 21) works on the updated / final price from ES = Seller added price - Product discount / offer amount - POC
Program filter application bug - Incorrect catalogs getting fetched upon Mall / Gold and Smart-coin filter application
Hacky-solve - Create a ”not enabled” binary label value for such program labels with single value to support existing partial (catalog X label) value overwrite on ES. Limit visibility of these hacky label values through some configs on Zookeeper - POC
Long term solve - Support overwrite of all filter label value from Marvel to ES - TBP

Want to print your doc?
This is not the way.
Try clicking the ··· in the right corner or using a keyboard shortcut (
CtrlP
) instead.