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
- Weird permission failure
when creating an account I use following methods: ``` Future<void> register(String email, String password, String username) async { final user = await accoun...
- Relation Question
How do I create a relation from table y to an others x.$id. in my example I have a users table where I use Appwrites unique User IDs and I want other tables fo...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...