Its simple. It can be done with the mother google also. Its a custom search engine provided by Google afterall. Anyways, congrats to the one who did it spending his time. Just add filetypedf to get only pdf files in your search results. Like wise filetype:doc for msdocs. And its the same thing you will have to follow to get specific file types.