inaturalist / INaturalistIOS

iNaturalist iOS app
MIT License
153 stars 50 forks source link

Search isn't finding taxon by hebrew name with vowels.. (nikud) #659

Open tttalshaul opened 1 year ago

tttalshaul commented 1 year ago

I've added the Hebrew name קַרְסִית מְצוּיָה to Badhamia affinis, and tested the search on iNaturalist app on iOS and could find it. Only after I've added קרסית מצויה without vowels the search worked (and showed קַרְסִית מְצוּיָה - Badhamia affinis)

alexshepard commented 1 year ago

Happy to work on this, but I'm not sure I understand what's actually happening here. I don't speak Hebrew and while I know that Hebrew is sometimes written without vowels, I don't really understand how to reproduce your bug report.

Can you please provide detailed step by step reproduction steps (including mentioning which steps were done on the web and which steps were done on iOS) and ideally screenshots.

tttalshaul commented 1 year ago

See this search for example: https://www.inaturalist.org/search?q=%D7%92%D6%BC%D7%95%D6%BC%D7%A9%D7%81%D6%B8%D7%A0%D6%B4%D7%99%D7%AA%20%D7%9E%D6%B7%D7%A9%D7%81%D6%B0%D7%97%D6%B4%D7%99%D7%9E%D6%B8%D7%94

It works, the name גּוּשָׁנִית מַשְׁחִימָה is attached to Neat Bolete

צילום מסך 2023-09-05 ב-0 47 54 צילום מסך 2023-09-05 ב-0 48 09

searching for גושנית משחימה without vowels yields no result.. (It is the same word but only without vowels) https://www.inaturalist.org/search?q=%D7%92%D7%95%D7%A9%D7%A0%D7%99%D7%AA%20%D7%9E%D7%A9%D7%97%D7%99%D7%9E%D7%94

צילום מסך 2023-09-05 ב-0 48 21

Maybe the issue is server-side.. I see now that it persists on web and iOS app.. To reproduce the bug just open this url: https://www.inaturalist.org/search?q=%D7%92%D7%95%D7%A9%D7%A0%D7%99%D7%AA%20%D7%9E%D7%A9%D7%97%D7%99%D7%9E%D7%94

It need to result in finding the taxon.. like this one

צילום מסך 2023-09-05 ב-0 48 09

Thank you!