Connections Search index not updated anymore

When the search index of Connections isn’t updated anymore and you see no activity
in the logs of the index being ran it could be that the Search scheduled tasks are stuck in the past. You can use these steps without restarting any of the IBM Connections components.

In this example the Search tasks next start dates weren’t update anymore since November the 9th.
WrongSearchIndexStartOnDate

 

With the following wsadmin command from the searchAdmin.py library you can delete all scheduled tasks that are bound to the search application. Note, I didn’t have any customized search schedules, all were the default.

wsadmin>SearchService.deleteAllTasks()
1

Refresh the list.

wsadmin>SearchService.refreshTasks()

Show the list again and you will notice all the scheduled Search tasks are gone.

wsadmin>Scheduler.listAllTasks()

ScheduledTasksSearchEmpty

Now reset everything to default.
wsadmin>SearchService.resetAllTasks()
1
Refresh the list again
wsadmin>SearchService.refreshTasks()

Now showing the list again and you will see that the Search tasks have a next start
date that is in the future.

wsadmin>Scheduler.listAllTasks()

ScheduledTasksSearchRefreshCorrectStartDate

 

 

This entry was posted in ibm connections and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

Please leave these two fields as-is:

Protected by Invisible Defender. Showed 403 to 807,320 bad guys.