This repository contains a bunch of convenience classes for the use of Lucene 6 code in Lucene 4. It probably misses many classes, but PRs are welcome!
Using maven:
<dependency>
<groupId>io.bdrc.lucene</groupId>
<artifactId>sixtofour</artifactId>
<version>0.1.0</version>
</dependency>
The code is a slightly adapted versions of the Lucene 6 code, it is
Copyright © Apache Software Foundation (ASF) and available under the Apache 2.0.