cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Not getting results

beginner
Node Link

{"node": "Bundle", "query": "MATCH (:Bundle) RETURN COUNT(*)", "result": 0, "intent_name": "count_components"}

The above response got from the chatbot made of rasa and neo4j.
The question was :- how many bundles are inside this project
Expected response :- (bundle count) bundles are inside this project
Actual response received :- {"node": "Bundle", "query": "MATCH (:Bundle) RETURN COUNT(*)", "result": 0, "intent_name": "count_components"}

Can anyone tell me the mistake I made?

1 REPLY 1

You may have to bind your match to a variable and count that.

MATCH (b:Bundle) RETURN count(b)