Hello,
I'm having trouble finding the right command to set the default cluster id
for a class.
I created a Datacenter class, added 3 clusters to it (usa_datacenter,
asia_datacenter, europe_datacenter), and deleted the original default
datacenter cluster. So now, my Datacenter class does not have any default
cluster associated with it:
Class................: Datacenter
Super class..........: V
Default cluster......: null (id=-1)
Supported cluster ids: [15, 16, 17]
Cluster selection....: default
orientdb {db=Test}> info class Datacenter
I would like to set the default cluster to be the "usa_datacenter".
This doc
<https://github.com/orientechnologies/orientdb/wiki/SQL-Create-Class#cluster-selection-strategy>
mentions
a `defaultClusterId` property of a class, but the alter class
<https://raw.githubusercontent.com/wiki/orientechnologies/orientdb/SQL-Alter-Class.md>
command
does not list it as a supported attribute name.
(As a side note, are class "properties" equivalent to "attributes" in this
context? If not, what is the distinction?)
Can you please help?
Thanks,
Sally
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.