neo4j----创建索引

创建索引

create index on:Student(name)

删除索引

drop index on:Student(name)

创建唯一索引

create constraint on (s:Teacher) assert s.name is unique

删除唯一索引

drop constraint on (s:Teacher) assert s.name is unique

原文地址:https://www.cnblogs.com/learningJAVA/p/9599393.html