Search is only available in production builds. Try building and previewing the site to test it out locally.