The latest version of Mac OS X automatically indexes files, folders, and drives unless you explicitly tell it not too. This Mac OS X indexing service is called Spotlight. This is controlled in System Preferences -> Spotlight -> Privacy. However, you can also force Mac OS X to index or re-index anything you want it too...