Follow us on...
Follow us on Twitter Follow us on Facebook
Register
Results 1 to 3 of 3
  1. #1
    sgmiller is offline Registered User
    Join Date
    Jul 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Spotlight Won't Stop Indexing

    I am a new Mac user with a brand new MacBook and Spotlight was working fine until I added a large number of files in the Documents folder in my user directory. I noticed that none of the documents were indexed so I tried a trick I read about which was to drag the HD icon to the Privacy area in the Spotlight settings and then removed it which forced a reindexing but the documents in the Document Folder were still not indexed. So, I used the:

    mdimport -f /path/to/directory

    command in Terminal to force an indexing of the Documents folder which worked and now the documents are indexed and new documents add correctly.

    However, now Spotlight is constantly indexing, either "calculating time" or giving estimates of 5-9 hours but then shortly finishing. There are a few moments where it is working normally but then it returns to the above conditions. I almost never am able to use it for searching.

    HELP!

  2. #2
    bobw's Avatar
    bobw is offline The Late: SuperMacMod
    Join Date
    Mar 2001
    Location
    Phila,PA
    Posts
    8,831
    Thanks
    0
    Thanked 50 Times in 26 Posts
    1) Using the mdutil command-line utility in Terminal, turn off indexing for each of your drives. Example:
    • $ sudo mdutil -i off /Volumes/your_hard_drive_name_1
    • $ sudo mdutil -i off /Volumes/your_hard_drive_name_2
    2) Then use mdutil to remove the indexes from each drive
    • $ sudo mdutil -E /Volumes/your_hard_drive_name_1
    • $ sudo mdutil -E /Volumes/your_hard_drive_name_2
    3) Physically remove the .Spotlight directories from the root of each drive.
    • $ cd /
    • $ sudo rm -fr .Spotlight-V100
    (do the same for your second or third drive)
    Make sure to carefully type the "rm" command -- a typo could result in deletion of critical files.
    4) Use mdutil again to turn indexing back on for each drive
    • $ sudo mdutil -i on /Volumes/your_hard_drive_name_1
    • $ sudo mdutil -i on /Volumes/your_hard_drive_name_2
    5) Spotlight will now re-index all drives and should behave in a normal fashion

  3. #3
    sgmiller is offline Registered User
    Join Date
    Jul 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Solved

    Thanks for the fast response. Actually, I had done some research and found the terminal commands for forcing a reindex which I did and everything is working great!

    I will archive your response in case I ever need it in the future however.

 

 

Similar Threads

  1. How ro stop Spotlight indexing my Firewire drive?
    By patrean in forum Mac OS X System & Mac Software
    Replies: 2
    Last Post: October 21st, 2005, 09:19 AM
  2. Unable to Delete/stop An Email Indexing/downloading
    By marshars in forum Mac OS X System & Mac Software
    Replies: 2
    Last Post: September 10th, 2005, 11:51 AM
  3. How to tell when Spotlight is Indexing?
    By ikoiko in forum Mac OS X System & Mac Software
    Replies: 1
    Last Post: May 14th, 2005, 11:02 PM
  4. Spotlight - can't remove external drive from indexing
    By kajoob in forum Mac OS X System & Mac Software
    Replies: 5
    Last Post: April 24th, 2005, 09:56 AM
  5. How do I stop Apache directory indexing?
    By paradoxchild in forum Mac OS X System & Mac Software
    Replies: 3
    Last Post: February 14th, 2002, 01:52 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •