You can read on http://wiki.alfresco.com/wiki/Search: “The maximum size of the result set can be set. The return results set will be no bigger than this size.”
I still get a result set with thousands of records.
b)If I try to read only the first 1000 records of the big result (700000hits), it is very slow! (>5 seconds) This only happens when a PATH is specified in the query.
int i=0; for (ResultSetRow row : results) { NodeRef currentNodeRef = row.getNodeRef(); nodeList.add(currentNodeRef); i++; if (i > 1000) break; }