Want to highlight a helpful answer? Upvote!

Did someone help you, or did an answer or User Tip resolve your issue? Upvote by selecting the upvote arrow. Your feedback helps others! Learn more about when to upvote >

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Mail Search Issues Post Yosemite Upgrade

Search does not seem to be working at all for email. Does anyone have a solution?


Thanks

iMac (27-inch Late 2009), OS X Yosemite (10.10)

Posted on Oct 21, 2014 4:17 AM

Reply
15 replies

Oct 21, 2014 4:37 AM in response to WigglyWaggly

Reindex your hard disk - Spotlight probably had a fit. Open System Preferences, go to the Spotlight preference and selct the Privacy tab. Add the disk to that, close preferences. Then reopen and remove the disk from Privacy.


The effect is to force Spotlight to reindex.


Depending on how much data you have to index, this could take a long time

Oct 21, 2014 5:42 AM in response to WigglyWaggly

Unfortunately, this looks like a well-known Mavericks bug that has not been fixed in Yosemite. There are a number of temporary solutions that can help for a limited amount of time, but the problem generally comes back in a matter of minutes, hours, or occasionally days:


1. Reindex the hard disk, as nick101 recommends.

2. Reindex just the relevant folders, by opening Terminal and running the command "mdimport ~/Library/Mail/V2"

3. Go to ~/Library/Mail/V2/MailData/ and delete the files that begin with "Envelope Index" (there should be three of them, plus possibly some undeleted temporary files). Restart Mail and let it reindex

4. On the Mailbox menu in Mail, use "Rebuild" for affected mailboxes.


Other discussions here:

https://discussions.apple.com/thread/6615997

https://discussions.apple.com/thread/6612817

https://discussions.apple.com/thread/6615526

https://discussions.apple.com/thread/6614332

https://discussions.apple.com/thread/6604177

https://discussions.apple.com/thread/6612780

https://discussions.apple.com/thread/6607510


My guess (only a guess) is that this is all the same serious problem left over from Mavericks, and unfixed.

Oct 21, 2014 6:13 AM in response to dpdpdp

Thanks. Tried Step 2 above and received the following errors...Suggestions?


mdiLast login: Tue Oct 21 08:47:06 on console

mpJennifeonsiMac3:~ jenniferjohnson$ mdimport ~/Library/Mail/V2

2014-10-21 09:12:40.986 mdimport[638:92803] Error loading /Library/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office: dlopen(/Library/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office, 262): no suitable image found. Did find:

/Library/Spotlight/Microsoft Office.mdimporter/Contents/MacOS/Microsoft Office: mach-o, but wrong architecture

2014-10-21 09:12:40.987 mdimport[638:92803] Cannot find function pointer OfficeImporterPluginFactory for factory BFA4E323-1889-11D9-82C8-000A959816BE in CFBundle/CFPlugIn 0x7f95d0637fb0 </Library/Spotlight/Microsoft Office.mdimporter> (bundle, not loaded)

(Import.Error:711) Could not create instance for plugIn 'file:///Library/Spotlight/Microsoft%20Office.mdimporter/'

(Import.Error:867) BAD IMPORTER ~~~~~~~~~~~~~~~~~~ file:///Library/Spotlight/Microsoft%20Office.mdimporter/

2014-10-21 09:12:47.809 mdimport[638:92803] -[__NSArrayM objectForKey:]: unrecognized selector sent to instance 0x7f95d0477400

Oct 23, 2014 12:03 PM in response to WigglyWaggly

WigglyWaggly, also the Rebuild workaround does not work for me 😟, It seemed to work but I was wrong.


Big big problem for me, I receive around 150 work emails per day...


Amazing that a company such Apple may release a major system update with this problem, an email browser is a long dating piece of software and a such a bug is unacceptable.

Mail Search Issues Post Yosemite Upgrade

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.