Re: [Neo4j] some questions

2011-11-22 Thread Jacob Hansson
, please excuse typos and autocorrection. > On Nov 21, 2011 7:58 PM, "andrew ton" wrote: > > > > > > > Thanks Peter > > > > Cheers, > > > > > > > > From: Peter Neubauer > > To: Neo4j user

Re: [Neo4j] some questions

2011-11-21 Thread Peter Neubauer
: Neo4j user discussions > Sent: Monday, November 21, 2011 4:41 AM > Subject: Re: [Neo4j] some questions > > Andrew, > I think you could set up the Webadmin over your embedded project like > http://docs.neo4j.org/chunked/snapshot/server-embedded.html maybe as > part of a unit test,

Re: [Neo4j] some questions

2011-11-21 Thread andrew ton
Thanks Peter Cheers, From: Peter Neubauer To: Neo4j user discussions Sent: Monday, November 21, 2011 4:41 AM Subject: Re: [Neo4j] some questions Andrew, I think you could set up the Webadmin over your embedded project like http://docs.neo4j.org/chunked

Re: [Neo4j] some questions

2011-11-21 Thread Peter Neubauer
__ > From: Peter Neubauer > To: Neo4j user discussions > Sent: Friday, October 28, 2011 8:05 AM > Subject: Re: [Neo4j] some questions > > Andrew, > that sounds like a traversal you need to do to find exactly the nodes > you need and remove them. >

Re: [Neo4j] some questions

2011-10-28 Thread Peter Neubauer
n page? > > Thanks, > Andrew > > > > From: Peter Neubauer > To: Neo4j user discussions > Sent: Friday, October 28, 2011 8:05 AM > Subject: Re: [Neo4j] some questions > > Andrew, > that sounds like a traversal you need to do to

Re: [Neo4j] some questions

2011-10-28 Thread andrew ton
: Re: [Neo4j] some questions Andrew, that sounds like a traversal you need to do to find exactly the nodes you need and remove them. As Marko mentioned - either script it in Gremlin/Groovy, or implement a REST endpoint in Java, giving you full static powaah: http://docs.neo4j.org/chunked/snapshot

Re: [Neo4j] some questions

2011-10-28 Thread Peter Neubauer
; Any suggestions? > > Thanks, > > > > From: Linan Wang > To: Neo4j user discussions > Sent: Friday, October 28, 2011 7:59 AM > Subject: Re: [Neo4j] some questions > > to clear the full db, stop the server and delete the files in data folder

Re: [Neo4j] some questions

2011-10-28 Thread andrew ton
7:59 AM Subject: Re: [Neo4j] some questions to clear the full db, stop the server and delete the files in data folder :) On Fri, Oct 28, 2011 at 3:57 PM, Marko Rodriguez wrote: > Hi, > >> 2. Assume I have a big graph in the REST server, what is the best way to >> remove the

Re: [Neo4j] some questions

2011-10-28 Thread Linan Wang
to clear the full db, stop the server and delete the files in data folder :) On Fri, Oct 28, 2011 at 3:57 PM, Marko Rodriguez wrote: > Hi, > >> 2. Assume I have a big graph in the REST server, what is the best way to >> remove the whole graph? Of course deleting each node and its relationships

Re: [Neo4j] some questions

2011-10-28 Thread Marko Rodriguez
Hi, > 2. Assume I have a big graph in the REST server, what is the best way to > remove the whole graph? Of course deleting each node and its relationships > and its index is not convenient. Via Gremlin Plugin, you can call g.clear(). HTH, Marko. http://markorodriguez.com ___

[Neo4j] some questions

2011-10-28 Thread andrew ton
Hello, I have 2 questions: 1. Is there any way to customize the Admin page of the Neo4J Rest server? For instance, I'd like to add a title of the project on the page. 2. Assume I have a big graph in the REST server, what is the best way to remove the whole graph? Of course deleting each node

Re: [Neo4j] Some questions about design when using neo4j

2011-09-28 Thread Marko Rodriguez
Hey, If you want to play with JUNG over Neo4j, you can do it via TinkerPop. Graph g = new Neo4jGraph("/tmp/neo4j"); GraphJung jung = new GraphJung(g); That GraphJung object is a implementation of the JUNG Interfaces and can be processed by the JUNG algorithms package. https://github.com/tinker

Re: [Neo4j] Some questions about design when using neo4j

2011-09-28 Thread Peter Neubauer
Gen, I guess there is nothing out of the box right now, but you could get inspiration from http://jung.sourceforge.net/doc/api/index.html, especially http://jung.sourceforge.net/doc/api/edu/uci/ics/jung/algorithms/flows/EdmondsKarpMaxFlow.html and implement one or just use it on a toy graph to tes

Re: [Neo4j] Some questions about design when using neo4j

2011-09-02 Thread Benjamin Gustafsson
Just in case there are any graph experts out there that want to exercise their brains. (Its quite a while since I studied algorithms and optimization regarding graphs. :-) I'm able to implement a algorithm described in pseudocode (if anyone knows a good algorithm for my special case below). I hav

Re: [Neo4j] Some questions about design when using neo4j

2011-08-30 Thread David Montag
On Tue, Aug 30, 2011 at 1:20 PM, Benjamin Gustafsson < benjamingustafs...@gmail.com> wrote: > > > > If an item can only be "had" by one user at a time, then the "display", > or > > "visible_to", relationship could originate from the item. > > > > > > > > 9. "owesItemTo" -relation between User, Ite

Re: [Neo4j] Some questions about design when using neo4j

2011-08-30 Thread Benjamin Gustafsson
> > If an item can only be "had" by one user at a time, then the "display", or > "visible_to", relationship could originate from the item. > > > 9. "owesItemTo" -relation between User, Item, User/Group. (A triple, Do I > > need a node?) > > > > Same here. > Thanks I will rename "have" to "own

Re: [Neo4j] Some questions about design when using neo4j

2011-08-30 Thread David Montag
Hi Benjamin, On Tue, Aug 30, 2011 at 3:16 AM, Benjamin Gustafsson < benjamingustafs...@gmail.com> wrote: > Hi > > I'm trying to figure out how to design a graph database where I have > > 1. Users > 2. Groups > 3. Items > 4. "credit_line" -relation between Users. A balance of credit. > 5. "credit_

[Neo4j] Some questions about design when using neo4j

2011-08-30 Thread Benjamin Gustafsson
Hi I'm trying to figure out how to design a graph database where I have 1. Users 2. Groups 3. Items 4. "credit_line" -relation between Users. A balance of credit. 5. "credit_line" -relation between Users and Groups. 6. "memberOf"-relation from Users to Groups. 7. "have" -relation between User and

Re: [Neo4j] some questions : unique property and Rest

2011-08-11 Thread Michael Hunger
> 1.Does Neo4J support *unique property* (Node/Relationship)? Right now there is no native support for that, you have to implement it on your own - define the properties that are unique and then write an getOrCreateNode method and/or endpoint that exposes the following things: - query the inde

[Neo4j] some questions : unique property and Rest

2011-08-11 Thread shlomyb
1.Does Neo4J support *unique property* (Node/Relationship)? 2.How can I wrap a Node in a MyClass and using it with Rest services? 3.Can I use in MyClass some JPA annotaions? shlomib -- View this message in context: http://neo4j-community-discussions.438527.n3.nabble.com/some-questions-unique-p