我有一个Neo4J / Cypher查询类型:
PROFILE CALL apoc.index.relationships('TO','user:15229100-b20e-11e3-80d3-6150cb20a1b9')
YIELD rel, start, end
RETURN DISTINCT start.uid AS source_id,
start.name AS source_name,
end.uid AS target_id,
end.name AS target_name,
rel.uid AS edge_id,
rel.statement AS statement_id,
rel.weight AS weight;
正如您所看到的,它进行查询时,会得到9500个不同的结果(rel
关系,start
和end
节点),然后由于某种原因它会执行240079 db命中-是这正常吗?