mirror of
https://github.com/apache/lucene.git
synced 2025-03-08 17:49:29 +00:00
package summary fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1551222 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
507cb684b7
commit
261127a062
@ -94,7 +94,7 @@ and methods to access the term's <a href="#documents">documents</a> and
|
||||
<a href="#positions">positions</a>.
|
||||
<pre class="prettyprint">
|
||||
// seek to a specific term
|
||||
boolean found = termsEnum.seekExact(new BytesRef("foobar"), true);
|
||||
boolean found = termsEnum.seekExact(new BytesRef("foobar"));
|
||||
if (found) {
|
||||
// get the document frequency
|
||||
System.out.println(termsEnum.docFreq());
|
||||
|
Loading…
x
Reference in New Issue
Block a user