JanusGraph query will Obtain redundant 1 degree data


deng ziming <dengzim...@...>
 



I have a query `g.V().has("USERID","userid","007").properties()`, but the properties and edges of vertex are all stored in table edgestore,

so programs need to query edgestore and get every property and edge from cassandra and judge whether it is property or edge and then filter edge.

so if I want `g.V().has("USERID","userid","007").both().both()`, I am just meant to query 2 degree of 007, but in fact, get 3 degrees, it's expensive, is this a bug?


Chris Hupman <chris...@...>
 

Please ask these types of questions in jausgraph-users. If it turns out to be a bug, an issue can be opened.

This group is for discussing development direction, not troubleshooting. 


On Tuesday, February 26, 2019 at 7:55:50 PM UTC-8, deng ziming wrote:


I have a query `g.V().has("USERID","userid","007").properties()`, but the properties and edges of vertex are all stored in table edgestore,

so programs need to query edgestore and get every property and edge from cassandra and judge whether it is property or edge and then filter edge.

so if I want `g.V().has("USERID","userid","007").both().both()`, I am just meant to query 2 degree of 007, but in fact, get 3 degrees, it's expensive, is this a bug?