Sorry, but I don't think the correction is right either: "two vertices are 
connected by maximum 1 edge, so if you already have one edge between two 
vertices and you're creating a new edge between the same vertices, the 
second edge will be regular."

I just wrote a quick java program (on 2.0-rc1) that creates 2 vertices and 
5 edges between them, all 5 edges are lightweight.  It seems the only real 
condition is that the edge have no properties (and of course that the 
database is configured for lightweight edges).

On Wednesday, January 7, 2015 10:59:04 AM UTC-7, Lvc@ wrote:
>
> Hey guys,
> I wrote that statement incorrectly. Now updated.
>
> Thanks for the feedback,
> Lvc@
>
>
> On 7 January 2015 at 18:49, Keith Freeman <[email protected] <javascript:>> 
> wrote:
>
>> Maybe the "2 or more...." text just means bidirectional?  I don't know, 
>> as you point out it seems pretty confusing.
>>
>> On Wednesday, January 7, 2015 2:23:17 AM UTC-7, Riccardo Tasso wrote:
>>>
>>> Sorry I was wrong: parallel edges can be created also in lightweight 
>>> edge mode. I can't understand the statement: "Lightweight edges can be 
>>> used only when:" [...] "2 or more edges are created between the same 
>>> vertices".
>>>
>>> It would be nice if it was better explained.
>>>
>>> Cheers,
>>>    Riccardo
>>>
>>> 2015-01-05 8:45 GMT+01:00 Riccardo Tasso <[email protected]>:
>>>
>>>> Thanks Luca, documentation is very important.
>>>>
>>>> I guess this sentence is confusing: "Lightweight edges can be used only 
>>>> when:" [...] "2 or more edges are created between the same vertices". I 
>>>> think something like:  "Lightweight edges can be used only when:" [...] 
>>>> "no 
>>>> more than one edge is created between the same vertices". Somewhere I've 
>>>> read that those kind of edges are called "parallel edges" (
>>>> http://en.wikipedia.org/wiki/Multiple_edges).
>>>>
>>>> Cheers,
>>>>    Riccardo
>>>>
>>>> 2015-01-04 18:04 GMT+01:00 Luca Garulli <[email protected]>:
>>>>
>>>>> Hi guys,
>>>>> I've just published a new page in documentation about Lightweight 
>>>>> Edges:
>>>>>
>>>>> http://www.orientechnologies.com/docs/last/orientdb.wiki/
>>>>> Lightweight-Edges.html
>>>>>
>>>>> I think it's useful to understand what they are and when to use them.
>>>>>
>>>>> Lvc@
>>>>>
>>>>>  -- 
>>>>>
>>>>> --- 
>>>>> 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] <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