Re: [Neo4j] Deep search with Cypher Query Language

2011-06-29 Thread Andres Taylor
On Wed, Jun 29, 2011 at 11:32 AM, Adrian Stabiszewski < mynewslet...@nitegate.de> wrote: > > If the property op_type contains a Number, you can't compare it against a > > string. Could that be the problem? > > Yes, op_type is a number property. > > I'm wondering how to specify this in the query. >

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-29 Thread Adrian Stabiszewski
> If the property op_type contains a Number, you can't compare it against a > string. Could that be the problem? Yes, op_type is a number property. I'm wondering how to specify this in the query. And a different aspect of the query language concept: Why are you creating a new query language an

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-29 Thread Andres Taylor
If the property op_type contains a Number, you can't compare it against a string. Could that be the problem? Andrés On Wed, Jun 29, 2011 at 8:38 AM, Adrian Stabiszewski < mynewslet...@nitegate.de> wrote: > Just tested my queries with M05. Now I get the result in 6.6sec instead of > 10sec with M0

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-28 Thread Adrian Stabiszewski
Just tested my queries with M05. Now I get the result in 6.6sec instead of 10sec with M04. :) This is great! 30% improvement. However, I might have found a regression. One of my earlier queries now gives me a SystaxError Exception: org.neo4j.cypher.SyntaxError: Don't know how to compare that. Lef

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-28 Thread Andres Taylor
On Tue, Jun 28, 2011 at 1:27 PM, Adrian Stabiszewski < mynewslet...@nitegate.de> wrote: > Thanks for your answers. The correct quotation marks are working. Couldn't > find this in the docs. > It's under the return statement. I'll make it clearer. Thanks for the pointer. > > It is not possible

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-28 Thread Adrian Stabiszewski
> can you by chance share your dataset (or a generator that creates a similar > one)? Then I'd like to profile the query. Thanks for the offer, Michael. The dataset is a direct copy from my production data, so it is not possible to share it. > > One other thing. From what I understand, those que

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-28 Thread Michael Hunger
Adrian, can you by chance share your dataset (or a generator that creates a similar one)? Then I'd like to profile the query. > > One other thing. From what I understand, those queries should return the > same result, but they don't: > > start c=(typeIndex,node_type,"C"), e=(typeIndex,node_type

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-28 Thread Adrian Stabiszewski
Thanks for your answers. The correct quotation marks are working. Couldn't find this in the docs. Some other notes between the lines: > > start c=(typeIndex,node_type,"C"), e=(typeIndex,node_type,"E") > > match(c)-->(e) where (c.node_name = "name") return c,e > > > > This only works if C and E hav

Re: [Neo4j] Deep search with Cypher Query Language

2011-06-28 Thread Andres Taylor
Lots of questions in one mail. My answers are inline. On Mon, Jun 27, 2011 at 10:55 PM, Adrian Stabiszewski < mynewslet...@nitegate.de> wrote: > Hi! > > I'm currently evaluating Neo4J for a project, but I'm not sure if it is the > right solution. Maybe you could help me by looking at my scenario.

[Neo4j] Deep search with Cypher Query Language

2011-06-27 Thread Adrian Stabiszewski
Hi! I'm currently evaluating Neo4J for a project, but I'm not sure if it is the right solution. Maybe you could help me by looking at my scenario. I have ca. 10 different types of nodes with properties which have directed relationships. Some types can only be connected to other types but others ca