[Change] extracted used LuceneVersion to module-level variable