diff --git a/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java b/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java index 430e1f191b0..020641f91d2 100644 --- a/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java +++ b/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java @@ -38,7 +38,11 @@ import java.io.IOException; import java.io.InputStreamReader; 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. + *
+ * This is a command-line application demonstrating simple Lucene indexing. + * Run it with no command-line arguments for usage information. + */ public class IndexFiles { private IndexFiles() {} @@ -47,8 +51,8 @@ public class IndexFiles { public static void main(String[] args) { String usage = "java org.apache.lucene.demo.IndexFiles" + " [-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...) - + "See http://lucene.apache.org/java/4_0/demo.html for details."; + + "This indexes the documents in DOCS_PATH, creating a Lucene index" + + "in INDEX_PATH that can be searched with SearchFiles"; String indexPath = "index"; String docsPath = null; boolean create = true;