
Hi. I have a collection of documents with some string attributes. This collection have a few similar full-text indexes on these attributes. I have also created one more full-text index for the indernal $id attribute.
Search over $id works differently. It only returns documents when there is a startsWith-like match.
E.g. the given document with $id 12345
will be returned for the search values '12345'
, '123'
, but not for the '2345'
. Is that expected?

Yes, this is expected. See https://github.com/appwrite/appwrite/discussions/5005#discussioncomment-4681079 for details about how search works.

You're right, got it. Thanks for the hint. Worth to mention on the https://appwrite.io/docs/products/databases/queries page, probably.
Recommended threads
- How to get database file, like JSON or D...
Hi Appwrite team, I want to get database file to share database to another, btw, I can not found any thing like Download button inside Backup tabs. What can I d...
- appwrite cli types
I used the appwrite cli types comand for Dart and it worked well but there was an error regarding enums. As you can see in the image below, it used firstOrNull(...
- Stuck in Readonly Mode After Pro Subscri...
Hello team, I really need some urgent help. I recently resubscribed to the Pro plan hoping to get back into a project I created a while ago, but I'm still unab...
