My Adium chat logs were not being indexed by Spotlight under Leopard. I went inside the Adium package, in /Applications/Adium/Contents/Library/Spotlight, double-clicked the AdiumSpotlightImporter… and it didn’t change anything. Still no result.
What to do? Keep looking.
Update: It gets weirder. The mdfind utility actually finds the chat logs I’m looking for, but they don’t appear as results in the Spotlight menu or window. Every item is enabled in the Spotlight pref pane. If I move a chat log out of the ~/Library/Application Support/Adium 2.0/bla bla bla/logs folder, e.g. on the Desktop, Spotlight finds it. Somehow the Spotlight menu decides not to return results from within ~/Library…
Update 2: Argh. In order for Spotlight to return results from within ~/Library, you have to specify that you want to see results from “System Files”. Of course, items such as emails from Apple Mail are not considered as “System Files”, only third-party application files. Bad, bad move.



4 responses so far ↓
Apple Blog » Blog Archive » Spotlight in 10.5 skips over user Library files // November 13, 2007 at 19:39 |
[...] aren’t showing up in Spotlight search now that you’re running Leopard? Vincent Noel was wondering, and he tracked down the reason: files in your user ~/Library folder are now not reported by [...]
feed me apple snacks » Spotlight in 10.5 skips over user Library files // November 14, 2007 at 04:54 |
[...] aren’t showing up in Spotlight search now that you’re running Leopard? Vincent Noel was wondering, and he tracked down the reason: files in your user ~/Library folder are now not reported by [...]
Aaron Scarisbrick // April 22, 2008 at 07:29 |
You’ve probably figured it out by now, but the solution is to move the chat logs folder to ~/Documents and to create a symlink from here to the original location. I did (in a Terminal window):
cd ~/Documents
mv ~/Library/Application\ Support/Adium\ 2.0/Users/Default/Logs ./Adium\ Chats
cd ~/Library/Application\ Support/Adium\ 2.0/Users/Default
ln -s ~/Documents/Adium\ Chats ./Logs
mdimport ~/Documents/Adium\ Chats
Voilà!
Jim Govoni // November 16, 2008 at 10:33 |
wow, thank you so very much for that.