mirror of
https://github.com/apache/lucene.git
synced 2025-02-23 18:55:50 +00:00
- 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:
parent
393b4525db
commit
9fbee15671
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user