+

Search Tips   |   Advanced Search

Restore the activity stream search index

If the activity stream search index becomes corrupt or is not being refreshed properly, we can delete the existing index data to rebuild the index.

The WAS variables ACTIVITY_STREAM_SEARCH_INDEX_DIR and ACTIVITY_STREAM_SEARCH_REPLICATION_DIR define the location of the activity stream search index directory, and replication directory respectively. If there are issues with the existing activity stream index, we can restore it by deleting the contents of these directories. The index is rebuilt when the next scheduled crawl takes place.

In a clustered environment, ACTIVITY_STREAM_SEARCH_REPLICATION_DIR is a shared folder whereas ACTIVITY_STREAM_SEARCH_INDEX_DIR exists on each one of the servers.

  1. To access the Activity Stream Search Administration page:
    http://server_name/news/web/activityStreamSearchAdmin/
       activityStreamSearchAdmin.action
    There is no link provided from the Connections user interface. Access the page using the direct URL.

  2. Disable all the crawlers listed on the page by selecting More actions > Disable Schedule for each crawler.

  3. Find the value of the ACTIVITY_STREAM_SEARCH_REPLICATION_DIR and ACTIVITY_STREAM_SEARCH_INDEX_DIR WAS variables.

    1. Log in to the WebSphere WAS console.

    2. Expand Environment and select Websphere Variables.

    3. Look for the ACTIVITY_STREAM_SEARCH_REPLICATION_DIR and ACTIVITY_STREAM_SEARCH_INDEX_DIR variables and make a note of their respective locations.

  4. cd ACTIVITY_STREAM_SEARCH_REPLICATION_DIR variable and delete the contents of the directory.

  5. cd ACTIVITY_STREAM_SEARCH_INDEX_DIR variable and delete the contents of the directory.

  6. Return to the Activity Stream Search Administration page and enable all the crawlers.


Parent topic:
Activity stream search