Rank 1: Thread
Hi i successfully upgraded my self hosted appwrite from 1.4.3 to 1.5.4 yesterday but now i get errors when i try to create a fulltext search index on an array
error: fulltext index forbidden on array attributes
Votes
0
Replies
4
Participants
Unknown
Messages
5
Rank 1: Thread
Hi i successfully upgraded my self hosted appwrite from 1.4.3 to 1.5.4 yesterday but now i get errors when i try to create a fulltext search index on an array
error: fulltext index forbidden on array attributes
Rank 2: Process
I think the only reason to set a fulltext search index on an array would be to do a Query.search.
Instead of using Query.search you now need to use Query.contains. As far as I know you don't need an index to use Query.contains.
It was a bit hacky so it was removed in that version. As @WhiteWalker72 said, now it's better using contains query
Rank 1: Thread
thank you
Rank 2: Process
No problem!
Feel free add [SOLVED] in front of the title so others can see your issue is solved 🙂