Re: [Neo4j] Multiple relationship of same type between two nodes

2014-01-23 Thread Harshal Vora
Ok. I figured that we need to specifically allow duplicate relations and a few alternate ways to fetch all the relations. I am using spring SDN. The API's are not very intuitive. Regards, On Thursday, January 23, 2014 1:19:00 PM UTC+5:30, Michael Hunger wrote: > > Yep thats perfectly fine > > Se

Re: [Neo4j] Re: Optimising thy cypher queries

2014-01-23 Thread Wes Freeman
I haven't tested performance of UNION much. It's hard to do any sort of aggregation over the whole query which makes it a bit harder to use than WITH in some situations. Hope they add some syntax for that sort of aggregation at some point--seems like UNION could be parallelized more easily. Wes O

Re: [Neo4j] Re: Optimising thy cypher queries

2014-01-23 Thread Michael Hunger
The webinar video is here: https://vimeo.com/84900121 There are also other posts from Wes: http://wes.skeweredrook.com/blog/categories/cypher/ And Luanne: http://thought-bytes.blogspot.de/2013/01/optimizing-neo4j-cypher-queries.html On Thu, Jan 23, 2014 at 10:32 PM, Arijeet Mukherjee wrote: > I'

[Neo4j] Re: Optimising thy cypher queries

2014-01-23 Thread Arijeet Mukherjee
I've know that one of the ways to kind of join queries is by using WITH and specifying which identifiers you wish to 'pass on' to the subsequent part of the query. My question is, I've recently come across the UNION statement. How different is it from WITH in terms of performance particularly f

Re: [Neo4j] Caused by: java.io.IOException: Broken pipe : How can this be fixed?

2014-01-23 Thread Mark Needham
You use Skype? On 23 January 2014 22:51, Mark Needham wrote: > Sure. I'll ping you off list to organise > > > On 23 January 2014 22:49, Kyle Silvestro wrote: > >> Can we schedule a Web meeting so I can show you? >> >> >> >> >> >> On Jan 23, 2014, at 2:46 PM, Mark Needham wrote: >> >> Hi Kyle,

Re: [Neo4j] Caused by: java.io.IOException: Broken pipe : How can this be fixed?

2014-01-23 Thread Mark Needham
Sure. I'll ping you off list to organise On 23 January 2014 22:49, Kyle Silvestro wrote: > Can we schedule a Web meeting so I can show you? > > > > > > On Jan 23, 2014, at 2:46 PM, Mark Needham wrote: > > Hi Kyle, > > We've been unable to recreate the issue. Can you send us a sample > applicat

Re: [Neo4j] Caused by: java.io.IOException: Broken pipe : How can this be fixed?

2014-01-23 Thread Kyle Silvestro
Can we schedule a Web meeting so I can show you? On Jan 23, 2014, at 2:46 PM, Mark Needham wrote: > Hi Kyle, > > We've been unable to recreate the issue. Can you send us a sample application > where it fails so we can identify the cause? > > Mark > > > On 23 January 2014 22:20, Kyle Silv

Re: [Neo4j] Caused by: java.io.IOException: Broken pipe : How can this be fixed?

2014-01-23 Thread Mark Needham
Hi Kyle, We've been unable to recreate the issue. Can you send us a sample application where it fails so we can identify the cause? Mark On 23 January 2014 22:20, Kyle Silvestro wrote: > Is there any resolution to this issue? > > > On Tue, Dec 17, 2013 at 4:42 PM, Michael Hunger < > michael.h

Re: [Neo4j] Re: Return all events that occurred between two dates.

2014-01-23 Thread Michael Hunger
Just do the calc, its not that many nodes: only 525k and you can create them on demand, so only for minutes / hours that actually have events. On Thu, Jan 23, 2014 at 8:31 PM, Javad Karabi wrote: > define "heavy". > heavy sounds like you are worried that there would be alot of nodes in the > gr

Re: [Neo4j] Caused by: java.io.IOException: Broken pipe : How can this be fixed?

2014-01-23 Thread Kyle Silvestro
Is there any resolution to this issue? On Tue, Dec 17, 2013 at 4:42 PM, Michael Hunger < michael.hun...@neopersistence.com> wrote: > Looks as if the client aborts the connection? > > What kind of client are you using? > > Michael > > Am 17.12.2013 um 23:57 schrieb Kyle Silvestro : > > Posted > >

Re: [Neo4j] Re: Optimising thy cypher queries

2014-01-23 Thread Wes Freeman
Yeah, it's effectively WITH * Wes On Thu, Jan 23, 2014 at 2:26 PM, Javad Karabi wrote: > is using multiple MATCH clauses, one after the other, equivalent to MATCH > followed by a WITH, with WITH bringing every bound node into the next MATCH? > > -- You received this message because you are su

[Neo4j] Re: Return all events that occurred between two dates.

2014-01-23 Thread Javad Karabi
define "heavy". heavy sounds like you are worried that there would be alot of nodes in the graph. there would be, i imagine, but with neo4j being a graph database, the number of nodes increasing does not degrade performance. MERGE (y:Year {year: {year} }) CREATE UNIQUE y-[:month]>(m:Month {month

[Neo4j] Re: Optimising thy cypher queries

2014-01-23 Thread Javad Karabi
is using multiple MATCH clauses, one after the other, equivalent to MATCH followed by a WITH, with WITH bringing every bound node into the next MATCH? On Thursday, January 23, 2014 1:14:27 PM UTC-6, Mark Needham wrote: > > Wes and I just did a webinar about optimising cypher queries so we thought

[Neo4j] Optimising thy cypher queries

2014-01-23 Thread Mark Needham
Wes and I just did a webinar about optimising cypher queries so we thought we could answer any further questions about it here. Also for those of you who couldn't make it, we haz slides - http://www.slideshare.net/markhneedham/optimizing-cypher Cheers Mark -- You received this message because

Re: [Neo4j] DocGraph DB and Neo4j.

2014-01-23 Thread Alx
Hi Michael, Thanks for the tip. I totally missed the comment signs :-) However I removed them and still the server crashes. Also, could you be more specific which lines of the neo4j.properties do I have to change ? I see the following lines: # Default values for the low-level graph engine #ne

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-23 Thread Kalidhakani J
Thanks a lot for your reply. Now my code is working perfectly. Thanks everyone. On Thu, Jan 23, 2014 at 4:30 PM, Lasse Westh-Nielsen < la...@neotechnology.com> wrote: > Kalidhakani, > > Your embedded instance will not be allowed to touch the files belonging to > those 3 instances that are alre

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-23 Thread Lasse Westh-Nielsen
Kalidhakani, Your embedded instance will not be allowed to touch the files belonging to those 3 instances that are already running the cluster. Instead, you have to make your embedded instance join the cluster as the 4th member, with it's own copy of the database (e.g. /home/myData4/graph.db ).

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-23 Thread Kalidhakani J
I have 3 instances. Servers db configs are as follows, 192.168.9.1: org.neo4j.server.database.location=/home/myData1/graph.db 192.168.9.2: org.neo4j.server.database.location=/home/myData2/graph.db 192.168.9.3: org.neo4j.server.database.location=/home/myData3/graph.db Each server is running in di

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-23 Thread Michael Hunger
Make sure you have a different config for each server And give loadproperties the full path too Note that they must not share a db directory on disk Sent from mobile device Am 23.01.2014 um 09:30 schrieb Kalidhakani J : > In my servers I have given the path as data/graph.db > my properties fil

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-23 Thread Kalidhakani J
Let me be clear again. My servers I have configured them to HA mode. Let my servers point to some db. Now how can I use that db in embedded and modify ?? So that they get reflected in all dbs. "They will get copied from your servers, and will then be updated as changes occur." This is wat not hap

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-23 Thread Rickard Öberg
On 1/23/14, 16:30 , Kalidhakani J wrote: In my servers I have given the path as data/graph.db my properties file(neo4jServer.properties) has the following values, ha.server_id=1 ha.initial_hosts=192.168.9.1:5001 ,192.168.9.2:5002 ,192.168.9.3:500

Re: [Neo4j] Embedded HIghlyAvailableGraphDatabase - database path

2014-01-23 Thread Kalidhakani J
In my servers I have given the path as data/graph.db my properties file(neo4jServer.properties) has the following values, ha.server_id=1 ha.initial_hosts=192.168.9.1:5001,192.168.9.2:5002,192.168.9.3:5003 I started my servers. Then for creating HIghlyAvailableGraphDatabase, I used the following c