Redirect on Search

https://www.algolia.com/doc/tutorials/search-ui/ux-patterns/how-to-add-redirects-on-search/

I have followed the guide and there is no result showing up. Can someone share a demo please?

PS: I’m building my own website, not using WordPress.