Distributed Index Handler 12.13

# DREEXPORTIDX

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

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

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/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 exports 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:9071/DREEXPORTIDX?

This index action exports all IDX documents from IDOL Server to a series of compressed files in the IDOL Server current working directory (`IDOLserver\IDOL\content`). The files created in this directory are 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.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
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.
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.13 | Last updated October 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.13

Topic Title: DREEXPORTIDX