[Neo4j] Traverse along the node by a sequence of relationships.

2011-05-20 Thread noppanit
I'm a bit confused about the traversal now. I'm not sure that I could do this via REST API. So basically, I have a basic graph like this (ReferenceNode)---[rel:contains]---(A)---[rel:knows]---(B) If I want to traverse from ReferenceNode to B, by return only B. Could I do this via REST API? This

Re: [Neo4j] Strange error that keep my database unable to start.

2011-05-20 Thread Johan Svensson
Hi, What version of Neo4j are you running and are there any other error messages written to console or to messages.log when you start up? Do you have neo4j-lucene-index component on the classpath? The global transaction log contains a transaction that included the Lucene data source (branch id

Re: [Neo4j] Traverse along the node by a sequence of relationships.

2011-05-20 Thread noppanit
It works! thanks a lot. :) -- View this message in context: http://neo4j-user-list.438527.n3.nabble.com/Traverse-along-the-node-by-a-sequence-of-relationships-tp2964954p2965393.html Sent from the Neo4J User List mailing list archive at Nabble.com. ___

Re: [Neo4j] Traverse along the node by a sequence of relationships.

2011-05-20 Thread Peter Neubauer
Nice, let us know your feedback. I hope the Gremlin extension makes it soon into the main distro, but we want to test it first a bit more. Thanks for installing it! Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn

Re: [Neo4j] Contacts on 2nd Level, excluding direct ones

2011-05-20 Thread Peter Neubauer
Max, Stefan, I added documentation about the built-in traversal support to the REST API documentation, https://github.com/neo4j/community/commit/8d2a59e7aec81a8b29065eadd4040629d8df39a5and am waiting for the build server to finish to push it out to

Re: [Neo4j] high IO waits on concurrent access to neo4j

2011-05-20 Thread Peter Neubauer
Vincent, I think this is quite normal for your setup. Since you have not much memory, and a lot of data, you are hitting cold nodes pretty often, especially when the caches are full after a while. Then, it is a matter of how fast you can access the disk. How big are your store files? To improve

Re: [Neo4j] Spring Data Graph in an OSGi environment

2011-05-20 Thread Peter Neubauer
Hi there, any solution to this or do we need to dig deeper here? Cheers, /peter neubauer 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.org

[Neo4j] Unable to Get Backup to Run

2011-05-20 Thread Kevin Dieter
Hi, I am trying to set up a scheduled backup for my neo4j database and I have been unable to get the backup to run. See below for the commands I am running (first to do a full backup and then incremental). The weird thing is that I was able to run the full backup, and incremental successfully

[Neo4j] Getting a few critical errors with Neo4J 1.3

2011-05-20 Thread Rick Bullotta
Under high load, with multiple threads writing and reading simultaneously, after a couple of hours, things start to melt down and we get: org.neo4j.kernel.impl.persistence.ResourceAcquisitionFailedException: TM encountered an unexpected error condition. Any thoughts? Rick

Re: [Neo4j] Getting a few critical errors with Neo4J 1.3

2011-05-20 Thread David Montag
Hey Rick, Got any stacktrace/cause to go with that? Thanks, David On Fri, May 20, 2011 at 7:23 AM, Rick Bullotta rick.bullo...@thingworx.comwrote: Under high load, with multiple threads writing and reading simultaneously, after a couple of hours, things start to melt down and we get:

[Neo4j] Generic expansion?

2011-05-20 Thread Marko Rodriguez
Hi, How do I do something like this: PathFinder finder = GraphAlgoFactory.shortestPath(new OrderedByTypeExpander().add(DynamicRelationshipType.withName(knows)), 6); ...but where I don't care about the RelationshipType taken (and I don't want to enumerate all the types I have as I have

Re: [Neo4j] Generic expansion?

2011-05-20 Thread Peter Neubauer
Marko, you could do an AllExpander(Direction.BOTH) or really any subclass of Expander, http://api.neo4j.org/current/org/neo4j/graphdb/Expander.html Does that help? Cheers, /peter neubauer GTalk: neubauer.peter Skype peter.neubauer Phone +46 704 106975 LinkedIn

Re: [Neo4j] Generic expansion?

2011-05-20 Thread Marko Rodriguez
Hey, Yea. Thats what I'm looking for, but it doesn't seem to be part of the API? .. ? I can only find StandardExpander (abstract) and OrderedByTypeExpander. Thoughts?, -- IM me if you wish. Marko. On May 20, 2011, at 8:46 AM, Peter Neubauer wrote: Marko, you could do an

Re: [Neo4j] Generic expansion?

2011-05-20 Thread Tobias Ivarsson
org.neo4j.kernel.Traversal.expanderForAllTypes(); On Fri, May 20, 2011 at 4:53 PM, Marko Rodriguez okramma...@gmail.comwrote: Hey, Yea. Thats what I'm looking for, but it doesn't seem to be part of the API? .. ? I can only find StandardExpander (abstract) and OrderedByTypeExpander.

[Neo4j] Is there any example of PatternRelationship?

2011-05-20 Thread noppanit
I'm learning to use PatternRelationship to look for a pattern of relationships in the dataset. I was wondering that is there any example? I only found PatternNode. Thanks a lot. -- View this message in context: