Re: [Neo4j] Recommended way to enforce constraints?

2011-10-06 Thread doubleagent
That post you just replied to was in response to nopannit. You can see, directly above the text, the forum software inserted this line: "In reply to this post by noppanit" The other reply was to you. (= -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/

Re: [Neo4j] Recommended way to enforce constraints?

2011-10-06 Thread Sean Davis
On Thu, Oct 6, 2011 at 8:00 PM, doubleagent wrote: > Yeah, I saw that in the manual.  That doesn't suit my purposes because I'm > trying to discover holes in neo4j that I have to manually fill, and then > trying to discover how difficult that is to do. > > So, if I've discovered a need for constra

Re: [Neo4j] Recommended way to deploy server software

2011-10-06 Thread doubleagent
> I'm not sure I follow. What's "one-shot" deployment? Deploying server is pretty trivial with modern automation tools. Am I really being that hyperbolic? The deployment tools we have are superb and simple to use. I just don't _want_ to do any prep work outside my project folder in order to tes

Re: [Neo4j] Recommended way to enforce constraints?

2011-10-06 Thread doubleagent
This makes sense, but I can't assume few writers. -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/Recommended-way-to-enforce-constraints-tp3398407p3401517.html Sent from the Neo4j Community Discussions mailing list archive at Nabble.com. __

Re: [Neo4j] Recommended way to enforce constraints?

2011-10-06 Thread doubleagent
Yeah, I saw that in the manual. That doesn't suit my purposes because I'm trying to discover holes in neo4j that I have to manually fill, and then trying to discover how difficult that is to do. So, if I've discovered a need for constraints in testing, and I know they are used in production syste

Re: [Neo4j] Big Traverser perfomance : are '23 rels per milliseconds' good ?

2011-10-06 Thread Michael Hunger
Hmm virtual machines might be difficult, esp. with the io indirection. Your memory settings for the db are: • Fri Oct 07 00:10:01 IST 2011: neostore.nodestore.db.mapped_memory=20M • Fri Oct 07 00:10:01 IST 2011: neostore.propertystore.db.arrays.mapped_memory=130M • Fri Oct

Re: [Neo4j] Big Traverser perfomance : are '23 rels per milliseconds' good ?

2011-10-06 Thread Guillaume ALLEE
Hi, Here are the answers I can give you quickly: How much memory does your machine have? >5066 MB (from free -m) What kind of disk is in there? >I do not know, the machine is a VM provided by another department of my company. What I can tell you is that on my i5 laptop the same was taking 6-8 m

Re: [Neo4j] Cypher: other Cypher functions other than node IDs

2011-10-06 Thread Rolf Bolt
Hi Jacob, Thnx a lot! This was the solution, confusing indeed! Thread could be closed. Met vriendelijke groet, Rolf Bolt Informatie Architect *Caerleon* ___ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user

Re: [Neo4j] Big Traverser perfomance : are '23 rels per milliseconds' good ?

2011-10-06 Thread Michael Hunger
How much memory does your machine have? What kind of disk is in there? Have you looked at the memory config for the neo4j db? What kind of scheduler do you use (please try deadline or as)? Can you please share the config and JVM info that is output at the head of graphdb/messages.log ? I'll att

[Neo4j] Big Traverser perfomance : are '23 rels per milliseconds' good ?

2011-10-06 Thread Guillaume ALLEE
Hi all, I am using neo4j 1.5 java embedded. My traverser is a main java program http://pastebin.com/1ynVESbc which takes a db path as input. What it does is pretty basic : it follows my graph (which is a tree) and stores the ending leaves in a file. However it is quite big : I goes through 800.0

[Neo4j] Trying to use Neo4J with Atomikos transaction manager, issues with Lucene index

2011-10-06 Thread tcolar
I've been trying to make this work for a few days but while it mostly works, the Lucene index just won't. We have a fairly complex setup including neo4j, mysql, mongo and JMS ad trying to do transactions accross all that with Atomikos. Since that is quite complex, I've made a smaller unit test ju

Re: [Neo4j] Neo4j Internals

2011-10-06 Thread Alexandre de Assis Bento Lima
Ok, Chris! Thanks for the hint! Best, Alexandre. On Thu, 6 Oct 2011 17:03:35 +0300, Chris Gioran wrote > On Thu, Oct 6, 2011 at 4:27 PM, Alexandre de Assis Bento Lima > wrote: > > Thank you, Chris! > > BTY, do you intend to update your blog with the new information? > > It seems harder to do fo

Re: [Neo4j] Embedded neo4j in Python up to date again

2011-10-06 Thread Javier de la Rosa
On Thu, Oct 6, 2011 at 09:06, Jacob Hansson wrote: > I'm hesitant to bundle them together, because the REST client is pure > python, and can keep a very small footprint. The embedded package, on the > other hand, bundles the full Neo4j distribution, and so it's a full 10MB > large. You're right a

Re: [Neo4j] Recommended way to deploy server software

2011-10-06 Thread Jim Webber
Hi, > So, using an embedded db is the only way to if you want one-shot deployment? > It might be worth it to see how difficult it would be to write that > component as a plugin to the build tool I use (Cake). I'm not sure I follow. What's "one-shot" deployment? Deploying server is pretty trivia

Re: [Neo4j] Loading RDF data questions

2011-10-06 Thread Bruno Paiva Lima da Silva
Thanks for the quick answer Peter. I don't know if you remember my talk @ Hannover, but for my PhD thesis project, my research team & I we translate all the RDF data we have as input, and we transform it into First-Order Logics (that's basically to maintain semantic equivalences with Datalog an

Re: [Neo4j] Loading RDF data questions

2011-10-06 Thread Peter Neubauer
I will propose it tonight to my family ;-) /peter Sent from my phone. On Oct 6, 2011 3:59 PM, "Thad Guidry" wrote: >> >> >> Does that help? I hope to get this into shape very soon, so you can >> use the Neo4j Server with the SPARQL plugin in order to load and query >> RDF and essentially turn th

Re: [Neo4j] Recommended way to deploy server software

2011-10-06 Thread doubleagent
So, using an embedded db is the only way to if you want one-shot deployment? It might be worth it to see how difficult it would be to write that component as a plugin to the build tool I use (Cake). > If you use it that way, I'd advise you to do a lot of performance testing. I'd love to look a

Re: [Neo4j] Neo4j Internals

2011-10-06 Thread Chris Gioran
On Thu, Oct 6, 2011 at 4:27 PM, Alexandre de Assis Bento Lima wrote: > Thank you, Chris! > BTY, do you intend to update your blog with the new information? It seems harder to do for the older posts - it comes easier to just write up changes as they are worked on and integrated. This means by the

Re: [Neo4j] Loading RDF data questions

2011-10-06 Thread Thad Guidry
> > > Does that help? I hope to get this into shape very soon, so you can > use the Neo4j Server with the SPARQL plugin in order to load and query > RDF and essentially turn the Neo4j Server into a Triple Store. > > Can we give that last point full power at warp 10 ? ;) (can't happen fast enough f

Re: [Neo4j] Recommended way to deploy server software

2011-10-06 Thread Jim Webber
Hi, Firstly if you're going to use the server, then *use the server* rather than wrapping your own. The server is built and tuned for production use cases. The WrappingNeoServerBootstrapper type can be used to wrap an existing instance of a database in server clothing. The use case for this, is

Re: [Neo4j] Neo4j Internals

2011-10-06 Thread Alexandre de Assis Bento Lima
Thank you, Chris! BTY, do you intend to update your blog with the new information? Best, Alexandre. On Thu, 6 Oct 2011 11:02:18 +0300, Chris Gioran wrote > Hi Alexandre, > > first off, the overall structure of the database has not changed in > any drastic way. This means that most of the code p

Re: [Neo4j] neo4j-spatial: geotools maven repo problem

2011-10-06 Thread Peter Neubauer
Great! Davide Savazzi also pulled in the Geoserver adapter into https://github.com/neo4j/spatial so you can see the setup there. Thanks for reporting! Also, GeoPipes is coming along, Davide just added and export example to https://github.com/neo4j/spatial/blob/master/src/test/java/org/neo4j/gis

[Neo4j] Recommended way to deploy server software

2011-10-06 Thread doubleagent
I would like to be able to specify the server jar in my project file (ie maven dependency), and deploy it with my application, rather than download separately via github and start/stop daemons. I noticed this could be done with the EmbeddedDb, and then then the server infrastructure can be wrapped

Re: [Neo4j] neo4j-spatial: geotools maven repo problem

2011-10-06 Thread Axel Morgner
Don't know since when, but http://download.osgeo.org/ is up again. > Could you please monitor this? If it persists, we can change the repo URL. > > Cheers, > > /peter neubauer > > > On Fri, Sep 9, 2011 at 2:52 PM, Axel Morgner wrote: >> Hi, >> >> today maven could not download dependencies for ne

Re: [Neo4j] Embedded neo4j in Python up to date again

2011-10-06 Thread Jacob Hansson
On Thu, Oct 6, 2011 at 1:57 PM, Peter Neubauer < peter.neuba...@neotechnology.com> wrote: > Yes Javier, > that would be great! Do you think you could open an issue and provide > some details on how to go about it? > > Cheers, > > /peter neubauer > > GTalk: neubauer.peter > Skype peter.n

Re: [Neo4j] Spring Data Neo4j 2.0 Roadmap

2011-10-06 Thread Jean-Pierre Bergamin
> One way of handling different types of "use-cases" per node is to use > projection. So per context you have different types with attributes and > behaviour that is just relevant for the context. I have to admit that I never worked with projection so far. The problem with the projection approac

Re: [Neo4j] trying to delete all reletionships but only got some

2011-10-06 Thread st.pa
community 1.4.1. embedded Am 05.10.2011 15:54, schrieb Mattias Persson: > Hi, > > which version of neo4j were you running this with? > > 2011/10/5 st.pa > >> >> Hi. >> >> I tried to delete several million relationships of certain types from the >> reference node of an embedded graphdb, where the

Re: [Neo4j] Embedded neo4j in Python up to date again

2011-10-06 Thread Peter Neubauer
Yes Javier, that would be great! Do you think you could open an issue and provide some details on how to go about it? Cheers, /peter neubauer GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitte

Re: [Neo4j] Recommended way to enforce constraints?

2011-10-06 Thread Sean Davis
On Thu, Oct 6, 2011 at 3:06 AM, noppanit wrote: > For the tests you could use, tx.failure() instead of tx.success() to not > commit anything to the database. And I think the constraints, they need to be > checked from the application layer? > For a mostly-read database design, I have been index

Re: [Neo4j] Loading RDF data questions

2011-10-06 Thread Peter Neubauer
Bruno, RDF support is provided via Josh Shinavier's SAIL implementation on top of Neo4j already. Look at the SPARQL-plugin-in-the-making, https://github.com/peterneubauer/sparql-plugin/blob/master/src/test/java/org/neo4j/server/plugin/sparql/BerlinDatasetTest.java for how to load a fiel into Neo4

Re: [Neo4j] Spring Data Neo4j 2.0 Roadmap

2011-10-06 Thread Agelos Pikoulas
Any thoughts on issues of Inheritance/Polymorphic Queries & Supernode navigation ? On Thu, Oct 6, 2011 at 9:37 AM, Michael Hunger < michael.hun...@neotechnology.com> wrote: > Thanks for the great feedback. Glad that you use SDN even for your complex > domain, I love the challenges provided with t

Re: [Neo4j] Cypher: other Cypher functions other than node IDs

2011-10-06 Thread Jacob Hansson
On Thu, Oct 6, 2011 at 11:17 AM, Rolf Bolt wrote: > Hi Andres, > > I used documentation from http://docs.neo4j.org/ > > Tried: > Latest milestone release (Online HTML version) > Developer snapshots (Online HTML version) > Latest stable release (Online HTML version > I could see next versions: >

Re: [Neo4j] Cypher: other Cypher functions other than node IDs

2011-10-06 Thread Andres Taylor
On Thu, Oct 6, 2011 at 11:17 AM, Rolf Bolt wrote: > Hi Andres, > > I used documentation from http://docs.neo4j.org/ > > Tried: > Latest milestone release (Online HTML version) > Developer snapshots (Online HTML version) > Latest stable release (Online HTML version) > > I could see next versions:

Re: [Neo4j] Cypher: other Cypher functions other than node IDs

2011-10-06 Thread Rolf Bolt
Hi Andres, I used documentation from http://docs.neo4j.org/ Tried: Latest milestone release (Online HTML version) Developer snapshots (Online HTML version) Latest stable release (Online HTML version) I could see next versions: - 1.4.2 - 1.4.1 - 1.3 - 1.2 - stable - milestone - snapshot None of

Re: [Neo4j] Cypher: other Cypher functions other than node IDs

2011-10-06 Thread Andres Taylor
Hi Rolf, I think the problem is that you are using snapshot syntax on an older version of Cypher. Cypher is still a moving target, and we've changed quite a bit for this upcoming 1.5 release. Make sure that you read the documentation for the version you are using. If you still have problems, let

Re: [Neo4j] Cypher: other Cypher functions other than node IDs

2011-10-06 Thread Rolf Bolt
Hi Peter, Thanx for your fast reply! Herewith, my neo4j 'datamodel' and some examples of queries I tried to get an understanding of what is going wrong. * USED NODES & RELATIONS -* (PERSON A) -[IS_OWNER_OF]->(CAR B) (PERSON A) -[IS_REQUESTING_HELP_FOR]->(CARBREAKDOWN C) (CARBREAKDOWN

Re: [Neo4j] Neo4j Internals

2011-10-06 Thread Chris Gioran
Hi Alexandre, first off, the overall structure of the database has not changed in any drastic way. This means that most of the code paths are the same, maybe with some classes/methods renamed, so with a bit of patience you can follow through the new code. The most dramatic changes have been in th

Re: [Neo4j] Recommended way to enforce constraints?

2011-10-06 Thread noppanit
For the tests you could use, tx.failure() instead of tx.success() to not commit anything to the database. And I think the constraints, they need to be checked from the application layer? Sent from my BlackBerry® wireless device -Original Message- From: "doubleagent [via Neo4j Community