How can I configure Lion to search for files in the Contents of an .app?
I wouldn't think so, but I'll be happy to hear otherwise. It's quite easy from the command line, though:
You can also search through the whole Applications folder with
This will take quite a while, as it actually searches through the files instead of using a cached index, like Spotlight does.
For a quicker search, you can limit the search to just the Applications folder by using the menu under the search field (on the far right).
Command Line - Find
If you want to search all apps in /Applications, leave out the
If you want to include folders, remove
is a third-party utility that can do this. It costs US $4.00 and can be downloaded from the developer or purchased in the Mac App Store. It is a good alternative to using the command-line tools that come with Lion. It can also be run as "root" to access even more files than what Mac OS X usually lets the user see.