Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Support batch API #12

Closed
aseemk opened this Issue · 6 comments

3 participants

@aseemk
Owner

No description provided.

@aseemk aseemk referenced this issue
Closed

errors on delete #30

@thanigaiv

any idea when this feature will be supported...I'm running into some concurrency issues when multiple nodes are changed.

@aseemk
Owner

I'm not sure that we'll prioritize it just yet given that mutable Cypher (which will let you change multiple nodes) is right around the corner -- literally the next Neo4j release may be 1.8 GA.

In the meantime, perhaps you could use Gremlin?

@jessetane

Definitely recommend you use mutable Cypher - the 1.8 snapshot seems to be working pretty well for me - beware, you will still have concurrency issues (RWLock etc) but you can just retry until the transaction completes:

https://groups.google.com/forum/#!searchin/neo4j/errors$20on$20delete/neo4j/TinPz2Uv1rs/AgB2wNsSQr4J

@thanigaiv

I tried to use mutable cypher - but not sure if it supports index creation too. I need nodes to be indexed after they are created as the subsequent transaction would lookup a node on that index.

@jessetane

Excellent point. And in my case, I actually needed the unique indexing functionality - for this I fall back to the actual REST API method. For reference, you are welcome to check out my take (heavily inspired by this lib) on a more Cypher centric, and inheritance based neo4j library, though it is super untested and has no docs...

https://github.com/jessetane/neo4j

for the indexing specifically:

https://github.com/jessetane/neo4j/blob/master/BaseNode.coffee
https://github.com/jessetane/neo4j/blob/master/Node.coffee

@aseemk
Owner

Haven't heard any requests for this in a very long time, presumably because Cypher (esp. in Neo4j 2.0) is so powerful. Going to go ahead close this as "won't implement" now.

@aseemk aseemk closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.