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

Search - Allow to sort search results by NOVA group, Nutri-Score and Carbon impact #2172

Open
Tracked by #5492
teolemon opened this issue Aug 13, 2019 · 2 comments
Open
Tracked by #5492
Assignees
Labels

Comments

@teolemon
Copy link
Member

teolemon commented Aug 13, 2019

What

  • Allow to sort search results by NOVA group, Nutri-Score and Carbon impact
  • Allow to sort by any of those criteria, and allow to sort by the combination of the 3.

Part of

@teolemon teolemon added 🐛 bug This is a bug, not a feature request. 🎯 P1 🎯 P1 candidate labels Aug 13, 2019
@stephanegigandet
Copy link
Contributor

We need to talk about this one. Adding sort options means adding indexes to the database (which means we should think about how exactly we will combine them first). We also need to think about performance, issuing one search query for half the scans will be very difficult to handle server side, and will definitely kill the server when we have spikes from TV. The best solution would certainly be to do it on the mobile device with the offline database. It would also make a much better feature (works offline, more personalisation without loss of privacy).

@VaiTon VaiTon added ✨ Feature Features or enhancements to Open Food Facts server and removed 🎯 P1 🐛 bug This is a bug, not a feature request. labels Nov 10, 2019
@teolemon
Copy link
Member Author

This issue is being tackled as part of the NL-Net grant

@teolemon teolemon added the personal search https://wiki.openfoodfacts.org/Project:Personalized_Search label Nov 13, 2020
@teolemon teolemon changed the title Allow to sort search results by NOVA group, Nutri-Score and Carbon impact Search - Allow to sort search results by NOVA group, Nutri-Score and Carbon impact Oct 12, 2022
@teolemon teolemon removed the ✨ Feature Features or enhancements to Open Food Facts server label Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: To Discuss & Validate
Status: To discuss and validate
Development

No branches or pull requests

3 participants