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
- Couldnt not do appwrite push tables
Not sure why i am not able to create my tables
- SELF HOSTING ISSUE, DATA NOT MIGRATING T...
Hey, devs, I recently tried to migrate my cloud instance to a self hosted version but my data is not transferred fully only the table structure is transferred ...
- No Document ID?
Hi I have a self hosted appwrite. My documents get a document ID but are not visible in the console. I don't know why this happens and how to fix this