how to optimize neo4j query mode

12 views
Skip to first unread message

xi long

unread,
Aug 15, 2016, 12:49:07 AM8/15/16
to Neo4j
 I used javascript to visit Neo4j. And there are two ways. One is to execute a cypher statement using rest api like "match (n:{ id:123123}) return n" or "start n=node(123123) match (n) return n".  Another is to use a direct url address like “http://localhost:7474/db/data/node/123123/relationships/all

I wonder which way is faster when visiting Neo4j using javascript. I want to get a huge net structure to show in webpage like this. But it is inefficient. I was puzzled about how to optimize the process of displaying the graph.

Reply all
Reply to author
Forward
0 new messages