
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
- Adding "name" column to table creates 2-...
As stated, im adding the "name" column to one table, it adds 4 duplicates. In another table it adds 3 duplicates, and when I delete 1 of them, all duplucates di...
- Looking for Partner
I'm looking for a partner for long-term collaboration. Of course, you'll get paid for it. If you are interested, please send a DM to me
- 2 Columns still processing since yesterd...
Hey o/ Yesterday (around <t:1758045600:f>), I created a database and added several columns to it. After about 15 minutes, most of the "processing" tags disappe...
