Implemented building Lucene documents based on xml files.