lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1139178 - /lucene/dev/trunk/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java
Date Fri, 24 Jun 2011 07:29:09 GMT
Author: rmuir
Date: Fri Jun 24 07:29:08 2011
New Revision: 1139178

URL: http://svn.apache.org/viewvc?rev=1139178&view=rev
Log:
remove error-prone release number in source code

Modified:
    lucene/dev/trunk/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java

Modified: lucene/dev/trunk/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java?rev=1139178&r1=1139177&r2=1139178&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java (original)
+++ lucene/dev/trunk/lucene/contrib/demo/src/java/org/apache/lucene/demo/IndexFiles.java Fri
Jun 24 07:29:08 2011
@@ -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.
+ * <p>
+ * 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;



Mime
View raw message