DREEXPORTIDX

Allows you to export IDX documents from one or more IDOL databases (use DREEXPORTXML to export XML 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.

Note: 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/DREEXPORTIDX?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 IDX 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.idx.gz, output-1.idx.gz and so on.

http://12.3.4.56:20001/DREEXPORTIDX?

This index action uses port 20001 to export all IDX documents from DIH to a series of compressed files in DIH's current working directory (IDOLserver\IDOL\content). The files created in this directory are be called AUTN-IDX-EXPORT-12.04.2005-02.15.41-0.idx.gz, AUTN-IDX-EXPORT-12.04.2005-02.15.41-1.idx.gz and so on.

Parameters

Parameter Description Required
BatchSize The number of document sections to export into one IDX 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 Whether to 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 The priority for the index job.  
StateMatchID Export only documents listed in the specified state token.  

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