Force Spotlight to index specific Library folders How can I get Spotlight to index a directory in the system's Library folder?

I'm trying to get Spotlight running 10.10.3 to index some folders in the Macintosh HD/Library folder. I'm not getting any search results from these folders so it appears Spotlight is not searching/indexing them. The folder can be found at:

Macintosh HD/Library/FileMaker Server/HTTPServer/htdocs/


I am getting search results for other Library folders, such as my web root folder at:

/Library/WebServer/Documents/


Is there a way to force Spotlight to also index the Library/FileMaker Server/HTTPServer/htdocs folder as well?

(I want to index FileMaker Server's web root folder that I referenced above. I will not be indexing the FileMaker Server database folders as I have excluded those from Spotlight)
Spotlight is already indexing those files and folders. You can check for the file names.

The actual problem is that the importer is ignoring the "code" portion of the files so the strings you want to find are not matching.

mdfind -name fmwebd_home.html


If you copy a html file to your desktop, you can play with editing them to include strings inside the body of the html - and see if spotlight can find things. Junk names like ZZtestZZ are easy to make up that don't return other spotlight matches.

mdfind  -interpret ZZtestZZ


Also, if you search in Spotlight graphically, you might want to save smart folders/searches that include the system files since they are normally suppressed from default searches.