Search box is not finding things

Discussion in 'macOS' started by Droooooj, Apr 6, 2010.

  1. Droooooj macrumors regular

    Joined:
    Oct 19, 2009
    Location:
    London, UK
    #1
    Dunno why, but recently when I type parts of filenames in the search field (circled in red below) it doesn't always find things I know are on my system and am able to find manually.

    The search box used to sit on the right of all my windows, but now it's on the left. My trouble seems to have started when this move occurred, after an update I assume. I'm currently running 10.4.11

    Any ideas how I can make it find any file, anywhere, like it used to?

    [​IMG]
     
  2. Matthew Yohe macrumors 68020

    Joined:
    Oct 12, 2006
    #2
    Can you upgrade to Leopard? Tiger's Spotlight search sucks.
     
  3. mrchinchilla macrumors 6502

    mrchinchilla

    Joined:
    Mar 6, 2009
    #3
  4. Droooooj thread starter macrumors regular

    Joined:
    Oct 19, 2009
    Location:
    London, UK
    #4
    Can't upgrade from Tiger, it's a works machine. :-/
    (My home machine is the same however (using snow leopard).)

    So, in Tiger I tried to do the Add/Remove Macintosh HD in the Spotlight Privacy, but it won't let me add it, either by dragging the icon or pressing the + button and adding it.

    It acts as if it's about to in both cases, but then just doesn't.

    Any ideas what's going on?

    I could try and do the Terminal method if someone could confirm what the path of my HD would be? Is it just '/' ?
     
  5. Hal Itosis macrumors 6502a

    Hal Itosis

    Joined:
    Feb 20, 2010
    #5
    Yes, / is the path to the current boot volume (presumably your HD).

    The way I used to do it in Tiger was:

    sudo mdutil -i off /

    sudo mdutil -E /

    (i.e., stop indexing, erase index)

    Then I'd verify the HD with Disk Utility, maybe dump some old cache files or something. Finally restart the indexing with:

    sudo mdutil -i on /

    Give it about an hour before trying to do a search.
     
  6. Arrandale macrumors regular

    Joined:
    Feb 24, 2010
    #6

    that's some advanced shiz right there, hal
     
  7. Droooooj thread starter macrumors regular

    Joined:
    Oct 19, 2009
    Location:
    London, UK
    #7
    Ok, have just run the commands. Fingers X'd.

    didn't realise indexing was going on all the time, pre OSX it'd specifically tell you it was indexing.

    does it now just run in the background, or only occur when 'idle' or something?
     
  8. Droooooj thread starter macrumors regular

    Joined:
    Oct 19, 2009
    Location:
    London, UK
    #8
    Ok, have tried entering filenames that exist on my machine into the bar and still no luck. :-/

    My drive is 120gb, pretty full. Should it take so long to index?
     
  9. Droooooj thread starter macrumors regular

    Joined:
    Oct 19, 2009
    Location:
    London, UK
  10. Signal-11 macrumors 65816

    Signal-11

    Joined:
    Mar 23, 2008
    Location:
    2nd Star to the Right
    #10
    Where are the files you're searching for located?
     
  11. Hal Itosis macrumors 6502a

    Hal Itosis

    Joined:
    Feb 20, 2010
    #11
    Are you saying it can't find anything anywhere... or, that you've come up with a few particular items and/or locations which don't show up?

    It happens in real time, as files are added/deleted/edited.
     
  12. Droooooj thread starter macrumors regular

    Joined:
    Oct 19, 2009
    Location:
    London, UK
    #12
    Not saying it can't find anything, if I search for '.txt' it returns a few hundred results.


    But if I search for a specific filename it seems to draw a blank.

    eg, in the OSX default Pictures folder, I've got 1 level of 35 folders all named by date, each folder containing files like DSCN0285.JPG and IMG_0511.JPG.

    Searching for those specific filenames returns absolutely nothing, yet I know they're there.

    Also, if I copy the filename of an MP3 that's in my iTunes folder and paste it into the search bar, it returns 0 results.

    But - I've just tried duplicating a jpg file from the Pictures folder onto the desktop. I then did a search and it found the new Desktop version instantly, but not the original. What's going on?!
     
  13. Hal Itosis macrumors 6502a

    Hal Itosis

    Joined:
    Feb 20, 2010
    #13
    Just wondering: did you ever verify the HD with Disk Utility like I alluded to in post #5?
     
  14. Droooooj thread starter macrumors regular

    Joined:
    Oct 19, 2009
    Location:
    London, UK
    #14
    :eek: No, I must admit I didn't do that step, as I've not been having any other problems.

    Are you thinking a b-tree or whatever it's called these days is mangled?
     
  15. Hal Itosis macrumors 6502a

    Hal Itosis

    Joined:
    Feb 20, 2010
    #15
    Spotlight issues are frequently symptomatic of such things, yes.
    [anyway, it's convenient to rule out such possibilities early on.]
     

Share This Page