neo4j教程
作者: Tony
bin/cypher-shell (V3.3.3)

1、登陆cypher shell

  •  bin/cypher-shell -a bolt://localhost:7687 -u neo4j -p neo4j
2、修改初始密码
  • neo4j> CALL dbms.changePassword('newPassword')

3、创建索引

  • create index on :USER(uid)

4、查看索引创建进度

  • neo4j> call db.indexes();

+----------------------------------------------------------------------------------------------------------------------------------------+
| description                  | label     | properties  | state        | type                  | provider                               |
+----------------------------------------------------------------------------------------------------------------------------------------+
| "INDEX ON :USER(uid)" | "USER" | ["uid"] | "POPULATING" | "node_label_property" | {version: "1.0", key: "lucene+native"} |
+----------------------------------------------------------------------------------------------------------------------------------------+



标签: neo4j、cypher、uid、shell、user
一个创业中的苦逼程序员
  • 回复
隐藏