Modified main file to support the calculation of precision and recall
Merge branch 'master' of https://github.com/zhixing/Lucene