- LUCENE-890 doc patch

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@541701 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Otis Gospodnetic 2007-05-25 16:04:24 +00:00
parent 393b4525db
commit 9fbee15671

View File

@ -49,7 +49,7 @@ org.apache.lucene.search.Searcher#search(Query,Filter)}.
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