Reputation: 69
Does cypher replaces neo4j traversal now-a-days? Is neo4j traversal deprecated now?
Upvotes: 4
Views: 710
Reputation: 22042
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
Upvotes: 2
Reputation: 5001
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()
.
Upvotes: 2