Re: [Neo4j] Why can't I drop Constraint?

2014-09-16 Thread Michael Hunger
James, perhaps you can provide your code and the Neo4j version as well as OS version that you used together with the stacktrace? Thanks Michael On Mon, Sep 15, 2014 at 5:42 PM, James Guerrieri wrote: > Hi Guys, > > I'm not sure if this issue was sorted but if it helps I found that this > error

Re: [Neo4j] Why can't I drop Constraint?

2014-09-15 Thread James Guerrieri
Hi Guys, I'm not sure if this issue was sorted but if it helps I found that this error happens to me when I use a 32 bit JVM and not when I use a 64 bit JVM of the same version. There's still some undeterministic behavior associated with this because it'll also only happen when I run 2 junit t

Re: [Neo4j] Why can't I drop Constraint?

2014-03-30 Thread Rio Eduardo
Oh ok but, when I tried to drop it, I already made sure the constraint was online. On Sunday, March 30, 2014 4:23:23 PM UTC+7, Michael Hunger wrote: > > Could it be that the constraint was not yet online when you tried to drop > it? I.e. it was still building? > > It seems lucene was still writ

Re: [Neo4j] Why can't I drop Constraint?

2014-03-30 Thread Michael Hunger
Could it be that the constraint was not yet online when you tried to drop it? I.e. it was still building? It seems lucene was still writing to the backing files. Caused by: java.io.IOException: Cannot delete C:\Users\Olivia Stella\Documents\Neo4j\DB_1000\schema\index\lucene\3\_0.fdt On Sun, M

Re: [Neo4j] Why can't I drop Constraint?

2014-03-30 Thread Michael Hunger
Something went wrong there. Can you share your graph.db/messages.log file to see if we can find out the reason? Your create/drop constraint syntax is correct. On Sun, Mar 30, 2014 at 7:52 AM, Rio Eduardo wrote: > I create constraint in Neo4j Shell(2.0.1) with this syntax => CREATE > CONSTRAIN

[Neo4j] Why can't I drop Constraint?

2014-03-29 Thread Rio Eduardo
I create constraint in Neo4j Shell(2.0.1) with this syntax => CREATE CONSTRAINT ON(U:User) ASSERT U.user_id is UNIQUE; And can see the schema with this syntax => schema ls -l :User but when I want to drop contraint with this syntax => DROP CONSTRAINT ON(U:User) ASSERT U.user_id is UNIQUE; it ret