Documentation

Performance & Best Practices

Performance & Best Practices

Query Optimization Tips

Efficient Traversal Patterns

PatternRecommendedAvoid
Count events in time window Velocity API (get_velocity_count) COUNT with filter over edges
Check if relationship exists edge_exists(src, dst, type) Full MATCH + COUNT
Find connected neighbours 1–2 hop MATCH with LIMIT Unbounded variable-length paths
Get risk context get_fraud_context(node_id) Manually traversing and aggregating

Common Mistakes to Avoid