- nebula 版本:2.5
- 部署方式(分布式 / 单机 / Docker / DBaaS):docker
tag:person(name)
edge:like
我先建了person ,name,like的索引,然后插入好几条tag和edge数据,然后rebuild 索引,然后执行match。点都能按文档里的正常取出,但是edge无法正常取出,全部返回为空
(root@nebula) [test]> match p=(v:person{name:"Bob"})-->(v2:person) return p
+---+
| p |
+---+
+---+
Empty set (time spent 16455/19668 us)
Thu, 16 Sep 2021 18:47:19 CST
(root@nebula) [test]> match p=(v:person)-[e]->(v2:person) return e
+---+
| e |
+---+
+---+
Empty set (time spent 10364/13745 us)
Thu, 16 Sep 2021 18:53:06 CST
我想肯定是哪弄错了,反复插入,重建索引。但都没结果出来
在studio里用图算法能看到生成的两个person之间的like边,为啥match不出来啊
用fetch能发现like边的属性
(root@nebula) [test]> FETCH PROP ON like "Bob"->"Tom"
+----------------------------------------------+
| edges_ |
+----------------------------------------------+
| [:like "Bob"->"Tom" @0 {likeness: __NULL__}] |
+----------------------------------------------+
Got 1 rows (time spent 3142/6462 us)
Thu, 16 Sep 2021 19:12:41 CST