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

🐛 Bug Report: Query not Working. #22

Open
2 tasks done
AryanShah874 opened this issue Jun 28, 2024 · 1 comment
Open
2 tasks done

🐛 Bug Report: Query not Working. #22

AryanShah874 opened this issue Jun 28, 2024 · 1 comment
Assignees
Labels
bug Something isn't working question Further information is requested

Comments

@AryanShah874
Copy link

👟 Reproduction steps

When I try to use Query.search('title', query) , it works for all the worlds except words having 'a' as a character.

👍 Expected behavior

It should be able to return data having title containing letter 'a' when I provide 'a' in the query.

👎 Actual Behavior

Empty

🎲 Appwrite version

Version 0.10.x

💻 Operating system

Windows

🧱 Your Environment

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

@AryanShah874 AryanShah874 added the bug Something isn't working label Jun 28, 2024
@AryanShah874 AryanShah874 reopened this Jun 28, 2024
@stnguyen90
Copy link
Contributor

@AryanShah874, thanks for creating this issue! 🙏🏼

If you're looking for text that contains a substring, you should use the Query.contains() query. See https://appwrite.io/docs/products/databases/queries.

The Query.search() query uses mariadb's full text search feature. You can read about how it works here.

@stnguyen90 stnguyen90 added the question Further information is requested label Aug 20, 2024
@stnguyen90 stnguyen90 self-assigned this Aug 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants