Do we need to run 'datahub-restore-indices-adhoc' when upgrading Datahub version?

Original Slack Thread

Everytime you upgrade tha datahub version, do we have to run the job datahub-restore-indices-adhoc? please :rocket:

I believe you only need to run that job if you need to restore search indices, e.g. when your search/graph database data is lost. See for more details

It strongly recommend to run datahub-restore-indices on upgrade, it rebuild graph index with new version of the aspect that are associated with new version datahub the same will be used for indexing and querying