[Neo4j] Re: Traversal to find friends of friends that are not friends with the user yet

2014-04-04 Thread Rio Eduardo
yeah because if the model graph is changed, the way to return filter also changes. For example: In your case here: CREATE (Pontus:People { name:'Pontus Lundin' }),(John:People { name: 'John Hellberg' }),(Jack:People { name: 'Jack Hellberg' }),(Sandra:People { name: 'Sandra Johansson', sex:'fema

[Neo4j] Re: Traversal to find friends of friends that are not friends with the user yet

2014-04-04 Thread Lundin
What does start n = node(1) match p=n-[*3]->(x) return x, length(p) and start n = node(1) match p=n-[*4]->(x) return x, length(p) Yields ? n lördagen den 5:e april 2014 kl. 02:37:58 UTC+2 skrev Rio Eduardo: I'm sorry Lundin, I asked the wrong question. I meant how to check if there > ar

[Neo4j] Re: Traversal to find friends of friends that are not friends with the user yet

2014-04-04 Thread Lundin
First, why do you say it works sometimes ? That sounds like a bug to me in that case. Can you please start with a small dataset so you know and being sure that you know whats going on in the graph ? CREATE (Pontus:People { name:'Pontus Lundin' }),(John:People { name: 'John Hellberg' }),(Jack:Pe

[Neo4j] Re: Traversal to find friends of friends that are not friends with the user yet

2014-04-04 Thread Rio Eduardo
I'm sorry Lundin, I asked the wrong question. I meant how to check if there are only 3 depth level in graph? On Saturday, April 5, 2014 7:25:48 AM UTC+7, Rio Eduardo wrote: > > Lundin, Do you know the way how to count many relationships in the graph > because I don't see it in the doc(method for

[Neo4j] Re: Traversal to find friends of friends that are not friends with the user yet

2014-04-04 Thread Rio Eduardo
Lundin, Do you know the way how to count many relationships in the graph because I don't see it in the doc(method for the position object(the path))? Thank you. On Saturday, April 5, 2014 12:43:01 AM UTC+7, Lundin wrote: > > Have you tried experimenting with ther filter and the path length ? > e

[Neo4j] Re: Traversal to find friends of friends that are not friends with the user yet

2014-04-04 Thread Rio Eduardo
Thank you for the reply Lundin. I already tried it, but in some conditions it doesn't work(it returns nodes that shouldn't be returned). That's why I found out the other ways to make condition that can work in many conditions. On Saturday, April 5, 2014 12:43:01 AM UTC+7, Lundin wrote: > > Have

Re: [Neo4j] Maximum for Labels

2014-04-04 Thread Jim Webber
Hi Philippe, > But how many Labels can support a graph? You can have ~64k labels (like Michael said) and you can attach one or more of those labels on every node if you wish (~34 billion in 2.0.1). For your second question: From a Web application you can connect to as many Neo4j instances as

Re: [Neo4j] neo4j transaction size

2014-04-04 Thread Jim Webber
> So just by counting during ETL what I am putting into it? Yup. Jim -- 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 neo4j+unsubscr...@googlegroups.com. For more opt

Re: [Neo4j] Query keeps on processing only

2014-04-04 Thread Jim Webber
Hi Sukaant, I've just run this in both the browser UI and the shell on Neo4j community 2.0.1 and it works fine on a small graph. I'm going to make a guess here that you might have a lot of CREATED_BY relationships which would make the query have to do a lot of work. Can you confirm that by sen

[Neo4j] Re: Clojure on Coils with Cypher support

2014-04-04 Thread Farouk Z Quraishi
Hi Jim, Peter, Thanks for your encouragement. The client side Neo4j support is still coming along, and I am working on integrating it with the ClojureScript Om library made by David Nolen which is based on Facebook React at the moment. I will write more when this is ready, but it will mean tha

[Neo4j] Re: Traversal to find friends of friends that are not friends with the user yet

2014-04-04 Thread Lundin
Have you tried experimenting with ther filter and the path length ? endNod() is not the only method for the position object(the path), Mabey position.length>1 or something. Den fredagen den 4:e april 2014 kl. 18:10:33 UTC+2 skrev Rio Eduardo: > > Please anyone in this group help me. I already pos

Re: [Neo4j] Re: 500 error

2014-04-04 Thread Kevin Burton
The actual call is using node-neo4j so I don't know how it translates to a REST call but they claim it uses REST and since a 500 (server error) is returned they passed it off to this group. But here is the call: var query = [ "CREATE (n:Catalog {props})", "RETURN n"]; var params = { props: { Id:

[Neo4j] Traversal to find friends of friends that are not friends with the user yet

2014-04-04 Thread Rio Eduardo
Please anyone in this group help me. I already posted my problem at http://stackoverflow.com/questions/22861424/neo4j-traversal-to-find-friends-of-friends-that-are-not-friends-with-the-user Thank you. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. T

Re: [Neo4j] Re: 500 error

2014-04-04 Thread Jacob Hansson
Could please include what the actual call you are making to the server is? Also, using the cypher endpoint is discouraged, you should be using the transactional endpoint, documented here: http://docs.neo4j.org/chunked/stable/rest-api-transactional.html On Fri, Apr 4, 2014 at 4:07 PM, Kevin Burt

[Neo4j] 500 error

2014-04-04 Thread Kevin Burton
I am trying to connect with the Neo4j server and I get a 500 error. This wasn't too helpful so I looked at the Neo4j logs and see stack traces like: Apr 04, 2014 8:29:39 AM com.sun.jersey.spi.container.ContainerResponse mapMappableContainerException SEVERE: The RuntimeException could not be mapp

[Neo4j] cypher issue version 2.0.0-M06 to 2.1.0.

2014-04-04 Thread Navrattan Yadav
i am using neo4j 2.0.0-M06 . But this version has issue in when in clustering. then i move to version 2.1.0-M01 . but got error : java.lang.NoClassDefFoundError: org/neo4j/cypher/internal/compiler/v2_1/spi/PlanContext try both jar : neo4j-cypher-compiler-2.0-2.0.1.jar neo4j-cypher-compiler-

[Neo4j] Re: Query keeps on processing only

2014-04-04 Thread Sukaant Chaudhary
Hi, Please help why it makes the shell to hang. -Sukaant Chaudhary [image: linkedinbutton] On Fri, Apr 4, 2014 at 2:26 PM, Sukaant Chaudhary < sukaant.chaudh...@gmail.com> wrote: > Hi, > Can anyone tell me what's wrong with the followi

[Neo4j] Re: Trying to setup Spatial plugin on Mac

2014-04-04 Thread Lorenzo Speranzoni (@inserpio)
Hi Mark, all you have to do, is simple unzip this file http://dist.neo4j.org/spatial/neo4j-spatial-0.12-neo4j-2.0.1-server-plugin.zip into /your/path/to/neo4j-community-2.0.1/plugins. 1. Pay attention to plugin version: all versions are downloadable following github project https:

[Neo4j] [SDN] Add unicity constraint manually : Is it a mistake ?

2014-04-04 Thread Gwendal Mousset
Hi all, I use SDN 3.0.1 with Neo4J 2.0.1. I need 2 unicity constraints on a labelled node type. I saw that SDN only support 1 unique property by node with the annotation @Index(unique = true) in a NodeEntity class, but I need a second one. So I try to add manually a second constraint at the ini

[Neo4j] Query keeps on processing only

2014-04-04 Thread Sukaant Chaudhary
Hi, Can anyone tell me what's wrong with the following query, it keeps on processing only. I'm using Version-2.0.0 START n=node(4), m=node(10725) MATCH k-[:CREATED_BY]->m CREATE n-[:FOLLOW_PENDING]->m RETURN k, m; -Sukaant Chaudhary [image: linkedinbutton]