-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
🐛 Bug Report: Search for a user by email returns all accounts with the same domain #3173
Comments
We are thinking on adding a |
Yes, the search uses MariaDB's Full Text Search in Boolean Mode (for the most part). In short, symbols are removed so that the text that is indexed becomes:
And your search for One solution is to wrap your search with double quotes:
So, search for Given: Searching |
Thanks @stnguyen90 for your explanation that fixes it. I'll close the issue because it's not a bug. |
👟 Reproduction steps
Search for a user by its email adress in the console or with any sdk.
👍 Expected behavior
The response should be the user with the searched email adress.
👎 Actual Behavior
Appwrite ignores the character
@
and lists all users with the same email provider (domain after the@
).🎲 Appwrite version
Version 0.13.x
💻 Operating system
Linux
🧱 Your Environment
No response
👀 Have you spent some time to check if this issue has been raised before?
🏢 Have you read the Code of Conduct?
The text was updated successfully, but these errors were encountered: