Hi Sajal, lightweight edges are still available and the "alter database" command is the right way to enable them, so if you are not able to create one maybe there is an error in your code or an issue in the release. Could you provide a snippet of code (or better, a test case) to replicate the problem?
Thanks Luigi 2014-12-18 11:21 GMT+01:00 Sajal Gupta <[email protected]>: > > Hi Luca, > Is it possible to enable lightweight edges in 2.0RC1 or this is feature > removed completely? > I tried alter database custom useLightweightEdges=true and also checked > OStorageEntryConfiguration and I could see the value set to true, however > when I call addEdge its creating the edges in a document (not lightweight). > I feel there are certain use cases where lightweight edges are preferred > approach from performance and space point of view (modelling simple > one-2-many relations like Customer -> orders without any edge specific > properties). I really like this flexibility and hope this feature is not > removed. > > Thanks > Sajal. > > On Thursday, 18 December 2014 14:16:07 UTC+5:30, Riccardo Tasso wrote: > >> Hi, >> since in the new Orient 2.0 there will be Lightweight Edges (LE) >> disabled by default I would like to ask which are the benefits and cost of >> one approach instead of the other. >> >> Of course I see that LE can't have other properties than label. LE will >> require less space, since no records are created on the database. >> Are there other benefits in terms of cost of inserting/updating/deleting >> a new edge? >> Which performance differences can I expect in a traversal with or without >> LE? >> >> I'd like to see this kind of discussion inside documentation, which I >> guess will be updated soon (since it states LE are the default): >> http://www.orientechnologies.com/docs/last/orientdb.wiki/ >> Tutorial-Working-with-graphs.html >> >> Cheers, >> Riccardo >> >> P.S. I have my orient t-shirt right now, thank you guys! >> > -- > > --- > 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.
