int len = docQueue.size() - req.getOffset();
if (len < 0) len = 0;
SenseiHit[] hitArray = new SenseiHit[len];
for (int i = hitArray.length-1; i>=0; --i)
{
tmpScoreDoc = (MyScoreDoc)docQueue.pop();
hitArray[i] = tmpScoreDoc.getSenseiHit(req);
}
for (int i=0; i<hitArray.length; ++i)
hitsList.add(hitArray[i]);