IDOL Content Component 12.13

# DRECOMPACT

Allows you to reduce the space left when documents are deleted from the data index. The `DRECOMPACT` index action fills the space created through the document deletion with new documents. This process is similar to the de-fragmentation process.

After the compaction is complete, the index action recalculates the `SortField` information.

NOTE: Micro Focus recommends that you back up IDOL Server before compacting it.

By default, the `DRECOMPACT` index action automatically copies the data index to the `internalbackup` directory in the IDOL Server data directory. To change this directory, set the PreCompactionBackup configuration parameter, or use the Backup index action parameter.

By default, the `DRECOMPACT` index action does not compact the phrase index, because doing so can take a significant amount of time for large indexes. You can configure this by setting the parameter CompactPhraseIndex in the `[Schedule]` section of the configuration file.

## Example

    http://12.3.4.56:9101/DRECOMPACT?

This index action compacts the data index.

## Optional Parameters

This action accepts the following optional parameters.

Parameter | Description
--- | ---
Backup | Whether to perform a backup before compaction.
NodeTableCompactWindowKB | The maximum amount of extra disk space that the server can use to improve compaction.
Path | The path to the directory to save the backup to.
Type | Limits the compaction to only the `NodeTable` (document storage) stage.

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 IDOL Content Component 12.13

Topic Title: DRECOMPACT