Rank 1: Thread
Hello,
I created an index of type fulltext with multiple attributes. I'm using Query.search() but it's giving this error. Can you guys help me?
Votes
0
Replies
4
Participants
Unknown
Messages
5
Rank 1: Thread
Hello,
I created an index of type fulltext with multiple attributes. I'm using Query.search() but it's giving this error. Can you guys help me?
Admin
The first parameter to Query.search() should be the attribute you want to search on
Rank 1: Thread
Wouldn't Query.search("body", "dog") search only in 'body'? What if i want to search 'dog' in the title at the same time?
Admin
if you want something like:
title contains dog OR subtitle contains dog OR body contains doc
you'll either need to make separate queries or create an attribute that has all of the data and search on that attribute
You might want to 👍🏼 this related issue: https://github.com/appwrite/appwrite/issues/2740
Rank 1: Thread
thank you!