Re: [Neo4j] Any plans for an optional "schema"?

2014-07-16 Thread Axel Morgner
Thanks guys! Hi Jason, if you have questions on Structr, just let me know, we're happy to help! Best Axel Am 16.07.2014 23:31, schrieb Michael Hunger: Right I agree with Tom, currently you get this in structr (even when importing Neo4j databases, e.g. from a GraphGist). It definitely makes

Re: [Neo4j] Neo4j Spatial Support

2014-07-16 Thread Axel Morgner
Hm, did you use the raw link? https://github.com/neo4j-contrib/m2/blob/master/releases/org/neo4j/neo4j-spatial/0.13-neo4j-2.1.2/neo4j-spatial-0.13-neo4j-2.1.2-server-plugin.zip?raw=true Am 13.07.2014 16:44, schrieb Alireza Rezaei Mahdiraji: Hi Alex, I tried to use neo4j-spatial-0.13-neo4j-2.

Re: [Neo4j] Any plans for an optional "schema"?

2014-07-16 Thread Alan Robertson
Hi Jason, From your examples, you should look at the Assimilation Project! http://assimilationsystems.com/ http://assimproj.org/ This is exactly the kind of data modeling we're doing - together with automating the collection of the data and keeping it up to date. It's a very interest

Re: [Neo4j] LOAD CSV Neo.TransientError.Statement.ExternalResourceFailure error

2014-07-16 Thread ramiqsha
Hi Michael, I can access the csv URL from my computer, there's no problem (and, as a reminder, the command works on the online console http://console.neo4j.org/. Sorry, but I can't find the log files you ask me to look for...there's one neo4j folder on my computer, called "default.graphdb". In

[Neo4j] neo4j-shell with SSH tunneling

2014-07-16 Thread Chaofeng
Hi all, I set the neo4j db at a remote machine. Now, I want to communicate with it via neo4j-shell. I tried SSH tunneling to forward local port 10016 (e.g.) to remote port 1337. However, I cannot connect to the remote neo4j db via "$bin/neo4j-shell -port 10016" at the local machine. It said "ER

Re: [Neo4j] LOAD CSV Neo.TransientError.Statement.ExternalResourceFailure error

2014-07-16 Thread Michael Hunger
Can you access that csv URL from your computer in general? Could you also check your logs (message.log in your database directory and server logs somewhere under Application Data I think) It worked fine for me (on Mac though). CYPHERLOAD CSV WITH HEADERS FROM "http://docs.neo4j.org/chunked/2.1.

[Neo4j] LOAD CSV Neo.TransientError.Statement.ExternalResourceFailure error

2014-07-16 Thread ramiqsha
Hi there, I’ve recently downloaded the neo4j 2.1.2 version (neo4j community edition) for windows 64bit. I’m trying to import a .csv file as mentioned in the tutorial: http://neo4j.com/docs/2.1.2/cypherdoc-importing-csv-files-with-cypher/ I copied the following into the neo4j browser console:

Re: [Neo4j] Any plans for an optional "schema"?

2014-07-16 Thread Michael Hunger
Right I agree with Tom, currently you get this in structr (even when importing Neo4j databases, e.g. from a GraphGist). It definitely makes sense to have a feature like that. For Neo4j this is on the roadmap too, but not in the immediate future, it's more a capacity issue :) Am 16.07.2014 um 2

Re: [Neo4j] Any plans for an optional "schema"?

2014-07-16 Thread Tom Zeppenfeldt
sounds like structr.org may be something you want to look at .. Met vriendelijke groet / With kind regards Ir. T. Zeppenfeldt van der Waalsstraat 30 6706 JR Wageningen The Netherlands Mobile: +31 6 23 28 78 06 Phone: +31 3 17 84 22 17 E-mail: t.zeppenfe...@ophileon.com Web: www.ophileon.co

[Neo4j] Any plans for an optional "schema"?

2014-07-16 Thread Jason Gillman Jr.
I was just wondering if the ability to utilize a schema of sorts was on the road map. When I say schema, I'm thinking more along the lines of relational constraints. Let's use the following simple example. We have the following types of entities represented by node labels (:`Server`) (:`Switch

Re: [Neo4j] How to get Clean DB State for backup

2014-07-16 Thread Chris Vest
Of course you'll also need the neo4j-backup dependency on your classpath, and transitively whatever that needs. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 16 Jul 2014, at 20:53, Chris Vest wrote: > If you configure your embedded enterprise editio

Re: [Neo4j] How to get Clean DB State for backup

2014-07-16 Thread Chris Vest
If you configure your embedded enterprise edition to enable_online_backup=true then it should work. -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 16 Jul 2014, at 20:47, Sourabh Kapoor wrote: > Thanks Chris. I am only using neo4j.jar with spring inte

Re: [Neo4j] messages.log files

2014-07-16 Thread Michael Hunger
Thanks a lot Adam for sharing your results! Your database folder name "couchdb-neo4j-deft" looks really interesting, I'd love to learn more about that project of yours :) Feel free to ping me privately. Cheers, Michael Am 16.07.2014 um 18:44 schrieb Adam Lofts : > I think I figured out what w

Re: [Neo4j] How to get Clean DB State for backup

2014-07-16 Thread Sourabh Kapoor
Thanks Chris. I am only using neo4j.jar with spring integration in embedded mode. Can i achieve the same with enterprise edition? Thanks for your insight. its a great help . On Thursday, July 17, 2014 12:08:25 AM UTC+5:30, Chris Vest wrote: > > Our enterprise edition comes with an online back-up

Re: [Neo4j] How to get Clean DB State for backup

2014-07-16 Thread Chris Vest
Our enterprise edition comes with an online back-up tool that does both full and incremental back-ups: http://docs.neo4j.org/chunked/stable/re04.html For the the community edition, you can do the copying-and-zipping dance, but you have to shut the database down first. Otherwise the changes to th

[Neo4j] How to get Clean DB State for backup

2014-07-16 Thread Sourabh Kapoor
To Neo4j greatest minds: Is there any tried and tested way of doing regular backup of neo4j? I tried manual copying and zipping but that results to non-clean DB state. Can anyone share the command or steps to have a clean DB state that can be used for Backup. Can existing non-clean db state be

Re: [Neo4j] Possible memory leak when using MERGE queries (2.1.2)

2014-07-16 Thread Matt Aldridge
Ah nice, thank you for the link! -Matt On Wednesday, July 16, 2014 12:06:54 PM UTC-4, Chris Vest wrote: > > Yeah, it’s a known bug: https://github.com/neo4j/neo4j/pull/2690 > > -- > Chris Vest > System Engineer, Neo Technology > [ skype: mr.chrisvest, twitter: chvest ] > > > On 16 Jul 2014, at

Re: [Neo4j] messages.log files

2014-07-16 Thread Adam Lofts
I think I figured out what was going on. One of the code paths for graph query was missing a finish() call. I think this was causing a lot of transactions to 'work' but then eventually timeout and to dump to the messages.log file. Still verifying that this is the issue but right now disk growth

Re: [Neo4j] Possible memory leak when using MERGE queries (2.1.2)

2014-07-16 Thread Chris Vest
Yeah, it's a known bug: https://github.com/neo4j/neo4j/pull/2690 -- Chris Vest System Engineer, Neo Technology [ skype: mr.chrisvest, twitter: chvest ] On 16 Jul 2014, at 16:51, Matt Aldridge wrote: > Following up on this, my initial hypothesis of there being a problem with > MERGE queries ap

[Neo4j] Re: Neo4j : restart tomcat issue :org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/var/dbpath/schema/label/lucene/write.lock

2014-07-16 Thread Navrattan Yadav
Hi Michael, Thanks for the reply. We are implemented lifecycle listener but what about the old DB. I checked the message.logs and it clearly mentions that DB is not closed in clean state. I want to migrate and use this DB to another server and have no other backup. Is there any way to recover

[Neo4j] Re: Possible memory leak when using MERGE queries (2.1.2)

2014-07-16 Thread Matt Aldridge
Following up on this, my initial hypothesis of there being a problem with MERGE queries appears incorrect, or at least overly specific. In another application, I needed to add relationships among millions of nodes in a pre-existing graph, essentially using cypher queries following the pattern o

Re: [Neo4j] performance of query related to direction of relationship

2014-07-16 Thread Michael Hunger
What does "No Value" means? leaving off the property restriction altogether? What do you want to achieve with that global query then? Then Neo4j has to scan over all nodes with that label, if you have two labels on both sides, you can force to Neo4j to start the scan at the side with the fewer e

[Neo4j] performance of query related to direction of relationship

2014-07-16 Thread Alex winter
Hi all. I created the database neo4j. When I imported the data to neo4j, I always create relationship without direction between Item and Values. I want to find every items has value ("some value"): cypher query like this: Match (nodeItem:labelItem)-->(nodeValue:labelValues{property:"Some Value"})