Use the SearchService.sandIndexNow command to create a one-off indexing task for the social analytics service. The indexing task is scheduled to run once and only once, 30 seconds after being called.
Before you begin
To use SearchService administrative commands, you must use the wsadmin client. See Starting the wsadmin client
for information about how to start the wsadmin command-line tool.
About this task
The social analytics indexing process includes the following jobs. You can schedule these jobs individually or in a batch.
Builds the evidence index, which links people to results and maps user connections.
Builds the graph of connections between users.
Provides details of manager relationships so that people's relationships through their management can be identified. For example, when two people share a second line manager.
Generates index documents for each used tag and stores the list of users that have used that tag.
Creates relationships between the users who have tagged each other's profiles.
Creates relationships between the users who are members of the same community.
Note: Communities that have more than 100 members are skipped. These communities will not be recommended to users.
To run a one-off social analytics indexing task, complete the following steps:
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.
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.
Creates a one-off task that indexes the specified services 30 seconds after being called.
This command takes a single argument:
jobs. The name, or names, of the jobs to be run when the task is triggered. This argument is a string value. To run multiple jobs, use a comma-delimited list. The following values are valid: evidence, graph, manageremployees, tags, taggedby, and communitymembership.
Start the wsadmin client from the following directory of the system on which you installed the Deployment Manager:
After the wsadmin command environment has initialized, enter the following command to initialize the Search environment and start the Search script interpreter:
Use the following command:
Parent topic: Configuring indexing tasks for the social analytics widgets