Export IDX Documents from the IDOL Content component
You can send a DREEXPORTIDX
action (case sensitive) from your Web browser to export IDX documents from one or more IDOL Content component databases. (Use DREEXPORTXML
to export XML documents.) Use the following syntax:
http://ContentHost:indexPort/DREEXPORTIDX?FileName=fileName&Compress=True|False&DatabaseMatch=databaseCSV&BatchSize=size&MinDate=minDate&MaxDate=maxDate
where:
NOTE: For additional action parameters, refer to the IDOL Server Reference.
Example 1:
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
In this example, Content exports all IDX documents that have dates between the first of January 2003 and the first of January 2004. It exports from the News
and Archive
databases to a series of compressed files in the /export/data/backup
directory. It names the files created in this directory output-0.idx.gz
, output-1.idx.gz
and so on.
Example 2:
http://12.3.4.56:20001/DREEXPORTIDX?
In this example, the IDOL Content component exports all IDX documents to a series of compressed files in the current Content working directory (IDOLserver\IDOL\content
). It names the files created in this directory 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.
NOTE: Content does not split the sections of a multiple section document across batches. If the exact BatchSize
splits a multiple-section document, Content does not use the exact value.
NOTE: You do not need to uncompress compressed IDX files before you index them. For example, the action DREADD?output-0.idx.gz
indexes the output-0.idx.gz
file correctly without you having to uncompress the file first.