Mordsith
Mordsith2y ago

IndexNamesNotUnique

All my tables have unique index names but I get this error when I try to dev
5 Replies
erquhart
erquhart2y ago
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.
Michal Srb
Michal Srb2y ago
Will look into adding more info to the error.
ian
ian2y ago
The index names need to be unique also against vector search index names and text search index names, in case that helps
Mordsith
MordsithOP2y ago
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.
lee
lee2y ago
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

Did you find this page helpful?