Hi - I can't seem to delete my collection. It just...
# community-help
d
Hi - I can't seem to delete my collection. It just keeps timing out
k
The client could timeout, but the underlying operation will succeed in the background.
d
I'm guessing it will take time to delete? There's 42M records
Screenshot 2025-07-29 at 3.52.28 pm.png
problem is... I set
Copy code
"default_sorting_field": "price",
But price isn't indexed. and now I can't change it to index true
so im trying to drop the collection and recreate it and upload the data again.
k
Yes 42M records it might take some time to complete.
d
is this the only way to do it?
I cant set price index to True?
k
Technically
default_sorting_field
is not really needed if you can just use that in the
sort_by
clause. It's mostly a convenience.
d
when i run my search query, it doesnt work
.
Typesense API error: {"message":"Default sorting field not found in the schema or it has been marked as a non-indexed field."}
this is the error i'm getting when trying to make a search query
k
Have you tried on a new test collection? That field is absolutely not needed.
d
this is what my schema looks like
i havent.. but i'm trying to fix this collection as it has 42M products in it and i cant acess it
k
The issue you are facing right now might be because of the delete call that timed out.
t
Check the logs, you might need to add swap to your machine if you can't up ram. Thats why I run on a dedicated box