Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to create OR condition in MATCH
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  2 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Freddy Racin  
View profile  
 More options Nov 14 2012, 9:13 am
From: Freddy Racin <freddyra...@gmail.com>
Date: Wed, 14 Nov 2012 06:13:05 -0800 (PST)
Local: Wed, Nov 14 2012 9:13 am
Subject: How to create OR condition in MATCH

Hi

I need to retrieve all nodes from a start node, all nodes are connected
with relation type FOLDER or CONTENT (a folder has a list of contents or
folders). If I use "|" in clause MATCH i have an error...

Error executing statement START n=node({0}) MATCH
(n)-[r1:CONTENT|FOLDER*]->(storeNode) RETURN storeNode; nested exception is
org.springframework.dao.InvalidDataAccessResourceUsageException: Error
executing statement START n=node({0}) MATCH
(n)-[:CONTENT|FOLDER*]->(storeNode) RETURN storeNode; nested exception is
org.neo4j.cypher.SyntaxException: `]' expected but `|' found

I use spring-data-neo4j 2.0.1.RELEASE , neo4j-cypher
1.6.M02 and neo4j-rest-graphdb 1.6.M02 lib.

Somebody can I help me?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aseem Kishore  
View profile  
 More options Nov 17 2012, 5:38 pm
From: Aseem Kishore <aseem.kish...@gmail.com>
Date: Sat, 17 Nov 2012 17:38:08 -0500
Local: Sat, Nov 17 2012 5:38 pm
Subject: Re: [Neo4j] How to create OR condition in MATCH

I could be wrong, but I believe | support was added in 1.7 or 1.8, not in
1.6.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »