[Neo4j] some questions

andrew ton andrewton6 at yahoo.com
Fri Oct 28 17:30:44 CEST 2011



Hi Peter,

I think I go to the direction of implementing a REST endpoint in Java. How about my first question about customizing the Admin page? 

Thanks,
Andrew


________________________________
From: Peter Neubauer <peter.neubauer at neotechnology.com>
To: Neo4j user discussions <user at 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 static powaah:
http://docs.neo4j.org/chunked/snapshot/server-plugins.html

Does that work?

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              - NOSQL for the Enterprise.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.



On Fri, Oct 28, 2011 at 3:02 PM, andrew ton <andrewton6 at yahoo.com> wrote:
>
>
> Yes, that's what I have been doing :)
>
> However what if I have 2 graphs under a root node and I just want to remove 1 graph and leave the other alone.
>
> Any suggestions?
>
> Thanks,
>
>
> ________________________________
> From: Linan Wang <tali.wang at gmail.com>
> To: Neo4j user discussions <user at 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 <okrammarko at 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 relationships and its index is not convenient.
>>
>>
>> Via Gremlin Plugin, you can call g.clear().
>>
>> HTH,
>> Marko.
>>
>> http://markorodriguez.com
>> _______________________________________________
>> Neo4j mailing list
>> User at lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>>
>
>
>
> --
> Best wishes,
>
> Linan Wang
> Architect, Programmer, PhD
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
> _______________________________________________
> Neo4j mailing list
> User at lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
User at lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user


More information about the User mailing list