The search index is built by npm run build. Use npm run preview to try search locally.
npm run build
npm run preview