35graph_match.mql 572 B

1234567891011121314151617181920212223
  1. -- core=local/memoryonly/cacheonly 暂时不支持 多级关系查询
  2. -- match ("biz_local:查账系统")-[:contain*1]->()-[*]->("esx_local:*")-[*1]->('switch_local:*')
  3. -- /**
  4. -- output()
  5. -- match("graph.nodes.len",46)
  6. -- **/
  7. -- ;
  8. -- match (b:"biz_local:*")-[*]->(e:"esx_local:*")-[*1]->(s:"switch_local:*") short path b,e,s
  9. -- /**
  10. -- output()
  11. -- match("graph.paths.len",18)
  12. -- **/
  13. -- ;
  14. -- match ("biz_local:查账系统")-[:contain]->("cluster_local:查账系统web集群")-[*]->() until "switch_local:*"
  15. -- /**
  16. -- output()
  17. -- match("graph.nodes.len",18)
  18. -- **/
  19. -- ;