lucene code for running benchmarks