} else if (val instanceof DocList) {
DocList docList = (DocList) val;
int sz = docList.size();
IdxInfo idxInfo = new IdxInfo(request.getSchema(), request
.getSearcher(), response.getReturnFields());
DocListInfo info = new DocListInfo(docList.matches(), docList.size(),docList.offset(),
docList.maxScore());
DocIterator iterator = docList.iterator();
if (responseWriter.isStreamingDocs()) {
responseWriter.startDocumentList(name,info);
for (int j = 0; j < sz; j++) {