Re: [Neo4j] Part of relationships disappear after shutting and reopening Java embedded neo4j db

2014-07-12 Thread Adam Golinski
Thanks for your reply Michael. When I was shortening the 1.5k lines of my code into a form that coule be posted here I have found the solution to the problem. The issue was that I stupidly created an object field thix.tx to save myself creating a new variable every time I wanted to do a transact

Re: [Neo4j] Re: SDN Upgrade - NoClassDefFoundError: org/springframework/core/DefaultParameterNameDiscoverer

2014-07-12 Thread Michael Hunger
Mike, Ollie pointed out that the 3.2.x releaese (with the SD-Commons) requires Spring Framework 4.0.6 On Sat, Jul 12, 2014 at 7:25 PM, Mike Holdsworth wrote: > I've cut back to SDN 3.1.1.RELEASE and I don't get the issue. As my tests > are passing I can live with that. It appears that Neo4jConf

Re: [Neo4j] Pros and cons about graph databses and especially Neo4j

2014-07-12 Thread Ven Karri
Truth spoken. Couldn't agree more with you. On Monday, June 4, 2012 10:22:31 AM UTC-4, Johnny Weng Luu wrote: > > I personally think that all kind of data should/could be saved in a graph > database. > > The world is one big graph and data is usually representing real world > entities. > > Johnn

[Neo4j] batch-import: Unable to close store exception.

2014-07-12 Thread Mohan Sunkara
I'm using batch-import to import nodes and relationships. I'm getting following exception. I'm using JAVA 1.7. D:\builds\batch-import>java -server -Xmx4G -jar target/batch-import-jar-with-dep endencies.jar target/db nodes.tsv rels.tsv Usage: Importer data/dir nodes.csv relationships.csv [node_i

Re: [Neo4j] search but exclude connections to a specific node

2014-07-12 Thread Michael Hunger
MATCH (something:things)<-[r2:likes]-(someone:people) WHERE something.name = "football" MATCH (me:people {name:"me"}) where not (me)-[:friend]->(someone) RETURN someone, something On Fri, Jul 11, 2014 at 8:15 PM, Anshuman Ghosh wrote: > Dear All, > > Some background: > > I have "people" nodes

[Neo4j] ACL schema with Neo4j, data in MySQL/MongoDB

2014-07-12 Thread Benjamin Makus
Hi, I'm writing a rather complex application, which stores its main data in MySQL and MongoDB. Now it's time for authorization, which should be ACL driven. And I'm looking for your advice whether to use Neo4j (within a Java/Spring environment) or not, and if yes, how to design the graph. *In

[Neo4j] Re: SDN Upgrade - NoClassDefFoundError: org/springframework/core/DefaultParameterNameDiscoverer

2014-07-12 Thread Mike Holdsworth
I've cut back to SDN 3.1.1.RELEASE and I don't get the issue. As my tests are passing I can live with that. It appears that Neo4jConfiguration is importing "javax.enterprise.inject.Produces" which introduces a new dependency that I haven't figured out - cdi-api? -- You received this message be

[Neo4j] Re: search but exclude connections to a specific node

2014-07-12 Thread Anshuman Ghosh
Never mind, I figured it out by using AND NOT ((someone)<-[:friend]-(:people {profileID:12345}) Where 12345 is the profile of the user who is searching and whose friends should be excluded from the search. Cheers On Friday, July 11, 2014 7:15:07 PM UTC+1, Anshuman Ghosh wrote: > > Dear All,

Re: [Neo4j] concatenate nodes properties

2014-07-12 Thread Wei
This is cool, thanks a lot Michael! On Saturday, July 12, 2014 2:40:36 AM UTC-4, Michael Hunger wrote: > > with reduce(a="", n in nodes(mypath) | a + "," +n.dn) as path > Return substring(path,1,length(path)-1) > > Sent from mobile device > > Am 12.07.2014 um 04:04 schrieb Wei >: > > Thanks a lot

Re: [Neo4j] Neo4j Spatial Support

2014-07-12 Thread Peter Neubauer
Alireza, the current docs are at http://neo4j-contrib.github.io/spatial/, it's not the whole story but it should give you an impression. /peter G: neubauer.peter S: peter.neubauer P: +46 704 106975 L: http://www.linkedin.com/in/neubauer T: @peterneubauer

[Neo4j] SDN Upgrade - NoClassDefFoundError: org/springframework/core/DefaultParameterNameDiscoverer

2014-07-12 Thread Mike Holdsworth
Using Spring-Framework 3.2.9 and Neo4j 2.1.2 I've tried 3.2.0.M1 and 3.2.0.BUILD-SNAPSHOT and get the same error. Build snapshot from ~2 weeks ago was fine. Any tips ? Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'neo4jTemplate' defined in c