Skip navigation

Spotlight not working correctly

57371 Views 148 Replies Latest reply: Feb 21, 2014 10:18 AM by Todd Jacobs RSS
  • HelloThisIsMyUserName Level 1 Level 1 (0 points)
    Currently Being Moderated
    Feb 21, 2013 10:35 PM (in response to Looter)

    Just wanted to note that Christopher Murphy's solution worked for me (this is on 10.6.8):

     

    sudo mdutil -i off /

    sudo mdutil -E /

    sudo rm -Rf /var/folders/*

     

    Reboot.

     

    sudo mdutil -i on /

  • Dpm7fk Level 1 Level 1 (0 points)
    Currently Being Moderated
    Mar 3, 2013 7:01 PM (in response to Jean-Luc)

    I know a lot of people have posted solutions, but this is the only one that has worked for me.  And, its only useful if you have a good amount of free disk space.  My Spotlight wasn't searching the contents of files, like it was in Snow Leopard.  I copied my entire documents folder and placed it on my Desktop, and everything works fine now.

     

    Hope that helps.

  • CaptH Level 1 Level 1 (35 points)
    Currently Being Moderated
    Mar 13, 2013 12:35 AM (in response to Jean-Luc)

    I came across this little write up on monitoring Mountain Lion with Activity Monitor:

     

    http://scsc-online.com/Activity%20Monitor.html

     

    Found it interesting that they used mds and Spotlight as an example of something you might want to monitor if you're having problems.

  • New_sputnik Level 1 Level 1 (0 points)
    Currently Being Moderated
    Apr 15, 2013 3:45 AM (in response to Jean-Luc)

    I had the same problem on 10.7.5 with spotlite not searching hardrive or email. After reading loads of solutions about adding harddrive in the privacy panel or using terminal to re-index, I simply opened the spotlite preferences from the system preferences then unchecked and then rechecked all the items listed in the spotlite search results panel.  This worked

  • New_sputnik Level 1 Level 1 (0 points)
    Currently Being Moderated
    Apr 15, 2013 3:48 AM (in response to Dpm7fk)

    I had the same problem on 10.7.5 with spotlite not searching hardrive or email. After reading loads of solutions about adding harddrive in the privacy panel or using terminal to re-index, I simply opened the spotlite preferences from the system preferences then unchecked and then rechecked all the items listed in the spotlite search results panel.  This worked

  • ObeyTheFist Level 1 Level 1 (10 points)
    Currently Being Moderated
    May 1, 2013 6:40 PM (in response to Jean-Luc)

    This has been a pretty useful thread. One thing I learned quickly in trying to make an old TM backup searchable was to just go straight to root user. In the terminal, type sudo su. Enter your password and you are god of your computer and any volumes mounted. The other thing is the command line TM tools. You can "inherit" a TM backup using the tmutil command. Apple, for good reason, doesn't put this power in the hands of GUI-only users, but you can accomplish almost everything you want with mdutil and tmutil if you sudo su to root.

     

    If you search on tmutil, you'll find a ton of helpful info.

  • mvgodinho Level 1 Level 1 (0 points)
    Currently Being Moderated
    Aug 6, 2013 7:51 AM (in response to HelloThisIsMyUserName)

    sudo mdutil -i off /

    sudo mdutil -E /

    sudo rm -Rf /var/folders/*

     

    Reboot.

     

    sudo mdutil -i on /

     

    That solved the problem for me, too. It seems that deleting the Spotlight cache and re-enabling the indexing is the answer...

  • joeandamy Calculating status...
    Currently Being Moderated
    Sep 19, 2013 2:06 AM (in response to New_sputnik)

    I was having the same problem and followed your advice but it didn't immediately work. Once I restarted my computer, though, it was gold. Cheers.

  • rthorprichard Level 1 Level 1 (0 points)
    Currently Being Moderated
    Oct 28, 2013 8:40 AM (in response to Jean-Luc)

    Two things I discovered while investigating this same issue:

     

    32-bit Spotlight Importers

     

    These seem to be one of the reasons mds and mdworker (the system processes behind Spotlight) were tripping up and failing to complete the index.  (And might explain the mysterious "Unable to talk to lsboxd" messages.) Since mds and mdworker are 64-bit processes, it probably couldn't work with the older 32-bit Spotlight Importers (I found three on my system).

     

    To find out if you have any, use Terminal.app and enter this command:   mdimport -L

     

    That'll give you a list of paths where you can find each of the Spotlight Importers (some are embedded in third-party applications).  Use the Finder "Go to Folder..." command to open the enclosing folder of each Spotlight Importer.  In the Finder, "Get Info" on each to see if it says "(32-bit)". I moved these to the trash and tried the process suggested above and it seemed to work better.

     

    Rebuild Mail.app mailboxes

     

    This was what finally got Spotlight to index email that hadn't been included in previous attempts, even following the processes suggested above and elsewhere. Only after Mail.app rebuild the mailboxes did Spotlight begin to return search results from those locations.

  • avivoni Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 26, 2013 5:23 AM (in response to Jean-Luc)

    Hello everyone.

    I have a iphone4 (ipdates to ios7)

    My problem is that suddenly i cant find MOST (not everyone) of my contacts.

    not is the spotlight and not in the adress book - altough everyone is still there.

    i tries to turn it off & on, i even erased and synced it again threw icloud,

    but nothing seems to work.

    (i still cant find my father (-: althoght he is the first to apear in the list)

    what should i do smart people .. . .. ?!

  • lauhub Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 26, 2013 5:32 AM (in response to avivoni)

    Hello @avivoni,

    Why are you asking this here ? It is not related to the current topic. I suggest you:

     

    1. if you believe it is related to spotlight, read the previous posts from the previous pages, you may find useful tricks to reset spotlight

    2. to google or search for your problem

    3. If you really don't find, open a new topic

    4. File a bug at bugreport.apple.com, apple fellows will help you.

  • avivoni Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 26, 2013 5:39 AM (in response to lauhub)

    Thank you for your quick reply.

    I tried to read all the coments

    and did what they said...

    but the problem did not disapear.

    should i and how do i open a new topic ?

  • avivoni Level 1 Level 1 (0 points)
    Currently Being Moderated
    Nov 26, 2013 6:22 AM (in response to Jean-Luc)

    Changing the lanquage (from Hebrew to Engligh) helped me..

    Thankyou (-:

  • Todd Jacobs Level 1 Level 1 (15 points)
    Currently Being Moderated
    Feb 21, 2014 10:18 AM (in response to HelloThisIsMyUserName)

    I will confirm that Chris' code worked for me too.

     

     

    Quit all applications except Terminal, issued the following two commands:

    sudo mdutil -i off /

    sudo mdutil -E /

    sudo rm -Rf /var/folders/*

     

    Reboot.

     

    sudo mdutil -i on /

     

     

    Same OSX version ten, six, eight.

     

    Nice work Christopher.

     

    Thank you

     

    Message was edited by: Todd Jacobs

1 ... 6 7 8 9 10 Previous Next

Actions

More Like This

  • Retrieving data ...

Bookmarked By (12)

Legend

  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.