ProgressLogger progressLogger = new ProgressLogger( LOGGER, jsapResult.getLong( "logInterval" ), "documents" );
if ( documentSequence instanceof DocumentCollection ) progressLogger.expectedUpdates = ((DocumentCollection)documentSequence).size();
progressLogger.start( "Scanning..." );
while( ( document = documentIterator.nextDocument() ) != null ) {
if ( uriStream != null ) {
s.replace( document.uri() );
s.replace( LINE_TERMINATORS, SPACES );
s.writeUTF8( uriStream );
uriStream.write( '\n' );