How to Re-Index Spotlight to Fix Email Search Bug

Author: , November 25th, 2009

sudo mdutil -E -i on / or You need to get Spotlight to reindex the mail folder (Home/Library/Mail), but you don’t have to mess about in terminal. From the Apple menu, choose System Preferences. Click Spotlight. Click the Privacy tab. Drag the folder to the list. Remove the item or volume you just added. ~or~ […]

How to reindex a simple array in PHP

Author: , September 28th, 2009

$array = array_values($array);