Upgrade documentation Lucene version to 4.7

Change-Id: If101ff67f0489e8b9d1211d37680c5b32831043c
This commit is contained in:
Dave Borowitz 2014-03-25 16:02:53 -07:00
parent 4c27b10dc5
commit 8332a8f4fa
2 changed files with 2 additions and 4 deletions

View File

@ -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;

View File

@ -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")