Apple Event: May 7th at 7 am PT

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

Lion Spotlight search broken? Always returns 1000's of results!

Anytime I do a search in Lion I get 5,000+ results.


Even for a known unique word like "aaabbbcccdddeee".


Reindexing Spotlight has no effect.

Mac OS X (10.7)

Posted on Aug 4, 2011 2:03 PM

Reply
26 replies

Aug 19, 2011 4:16 PM in response to ferdnerfer

I worked with Apple support today here is what we did, seems to have fix this immediate issue of MDWorker taking all CPU resources


Move these files to the trash, do not delete,


/Library/preferences


com.apple.systemuiserver.plist

com.apple.spotlight.plist.lockfile

com.apple.spotlight.plist


restart MBP


If you had Indexer turned off

turn it back on from a terminal session


Turn indexing back on for /

sudo mdutil -i on /


Let the Indexes build

Nov 15, 2011 3:43 AM in response to ferdnerfer

Hi there, I have tried the resetting of the ACL's but console still says:


(Normal) Import: exceeded time/resource use limits after 12002 milliseconds, reason:1 - find suspect file using: sudo mdutil -t 1566230


every 12 seconds


I also stopped indexing, cleared the index and started it again, but mdworker still comes back with 100% CPU capacity...

Nov 15, 2011 1:16 PM in response to Peter Paul Selen

It sounds like mdworker is crashing when indexing a certain file, which your console log is trying to help you locate: sudo mdutil -t 1566230


I did a google search [including quotes]: "mdutil -t"


Found a reference to a bug in the Spotlight importer for Open Office if you have that installed.


Here are the links:


https://issues.apache.org/ooo/show_bug.cgi?id=103845



http://www.mail-archive.com/issues@framework.openoffice.org/msg01034.html


Hope that helps...

Nov 16, 2011 4:11 AM in response to ferdnerfer

I did some other things, but with no positive result. Found out that Stuffit deLuxe was making faults and upgraded to the latest version. Did some stopping indexing, remove Spotlight index and started indexing again. Same results. Perhaps this is something about the solution:


PSSniffer error: Invalid argument

or

Incorrect start/end range ordering; fixing.


I have tried so much, but nothing helps, still getting these messages, every 10 or 12 seconds


(Normal) Import: exceeded time/resource use limits after 12003 milliseconds, reason:1 - find suspect file using: sudo mdutil -t 1566230

Nov 16, 2011 10:56 AM in response to ferdnerfer

Today, I was able to spend some time on this issue. And found out what the culprit was: in the log in items there were 2 items with a mark behind it, they were not found anymore: magic menu and some other one...


Now, I don't get any of those anoying messages in console anymore. And, what is more important: my CPU gets some rest after all those days and week and months of exhausting hard work...


Bye and thanks for helping me...


Peter Paul from the Netherlands

Nov 19, 2011 6:56 AM in response to ferdnerfer

Hi, folks! I took some time exploring this mean issue. I took the spotlight preferences and began to sort out which file or folder is the reason of the issue. After some 24 hours of waiting with trial and error, I found out the the folders EXTENSIS in the LIBRARY folder of the main USER is the culprit!!!!!

As a MAc user for many years (from 1985) I gathered some 22.000 fonts in Suitcase Fusion 3 now and that will be to much for Spotlight to index...


Now, my CPU gets some rest, after all those hours of being annoided by this not being able to index the FontDatabase of Suicace Fusion 3...


...sorry my somehow bad English

Sep 22, 2013 9:46 PM in response to ferdnerfer

Problem has been resolved.


I repaired User account permissions using the Reset Password utility in the Lion Recovery Partition. This is different than Repair Permissions using Disk Utility.


Good description of how to do this here:


http://www.macobserver.com/tmo/article/how_to_resolve_user-level_permissions_iss ues_mac_os_x/


This solved my problem too!


(I had opposite problem, Spotlight returning no results despite having been reindexed multiple times.

Lion Spotlight search broken? Always returns 1000's of results!

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