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
- How to Avoid Double Requests in function...
I'm currently using Appwrite's `functions.createExecution` in my project. I want to avoid double requests when multiple actions (like searching or pagination) a...
- Send Email Verification With REST
I am using REST to create a user on the server side after receiving form data from the client. After the account is successfully created i wanted to send the v...
- Use different email hosts for different ...
Hello, I have 2 projects and i want to be able to set up email templates in the projects. Both projects will have different email host configurations. I see ...