简体   繁体   English

在Neo4J上使用REST API

[英]Using REST API on Neo4J

I installed Neo4J locally and populated a sample database. 我在本地安装了Neo4J,并填充了一个示例数据库。 I can view it just fine on the Neo4J browser. 我可以在Neo4J浏览器上很好地查看它。 I can view the Service root at http://localhost:7474/db/data/ . 我可以在http:// localhost:7474 / db / data /查看服务根目录。

I see these two links: 我看到这两个链接:

relationship_index  /db/data/index/relationship
node_index  /db/data/index/node

But when I click on them, nothing happens. 但是,当我单击它们时,什么也没有发生。

Does some web server also need to be running locally? 是否某些Web服务器也需要在本地运行?

My neo4j-server.properties has thi set: org.neo4j.server.webadmin.data.uri=/db/data/ 我的neo4j-server.properties已设置:org.neo4j.server.webadmin.data.uri = / db / data /

Is that "/db/data" value totally arbitrary (ie, it can be whatever)? 该“ / db / data”值是否完全是任意的(即可以是任意值)?

Those URLs are the root resources for referring to nodes and relationships by index. 这些URL是用于按索引引用节点和关系的根资源。 For example: 例如:

http://localhost:7474/db/data/index/node/1

refers to the node with an id of 1 . 引用ID为1的节点。 More information is available in the manual . 手册中提供了更多信息。

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

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