Open topic with navigation

# Repair an Index After Validation Fails

You can regenerate a data index if the validation step fails. There are three ways to regenerate an index:

1. Use the `RegenerateIndex` configuration parameters and restart the server.
2. Use the `DREREGENERATE` index action while the server is running.
3. Use the IDOL Admin interface.

All these methods recreate all the files for a particular data index without reindexing all your content.

Note: You can also use these methods to regenerate an index after you make a field configuration change. However, you cannot use the `RegenerateRefIndex` or `DREREGENERATE` `RefIndex` option to change the configuration for `ReferenceType` fields.

## Regenerate with a Server Restart

The `RegenerateIndex` configuration parameters allow you to recreate the data indexes.

To regenerate an index by using the Regenerate configuration parameters

1. Open the HPE IDOL Server configuration file in a text editor.

2. In the `[Server]` section, add the `RegenerateIndex` configuration parameter for the index that you want to regenerate, and set it to `True`. The following parameters regenerate the indexes that correspond to some of the validation steps.

   - `RegenerateNumericIndex`

   - `RegenerateRefIndex`

   - `RegenerateSecIndex`

   - `RegenerateUnstemmedIndex`

   For more information about these parameters, refer to the IDOL Server Reference.

   Note: If validation fails for the `nodetable` or `diskindex` stages, you must reindex your content to repair the index.

3. Save and close the configuration file. Restart HPE IDOL Server for your changes to take effect.

   On startup, HPE IDOL Server regenerates the specified index.

4. In the configuration file, delete the `RegenerateIndex` parameter, or set it to `False`. This step ensures that HPE IDOL Server does not waste time regenerating the index again when you next restart HPE IDOL Server.

## Regenerate with an Index Action

The `DREREGENERATE` action allows you to recreate the data indexes while the server is running. Use this method if you need HPE IDOL Server to be accessible while you regenerate.

To regenerate the data index immediately, send a `DREREGENERATE` index action (case sensitive) from your Web browser:

    http://IDOLHost:indexPort/DREREGENERATE?&Type=type

where:

`IDOLhost` | is the IP address or host name of the machine on which HPE IDOL Server is installed.
`indexPort` | is the HPE IDOL Server index port (specified as `IndexPort` in the `[Server]` section of the HPE IDOL Server configuration file).
`type` | is the type of subindex that you want to regenerate. You can specify multiple indexes in a comma-separated list. The following values are available: `BitField` `Count` `Match` `Numeric` `NumericDate` `Parametric` `RefIndex` `SecIndex` `Sort` Note: You can also use the `DREREGENERATE` index action to regenerate the `ReferenceMemoryMappedType` field index to restore parent-child relationships for documents that were indexed out of order. For more information, refer to the IDOL Server Reference.

For example:

    http://12.3.4.56:20001/DREREGENERATE?&Type=Numeric,NumericDate

This index action uses port `20001` to regenerate the `NumericType` and `NumericDateType` field indexes of an HPE IDOL Server that is located on a machine with the IP address `12.3.4.56`.

## Regenerate with IDOL Admin

You can also regenerate the data index by using the Regenerate function in the Service Control tab in the Console page of the IDOL Admin interface.

To regenerate the data index by using IDOL Admin

1. In the Service Control tab in the Console page, click Regenerate.

   The Regenerate dialog box opens.

2. In the Type list, select the type of subindex that you want to regenerate. The following values are available:

   - Bit Field
   - Count Index
   - Match Index
   - Numeric Date
   - Numeric Index
   - Parametric
   - Reference Memory Mapped
   - Security Index
   - Sort Field

3. In the Priority list, select the priority for the action, which determines how the action is queued.

4. Click Regenerate.

© 2016 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send Documentation Feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm