Closed jayaddison closed 2 years ago
Status:
products.csv
updatehierarchy.json
file regenerationknowledge-graph
service redeploymentIt would be really nice if the process of updating the product metadata produced a precise list of the affected recipes for recrawling as a side-effect. Currently they have to be identified by making additional queries, either against the database and/or search index.
$ python recipes.py --where "exists (select * from recipe_ingredients as ri where ri.recipe_id = recipes.id and ri.markup ilike '%>black<%')" --recrawl
$ python recipes.py --where "exists (select * from recipe_ingredients as ri where ri.recipe_id = recipes.id and ri.markup ilike '%>green<%')" --recrawl
$ python recipes.py --where "exists (select * from recipe_ingredients as ri where ri.recipe_id = recipes.id and ri.markup ilike '%>red<%')" --recrawl
Describe the bug This is essentially the same issue as #64, albeit for three named colours.