Content Component 26.2
Content Component Help

# 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: OpenText recommends that you back up the Content component before you compact it.

By default, the `DRECOMPACT` index action automatically copies the data index to the `internalbackup` directory in the Content component 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 2026 Open Text
Version 26.2 | Last updated April 2026

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 MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Content Component 26.2

Topic Title: DRECOMPACT