Re: [Neo4j] help with traversals

2010-12-23 Thread Guru GV
May be it could just be that the "Traversal Context" (in simple form may be just a wrapper around a HashMap) be injected into all Traversal Controls like expander etc. And this could be accessed as a method parameter or as getter() or as member variable. On Fri, Dec 24, 2010 at 9:14 AM, Guru GV w

Re: [Neo4j] help with traversals

2010-12-23 Thread Guru GV
+1, I think a "Traversal Context" would be of great help. May be the thoughts have to be more refined as to how the API can expose the context in a intuitive manner. On Thu, Dec 23, 2010 at 9:57 PM, David Montag wrote: > Hi, > > Mattias, your solution works because Amos' algo was a special case

Re: [Neo4j] help with traversals

2010-12-23 Thread David Montag
Hi, Mattias, your solution works because Amos' algo was a special case where you can verify the path simply by looking one step back. It's a smart solution to his problem! However, what about traversals where you have more complex calculations going on and essentially want to carry a state along

[Neo4j] Run neo4j on IBM websphere 6 (JDK 1.5)

2010-12-23 Thread Ron van Weverwijk
Hi all, I'm trying to use NEO4J-HA on an IBM websphere 6 application server (the JDK version is 1.5). The NEO4J website states that JDK 1.5 is required to use NEO4J. Unfortunately the NEO4J-HA module is compiled with 1.6. Which results in the famous java.lang.UnsupportedClassVersionError. We fix

Re: [Neo4j] help with traversals

2010-12-23 Thread Mattias Persson
Hi, interesting traversal... so you're saying that paths like this could be returned: (start)-B->()-A[P=1]->()-A[P=1]->()-B->(end) but not paths like this: (start)-A[P=1]->()-B->()-A[P=2]->(end) am I correct? There are common path algorithms in GraphAlgoFactory

Re: [Neo4j] InvalidRecordException exception

2010-12-23 Thread George Ciubotaru
Hello David, Sorry for the delayed response. Unfortunately I cannot share the store directory because we are doing the tests with our production data. The code is exactly as the one I've shared at the beginning of this discussion thread with the addition of the locking mechanism proposed by Jo

[Neo4j] help with traversals

2010-12-23 Thread Amos Ben Israel
Hello, I'm trying to find all paths between two nodes when relations can be of one of two types (A or B) without repeating the same node twice - so far quite simple. the complication is that relations of type A have a property P and I want only paths where P has the same value all the way (but can

Re: [Neo4j] InvalidRecordException exception

2010-12-23 Thread Johan Svensson
Rick, Yes, the patch I provided for you has been included in the milestone releases since M04. -Johan On Fri, Dec 17, 2010 at 5:53 PM, wrote: >   Hi, Johan. > >   Is this related to the patch you provided me for a similar issue?  I >   had thought it made it into the milestone release(s). > >

Re: [Neo4j] Transaction and REST API

2010-12-23 Thread Jim Webber
Hi Ido, > BULK resource are not so likable on RESTful people, but I guess it can work > really well for my case. I think you're both right and wrong here :-) You're wrong when you say RESTful people don't like bulk updates. We do, but we prefer those updates to be just the same as any other up

Re: [Neo4j] Fatty Stack Trace to Lift your Spirits

2010-12-23 Thread Peter Neubauer
So basically - it's your fault. Spirits lifted ;) Cheers, /peter neubauer COO and Sales, Neo Technology GTalk:      neubauer.peter Skype       peter.neubauer Phone       +46 704 106975 LinkedIn   http://www.linkedin.com/in/neubauer Twitter      http://twitter.com/peterneubauer http://www.neo4j

Re: [Neo4j] Fatty Stack Trace to Lift your Spirits

2010-12-23 Thread Mattias Persson
The HA test suite had the same problems... it turned out someone, somewhere forgot to call shutdown on the database (me). After that was fixed those errors ain't showin' up anymore. And, yes, it's related to my latest changes, which only closes lucene writers on shutdown as opposed to each commit,