Hey, i need help in writing query for getting documents in a collection filtered by user_id
You need to create an index
From appwrite dashboard
If you already created one and still see such error, send here the code causing it and what you're indexing (appwrite dashboard screenshot of the index section)
@Surya Ashish
wait
Okay 😄
tell me how to write an index for this use case
You dont need to write it, go to your appwrite dashboard and define it
how to define them
what values should i put in
make index_type as fulltext
select the attribute name which you wanna query
thanks
You only need a full text index if you're using the search query. Key index is probably enough
Yeah that's what I was saying as it's related to querying
Recommended threads
- Sudden CORS Errors - Domain hasn't Chang...
I have an Appwrite project with two web apps configured, the first one has the hostname `*` and the second one I just added to test if it could fix the issue wi...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- Collections list not showing up when try...
I'm trying to create new relationship attribute but both one way and two way relationship is not showing up collections list to connect with my relationship att...