How can I select the algolia search hits and redirect it to the desired Viewcontroller?

If anybody can solve this, that would be fantastic, feel free to ask more questions, I would be glad to even get a reply lol.