0
グラフ全体(関係と "独立"ノードの両方のノード)をGephiにエクスポートしようとしています。_all_ノードとすべての関係をNeo4jからGephiにエクスポートするには?
match path = (n)-[*0..]-()
with collect(path) as paths
call apoc.gephi.add(null, 'workspace1', paths, '', ['attr1', 'attr2']) yield nodes, relationships, time
return nodes, relationships, time
残念ながら、クエリが終了したことがないと効果的にDoS-ESのNeo4j(:私はのような単一のクエリでそれらを交換しようとしてい
// export relationships
match path = (n)--()
with collect(path) as paths
call apoc.gephi.add(null, 'workspace1', paths, '', ['attr1', 'attr2']) yield nodes, relationships, time
return nodes, relationships, time
// export independent nodes
match path = (p)
where not (p)--()
with collect(path) as paths
call apoc.gephi.add(null, 'workspace1', paths, '', ['attr1', 'attr2']) yield nodes, relationships, time
return nodes, relationships, time
:それを達成するために、私は2つのクエリを実行currenly Neo4j側でCPUとRAMの消費量が多くなり、応答が遅くなります)。 私も[*0..10]
でリレーションの深さを制限しようとしましたが、それは役に立ちませんでした。
単一のクエリでデータをエクスポートする正しい方法は何ですか?
neo4jインスタンスをシャットダウンしてグラフフォルダにアクセスできる場合は、[neo4j-admin](https://neo4j.com/docs/operations-manual/current/tools/dump-load/)を使用して、 –