Upgrade documentation Lucene version to 4.7
Change-Id: If101ff67f0489e8b9d1211d37680c5b32831043c
This commit is contained in:
parent
4c27b10dc5
commit
8332a8f4fa
@ -46,8 +46,7 @@ public class QueryDocumentationExecutor {
|
||||
private static final Logger log =
|
||||
LoggerFactory.getLogger(QueryDocumentationExecutor.class);
|
||||
|
||||
@SuppressWarnings("deprecation")
|
||||
private static final Version LUCENE_VERSION = Version.LUCENE_46;
|
||||
private static final Version LUCENE_VERSION = Version.LUCENE_47;
|
||||
|
||||
private IndexSearcher searcher;
|
||||
private QueryParser parser;
|
||||
|
@ -51,8 +51,7 @@ import java.util.zip.ZipEntry;
|
||||
import java.util.zip.ZipOutputStream;
|
||||
|
||||
public class DocIndexer {
|
||||
@SuppressWarnings("deprecation")
|
||||
private static final Version LUCENE_VERSION = Version.LUCENE_46;
|
||||
private static final Version LUCENE_VERSION = Version.LUCENE_47;
|
||||
private static final Pattern SECTION_HEADER = Pattern.compile("^=+ (.*)");
|
||||
|
||||
@Option(name = "-o", usage = "output JAR file")
|
||||
|
Loading…
x
Reference in New Issue
Block a user