You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by rm...@apache.org on 2012/09/11 03:52:42 UTC
svn commit: r1383216 -
/lucene/dev/branches/branch_4x/lucene/core/src/java/overview.html
Author: rmuir
Date: Tue Sep 11 01:52:42 2012
New Revision: 1383216
URL: http://svn.apache.org/viewvc?rev=1383216&view=rev
Log:
fix demo usage instructions in overview.html
Modified:
lucene/dev/branches/branch_4x/lucene/core/src/java/overview.html
Modified: lucene/dev/branches/branch_4x/lucene/core/src/java/overview.html
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_4x/lucene/core/src/java/overview.html?rev=1383216&r1=1383215&r2=1383216&view=diff
==============================================================================
--- lucene/dev/branches/branch_4x/lucene/core/src/java/overview.html (original)
+++ lucene/dev/branches/branch_4x/lucene/core/src/java/overview.html Tue Sep 11 01:52:42 2012
@@ -152,11 +152,11 @@ index for all the files contained in a d
queries and searches an index.</li>
</ul>
To demonstrate these, try something like:
-<blockquote><tt>> <b>java -cp lucene-core.jar:lucene-demo.jar:lucene-analyzers-common.jar org.apache.lucene.demo.IndexFiles rec.food.recipes/soups</b></tt>
+<blockquote><tt>> <b>java -cp lucene-core.jar:lucene-demo.jar:lucene-analyzers-common.jar org.apache.lucene.demo.IndexFiles -index index -docs rec.food.recipes/soups</b></tt>
<br><tt>adding rec.food.recipes/soups/abalone-chowder</tt>
<br><tt> </tt>[ ... ]
-<p><tt>> <b>java -cp lucene-core.jar:lucene-demo.jar:lucene-analyzers-common.jar org.apache.lucene.demo.SearchFiles</b></tt>
+<p><tt>> <b>java -cp lucene-core.jar:lucene-demo.jar:lucene-queryparser.jar:lucene-analyzers-common.jar org.apache.lucene.demo.SearchFiles</b></tt>
<br><tt>Query: <b>chowder</b></tt>
<br><tt>Searching for: chowder</tt>
<br><tt>34 total matching documents</tt>