Kan,
maybe you have created data before, and the IDs are ticking up?

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               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Fri, Oct 7, 2011 at 11:04 AM, KanTube <[email protected]> wrote:
> Ok i think i have figured it out but there may be a bug
>
> if i use the gremlin web console and send this command
>
> g.v(0).outE('friend').sideEffect{g.removeEdge(it); }
>
> it will only delete the first relationship
>
> however
>
> if i send the same command to the HTTP web console i receive the following
> error
>
> ==> 500 Internal Server Error
> ==> {
> ==>   "message" : "Relationship[42] not found.",
> ==>   "exception" : "org.neo4j.graphdb.NotFoundException: Relationship[42]
> not found.",
> ==>   "stacktrace" : [
> "org.neo4j.kernel.impl.core.NodeManager.getRelForProxy(NodeManager.java:568)",
> "org.neo4j.kernel.impl.core.RelationshipProxy.getStartNode(RelationshipProxy.java:65)",
> ......
>
> but all relationship are deleted
>
>
> as it turns out Relationship[42] is the first relationship of type 'friend'
> on the g.v(0) node.
>
> is this something i am doing?
>
>
>
>
> --
> View this message in context: 
> http://neo4j-community-discussions.438527.n3.nabble.com/Gremlin-add-remove-vertex-edge-functions-tp3402170p3402299.html
> Sent from the Neo4j Community Discussions mailing list archive at Nabble.com.
> _______________________________________________
> 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