In my /Users/Shared folder is a folder called Cordova and in that is a folder called Cordova.framework. Spotlight will find the Cordova folder, but not the Cordova.framework one. I have no idea why.
Frameworks are considered system files and excluded from search results by default.
https://support.apple.com/en-us/HT202121 has steps to enable showing system files in the results.
*edit* Smart Folders come in handy for saving custom search results such as a smart folder dedicated to searching system files.
https://support.apple.com/kb/PH19078 details how to create them. Smart Folders and Mailboxes in Mail were something that solidified my preference for OS X when Spotlight was launched.
Another notable aspect of frameworks is that they are the only type of bundle on the system that Finder will
treat as a normal folder.