gremlin> g = TinkerFactory.createModern().traversal()==>graphtraversalsource[tinkergraph[vertices:6 edges:6], standard]gremlin> ids = [1,3,5]==>1==>3==>5gremlin> g.V(ids).repeat(both().simplePath()).emit(hasId(within(ids))).path().by(id)==>[1,3]==>[1,4,5]==>[1,4,3]==>[1,3,4,5]==>[3,1]==>[3,4,5]==>[3,4,1]==>[3,1,4,5]==>[5,4,3]==>[5,4,1]==>[5,4,3,1]==>[5,4,1,3]
gremlin> ids = [1,2,3,4]==>1==>2==>3==>4gremlin> g.V(ids).repeat(both().hasId(within(ids)).simplePath()).emit().path().by(id)==>[1,3]==>[1,2]==>[1,4]==>[1,3,4]==>[1,4,3]==>[2,1]==>[2,1,3]==>[2,1,4]==>[2,1,3,4]==>[2,1,4,3]==>[3,1]==>[3,4]==>[3,1,2]==>[3,1,4]==>[3,4,1]==>[3,4,1,2]==>[4,3]==>[4,1]==>[4,3,1]==>[4,1,3]==>[4,1,2]==>[4,3,1,2]
How can I find common relations(paths) between 200 vertexes ids?
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/166fb490-acc2-47a7-a8c3-95319d29a12a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks. Does the same queries works for 200 ids without performance issues?.Im using latest dse 5.1
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/c4742675-852d-43e9-8693-d52c569538b9%40googlegroups.com.
What is the max recommended number of edges for a vertex in order to avoid performance issues using find paths queries?
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/d6991145-6c53-4714-b3ca-1ade47bf9797%40googlegroups.com.
I already have a graph.the number of edges for a vertex is between 10 to 10000.and many of my vertexes has 5000 edges for each.the timeLimit I put in my query
--
You received this message because you are subscribed to the Google Groups "Gremlin-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gremlin-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gremlin-users/f416791d-a433-4032-a62b-19dd68dbd8d9%40googlegroups.com.
I already have read many articles on graphdb models but I still do not understand how to reduce the number of edges in some cases.
https://neo4j.com/blog/graph-database-specialized-etl/
There is a solution for the super node problem by adding "meta data" nodes.I do not understand what is the partition key of the meta data node in the example in that article.(person born in date)