Apache Lucene open-source search software
package summary fix
Han Jiang261127a06276
diff --git a/lucene/core/src/java/org/apache/lucene/index/package.html b/lucene/core/src/java/org/apache/lucene/index/package.htmlindex 6870e08e479..9235262f98f 100644--- a/lucene/core/src/java/org/apache/lucene/index/package.html+++ b/lucene/core/src/java/org/apache/lucene/index/package.html@@ -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 frequencySystem.out.println(termsEnum.docFreq());