Restoring the Communities catalog index

If the Communities catalog index becomes corrupted or is not being refreshed properly, you can delete the existing index data to rebuild the index.

About this task

The IBM® WebSphere® Application Server variables CATALOG_INDEX_DIR and CATALOG_REPLICATION_DIR define the location of the catalog index directory and the replication directory. If there are issues with the existing catalog index, you can restore it by deleting the contents of these directories. The catalog index is rebuilt when the next scheduled crawl takes place.

Procedure

  1. Log in to HCL Connections as the catalog administrator.
  2. Go to Communities and select Administration from the navigation sidebar to open the Communities Catalog Administration page.
  3. Disable all the crawlers that are listed on the page by selecting More actions > Disable Schedule for each crawler.
  4. Find the value of the CATALOG_REPLICATION_DIR and CATALOG_INDEX_DIR WebSphere® Application Server variables.
    1. Log in to the WebSphere® Integrated Solutions Console.
    2. Expand Environment and select Websphere Variables.
    3. Look for the CATALOG_REPLICATION_DIR and CATALOG_INDEX_DIR variables and make a note of their respective locations.
  5. Stop the Communities application server.
  6. Navigate to the location specified by the CATALOG_REPLICATION_DIR variable and delete the contents of the directory.
  7. Navigate to the location specified by the CATALOG_INDEX_DIR variable and delete the contents of the directory.
  8. Repeat Step 7 for each node in the environment.
  9. Restart the Communities application server.
  10. Return to the Communities Catalog Administration page and enable all the crawlers.