[orientdb] Counting Edges Between Vertices

2017-03-15 Thread John J. Szucs
In the spirit of giving back to the community, I am sharing a problem and solution that I just discovered in working with OrientDB. For my application, I need to be able to *very* quickly determine how many (zero or more, often, but not always zero or one) edges with a given label and

Re: [orientdb] Doubt and failure about indexes

2017-03-15 Thread André Toscano
Hi Roberto and everyone. Thank you for your answer. The redefinition showed was wrong, we don't do that. We remove all the lucene full text indexes from subclasses. Instead, we add a property string to put the @class.asString() in the objects and we add it in the lucene index do enable class

Re: [orientdb] what is difference b/w link and egde

2017-03-15 Thread Luigi Dell'Aquila
Hi, A link is just a physical pointer, eg. Record 1: {@rid: #12:0, name:"John" } Record 2: {@rid: #12:1, name:"Frank", friendOf:#12:0 } the friendOf attribute here is a link. Given Record 2, you can easily find Record 1 following the link, but if you only know Record 1 you have no information

[orientdb] what is difference b/w link and egde

2017-03-15 Thread thulaseeswara reddy gajjala
hi when we use edges and when we used links in real time scenarios. Is there any difference from both thanks -- --- 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