Before you begin
To edit configuration files, you must use the IBM
® Application Server wsadmin client. See Starting the wsadmin client
About this task
If there is a problem with indexed content from any of the IBM
Connections applications, instead of deleting and recreating the entire index, you can use the deleteFeatureIndex command to remove and purge all documents for a given application from the index. The command deletes the application index from the database that is shared by all the servers in the cluster.
When you run the deleteFeatureIndex command, the command removes indexed content for the specified application from all the nodes in your deployment. Indexing tasks are automatically disabled at the start of this process and re-enabled when the process is complete, regardless of whether the tasks were disabled initially.
When you remove an application from the Search index, you need to rebuild the indexes for the social analytics service. The social analytics indexes are completely rebuilt every night by default, however, to fully remove an application's index immediately, you must use the sandIndexNow command on each of the social analytics indexes. For more information about the sandIndexNow command, see Running one-off social analytics indexing tasks
To purge content for a specific application from the index, complete the following steps.
Parent topic: Managing the Search index
Configuring indexing tasks for the social analytics widgets
Running one-off social analytics indexing tasks
- Start the wsadmin client from the following directory of the system on which you installed the Deployment Manager:
is the WebSphere
Application Server installation directory and <dm_profile_root>
is the Deployment Manager profile directory, typically dmgr01.
You must start the client from this directory or subsequent commands that you enter do not execute correctly.
- After the wsadmin command environment has initialized, enter the following command to initialize the Search environment and start the Search script interpreter:
If prompted to specify a service to connect to, type 1 to pick the first node in the list. Most commands can run on any node. If the command writes or reads information to or from a file using a local file path, you must pick the node where the file is stored.
- Use the following command to remove and purge content from a specified application from the Search index.
Removes and purges the content for the specified application from the Search index.
Use this command only when you are uninstalling an application from IBM
Connections. After you run this command, the content from the application that has been deleted cannot be reindexed.
This command takes a string value, which is the name of the application whose content is to be deleted. The following values are valid: activities, blogs, communities, dogear, files, forums, profiles, and wikis.