Hi Val, I have looked at the Ignite code and the way iterator is implemented confirms my observation.
In org.apache.ignite.internal.processors.query.h2.opt.GridLuceneIndex#query in line 285 you execute query docs = searcher.search(query, Integer.MAX_VALUE) instead of docs = searcher.search(query, pageSize). In addition, you do not utilize Lucene's public TopDocs searchAfter(final ScoreDoc after, Query query, int numHits) to properly implement cursor advancing. Do you think this can be improved? thanx, zbyszek -- Sent from: http://apache-ignite-users.70518.x6.nabble.com/