I do want to match two sets of nodes.Here is the scenario,set a has 1000 nodes and set b has 1000 nodes.There are 100 nodes which have a target attribute value and 100 nodes in b as well.I want to connect these 200 nodes. To do it,first it need to do two match:
match (a {property1:0})
match (b {property2:1})
which will return 10000 a and 10000 b which will take much time( around 10 mins on my mechine).Is there a way to just return 100 a and 100 b?