Run this to get a list of all internal Ids for all nodes with label itemA:
match(a:itemA) with collect(id(a)) as IdList merge (c:cache) set c.IdList = IdList
Then run this to try and retrieve all nodes with label itemA, whose internal Id is in the li...