Neo4j browser doesn't show my nodes.

161 views
Skip to first unread message

Alx

unread,
Jul 2, 2014, 10:20:04 AM7/2/14
to ne...@googlegroups.com
I am running Neo4j 2.1.2. When I am accessing the browser, I am clicking on a node name and the browser runs the default cypher query: 

MATCH (n:`NODE_NAME`) RETURN n LIMIT 25

However I get nothing . Only 'Returned 0 rows in 75 ms' etc. This happens with all nodes. I know that the database has nodes. Interestingly I can run other advanced cypher query where I use node properties. Any ideas?

Richard L. Burton III

unread,
Jul 2, 2014, 3:22:34 PM7/2/14
to ne...@googlegroups.com
Have you tried 

MATCH (n:NODE_NAME) RETURN n LIMIT 25


--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
-Richard L. Burton III
@rburton

Alex Frieden

unread,
Jul 2, 2014, 3:24:52 PM7/2/14
to ne...@googlegroups.com
Remember, NODE_NAME is just the label you have attached to that node, not a property of the node.  i.e. you need to have attached the label of Person to the node, not the property of name to filter on using MATCH with Labels.  
Alexander Frieden

Michael Hunger

unread,
Jul 2, 2014, 3:26:37 PM7/2/14
to ne...@googlegroups.com
try to run 

match (n) return n limit 25

or 
match (n) return count(*)


You didn't accidentally delete the database underneath? O reconfigured the location?

Alx

unread,
Jul 2, 2014, 4:25:45 PM7/2/14
to ne...@googlegroups.com
Michael,

It is so bizarre! Both  of your queries return results but when I query nodes with a specific label (MATCH (n:`NODE_NAME`) RETURN n LIMIT 25) I get nothing! Do you think it might have to do with some configuration. I have auto-indexing enabled

-Alex

Aru Sahni

unread,
Jul 2, 2014, 4:55:27 PM7/2/14
to ne...@googlegroups.com
As someone asked, do you actually have a label named NODE_NAME? If NODE_NAME is a property you'll have to query it differently.

~A

Alx

unread,
Jul 2, 2014, 5:38:26 PM7/2/14
to ne...@googlegroups.com
It is a label and not a property.

Alx

unread,
Jul 5, 2014, 11:09:28 AM7/5/14
to ne...@googlegroups.com
Any other suggestions to try resolve this? Is there a way to rebuild/fix the database?


On Wednesday, July 2, 2014 3:26:37 PM UTC-4, Michael Hunger wrote:

Michael Hunger

unread,
Jul 5, 2014, 11:37:46 AM7/5/14
to ne...@googlegroups.com
You could delete the schema directory so that the schema/label index is rebuild on startup.

Please do a backup before

Sent from mobile device

Alx

unread,
Jul 5, 2014, 12:42:50 PM7/5/14
to ne...@googlegroups.com
Thanks Michael! It worked!
Reply all
Reply to author
Forward
0 new messages