This document summarizes the re-indexing process for a e-commerce site's search functionality. It involves:
1. A cron job that triggers a shell script every minute to start the re-indexing process. This deletes an existing flag file and creates a new one to allow current searches to continue.
2. The process stages grab product and page data from various database tables, organizing it into temporary tables. It indexes this data into the Sphinx search engine to power product searches.
3. The actual re-indexing initiates after dummy searches populate MySQL tables. These tables are then cached to display product listings.
However, the document raises concerns that Sphinx is underutilized, the re-indexing