[Neo4j] How to backup with neo4j community?

2011-09-21 Thread Rugal
Hi, I'm starting a little side project in a startup which will use neo4j. How 
can I set the server to backup the data without stopping the neo4j server and 
without going with the enterprise version? as mush as I'd like to, but really, 
2000 usd/month are too much for a bootstrapping startup (I can't neither 
release the source code)
Thank you
 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 Peluche Originali Disney, Simpson, Bugs Bunny, Spongebob... a partire da soli 
Euro 9.90!
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11654d=21-9
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


[Neo4j] A (probably simple) problem on Neo4j

2011-06-27 Thread Rugal
Hi, I'm starting to use Neo4j with the ruby neography library. Everything it's 
working, I'm correctly managing nodes, relations and indexes (it would be 
great something less manual, in order to have a faster boot/setup/learning 
curve). But now I'm having a little problem on doing one thing:

I've nodes connected between them, and the relations can have a rating 
property, which is a numeric value (positive, negative or zero). I'd like to 
get all the simple paths up to the third level depth from a node to another, 
but considering also the rating property, in this way: a path is valid if the 
rating is greater than or equal to 0, but it should consider it if the 
property is set on the last relation, also if it's negative.

Very simple example

A -(-5)- B
B -- C
A -- D
D -- C

Then from A to C the valid paths resulting would be only A -- D -- C

A -- B
B -(-5)- C
A -- D
D -- C

This one the result paths would be:
A -- D -- C
A -- B -- C
Because the negative rating is on the last relationship, not in the middle, so 
the path should be present


For now I get all the paths using
get_paths(from_node, to_node, { type= knows, direction = out }, 
depth=3, algorithm=allSimplePaths)

How can I make it consider that conditions too? Should I use a traversal? Do 
you have hint on how write that conditions?

Thank you

 
 
 --
 Caselle da 1GB, trasmetti allegati fino a 3GB e in piu' IMAP, POP3 e SMTP 
autenticato? GRATIS solo con Email.it http://www.email.it/f
 
 Sponsor:
 All'hotel Roland Riccione Euro 48 in pensione completa con bevande ai pasti e 
2 biglietti per i parchi divertimento della zona
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=11574d=27-6
___
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user