}
if (docIdIndex == BUFFER_SIZE - 1) {
partialDocIds[docIdIndex++] = docId;
ZoieSegmentReader<?> zoieReader = (ZoieSegmentReader<?>)(reader.getInnerReader());
DocIDMapperImpl docIDMapper = (DocIDMapperImpl) zoieReader.getDocIDMaper();
result.getMapResults().add(mapReduceStrategy.map(partialDocIds, BUFFER_SIZE, zoieReader.getUIDArray(), new FieldAccessor(facetInfos, reader, docIDMapper), FacetCountAccessor.EMPTY));
docIdIndex = 0;
}
}