IndexNamesNotUnique
All my tables have unique index names but I get this error when I try to
dev
5 Replies
I've only seen this when an index was indeed (unexpectedly) not unique. Would be really helpful for this error to have info on which index is causing the issue.
Will look into adding more info to the error.
The index names need to be unique also against vector search index names and text search index names, in case that helps
I had unique index names, but the problem came from chaining/defining multiple
searchIndex
on a schema.
I think this error should be more descriptive. I had difficulty figuring out what caused the error as the message was unclear.
I needed a full-text search on multiple columns. I saw in the docs that this isn't supported yet, which must have caused the error.There is a limit of 4 search indexes per table. Did you need more than 4? https://docs.convex.dev/production/state/limits#full-text-search
Limits | Convex Developer Hub
We’d love for you to have unlimited joy building on Convex but engineering