Improved Lucene compiler