You can use EXPLAIN to see the operations how your query would be processed.
It is not directly BFS or DFS but can have multiple starting points etc. In general the Expand(All) operation chained is DFS. But there is also a bi-directional ExpandInto and several types of Joins and Apply's. see: http://neo4j.com/docs/stable/execution-plans.html <http://neo4j.com/docs/stable/execution-plans.html> > Am 10.01.2016 um 02:30 schrieb Anirudh Kaushik <[email protected]>: > > Hi, > > I would like to know how Neo4j identifies what traversal order to apply (BFS > or DFS) on encountering a query? I have tried to look at the execution plans > manual and the source code, and I observe that the expand operators are the > closest to the traversal order. Any suggestions to the implementation in the > source code or general suggestions would be useful. I am particularly > interested in whether there is any stats that influences Neo4j to decide on > whether to implement BFS or DFS. > > Thanks, > > > -- > You received this message because you are subscribed to the Google Groups > "Neo4j" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- You received this message because you are subscribed to the Google Groups "Neo4j" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
