From a3625bf4a8306976b58fcb71c3c04a4572d6046e Mon Sep 17 00:00:00 2001 From: Freek de Bruijn Date: Sun, 6 Nov 2016 23:02:31 +0100 Subject: [PATCH] Update SearchFiles.java Replaced the Lucene version number in the usage string by 6_2_1 (it was 4_1_0). It might be easier if a path like "http://lucene.apache.org/core/latest/demo/" was supported, that would always point to the latest version of the demo without the need for a version number. Or else perhaps a version number in a Java file on a central location, that could be used by the demo classes? --- lucene/demo/src/java/org/apache/lucene/demo/SearchFiles.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lucene/demo/src/java/org/apache/lucene/demo/SearchFiles.java b/lucene/demo/src/java/org/apache/lucene/demo/SearchFiles.java index 46c75e14675e..154a7adf5205 100644 --- a/lucene/demo/src/java/org/apache/lucene/demo/SearchFiles.java +++ b/lucene/demo/src/java/org/apache/lucene/demo/SearchFiles.java @@ -45,7 +45,7 @@ private SearchFiles() {} /** Simple command-line based search demo. */ public static void main(String[] args) throws Exception { String usage = - "Usage:\tjava org.apache.lucene.demo.SearchFiles [-index dir] [-field f] [-repeat n] [-queries file] [-query string] [-raw] [-paging hitsPerPage]\n\nSee http://lucene.apache.org/core/4_1_0/demo/ for details."; + "Usage:\tjava org.apache.lucene.demo.SearchFiles [-index dir] [-field f] [-repeat n] [-queries file] [-query string] [-raw] [-paging hitsPerPage]\n\nSee http://lucene.apache.org/core/6_2_1/demo/ for details."; if (args.length > 0 && ("-h".equals(args[0]) || "-help".equals(args[0]))) { System.out.println(usage); System.exit(0);