[orientdb] Gremlin vs OSQL Speed comparison

2015-04-13 Thread CasperCLD
Hi all, Recently I asked the question if there was any performance difference with OSQL and Gremlin. I've created a comparison between OSQL and Gremlin graph traversal. In this comparison I searched for all adjacent nodes of a vertex (depth 0) and the adjacent nodes of those (depth 1) etc. Thre

[orientdb] Re: How to move a vertex and maintain relations

2015-03-19 Thread CasperCLD
In the web UI i execute: MOVE VERTEX #12:0 TO CLASS:Version And the result is: { "result": [ { "@type": "d", "@version": 0, "old": "#12:0", "new": "#16:0", "@fieldTypes": "old=x,new=x" } ], "notification": "Quer

[orientdb] How to move a vertex and maintain relations

2015-03-19 Thread CasperCLD
The title pretty much says all. I want to move a record in OrientDB from the 'Asset' class to a new class (that keeps the old version of the class 'Asset'). This is possible with MOVE VERTEX x to y. However this creates a new @RID for the node and I don't want to update all relations of the old

[orientdb] Best index engine pure graph

2015-03-10 Thread CasperCLD
I'm going to implement OrientDB as our graph database. We won't perform full-text/spatial searches on it, but solely queries like: 'What are the adjacent vertexes of this vertex?'. I know that Lucene is optimised for full-text/spatial searches (which is not appropriate), so this leaves me to ind

[orientdb] Re: Batch import cvs into graph

2015-02-23 Thread CasperCLD
rientechnologies.com/docs/last/orientdb-etl.wiki/Import-from-CSV-to-a-Graph.html > > ? > > Cheers, > Alexej > > On Friday, February 20, 2015 at 10:32:13 AM UTC+1, CasperCLD wrote: >> >> Hi! >> I've been searching in OrientDB's documentation and

[orientdb] Batch import cvs into graph

2015-02-20 Thread CasperCLD
Hi! I've been searching in OrientDB's documentation and could not find how to properly import a cvs file containing nodes and edges. The csv file looks like this: user_id,user_profile_id 1,2 1,53 1,52 1,62 Where a user_id has made an edit to a user_profile_id. I have the following code: final O