步骤1:profile MATCH p=(start:ent)<-[inv:teninvmerge1…8]-(end) where start.ent.nodeid ==“f6c9d0094ea50a2992f80b5a96f09e26” return p limit 10
p路径结果大约13000条。耗时不足1s
步骤2:profile MATCH p=(start:ent)<-[inv:teninvmerge1…8]-(end) where start.ent.nodeid ==“f6c9d0094ea50a2992f80b5a96f09e26” and not (end)<-[:teninvmerge]-() return p limit 10
耗时接近3s
result (19).csv (18.1 KB)
1.csv (10.2 KB)