I created a fulltext index for my attribute containing list of anime titles. Lets say I want to search for "Attack on Titan" .. how can i achieve this without having to type from the start. Like is there a way to perform contains() search for specific words such as titan?
Another approach i was thinking of was to create a list of all the tokens separated by space
like 'Attack on Titan' can be 'attack', 'on', 'titan'
but is this even a good approach?
plus i have a list of titles so considering each item in list getting further divided might be bad for performance?
😲 Didn't even realise FTS index does not work for partial matches. I think tokenizing by words is your best bet. Maybe a collection of tokens related to the anime data collection
hmmm
u tested it as well?
Yes, just did. I mean, by my understanding of FTS it should work for partial matches which some DBs implement with hashed tokens
yep getting u
i was confirming because wanted to make sure its not a problem from my side xd
No, it isn’t. This is currently an Appwrite limitation
Recommended threads
- Quota not resetting
hi, im using appwrite's free tier plani hit my read limts last month and the billing cycle said it would reset on june 4th but that is today, the billing cycle ...
- Request for temporary 3 to 4 hours datab...
Hi Appwrite Team, I hope you are doing well.We are an early-stage startup currently running on Appwrite Cloud. We have unfortunately exhausted our database rea...
- Realtime Error Invalid query: Syntax err...
I was test driving Self-Hosted Appwrite for my use with Swift IOS apps as a backend while back and after successful trials, I started to move to incorporate int...