Is there any way to do index based search on sub-graph in neo4j?
In Cypher we first select nodes from index and then match with the graph relationships or properties, I want something like first I select a sub-graph(based on relationships) and then search in index for that subgraph nodes(sub index of the original index).
start a=(nameindex,'name:*John*'), b=(1) match (b) - [:REL^1..3] - (a) return a
. But, this takes a lot of time. What I want is a subgraph of person1 and then on that sub-graph I search using on nameindex. – wakeup