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
- Export, Import or Migration giving this ...
As you can see in yhe screenshot i am not able to export any data or export the data from tables. Also it is affecting the migration from appwrite to appwrite h...
- I'm getting an error on the console "j?....
On my self hosted instance version 1.8.1 the console is giving me this error when trying to view the rows for a table I recently created. My application is read...
- Websites hosted on my appwrite sites hav...
Hello, all my websites hosted on appwrite sites are not running I am getting this message "This site can’t be reached drivehub.appwrite.network took too long t...