
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
- My collection is not updating after csv ...
- phantom relationships appear on parent c...
i have this bug were my past deleted collection apears as relationship to my parent collection. when i try to delete that relationship from parent it gives me e...
- Attribute stuck on proccessing
i tried creating a new attribute butits stuck on proccessing,i did a hard refresh,cleared cache everything but still stuck on proccessing,also in my functions w...
