I answered on SO.
Can you show your query plans? You can run EXPLAIN with your query.
You create a Cross Product between hash a and b and then times the :ced relationships of b -> o
How much heap do you have assigned to your DB?
Michael
> --
> 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
neo4j+un...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.