I'm installing a clustered db with ArangoDB. I need use indexes in collections.
We suppose that we have one collection named myCollection that was created with the shard keys _key.
Let myVariable be the unique key of myCollection so I have a unique constraint on myVariable.
By myCollection is created, and data are inside.
I don't want erase all, create myCollection again and add a new shard key with myVariable and restore myCollection, so I need to add a new shard key dinamically meanwhile that myCollection is already created.
Is this possible? Can I add, somehow, new shard key?
I mean, add key in _shardBy label without recreate collection.
Thanks for help.