Hi!
 
> I discovered a problem with stack overflow when using the search under
> Windows. To get it to look into more than 10K of nodes, I had to
> increase the stack size. My query needed to look into 250K of nodes
:-)

Uuupss... :-) Nice one. 


> Maybe we can use a traverser in the NeoSearchQuery::checkNode() method
> to avoid the recursion?

The problem with the traverser is that its API is not sufficient. It
cannot be used to "follow all outgoing relationships from this node for
any relationshiptype", because you always have to specify a pair of
{direction, relationshiptype}, which you don't have in this case. I
think this should be changed!

For this reason the search query did not use a traverser initially.
However, as you had changed the implementation to also follow incoming
relationships, it probably could be used again?

regards,
Peter 

_______________________________________________
Neo mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to