Index all pdf files under a directory.
This class is used to create a document for the lucene search engine.