Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Today I started my Mac (iMac) and when I tried to search in finder or spotlight it produce no results. I think its related to the search cache. I guess it gets corrupted. If this is the case How can I regenerate the cache or fix this issue.

share|improve this question
Can you tell us a little about your Spotlight prefs? – boehj Jun 4 '11 at 6:48
up vote 3 down vote accepted
To display the status of indexing
# mdutil -s /
To clear the metadata store
Turn indexing off for /
# mdutil -i off /
Clear the metadata store for /
# mdutil -E /
Turn indexing back on for /
# mdutil -i on /
share|improve this answer

My suggestion is to rebuild the Spotlight index. The easiest way to do that is a freeware app called Onyx. It also clears caches and performs a number of mac maintenance items. Search online for Onyx, install the app and click execute the "Automation" tab and let us know how you made out.

share|improve this answer
You can easily rebuild the index without command line or other tools by adding the hard drive to the privacy list and then removing it from that list. Click, click, click, done. – bmike Jun 4 '11 at 17:44

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.