DREEXPORTXML

Allows you to export XML documents from one or more IDOL databases (use DREEXPORTIDX to export IDX documents).

Note:

  • Multisection documents are not split across chunks, so the BatchSize specified in the configuration file is not used exactly if this would require a document section to be split.

  • You do not need to uncompress compressed XML files before indexing them. For example, the command DREADD?output-0.xml.gz indexes the output-0.xml.gz file correctly without you uncompressing the file first.

Example

http://12.3.4.56:16001/DREEXPORTXML?FileName=/export/data/backup/output&Compress=true&DatabaseMatch=News,Archive&BatchSize=1000&mindate=01/01/2003&maxdate=01/01/2004

This command uses port 16001 to export all XML documents that have dates between the 1st of January 2003 and the 1st of January 2004 from the News and Archive databases to a series of compressed files in the /export/data/backup directory. The files that are created in this directory will be called output-0.xml.gz, output-1.xml.gz and so on.

http://12.3.4.56:16001/DREEXPORTXML?

This command uses port 16001 to export all XML documents from IDOL server to a series of compressed files in IDOL server's current working directory (IDOLserver\IDOL\content). The files that are created in this directory are be called AUTN-XML-EXPORT-12.04.2005-02.15.41-0.xml.gz, AUTN-XML-EXPORT-12.04.2005-02.15.41-1.xml.gz and so on.

Parameter Description Required
BatchSize The number of document sections to be exported to one XML file.
Compress Determines whether the exported files are compressed.
DatabaseMatch The databases from which to export documents.
Delete Specifies whether the exported documents are to be deleted.
FileName The path to the directory where the exported files are to be stored.
HostDetails Adds host details to the exported filename.
MatchID The IDs of documents to be exported.
MatchReference The references of documents to be exported.
MaxDate The latest creation date of documents to be exported.
MaxID The maximum document ID number (inclusive) to be exported.
MinDate The earliest creation date of documents to be exported.
MinID The minimum document ID number (inclusive) to be exported.
Priority Sets the priority of an indexing job.
StateMatchID Export only documents listed in the specified state token.
Comments