Though Dgraph allows you to change the index type of a predicate, do it only if it’s necessary. When the indices are changed, the data needs to be re-indexed, and this takes some computing, so it could take a bit of time. While the re-indexing operation is running, all mutations will be put on hold.
Imagine you have a running application and you need to change an index. Re-indexing can take manyyyyy minutes. And if it is a critical application like a warehouse system or a hospital or an online shop, it is impossible to allow maintenances like stopping mutations. That’s really a No-Go. The system has to be up 24/7.
So, is it possible to bypass that? Else I can’t imagine dgraph anymore in a production app because it would be a massive problem updating something afterwards??