为对应的节点属性加上索引,语句如下:
create index on:Disease(name);
create index on:Symptom(name);
create index on:Department(name);
create index on:Examination(name);
create index on:Drug(name);
create index on:Operation(name);
create index on:Part(name);
create index on:Therapy(name);
create index on:Crowd(text);
以上比较简略只为满足日常需求,后续更新详细的创建索引内容以及添加索引带来的优势。
本文介绍如何在Neo4j图数据库中为不同类型的节点属性创建索引,包括疾病、症状、科室等,以提高查询效率。
646

被折叠的 条评论
为什么被折叠?



