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 people" not working with non-english queries #8951

Closed
2 of 3 tasks
krin-san opened this issue Apr 20, 2024 · 2 comments · Fixed by #8955
Closed
2 of 3 tasks

"Search people" not working with non-english queries #8951

krin-san opened this issue Apr 20, 2024 · 2 comments · Fixed by #8955

Comments

@krin-san
Copy link

krin-san commented Apr 20, 2024

The bug

When filtering a list of "People" on https://BASE_URL/people web page, only special character queries or queries with English characters show results. Queries in a different language or with language-specific characters return no results.

The OS that Immich Server is running on

TrueNAS SCALE

Version of Immich Server

v1.101.0

Version of Immich Mobile App

irrelevant

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

TrueCharts Kubernetes template in https://github.com/truecharts/charts/tree/master/charts/stable/immich

Your .env content

🤷‍♂️

Reproduction steps

1. Name some person "Alex Влад Bülow" (english, cyrillic, german)
2. Search for english letter "A" – found a match
3. Search for cyrillic letter "В" – no matches
4. Search for german umlaut "ü" - no matches

Relevant log output

No response

Additional information

Same steps attempted on the "Merge people" screen work just fine.

@martabal
Copy link
Member

martabal commented Apr 20, 2024

I think the issue is not related to non-English characters. The search for people works the same way as the App-Which-Must-Not-Be-Named, by matching the beginning of each word that makes up the name.

@krin-san
Copy link
Author

I think the issue is not related to non-English characters. The search for people works the same way as the App-Which-Must-Not-Be-Named, by matching the beginning of each word that makes up the name.

In this case searching for the first letter of a name should match it. It is only partially correct: it matches lowercase letters in beginning of words, but not uppercase letters.
Anyway, this behavior is quite confusing. I would expect it to work the same way as on "Merge people" screen.

@martabal martabal linked a pull request Apr 20, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants