Why does spotlight search system files


Most of my spotlight search results are files in ~/Library (application data) and /usr/include (header files)

I already tried to rebuild the index.

Any thoughts?

Best Answer

You can remove directories from the Spotlight Index under the Privacy tab in System Preferences > Spotlight

(Described in this other question)