问题描述
我使用 WCC 获得了集群:
当我执行 groupSize>2
时,我最终得到了没有任何链接的节点。
MATCH (c:User)
WITH c.clusterGroup AS fpGroupID,collect(id(c)) AS fGroup
WITH *,size(fGroup) AS groupSize WHERE groupSize > 2
WITH collect(fpGroupID) AS cRings
MATCH p=(c:User)-[:REL]->()
WHERE c.clusterGroup IN cRings
RETURN p
但是当我执行 groupSize=2
或 groupSize<=2
或 groupSize <=6 and groupSize >= 1
我明白了:
注意我也得到了边缘。
但是为什么 groupSize > threshold
即 >
或 >=
符号失败
集群数据: