Talent Suite has a third-party library called Lucene which retrieves some objects from the database and prepares indexes for faster search mechanisms. We have 6 objects currently available on the Index:
- Job Proﬁles
- Reference Resources
- Learning Modules
Sometimes we do encounter issues where a speciﬁc object from the above is not searchable or still remains on the system after being removed.
The Rebuild Index function recreates the indexes of the above objects and corrects any inconsistent data in the application. Therefore, this function should only be used if the issue is related to searching any of the above objects, or an "ArrayOutofBoundsException" error from any of the above.
Just to note, this task is running every time you add/update/delete an object so it should only be used if the speciﬁc object is not indexed properly after doing the said actions.
Clear Object Cache
On the other hand, the Object Cache is a pre-loaded object on the system to save loading time. It has its own smart mechanism where it can replace older/least used object cache with a new one.
We have some instances where objects are not removed from the cache but are already removed on the database level. An example issue will be that a Learning object has been deleted in the application but is still visible when searching it through the Learning Modules page.
For those instances, you need to remove the "Learning Object" cache in order to completely remove the cached data. Although it doesn't aﬀect the site that much when you clear all the object cache, please consider only deleting the cache relevant to the issue (e.g. Users, Catalog, etc) to avoid preloading the objects again which takes a few seconds to complete.