Re: [Neo4j] some questions

2011-11-22 Thread Jacob Hansson
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, and then start modifying the layout using the coffeescript and template infrastructure

Re: [Neo4j] some questions

2011-11-21 Thread Peter Neubauer
: Peter Neubauer peter.neuba...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org 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. As Marko

Re: [Neo4j] some questions

2011-11-21 Thread andrew ton
Thanks Peter Cheers, From: Peter Neubauer peter.neuba...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org Sent: Monday, November 21, 2011 4:41 AM Subject: Re: [Neo4j] some questions Andrew, I think you could set up the Webadmin over your

Re: [Neo4j] some questions

2011-11-21 Thread Peter Neubauer
To: Neo4j user discussions user@lists.neo4j.org 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

[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

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

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 okramma...@gmail.com 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

Re: [Neo4j] some questions

2011-10-28 Thread andrew ton
@lists.neo4j.org 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 :) On Fri, Oct 28, 2011 at 3:57 PM, Marko Rodriguez okramma...@gmail.com wrote: Hi, 2. Assume I have a big graph in the REST server, what

Re: [Neo4j] some questions

2011-10-28 Thread Peter Neubauer
, From: Linan Wang tali.w...@gmail.com To: Neo4j user discussions user@lists.neo4j.org 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 :) On Fri, Oct 28

Re: [Neo4j] some questions

2011-10-28 Thread andrew ton
@lists.neo4j.org 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. As Marko mentioned - either script it in Gremlin/Groovy, or implement a REST endpoint in Java, giving you full

Re: [Neo4j] some questions

2011-10-28 Thread Peter Neubauer
page? Thanks, Andrew From: Peter Neubauer peter.neuba...@neotechnology.com To: Neo4j user discussions user@lists.neo4j.org 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

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

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.

[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 Item.

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, Item, User/Group. (A

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

2011-08-12 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

[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: