match执行无数据

  • nebula 版本:3.8
  • 部署方式:单机
  • 安装方式:源码编译
  • 是否上生产环境: N
  • 问题的具体描述
1. MATCH p=(v:customer)-[e:has_phone]->(v2:phone_num) where  e.edge_uid =='eb9a2494edaaf22d3fba14a32bee7c100'  RETURN p;

2. MATCH p=(v:customer)-[e:has_phone]->(v2:phone_num) where id(v2)=='13917175168' and e.edge_uid =='eb9a2494edaaf22d3fba14a32bee7c100'  RETURN p;

以上两个match语句,区别仅为 id(v2)=='13917175168' and ,目前语句1返回空,语句2返回满足预期(1条结果)

注:已构建has_phone.edge_uid index,LOOKUP ON也无法查询出结果

LOOKUP ON has_phone WHERE has_phone.edge_uid == "eb9a2494edaaf22d3fba14a32bee7c100" YIELD src(edge) as SrcVID,dst(edge) as DstVID,rank(edge) as Ranking

构建 index 有没有 rebuild 索引

第二条 match 能成功是因为没有走 edge_uid 的索引

1 个赞