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