BigIntBuffer buffer = workArea.get(BigIntBuffer.class);
if (buffer == null) {
buffer = new BigIntBuffer();
workArea.put(buffer);
} else {
buffer.reset();
}
BufferedLoader loader = workArea.get(BufferedLoader.class);
if (loader == null || loader.capacity() < maxdoc) {
loader = new BufferedLoader(maxdoc, _maxItems, buffer);