Add assumption for lucene version difference