Is Mail seriously this bad?

Discussion in 'OS X Mountain Lion (10.8)' started by stevemiller, Jul 17, 2013.

  1. macrumors 6502a

    #1
    i just tried to search my inbox for mail from a particular contact. it detected and auto completed the contacts name correctly in the search field, but the search results were completely wrong. The contact's last name is "Larkin", and it was instead giving me results from "linkedin".

    the worst part is that i can clearly see messages from him in my inbox, and i can even search them by either his first or last name, but if i put both (spelled correctly, i triple checked!) it fails.

    whats the deal? anyone know?
     
  2. macrumors demi-god

    Weaselboy

    #2
    Mail uses the Spotlight index for those searches, and it is possible the index is corrupted. Try running the command below in Terminal to reindex. Give it some time as can take a while.

    Code:
    sudo mdutil -E /
    Another thing to try is to rebuild that mailbox. Click on Inbox then in the Mailbox menu click Rebuild.
     
  3. macrumors 65816

    w0lf

    #3
    Is it possible that those linkedin emails had the name in the text? Pretty sure Mail searches the contents of mail by default not just the sender.
     
  4. macrumors 6502a

    #4
    thanks for the suggestions guys. i tested the same search again today and got correct results. i didn't rebuild any spotlight indexes, but i wonder if it just re-indexed of its own accord at some point. i did restart mail when the problem first occurred and that didn't fix it, so i know the solution wasn't the old "did you try turning it off and back on again?"

    its still a little troubling that mail can be expected to sometimes return incorrect results for straightfoward searches, though.
     
  5. macrumors 68040

    Badrottie

    #5
    how do you disable index? :apple:
     
  6. macrumors demi-god

    Weaselboy

    #6
    Do you mean turn off Spotlight indexing altogether? If so, you can enter the below command in Terminal to turn it off systemwide. Not sure why you would want to do this though?

    Code:
    sudo mdutil -a -i off
     
  7. macrumors 68040

    Badrottie

    #7
    Well I was not sure if indexing would slow Mac down? Like Windows PC. :apple:
     
  8. macrumors demi-god

    Weaselboy

    #8
    No, it is very transparent. You might notice a slight slowdown for a minute or so say it you added sixty new documents from a USB key to your internal drive and those had to be indexed... but that's it. But during normal usage, you won't even notice it.
     
  9. macrumors 68040

    Badrottie

    #9
    Okay....thanks. :apple:
     

Share This Page