port to lucene 4.2.0