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 for "Tarchun" does not find the product #466

Closed
aleksejrs opened this issue Sep 14, 2016 · 4 comments
Closed

Search for "Tarchun" does not find the product #466

aleksejrs opened this issue Sep 14, 2016 · 4 comments
Labels
🐛 bug This is a bug, not a feature request. P3 🔎 Search

Comments

@teolemon teolemon modified the milestone: Even better Search Dec 11, 2016
@teolemon teolemon added P3 🐛 bug This is a bug, not a feature request. 🎯 P1 labels Jan 22, 2017
@hangy
Copy link
Member

hangy commented Jan 23, 2017

The executed MongoDB query { '_keywords': { '$all': ['tarchun'] } } does not return the value either. One reason could be that the product_name is empty, see API, and thus they _keywords property does not contain the value.

> db.products.find({'code': '4038745603527'}, {'_keywords': 1});
{ "_id" : "4038745603527", "_keywords" : [ "тархун", "limonaden" ] }

The multilingual names are not indexed by index_product, so that kinda explains that, I guess. Maybe we need keywords for each language of the product to be indexed separately, ie. _keywords_de, _keywords_ru, etc.? However, this sounds like it could be bad to index with MongoDB …

@teolemon teolemon removed the 🎯 P1 label Feb 16, 2017
@aleksejrs
Copy link
Contributor Author

aleksejrs commented Aug 17, 2018

@teolemon
Copy link
Member

teolemon commented Nov 27, 2022

bug still present

@raphael0202
Copy link
Contributor

Issue is resolved using Search-a-licious: https://search.openfoodfacts.org/?q=Tarchun
As we're migrating to search-a-licious, I'm closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug This is a bug, not a feature request. P3 🔎 Search
Projects
Development

No branches or pull requests

4 participants