Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

- LUCENE-890 doc patch

Otis Gospodnetic9fbee15671a7
diff --git a/src/java/org/apache/lucene/search/package.html b/src/java/org/apache/lucene/search/package.html
index 0cecc693c45..709e4f26f54 100644
--- a/src/java/org/apache/lucene/search/package.html
+++ b/src/java/org/apache/lucene/search/package.html
@@ -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