I have a Neo4j graph database running Cypher. The task is to find all users 
who mention other users in chat items. Keep in mind that not all users 
mention anything about other users in their chat items. I got a partial 
path statement to execute and return results:

match (a:ChatItem)-[:PartOf*]->(s)<-[:CreateChat*]-(u:User) 

When I attempt to query the full path, the neo4j system just hangs. Here is 
the command I have been trying to enter:
optional match p = 
(u1:User)-[:CreateChat]->(c:TeamChatSession)<-[:PartOf]-(i:ChatItem)-[r:Mentioned]->(u2:User)

The only difference in the two commands is the Mentioned and u2:User, and 
also I am using the first case in reverse for the second case. 
Can anyone please help me with this.

-- 
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