Questions answered by this recipe
All sections are optional, you can remove those that do not apply to your recipe, and add new ones.
(Delete and) recreate the .pageindex file.
Append ?action=reindex to any page to regenerate the full site's .pageindex file
Use ?action=reindex&debug=true to perform a dry run and see what would happen
This is an administrative script. It isn't pretty. It isn't meant to be pretty. It's meant for a very periodic usage and so it doesn't bother with pretty messages and updates. If you want pretty messages and updates then please update the script and re-upload to this recipe.
Change log / Release notes
See discussion at Reindex-Talk