Hello neo4j users
I'm just diving into neo4j and playing around with graph algorithms and
As a start, I just wanted to traverse the whole graph with all relationship
types in the OUTGOING direction. The traverse() method always expects a
Is there a simpler way to
There is a tentative new traversal API included in Neo4j that features this
org.neo4j.kernel.Traversal.expanderForAllTypes( Direction.OUTGOING ) );
You can read more about it here:
Thank you Tobias. This new traversal framework looks much more powerful
and fluent then the traverser I have been playing with so far. The getting
started guide should definitively point to it.
2011/5/11 Tobias Ivarsson tobias.ivars...@neotechnology.com
There is a
I'm trying to use Neo4j graph database to store a
large social network(more than 5,000,000 nodes) for academic research.
I need to compute the separation degree(path length) between any two nodes
in the graph then get the average degree of whole database.
The solution I'm using use now is
we are in the process of moving the Getting started guides to
docs.neo4j,org, along with a number of good examples, amongst others on
traversal. You might find
http://components.neo4j.org/neo4j-examples/1.4-SNAPSHOT/ interesting, too?
Is there currently any way to have a composite index consisting of fulltext and
non-analyzed (simple fields), and to query them in a single query statement?
e.g. : title:Reloaded AND year:1999
In this case, I'd be using a Lucene Analyzer on the title, but indexing the
primitive types without
I think you have to still do it over HTTP *in addition* to any other transport,
if for no other reason than the ubiquity of HTTP-capable client
applications/platforms/languages. That said, I'd implement a pessimistic
transaction recovery scheme with a configurable time to live.
No problem at all. As tx are bound to the executing thread. And the singleton
graph-db instance is the way to go.
Good Luck with your efforts
Am 11.05.2011 um 17:04 schrieb John Doran:
Good points, I have 3 weeks to finish up(along with a mountain of other
A similar question has been asked previously but I could not find a solution
which would work for me, hence re-posting it.
I am creating a Neo4j graph and want to expose it over REST using Rexster so
that I can apply traversals to it.
Now after I have started Rexster, I see that I cannot write to
do you have the setup somewhere? This should not be a problem per se, so I
think there is some multiple booting of Neo4j going on ... can try to help
you off-list with that and get back with the results here.
Hi, I just started using Neo4j and I've got a pretty basic question. I've been
running the gem using JRuby but I'm having trouble calling on edges/nodes I've
made in previous transactions. So one of the very basic example scripts I've
been working with looks like:
Was creating an exe by exporting JAR and Runnable JARs thro eclipse..
Using Launch4j to do that. and having proper manifest files with the class
path too.. But i get the following error when i try to run the created exe
You can only have one instance of Neo4j over a particular directory. As such,
when you want to have multiple threads talking to a single Neo4j, you will need
to pass that reference around to each thread.
Thus, when Rexster is running over Neo4j, Rexster has that reference. To have
could this be a simple Ruby scoping issue, since you are defining a within
the transaction block? If you move the definition onto a global variable or
declare a outside the block, does it work then?
For such a situation,
you should use the Neoj4 HA cluster, which will manage the propagation of
data between the different instances for you. I think that is the cleanest
and best solution here.
Phone +46 704
Bobby Norton and Dave Astels are giving a lecture in Chicago on May 16th on
Neo4j+Gremlin. If you are around, please feel free to sign up.
I'm not sure if Hadoop is needed here.
What is the current performance characteristics for the shortest path you are
You could take a decent machine and just fire up, e.g. blocks of 10k node pairs
to a ThreadPoolExecutor with cores*2 threads.
Each of those tasks only has
this looks like a packaging classpath problem, not sure how to help. I guess
we could have some Skype screen sharing session and try to sort it out?
Phone +46 704 106975
I'll put some cons, but the pros are just the opposite for the other.
- Well, one con that comes to my mind regarding the use of the embedded API
that you're attached to JRuby and maybe you want/have to use plain MRI,
Rubinius or something else.
- One con that I can think on the REST API is
I think each has their place. This is how I see it:
If you're going all in (your graph db is your primary db) then use
the Andreas Neo4j.rb gem.
If you're not, (your graph db is used as a secondary db or as an index
for graph specific tasks) then it may be easier to use my Neography
This is great news! What is the simplest way to secure a Neo4j instance on
On Tue, May 10, 2011 at 06:29, Peter Neubauer
Jussi Heinonen from OpenCredo has created a Neo4j Server EC2 image to try
out things with. Well done, thanks
Mail list logo