The search index is generated by npm run build. Run npm run preview to try it locally.
npm run build
npm run preview