Remove document (-RDOC) command

The -RDOC command removes one or more documents from memory. By default, documents are removed from memory when map processing completes. Use this command if too many intermediate documents accumulate in memory during map processing.

-RDOC command syntax
>>-+-+- -DOCID-+--doc_ID--------+-- -RDOC----------------------><
   | '- -ID----'                |           
   |               .-;------.   |           
   |               V        |   |           
   '-+- -BATCH-+-----doc_ID-+---'           
     '- -H-----'

-DOCID

-ID

Removes a single file, specified by a document ID, from memory. You must specify either the -DOCID keyword or the -BATCH keyword on the -RDOC command.

-BATCH

-H

Removes multiple files, specified by a list of semi-colon-delimited (;) document IDs, from memory. You must specify either the -BATCH keyword or the -DOCID keyword on the -RDOC command.