lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From o...@apache.org
Subject svn commit: r541701 - /lucene/java/trunk/src/java/org/apache/lucene/search/package.html
Date Fri, 25 May 2007 16:04:26 GMT
Author: otis
Date: Fri May 25 09:04:24 2007
New Revision: 541701

URL: http://svn.apache.org/viewvc?view=rev&rev=541701
Log:
- LUCENE-890 doc patch

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/package.html

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/package.html
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/package.html?view=diff&rev=541701&r1=541700&r2=541701
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/package.html (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/package.html Fri May 25 09:04:24 2007
@@ -49,7 +49,7 @@
         href="TermQuery.html">TermQuery</a>
     is as simple as:
     <pre>
-        TermQuery tq = new TermQuery(new Term("fieldName", "term");
+        TermQuery tq = new TermQuery(new Term("fieldName", "term"));
     </pre>In this example, the <a href="Query.html">Query</a> identifies
all <a
         href="../document/Document.html">Document</a>s that have the <a
         href="../document/Field.html">Field</a> named <tt>"fieldName"</tt>
and



Mime
View raw message