This is what the full text index provides. Depending on your content type you may need to configure a content transformer. In particular OpenOffice handles a lot of the common document formats. There are instructions in the installation guide to get it set up.