diff --git a/lucene/core/src/java/org/apache/lucene/index/LeafReader.java b/lucene/core/src/java/org/apache/lucene/index/LeafReader.java index ce181251f0e..722ff86d4f8 100644 --- a/lucene/core/src/java/org/apache/lucene/index/LeafReader.java +++ b/lucene/core/src/java/org/apache/lucene/index/LeafReader.java @@ -222,6 +222,8 @@ public abstract class LeafReader extends IndexReader { return null; } + /** Returns {@link PostingsEnum} for the specified term + * with {@link PostingsEnum#FLAG_FREQS}. */ public final PostingsEnum termDocsEnum(Term term) throws IOException { return termDocsEnum(term, PostingsEnum.FLAG_FREQS); }