I have the following cypher query:

MATCH (n:User) WHERE HAS(n.uid)  MATCH 
(n)-[:LOCATED_IN]->()<-[:LOCATED_IN]-(m),  (n)-[:TEXTED]-(k) WITH  COLLECT 
(DISTINCT m.name) AS users1, COLLECT( DISTINCT k.name ) 
AS users2 RETURN users1+ users2

But it returns me no result.  It just returns a title "users1+ users2". I 
know that there are results in the query because I executed them 
individually. 

My goal is to collect all the results from individual matches and then 
count the distinct names. Thanks for the help in advance.




-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to