create document terms matrix via lucene