It works when i am searching with one attribute
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
it means query only support AND operator
how can i use two attribute
your title and category search for the same query. is that intended?
yes
return the value whether it is in title or category attribute
Ahh. You are trying to use an or logic.
I think Query.or is added on 1.5x.
yes you are right
using what you are doing, it will search for documents where the category AND title contain your query.
i want to check whether that value is in either both the attribute or not
You'll have to do multiple calls for that atm. Once 1.5x is released, the or can be used.
I am very disappointed with appwrite version
Just a few more weeks for the release 🙂
sorry to say but who are you
someone waiting for 1.5x release as well 😸
i see double post #search is not working while adding multiple attributes but working with single attribute valuesearch
Recommended threads
- [ENHANCEMENT] Use the custom Next.js dep...
Deployment adapters on Next.js are now stable! This means that we don't have to stick to the limitations of sniffing out build outputs and manually moving or mo...
- NextJS builds sudden runtime_timeout
My builds suddenly stopped working. Activating old prebuilt snapshots work, but redeploying that same code produces builds that throw runtime_timeout FRA region
- Project paused?
Hello, I have two Appwrite projects and I can not resume them for some reason. I'm using the free plan, and I saw in the pricing page that 2 free projects are a...