# 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.

## Example

    http://12.3.4.56:9071/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.

_FT_HTML5_bannerTitle.htm