DREEXPORTXML

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

Note: Multi-section documents are not split across chunks, so the BatchSize specified in the configuration file is not used exactly if this requires a document section to be split.

You do not need to un-compress compressed XML files before indexing them. For example, the index action DREADD?output-0.xml.gz indexes the output-0.xml.gz file correctly without you un-compressing the file first.

When you want to update a configuration parameter that requires you to reindex your data, you can use DREEXPORTIDX or DREEXPORTXML to export an IDX or XML file. You can then initialize your index, make your configuration changes and index the IDX or XML file back into DIH.

Example

http://12.3.4.56:20001/DREEXPORTXML?FileName=/export/data/backup/output&Compress=true&DatabaseMatch=News,Archive&BatchSize=1000&MinDate=01/01/2003&MaxDate=01/01/2004&MinID=500001&MaxID=1000000

This index action uses port 20001 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 are called output-0.xml.gz, output-1.xml.gz and so on.

http://12.3.4.56:20001/DREEXPORTXML?

This index action uses port 20001 to export all XML documents from DIH to a series of compressed files in DIH'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.

Parameters

Parameter Description Required
BatchSize The number of document sections to export into one XML file.  
Compress Whether to compress exported files.  
DatabaseMatch The databases to export documents from.  
Delete Whether to delete the exported documents.  
Field The reference field that the specified references must occur in.  
FileName The path to the directory to store the exported files.  
HostDetails Adds host details to the exported filename.  
IgnoreMaxPendingItems Whether to ignore the IndexQueueMaxPendingItems limit for this index action.  
IndexUID An identification code for any document tracking events.  
MatchID The IDs of documents to export.  
MatchReference The references of documents to export.  
MaxDate The latest creation date of documents to export.  
MaxID The maximum document ID number (inclusive) to export.  
MinDate The earliest creation date of documents to export.  
MinID The minimum document ID number (inclusive) to export.  
Priority Set the priority for the index job.  
StateMatchID Export only documents listed in the specified state token.  

© 2013 Hewlett-Packard Development Company, L.P.