remove error-prone release number in source code

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1139178 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-06-24 07:29:08 +00:00
parent 4159d786ec
commit 74257a2d13
1 changed files with 7 additions and 3 deletions

View File

@ -38,7 +38,11 @@ import java.io.IOException;
import java.io.InputStreamReader; import java.io.InputStreamReader;
import java.util.Date; import java.util.Date;
/** Index all text files under a directory. See http://lucene.apache.org/java/4_0/demo.html. */ /** Index all text files under a directory.
* <p>
* This is a command-line application demonstrating simple Lucene indexing.
* Run it with no command-line arguments for usage information.
*/
public class IndexFiles { public class IndexFiles {
private IndexFiles() {} private IndexFiles() {}
@ -47,8 +51,8 @@ public class IndexFiles {
public static void main(String[] args) { public static void main(String[] args) {
String usage = "java org.apache.lucene.demo.IndexFiles" String usage = "java org.apache.lucene.demo.IndexFiles"
+ " [-index INDEX_PATH] [-docs DOCS_PATH] [-update]\n\n" + " [-index INDEX_PATH] [-docs DOCS_PATH] [-update]\n\n"
// TODO: Change the link with every release (or: fill in some less error-prone alternative here...) + "This indexes the documents in DOCS_PATH, creating a Lucene index"
+ "See http://lucene.apache.org/java/4_0/demo.html for details."; + "in INDEX_PATH that can be searched with SearchFiles";
String indexPath = "index"; String indexPath = "index";
String docsPath = null; String docsPath = null;
boolean create = true; boolean create = true;