Query getNodes() Extremely Slow
I am building a query using QueryBuilder and the query returns 32k results. I am using the following to create an Iterator so that I can index over each result.
Iterator<Node> itr = query.getResult().getNodes();
This line however takes a really long time and is slowing my page down drastically. How can I speed this up?