how do we implement paging for results after we get results in onSuccess function, I have like this:
for(var i = 0; i <results.length; i++){
}
But this way, it will loop through all documents, but how do I implement paging, and loop through only items I want, like 5 document each time.