Lucene_version refactoring