Question

Does cypher replaces neo4j traversal now-a-days? Is neo4j traversal deprecated now?

Was it helpful?

Solution

No, there are many cases where a manual traversal is useful. The Traversal class is indeed deprecated but the TraversalDescription isn't. You can get it via GraphDatabaseService#traversalDescription().

OTHER TIPS

The documentation currently says it's deprecated, but staff says

We are officially continuing with the deprecation of the traversal API, BUT it will stick around and will be maintained until a suitable replacement is available, and that may not happen for awhile. We won't be pulling the rug out from under anyone's feet, this is just a step in preparation for something new.

July 29, 2020

https://community.neo4j.com/t/the-traversal-framework-in-v4/15989/4

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top