I would run 2 instances on different ports and clean the db via the
extension, or, if it is small data, and via a groovy or Gremlin script
accessing the Neo4j java API for cleaning, see
http://docs.neo4j.org/chunked/snapshot/gremlin-plugin.html#rest-api-send-an-arbitrary-groovy-script---lucene-sorting.
Would that work?

/peter

Sent from my phone.
On Oct 9, 2011 10:45 AM, "Steve Jalim" <[email protected]> wrote:

> Thanks for the suggestions to try the ImpermanentGraphDatabase - I'd come
> across that, but I forgot to mention in my email that I'm using Neo purely
> via its REST API, so I don't think I can use that, can I? Or can I invoke
> an
> IGD that runs in parallel with my dev datastore?
>
> S
>
>
>
> >    Date: Sat, 8 Oct 2011 13:27:54 -0700
> > From: Andreas Kollegger <[email protected]>
> > Subject: Re: [Neo4j] Run test and development DBs at same time
> > To: Neo4j user discussions <[email protected]>
> > Message-ID: <[email protected]>
> > Content-Type: text/plain; charset=windows-1252
> >
> > Take a look at ImpermanentTestDatabse, available from the kernel-tests
> > library.
> >
> > import org.neo4j.test.ImpermanentGraphDatabase;
> >
> > Maven dependency?
> >
> >    <dependency>
> >      <groupId>org.neo4j</groupId>
> >      <artifactId>neo4j-kernel</artifactId>
> >      <version>${neo4j.version}</version>
> >      <classifier>tests</classifier>
> >    </dependency>
> >
> > Cheers,
> > Andreas
> >
> >
> >
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to