public class LuceneVersionDetector
extends Object
Since Lucene requires extension of Directory (it's not an interface)
we need to apply some tricks to provide the correct Directory implementation
depending on the Lucene version detected on the classpath.
- Since:
- 5.2
- Author:
- Sanne Grinovero