# Compact the Data Index Immediately

You can compact the data index either by sending an action from your Web browser, or by using the IDOL Admin interface.

To compact the data index by sending an action from your Web browser

Send a `DRECOMPACT` action (case sensitive) from your Web browser:

    http://ContentHost:indexPort/DRECOMPACT

where:

`ContentHost` | is the IP address or host name of the machine on which the IDOL Content component is installed.
`indexPort` | is the IDOL Content component index port (specified as `IndexPort` in the `[Server]` section of the IDOL Content component configuration file).

For example:

    http://MyHost:20001/DRECOMPACT

This action uses port `20001` to compact the data content of an IDOL Content component that is located on a machine with host name `MyHost`.

You can restrict compaction to the `NodeTable` (document storage) stage by using the index parameter `Type`.

For example:

    http://MyHost:20001/DRECOMPACT?Type=NodeTable

After you start a `DRECOMPACT` operation, you can pause the index action by sending an `IndexerGetStatus` action with the `IndexAction` parameter set to `pause`. You can also cancel the index action by sending an `IndexerGetStatus` action with the `IndexAction` parameter set to `Cancel`. In this case, the next `DRECOMPACT` operation that you send resumes where the previous compaction stopped.

To compact the data index by using IDOL Admin

1. In IDOL Admin, go to Control > Console > Service Control.

2. Click Compact.

   A confirmation message appears.

3. Click Compact.

You can monitor the progress of the `DRECOMPACT` action in the Recent Tasks panel.

_FT_HTML5_bannerTitle.htm