Some applications provide their own metadata items for
Spotlight. You can search these metadata by doing this:
- Select MainMenu -> View -> "Show View Options"
from main menu View.
- You can find metadata defined by the system as well
as third party applications.
- Find the metadata you want search, copy the attribute
to the clipboard. Use this attribute in query formats in
the preferences or query details pane. For example, to
search Finder comment, set query format like this:
((kMDItemFinderComment ==
"%@"wc)||(kMDItemTextContent == "%@"wc)) &&
(kMDItemContentType != com.apple.mail.emlx) &&
(kMDItemContentType != public.vcard)
For more details, see
query format.