Distributed Index Handler 12.12

# DREEXPORTXML

Allows you to export XML documents from one or more IDOL Server databases.

NOTE: This index action can export content only if it was originally in XML format. IDOL Server does not convert IDX documents to XML. For content that was originally in IDX format, use DREEXPORTIDX.

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 IDOL Server.

## Example

    http://12.3.4.56:9071/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 exports 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:9071/DREEXPORTXML?

This index action exports all XML documents from IDOL Server to a series of compressed files in the IDOL Server 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.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
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.
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.
StateMatchID | Export only documents listed in the specified state token.

This index action accepts the following standard index action parameters.

Parameter | Description
--- | ---
IgnoreMaxPendingItems | Whether to ignore the IndexQueueMaxPendingItems limit for this index action.
IndexUID | An identification code for any document tracking events.
NoArchive | Turn off configured archiving for the index action.
Priority | The priority for the index job.

© Copyright 2022 Micro Focus or one of its affiliates
Version 12.12 | Last updated June 2022

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL Distributed Index Handler 12.12

Topic Title: DREEXPORTXML