fix for lucene 4.7