{
ansList2[i] = mapper.getDocID(qryList[i]);
}
assertTrue("wrong result", Arrays.equals(ansList1, ansList2));
DocIDArray result = mapper.getDocIDArray(qryList);
int[] resarr = result.docids;
for(int i = 0; i < qryList.length; i++)
{
assertEquals("wrong result", ansList2[i], resarr[i]);
}
result.close();
}
}