Neo4j Web Browser : Display phantom data (data does not exists on server)

60 Views Asked by At

We observe unexplainable behaviour with Neo4j Web Browser.

  • Cypher query return only 3 relationships but the web browser display 5.

  • As you can see, on the right side we have this text : Displaying 4 Nodes, 3 rel But the graph shows 5 rel.

  • The table Tab in the Web Browser shows 3 records and the cypher results return 3 rel

  • We observe this behaviors with other queries, it's not only for the query shared here.

  • When we refresh the Neo4j WebBrowser (reload/refresh the chrome browser tab), sometimes we have the display with the right data, sometimes not

a snapshot to help to inderstand

PS : we run 5.14.0 community version and Neo4j Web Browser 5.12.0

Regards, Nizar

1

There are 1 best solutions below

5
On

In the neo4j browser, the connect result nodes option is enabled by default.

enter image description here

When you return nodes from queries, the browser will make in the background an additional query for finding relationships between the nodes and automatically display them.

For example, if I would return only two nodes with Cypher

MATCH (n:Person {name: "Christophe"})
MATCH (s:Song {title: "Numb"})
RETURN n, s

It will find there is an existing relationship between them in the background and will fetch it from the database and display it

enter image description here