Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove debug fields in product JSON in MongoDB and API #1797

Open
Tracked by #5523 ...
stephanegigandet opened this issue May 23, 2019 · 1 comment
Open
Tracked by #5523 ...

Remove debug fields in product JSON in MongoDB and API #1797

stephanegigandet opened this issue May 23, 2019 · 1 comment
Labels
API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) needs reprocessing Issue has been fixed but all products need to be reprocessed to remove bug from database. 🚅 Performance

Comments

@stephanegigandet
Copy link
Contributor

stephanegigandet commented May 23, 2019

What

  • There are a number of debug fields that are added to the product data that we can remove. This would reduce the size of the JSON for each product:
    Previous versions of taxonomies:

additives_prev*
categories_prev*
labels_prev*

debug_param_sorted_langs
ingredients_debug
ingredients_text_debug
ingredients_ids_debug
additives

Part of

@stephanegigandet stephanegigandet added API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) 🚅 Performance labels May 23, 2019
stephanegigandet pushed a commit that referenced this issue May 23, 2019
@stephanegigandet
Copy link
Contributor Author

Those fields are now not computed anymore, but they need to be removed from existing products.

@VaiTon VaiTon added the needs reprocessing Issue has been fixed but all products need to be reprocessed to remove bug from database. label Nov 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Issues related to the Open Food Facts API. More specific labels exist & should be used (API WRITE…) needs reprocessing Issue has been fixed but all products need to be reprocessed to remove bug from database. 🚅 Performance
Projects
Status: To discuss and validate
Development

No branches or pull requests

2 participants