我在部署Firestore索引时遇到问题。该命令表示成功,但是未保存新索引。
我的猜测是因为我做了一些坏索引,但是我也不能删除它。请提供有关如何解决此问题的建议
这是日志:
Vus-MacBook-Pro:neotwist-site vu$ firebase firestore:indexes
Error: Error parsing index name: projects/neotwist-dev/databases/(default)/collectionGroups/apps/{appId}/categories/indexes/CICAgNiroIEK
Having trouble? Try firebase firestore:indexes --help
Vus-MacBook-Pro:neotwist-site vu$ firebase deploy --only firestore:indexes --force
=== Deploying to 'neotwist-dev'...
i deploying firestore
i firestore: reading indexes from firestore.indexes.json...
i firestore: your indexes indexes are specified in the v1beta1 API format. Please upgrade to the new index API format by running firebase firestore:indexes again and saving the result.
✔ firestore: deployed indexes in firestore.indexes.json successfully
✔ Deploy complete!
Project Console: https://console.firebase.google.com/project/neotwist-dev/overview
Vus-MacBook-Pro:neotwist-site vu$