Slashdot Mirror


Tiger Spotlight Less Then Optimal

Anonymous Coward writes "Spotlight turns out to be a major pain for many users because it can't be turned off and insists on indexing volumes each time they are mounted. Additionally, Spotlight doesn't come with a manual to teach you how to create complex queries. Most simple available queries --style popup menu selection-- are not powerful enough to be really useful. A tutorial on http://www.scribent.com/ will explain how you can optimize Spotlight's behaviour and get the most of it, but all in all it seems like Apple has been overhyping in the extremes."

27 of 126 comments (clear)

  1. No Silver Search Bullet? by Taladar · · Score: 5, Interesting

    So all the article says is that the Silver Bullet or Holy Grail of Searching didn't turn out to be something one could create simply by telling the programmers to do it?

    Apple (and MS for that matter) try to create a system where you don't have to keep any order on your computer and find anything you want instantly. I am sure I am not the only one with a gut-feeling that this is closer to the area of unsolvable problems, right with "Making Software Idiotproof" and "Creating the perfect user-interface everyone can use without any prior computer experience" and "Creating a 100% secure computer on the internet",...

  2. Turn Spotlight off, then by Silas · · Score: 5, Informative
    There are numerous hints floating around on how to disable Spotlight. I did this on a slower Powerbook, and it worked, actually making Tiger feel as fast as I would have expected with a major OS upgrade. I *really* like Spotlight, but that hardware was suffering at its hands.

    Silas

  3. Re:Not That Bad by GaryPatterson · · Score: 5, Interesting

    After posting that, it might be nice to elaborate.

    I've heard others say that it cripples their machines, even the new iMacs. I've got a iBook that's just had its first year, and I don't see the problems. I don't get any slowdowns or have to wait ages for results from my 60GB drive (of which around 55GB is used). I've got around 300,000 files at the moment.

    Apparently someone chained 23 Firewire drives together, and then complained about the performance of Spotlight. Not the most realistic example (who would need that set-up but wouldn't have invested in either fewer, larger drives or a server?).

    How does Spotlight go on OS X Server, running on a real server box? I don't know that one, but I'd be curious to find out.

    I've heard about problems in searching for word fragments inside other words.

    If I type "ding" (knowing full well I have a Word document titled 'building my PC.doc'), Spotlight fails to find it. If I type "buil" it comes up straight away. Could that be a problem? Well, in this example no - but that's mainly because I'd never search for the second syllable like that.

    Does a search for "PC" turn the file up? Yes it does. So... this seems to indicate that I can't search for the middle of words, just the beginning of them. Not really an issue for me, but I can see that someone with filenames like "BuildingPC" might have trouble.

    Actually... not at all!

    I just made a duplicate of the file "Building My PC.doc" and renamed the copy to "BuildingMyPC.doc". When I went to Spotlight to search for it, my last search for "PC" turned this file up without me having to type anything in at all!

    What about the file search box (Command-F in the Finder)? Acts just the same. No lock-ups on my machine, no problems outside of those reported in the Ars Technica review last month.

    I see a lot more happiness with Spotlight users than unhappiness. I guess that's what they mean when they say "the plural of 'anecdote' is not 'data'."

  4. The Only Thing Extremely Overhyped Is The /. Piece by Llywelyn · · Score: 3, Informative

    For what it is worth I haven't had most of the problems being described. I use spotlight every day and while advanced queries are nice (and a manual would be even nicer) simple queries are *far* from "not powerful enough to be really useful."

    Sure, it has some issues (report them to apple as bugs when you find them, it is the only way they know about them), but it is fast and it Works For Me(TM).

    Now if only someone would create a LaTeX mdimporter...

    --
    Integrate Keynote and LaTeX
  5. Definitely not great here by amake · · Score: 2, Insightful

    I've had a lot of problems with Spotlight. When I have a large external hard drive (160GB divided into 3 partitions) attached, I will find at random times that the processes mds and LAServer will start eating all of my CPU. This occurs despite the fact that all of my drives, including the external, have already been completely indexed. I've tried re-indexing (sudo mdutil -E /Volumes/volname), I've tried disabling indexing alltogether ( sudo mdutil -i off /Volumes/volname). None of these solutions worked. The only thing that has kept my CPU usage normal is leaving my external drive disconnected, although I've found that that only decreases the frequency of these mds attacks, not prevents them entirely.

    I've also been experiencing frustrations with slow file copying (especially with rsync) that I suspect to be Spotlight- or metadata-related.

    All in all it's been a pretty frustrating upgrade (actually, clean install to be exact) for me. I hope these issues are addressed in 10.4.2 (yes, I've submitted bug reports).

    1. Re:Definitely not great here by MrPerfekt · · Score: 5, Funny

      I have three 300GB FW800 drives running at RAID 5 via software and I never ever have had a problem. I rarely see the drives access unless I actually use them.

      Granted, a disable feature seems like a no-brainer. I have no idea why Apple is forcing people to use Spotlight. That's kinda shady if you like ze porn and want to show someone something and accidentally end up exposing that you watched "All Anal Babes 4.mpg".

      Er, Uh, not like that's ever happened to me.

      --
      I just wasted your mod points! HA!
    2. Re:Definitely not great here by mclaincausey · · Score: 3, Informative
      Err... you know you can disable Spotlight in specific folders, right?

      Under the Spotlight System Preference pane, click on the privacy pane and add your pr0n folder.

      --
      (%i1) factor(777353);
      (%o1) 777353
    3. Re:Definitely not great here by holt · · Score: 3, Interesting

      Yeah, but if I'm snooping through someone's system, the first place I look for things that might be interesting is going to be the Spotlight preferences. So I have mixed feelings about "hiding" anything with that preference...

      Besides, if you're not putting your pr0n on encrypted disk images, you're not trying hard enough.

    4. Re:Definitely not great here by Stuart+Gibson · · Score: 2, Funny

      Yes, my pr0n is only accessible in a PGP Disk file with a 45 character password and using an old beta copy of PGP that means you need to set the PC clock back by three years to avoid the "Trial period has expired" message. The key is also only held on a USB drive. The disk file is also in a hidden folder called "__temp" within my Photoshop testing folder and is named "scratchdisk".

      Of course, now everyone on /. knows where to find my pr0n...

      Stuart

      --
      It's all fun and games until a 200' robot dinosaur shows up and trashes Neo-Tokyo... Again
  6. I really haven't used it yet ... by DikSeaCup · · Score: 2, Interesting
    Never found that I needed it on Panther, and haven't used it since I upgraded.

    That being said, I'm not saying *someone* will find it useful, but really, it just looks like an attempt to move Firefox's "Find in page" functionality to the OS level.

    I haven't noted any major performance hits either, and my current use of Tiger has been limited to a 1GHz Powerbooks, which usually gets a LaCie FireWire drive hooked up to it.

    In fact, the only problem I've had with Tiger is that the UT2004 demo doesn't run under it (it's a work machine and I don't have an Apple at home, so I can't justify running out and buying the actual game, which has an update out that supposedly resolves the issue).

  7. Links please? by Mensa+Babe · · Score: 4, Insightful

    Here's a link for anyone wondering what the Tiger Spotlight is. (In short: With Spotlight, you can find anything on your computer as quickly as you type. Search your entire system from one place: Files, emails, contacts, images, calendars and applications appear instantly.)

    (By the way, here's a direct link to the article in question.)

    Anyway, call me oldfashioned but an Anonymous Coward writing "Spotlight turns out to be a major pain for many users" is hardly the end of the world. Innovative interfaces may be "major pain" for an AC on Slashdot but meanwhile a lot of people in the Real World find it very useful (pun not intended), all the "overhyping in the extremes" (or even overhyping to the max) notwithstanding. Don't like it? Don't use it! Simple as that. Fortunately, as always with Apple, there's more than one way to do it. Do you think that Microsoft's SQL filesystem works better? Use Longhorn then.

    --
    Karma: Positive (probably because of superiour intellect)
    1. Re:Links please? by Paradise+Pete · · Score: 5, Informative
      In short: With Spotlight, you can find anything on your computer as quickly as you type.

      Well, I was about to reply to this saying it's bullshit, that spotlight is much slower than that. And of course I wanted some actual numbers to back me up. So I did a search. And I have to admit it really did find things as quickly as I could type it.

      This is a big change from when I first installed 10.4. I don't know if the indexing wasn't complete, or if they made a big improvement in 10.4.1, but now it's really, really useful. I tried several more searches and each was as fast.

  8. Can't turn it off? by skinfitz · · Score: 4, Informative

    System Preferences > Spotlight > Privacy > + > (Choose your hard drives)

    Not exactly 'turning it off' but it does stop it indexing and therefore chewing system performance.

  9. exceptions by kayen_telva · · Score: 2, Interesting

    cant you just drag the hard drive into the exceptions list and it will permanently stop the indexing ?

  10. I'm sure the folks over at O'Reilly will help out by mjpaci · · Score: 2, Interesting
    I've had no problems with Spotlight so far. However, I have a 2x 1.8 GHz G5 with 3.5 GBs RAM and one HD and rarely attach external FW drives.


    I've used Spotlight to help me organize my GROWING documents folder. Each and every document I've created since owning my first Macintosh SE in 1989 is in there. It's a mess. I started pulling the low-hanging fruit out first: Invoices and Taxes. Spotlight has been a GREAT help.


    Once O'Reily comes out with Spotlight:The Definitive Guide, Spotlight:The Missing Manual, or Spotlight in a Nutshell I will make more effective use of it.


    --Mike


    Shouldn't the "then" in the title be replaced with "than?"

  11. Expectations? by Gulthek · · Score: 5, Interesting

    I wonder what the expectations were for anyone that is disappointed by Spotlight.

    I started off my Tiger use by messing around with Spotlight. "Wow, all the emails I ever sent to [name]!" "Cool, any word document that has [project] in title!" etc.

    Then I thought about some of the complex and hard to maintain folder hierarchies I have. The folder system made it generally easy to find my files, but only if I was using them in a manner that I had expected when I started the organization. Spotlight could be the answer, I thought.

    So I took a non-critical directory nest and used my existing folder system and Automator to quickly add spotlight comments to the files. (Select all files in [proj_A directory], add [proj_A] comment to files.)

    Now I could hit command-space and type in a key phrase or two and get all the files in a nice menu. Clicking on "show all" brings up a nice, and constantly updated finder window for the search. Ah, now we're getting somewhere.

    So I created some smart folders based on current criteria (and a few theoretical cases). Woo! Now I have a dynamic directory structure! Add a few custom Automator plug-ins (so I can right click files and do expected actions like "Move file to [dir] and add comment [helpful metadata]".)

    Smart folders (driven by Spotlight) in email is pretty handy also. A couple weeks ago my wife and I were having our yard landscaped. This, naturally, involved a lot of emails back and forth with the landscapers over plant choice, guidelines, schedules, etc. So rather than setup a rule and folder for something temporary; I right clicked on the landscaper's email address and clicked "Create a smart folder". Ta da! Now I don't even have to care where the email goes, any email from the landscapers is all grouped together. When the work was finished, I deleted the smart mailbox and the clutter was gone. I still have their emails in my general sub-inbox should I have to refer to something. All emails and advice are still just a quick spotlight search away. For example: "water magnolia" to find the watering advice for our new tree.

    And then there's iPhoto. With the help of the excellent iPhoto Keyword Assistant I have been diligently adding metadata to all of my digital photos. While KA fixes one of iPhoto's big shortcomings (an awful interface to the keywords, especially if you have a lot); using the keywords was still clunky. You have to start iPhoto, open up a special sub-window and then click on the keywords you want. This interface is barely acceptable when you only have a dozen keywords; when you have five dozen it is quickly painful.

    Spotlight fixes this. It includes searching by iPhoto keyword!* So I can start up a spotlight seach, type "obx sunset" to see all the sunset pictures I've taken at the Outer Banks. Or "munich" for all the pictures of Munich, or "munich cathedrals" ... you get the idea. Sure if you haven't been using keywords until now you have your work cut out for you (although KA again comes to the rescue with a nice interface for adding new keywords). But if you have, then Spotlight is incredibly and totally awesome! Those searches bring up the standard spotlight results page, I can browse the returned pictures and even run a nice slideshow: all without even launching iPhoto!

    * There have been reports of problems with this working for some people, and I was one of them. It seems that when spotlight finishes it major index, it still has some indexing tasks left in the background and iPhoto keywords are one of those. I noticed that a spotlight keyword search only worked partially at first. Any photos I had recently worked on or added were in, and sporadic other photos as well. So I created a keyword called "temp" and added it to every photo, then deleted it. After that all of my photos were indexed.

    Spotlight has even changed how I launch applications. I used to have a dock chock full of any applications I might launch.

  12. Re:Not That Bad by peragrin · · Score: 2, Informative

    I have got to agree. i just downloaded the www.neooffice.org spotlight plugin. It indexs all of my Open Office files.

    I can type in a sentence from one of those files and it pops right up. I often find myself knowing part of a quote but not the filename where the rest of the quote is located. I type it in. and there it is.

    Indexing took literally minutes on my powerbook, and just a few hundred open Office files.

    My biggest compaliant is that it looks like Apple took MSFT fisher price colour scheme for it.

    --
    i thought once I was found, but it was only a dream.
  13. Re:Sounds like an opportunity... by argent · · Score: 2, Funny

    Call it "floodlight"?

  14. Re:I'm sure the folks over at O'Reilly will help o by skahshah · · Score: 2, Interesting

    No problems with it either, until I tried the tips given in this very tutorial. Not only didn't they work, but Spotlight stopped working, and I had to re-index the drive ! I'll continue using it like I always have done, and where it shines : simple searches. And like you I'll wait for some good book about it.

  15. more info by rakerman · · Score: 3, Informative

    Macintouch has a report with a lot more info.

  16. Re:Overhyping? I agree by mean+pun · · Score: 2, Interesting
    I updated to Tiger and Spotlight didn't stop indexing. I mean, after an hour, it said "ok I'm done now", but then one started typing in a query and it restarted with indexing, forgetting your query.

    Then after a few more hours, it sometimes didn't immediately started re-indexing, so results apeared. [snip]

    I have seen the same behaviour, but only immediately after I installed Tiger. The problem is, indexing harddisks takes LOTS of time. Twelve hours of work for a 60 GB disk is perfectly reasonable, and for older systems it may well take longer.

    The problem is that during that time Spotlight sometimes thinks it has indexed enough to be helpful, and allows user queries. It then has problems coping with the queries. It should be more strict.

    In short: give Spotlight time to do its job and these problems will go away.

  17. Yeah, but it also kills searching inside Mail.app by Anonymous Coward · · Score: 3, Informative

    According to the very page you linked, this hint "does kill searching in Mail.app", so you fix A and break B, so it's kinda, you know, like, a no-hint. :-(

  18. It's covertly versatile by Anonymous Coward · · Score: 2, Informative

    It's poorly documented, but Spotlight is actually more versatile than it looks.

    Indexing takes a long time at first of course, but once it has done all files once, further indexing is incremental. When a file is created, written, moved or deleted, it is indexed at that time. So that happens only one or two files at a time and has little impact. When a volume is mounted though, it has to do some looking to see what changed, and it might have to index a lot of files if there have been a lot of changes.

    To not index a volume you can list it under the privacy tab in System Preferences. Or if you know you never care what is in a pile of files of a particular kind, such as music files, you can turn off that type of files in the Preferences as well.

    In searches, you can use AND, OR, NOT, LITERAL, and parenthesis to make some pretty decent search strings. But you don't use those words, you do it like this: A space means AND. The "|" means OR. A "-" prefix means NOT. And putting a phrase in quotes finds it literally.

    So "this that" means find files with both "this" and "that" while "this|that" mean find this _or_ that. Using "-this" finds files that do not have "this" in them. Putting a phrase in quotes means find the exact phrase. And parens are for grouping as usual.

    And if you are a geek, congratulations! You can check spotlight programming docs and use a raw query string. For this, you have to use the Finder "Find..." command. In the "Kind" popup menu, choose "Other..." and a list of a whole ton of cool attributes appears. In there is "Raw Query" and you can use the raw search "language". For examples of raw query strings, make a Smart Folder with any query. Then do Get Info on the Smart Folder itself (folders are in ~/Library/Saved Searches) and you'll see the raw query.

    Have fun! - Lepton

  19. Re:Not That Bad by NutscrapeSucks · · Score: 2, Interesting

    Apparently someone chained 23 Firewire drives together, and then complained about the performance of Spotlight. Not the most realistic example

    Video editors tend to use firewire drives like people used to use floppy or Zip disks -- they've stacks of them and are plugging them in or moving them around to grab stuff. I agree that's a "ghetto" way of doing things, but one of the selling points of the Mac is that it's a cheap video platform, so not everyone's buying big storage RAIDs.

    I haven't noticed any particular problems with spotlight, but I suppose it wouldn't hurt to have a global option to disable indexing.

    --
    Whenever I hear the word 'Innovation', I reach for my pistol.
  20. come on now... by ansleybean · · Score: 2, Insightful

    if apple had been trumpeting "UNIX SYSADMINS: NEVER USE GREP AGAIN!" then they would have been over-hyping in the extreme. as it is, spotlight is the best answer we currently have to "i saved my thingie and now i can't find it!" syndrome. it has its flaws, and some will be ironed out. what's the big deal? besides, it is possible to turn it off - google for turn spotlight off. done.

  21. How I use Spotlight by 200_success · · Score: 2, Interesting

    I find Spotlight useful as a sort of primitive command line. Use Cmd-Space, then enter the name of an application (e.g. "Firefox"), and the app is right there in the menu for you to click on. This is nice, since the traditional methods for launching apps suck (digging through the Applications folder is slow; putting everything in the dock adds clutter).

    Unfortunately, it seems that the search path is limited, and I haven't figured out a way to change it. For example, typing "Kerberos" in the search box fails to locate the ticket manager, which is in /Library/CoreServices. You would think that with all this fancy technology, Spotlight would be able to do everything that the Unix "locate" command can handle, but apparently that is not the case. So, if anyone from Apple is watching this thread, I'd like to offer that as a request for enhancement!

  22. More pseudo-journalism we don't need on /. by Nice2Cats · · Score: 2, Insightful
    Though it is nice to see a discussion of this and the comments are useful, what is really getting to annoy me are the pseudo-journalist editorial lead-ins:

    Spotlight turns out to be a major pain for many users because it can't be turned off and insists on indexing volumes each time they are mounted.

    Just how did this AC arrive that the "many users" thing? Was there a poll among all Tiger users? How about "some" or "a couple" or "a few" or "one or two guys I just happened to know" instead? Sort of changes the whole story, right? This sort of thing is one of the reasons why people are turning away from the tradition media: They are sick and tired of everything being hyped. Please, just the facts, OK?

    For the record: I use Spotlight on my aging iBook G4 800 MHz and don't see any speed problems. If anything, Tiger is a lot faster than Panther was (and my hardware doesn't even support those nifty Core whatever features). If you are that much into speed tuning, I suggest looking into Gentoo.