SearchService commands 

The SearchService commands are used to create, retrieve, update, and delete scheduled task definitions for the indexing and optimization Search operations.


SearchService commands

Use the MBean commands listed below to perform administrative tasks for Search. The commands are listed in alphabetical order.

To use the commands, first initialize the Search configuration environment. For more information, see Access the Search configuration environment.

SearchService.addBackupIndexTask(String taskName, String schedule, String startbySchedule)

SearchService.addFileContentTask(String taskName, String schedule, String startBy, String applicationNames, failuresOnly)

SearchService.addIndexingTask(String taskName, String schedule, String startBy, String applicationNames, Boolean optimizeFlag)

SearchService.addOptimizeTask(String taskName, String schedule, String startBy)

SearchService.addSandTask(String taskName, String schedule, String startBy, String jobs)

SearchService.backupIndexNow()

SearchService.deleteFeatureIndex(String applicationName)

SearchService.deleteTask(String taskName)

SearchService.disableFileContentTask(String taskName)

SearchService.disableIndexingTask(String taskName)

SearchService.enableFileContentTask(String taskName)

SearchService.enableIndexingTask(String taskName)

SearchService.getFileContentNow(String applicationNames)

SearchService.indexNow(String applicationNames)

SearchService.indexNowWithOptimization(String applicationNames)

SearchService.listFileContentTasks()

SearchService.listIndexingTasks()

SearchService.listOptimizeTasks()

SearchService.listTasks()

SearchService.notifyRestore()

SearchService.optimizeNow()

SearchService.optIntoSandByEmail(String email)

SearchService.optIntoSandByExId(String externalId)

SearchService.optOutOfSandByEmail(String email)

SearchService.optOutOfSandByExId(String externalId)

SearchService.refreshTasks()

SearchService.removeIndexingNode(String nodeName)

SearchService.retryContentFailuresNow(String applicationNames)

SearchService.sandIndexNow(String jobs)

SearchService.saveMetricsToFile(String filePath)

SearchService.startBackgroundIndex(String indexLocation, String services)


Parent topic

Manage the Search index

Related concepts
Scheduling tasks


Related tasks


Access the Search configuration environment
Add scheduled tasks for Search
Listing scheduled tasks
Delete scheduled tasks for Search
Enable and disable indexing tasks
Running one-off tasks
Backing up the Search index using wsadmin commands
Purging forum trash on a schedule
Add indexing tasks for the social analytics widgets
Disable the social analytic widgets for individual users
IBM Connections configuration property values

+

Search Tips   |   Advanced Search