If the activity stream search index becomes corrupt 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
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, you can restore it by deleting the
contents of these directories. The index is rebuilt when the next
scheduled crawl takes place.Note: 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.
Procedure
- To access the Activity Stream Search Administration page,
enter the following URL in your browser and log in using your admin
user credentials:
http://server_name/news/web/activityStreamSearchAdmin/
activityStreamSearchAdmin.action
There
is no link provided from the HCL Connections
user interface, you must access the page using the direct URL.
- Disable all the crawlers listed on the page by selecting for each crawler.
- Find the value of the ACTIVITY_STREAM_SEARCH_REPLICATION_DIR
and ACTIVITY_STREAM_SEARCH_INDEX_DIR WebSphere Application Server variables.
- Log in to the WebSphere Integrated
Solutions Console.
- Expand Environment and select Websphere
Variables.
- Look for the ACTIVITY_STREAM_SEARCH_REPLICATION_DIR
and ACTIVITY_STREAM_SEARCH_INDEX_DIR variables and make a note of
their respective locations.
- Navigate to the location specified by the ACTIVITY_STREAM_SEARCH_REPLICATION_DIR
variable and delete the contents of the directory.
- Navigate to the location specified by the ACTIVITY_STREAM_SEARCH_INDEX_DIR
variable and delete the contents of the directory.
- Return to the Activity Stream Search Administration page
and enable all the crawlers.