+

Search Tips   |   Advanced Search

Run one-off social analytics scheduled tasks

Use SearchService.sandIndexNow to create a one-off scheduled task for the social analytics service. The task is scheduled to run once and only once, 30 seconds after being called. The social analytics indexing process includes the following five jobs. We can schedule these jobs individually or in a batch.

evidence Build the evidence index, which links people to results and maps user connections.
graph Build the graph of connections between users.
manageremployees Provide details of manager relationships so that people's relationships through their management can be identified. When two people share a second line manager.
tags Generate index documents for each used tag and store the list of users that have used that tag.
taggedby Create relationships between the users who have tagged each other's profiles.
communitymembership Create relationships between the users who are members of the same community. Communities that have more than 100 members are skipped. These communities will not be recommended to users.

To run a one-off social analytics scheduled task:

  1. Initialize the Search environment, and start the Search script interpreter:

    If successful

      Search Administration initialized

  2. Run:

    SearchService.sandIndexNow(String jobs)

    Create a one-off social analytics 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. To run multiple jobs, use a comma-delimited list. Valid values: evidence, graph, manageremployees, tags, taggedby, and communitymembership.

    For example:

      SearchService.sandIndexNow("evidence,graph,manageremployees,tags,taggedby,communitymembership")


Parent topic:
Administer the social analytics service


Related:
Run one-off tasks
List social analytics scheduled tasks