Hi,

Thanks for your reply.

Ideally, we use, 

delete vertex @rid - for deleting vertices and 
delete edge @rid - for deleting edges

I think, we read somewhere that by doing "delete from @rid" directly, it 
does not delete edge references from vertices.
hence, we are using queries as mentioned above.

Please correct if we are missing something.

Thanks,
Nitish Gangal


On Tuesday, August 12, 2014 12:57:07 PM UTC+5:30, Lvc@ wrote:
>
> Hi, 
> How do you delete vertex/edge?
>
> Lvc@
>
> Sent from Mobile device
> Il 12/ago/2014 09:16 "Nitish Gangal" <[email protected] <javascript:>> 
> ha scritto:
>
>> Hello,
>>
>> I am using orientdb v1.6.
>> I have a structure like:
>>
>> User vertex( user 1) -> connected with edge "isFriendOf" edge class -> 
>> with other user vertex(user 2).
>>
>> All the positive scenarios work just fine.
>> But in in certain scenarios when, we delete edge of "isFriendOf" class, 
>> its @rid references does not get cleaned up from user 1 and user 2 vertices.
>> This causes complete inconsistency in graph database and any query over 
>> these vertices and "isFriendOf" edge classes just returns an exception.
>> We tried to identify and clean up such references through web admin 
>> interface and through orientdb console, still I get the exceptions.
>>
>> Completely stuck with it for now. Also, this looks kind of a severe thing 
>> for me.
>> Any pointers regarding this will be extremely helpful.
>>
>> Please help me with following two things asap:
>> 1. When such inconsistency can arise in orientdb?
>> 2. How to clean up such things?
>>
>> Please help me at the earliest.
>>
>> Thanks,
>> Nitish Gangal 
>>  
>>
>> -- 
>>
>> --- 
>> 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] <javascript:>.
>> 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