I have a text attribute in a collection that has a full-text index on it. There are a number of documents that contain the value "r1_REPORT". When I perform a query of:
Query.search('sa_notes', "r1_REPORT")
I get no results. However, when I run a query of:
Query.search('sa_notes', "r1_R")
I get the result I expect. If there are any more characters present beyond the uppercase R, the search fails. I have tried using escaped quotes in the search too, but to no success.
How am I supposed to accurately query Appwrite for this?
Summary
The user is experiencing issues with text search in Appwrite after upgrading to version 1.3.4. They mention that searching with underscores is not working properly and that even the startsWith query is failing. The user is asking if this issue will be fixed in a subsequent release. Another user points out that there is a related issue on GitHub. The solution suggested is to use the startsWith query instead of the search query.
TL;DR: User is unable to perform accurate text search in Appwrite after upgrading to version 1.3.4. Using underscores and startsWith queries both fail. It is suggested to use starts