You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by mi...@apache.org on 2011/10/20 20:22:13 UTC
svn commit: r1186978 -
/lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/TermsEnum.java
Author: mikemccand
Date: Thu Oct 20 18:22:12 2011
New Revision: 1186978
URL: http://svn.apache.org/viewvc?rev=1186978&view=rev
Log:
fix javadocs
Modified:
lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/TermsEnum.java
Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/TermsEnum.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/TermsEnum.java?rev=1186978&r1=1186977&r2=1186978&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/TermsEnum.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/TermsEnum.java Thu Oct 20 18:22:12 2011
@@ -147,7 +147,7 @@ public abstract class TermsEnum {
* call this when the enum is unpositioned. This method
* will not return null.
*
- * @param liveDocs set bits are documents that should not
+ * @param liveDocs unset bits are documents that should not
* be returned
* @param reuse pass a prior DocsEnum for possible reuse */
public abstract DocsEnum docs(Bits liveDocs, DocsEnum reuse) throws IOException;
@@ -155,7 +155,10 @@ public abstract class TermsEnum {
/** Get {@link DocsAndPositionsEnum} for the current term.
* Do not call this when the enum is unpositioned.
* This method will only return null if positions were
- * not indexed into the postings by this codec. */
+ * not indexed into the postings by this codec.
+ * @param liveDocs unset bits are documents that should not
+ * be returned
+ * @param reuse pass a prior DocsAndPositionsEnum for possible reuse */
public abstract DocsAndPositionsEnum docsAndPositions(Bits liveDocs, DocsAndPositionsEnum reuse) throws IOException;
/**