简体   繁体   English

Neo4jPhp关系

[英]Neo4jPhp relations

I'm playing around with Neo4j in my php project. 我在我的php项目中玩Neo4j。 I currently created around 100.000 nodes but I wonder how to put some random relations to do some tests on the setup concerning speed. 我目前大约创建了100.000个节点,但是我不知道如何建立一些随机关系来对速度进行一些测试。

The nodes have only random properties so I would need a way to put relations using the id. 节点仅具有随机属性,因此我需要一种使用id放置关系的方法。

Any advice? 有什么建议吗?

Thanks! 谢谢!

也许您可以找到节点上使用的最高ID,然后随机生成2个节点ID进行连接,然后重试这些ID中是否没有节点?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM