neo4j索引

1.创建索引

CREATE INDEX ON : Disease (name)

2.查询所有创建的索引

:schema 
或者
call db.indexes

3.删除索引

drop index on :Disease(name,high_risk)

4.查看查询语句的执行计划

 

profile 
match(d:Disease)-[r:鉴别诊断]->(h) where d.name='糖尿病' return collect(h.name) as coll

 

posted @ 2019-07-01 10:04  kwz  Views(667)  Comments(0Edit  收藏  举报