Rank 2: Process
search is not working while adding multiple attributes
Votes
0
Replies
20
Participants
Unknown
Messages
21
Rank 2: Process
Rank 2: Process
It works when i am searching with one attribute
Rank 2: Process
search is not working while adding multiple attributes
What does mean "Not working", do you get an error? you don't the expected results?
FYI currently queries only support AND operator, that means, you are looking for title=x AND category=x
Rank 2: Process
it means query only support AND operator
Rank 2: Process
how can i use two attribute
Rank 5: Hypervisor
your title and category search for the same query. is that intended?
Rank 2: Process
yes
Rank 2: Process
return the value whether it is in title or category attribute
Rank 5: Hypervisor
Ahh. You are trying to use an or logic.
Rank 5: Hypervisor
I think Query.or is added on 1.5x.
Rank 2: Process
yes you are right
Rank 5: Hypervisor
using what you are doing, it will search for documents where the category AND title contain your query.
Rank 2: Process
i want to check whether that value is in either both the attribute or not
Rank 5: Hypervisor
You'll have to do multiple calls for that atm. Once 1.5x is released, the or can be used.
Rank 2: Process
I am very disappointed with appwrite version
Rank 5: Hypervisor
Just a few more weeks for the release 🙂
Rank 2: Process
sorry to say but who are you
Rank 5: Hypervisor
someone waiting for 1.5x release as well 😸
Rank 5: Hypervisor
i see double post #search is not working while adding multiple attributes but working with single attribute valuesearch