I figured that one last part. I was providing a cluster id in the command
which should not be specified. the correct query is.

ALTER CLASS Product CLUSTERSELECTION default

Thanks again!

On Tue, Sep 22, 2015 at 11:29 AM, Arul Dhesiaseelan <[email protected]> wrote:

> Please ignore my last comment, I had to reconnect from the Console and it
> shows correctly. I just need to know if there is a way to set
> clusterselection using ALTER CLASS command.
>
> On Tue, Sep 22, 2015 at 10:59 AM, Arul Dhesiaseelan <[email protected]> wrote:
>
>> Thanks for the pointer! Much appreciated.
>>
>> I see it is set to round-robin in the UI. I was thinking this query would
>> set that for me, apparently it did not. Am I using this query incorrectly
>> or the only way to set this is from the UI?
>>
>> orientdb> connect remote:localhost/products admin
>> admin
>>
>>
>> Connecting to database [remote:localhost/products] with user 'admin'...OK
>> orientdb {db=products}> ALTER CLASS Product CLUSTERSELECTION default 9;
>>
>> Class updated successfully
>>
>> orientdb {db=products}>
>>
>> On Tue, Sep 22, 2015 at 10:15 AM, <[email protected]> wrote:
>>
>>> Hi,
>>> you see the attachment.
>>>
>>>
>>> <https://lh3.googleusercontent.com/-vpAjMn6S6ZU/VgFwYes_vfI/AAAAAAAAAGc/gHqYB9elpzA/s1600/clusterSelection.png>
>>>
>>> Alessandro
>>>
>>> --
>>>
>>> ---
>>> 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.
>>>
>>
>>
>

-- 

--- 
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.

Reply via email to