/plushcap/analysis/datastax/datastax-gremlin-recipes-4-recursive-traversals

Gremlin Recipes: 4 – Recursive Traversals

What's this blog post about?

This blog post delves into recursive traversal techniques with Gremlin, focusing on a part of the schema where a user knows other users who know other users, and so on. It demonstrates how to find the user in the dataset who knows the most other users, list all friends up to 2nd degree connections, and use emit() modulator to output traversed vertices. The post also explains how to control recursive combinatory explosion using timeLimit(time_in_millisecs) and loops().

Company
DataStax

Date published
Sept. 23, 2017

Author(s)
Duy Hai Doan

Word count
1485

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.