Limit the number of bytes read for each document.