Neo4J / Py2neo -- Cursor-based Query?
If I do something like this: from py2neo import Graph graph = Graph() stuff = graph.cypher.execute(''' match (a:Article)-[p]-n return a, n, p.weight ''') on a database with lo
Solution 1:
Have you tried implementing a paging mechanism? Perhaps with the skip keyword: http://neo4j.com/docs/stable/query-skip.html
Similar to using limit / offset in a postgres / mysql query.
EDIT: I previously said that the entire result set was stored in memory, but it appears this is not the case when using api streaming - per Nigel's (Neo engineer) comment below.
Post a Comment for "Neo4J / Py2neo -- Cursor-based Query?"