Batch import through the REST API for neo4j -


i using neo4j's rest api batch importing.

as per docs ( http://docs.neo4j.org/chunked/stable/rest-api-batch-ops.html )

this service transactional. if of operations performed fails (returns non-2xx http status code), transaction rolled , changes undone.

i imporitng 60k nodes , 200k relationships. (at least) 1 of relationships fails , expected whole operation fails.

my question is, there way track specific line of import failing can isolate or remove it?


update: per @thomas fenzi's answer below, turned on x-stream flag, moving @ snails pace. (about 1/5 th speed). have other suggestions?

if use api in streaming mode (chapter 18.15.3. in docs, send x-stream = true header , whatever need client side handle chunked responses) responses point of error.

60k nodes , 200k relationships might bit high single transaction, depending on hardware.


Comments

Popular posts from this blog

java - Jmockit String final length method mocking Issue -

asp.net - Razor Page Hosted on IIS 6 Fails Every Morning -

c++ - wxwidget compiling on windows command prompt -