You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
matkoniecz
changed the title
wellness spa / spa = shop=beauty match is really late despite being an exact one
spa for shop=beauty match is really late despite being an exact one
Mar 23, 2023
tyrasd
transferred this issue from openstreetmap/id-tagging-schema
Mar 24, 2023
this is actually "a feature": partial matches on preset's name or aliases are sorted before exact or partial matches in search terms. This is because search terms are handled much more liberally and often include short phrases which would collide with the name of other presets.
I agree that the current sorting is not quite good, especially seeing the relatively large amount of partial matches of brand names. 😒
Perhaps it could make sense to rank partial brand name matches lower than exact matches in search terms? 🤔
It seems that problem is in general complex and fixing this case may break another. Are there test cases for search result ranking? That would prevent fixing one issue and breaking another and going in a cycle.
And "wellness spa" matches nothing
https://github.com/openstreetmap/id-tagging-schema/blob/main/data/presets/shop/beauty.json#L12
see also https://community.openstreetmap.org/t/how-you-tag-spa-wellness-spa/97239
The text was updated successfully, but these errors were encountered: