lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rm...@apache.org
Subject svn commit: r1238100 - /lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/IndexReader.java
Date Tue, 31 Jan 2012 00:08:09 GMT
Author: rmuir
Date: Tue Jan 31 00:08:09 2012
New Revision: 1238100

URL: http://svn.apache.org/viewvc?rev=1238100&view=rev
Log:
LUCENE-2858: javadocs

Modified:
    lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/IndexReader.java

Modified: lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/IndexReader.java
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/IndexReader.java?rev=1238100&r1=1238099&r2=1238100&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/IndexReader.java (original)
+++ lucene/dev/trunk/lucene/src/java/org/apache/lucene/index/IndexReader.java Tue Jan 31 00:08:09
2012
@@ -452,12 +452,17 @@ public abstract class IndexReader implem
     return this;
   }
   
+  /** Returns the number of documents containing the 
+   * <code>term</code>.  This method returns 0 if the term or
+   * field does not exists.  This method does not take into
+   * account deleted documents that have not yet been merged
+   * away. */
   public final int docFreq(Term term) throws IOException {
     return docFreq(term.field(), term.bytes());
   }
 
-  /** Returns the number of documents containing the term
-   * <code>t</code>.  This method returns 0 if the term or
+  /** Returns the number of documents containing the
+   * <code>term</code>.  This method returns 0 if the term or
    * field does not exists.  This method does not take into
    * account deleted documents that have not yet been merged
    * away. */



Mime
View raw message