This script indexes the product names in an extra table. After the index has been created, this table will be searched in future instead of the product table. This speeds up the search in shops that have an extremely large number of products.