478 Views 1 Reply Latest reply: May 20, 2006 6:30 PM by Dr. Smoke
Hi, get_jr. Welcome to the Discussions.
I presume you mean you are doing a Find (Finder > Command-F) search for:
Search location: Home (selected in top slice of Find window)
Name: Contains: nameofperson
If you do it that way, you get the results you indicated as it's finding the extracted Address Book metadata entry that Spotlight uses to index Address Book contacts. Every Address Book contact is saved twice:
(1) Once in the Address Book database — which Spotlight cannot index.
(2) Again in a separate XML property list file — that Spotlight can index — in your Home > Library > Caches > com.apple.AddressBook > Metadata folder. Each Address Book contact saved in this format is given a specially generated file name that can also be used for syncing these entries with iSync and .Mac.
The reason you see the search results from Find is that the Name search criterion searches against the kMDItemDisplayName metadata attribute. For the text files of type (2) above, the value of the kMDItemDisplayName attribute is sent to the name of the person in the contact record. However, the search results show file names, as it is a Finder window, and hence displays the specially-generate file name, rather than the contact name, since that is the file name of the result.
If you search using the Spotlight icon for nameofperson it should return the Address Book contact using the person's name.
Author: Troubleshooting Mac® OS X