View Component 25.4
View Component Help

# Compact the Data Index Immediately

You can compact the data index either by sending an action from your Web browser, or by using the Knowledge Discovery 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 Content component is installed.
`indexPort` | is the Content component index port (specified as `IndexPort` in the `[Server]` section of the Content component configuration file).

For example:

    http://MyHost:20001/DRECOMPACT

This action uses port `20001` to compact the data content of an 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 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 Knowledge Discovery Admin

1. In Knowledge Discovery 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.

Copyright 2025 Open Text
Version 25.4 | Last updated October 2025

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 View Component 25.4

Topic Title: Compact the Data Index Immediately