mirror of https://github.com/apache/lucene.git
LUCENE-2858: javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1238100 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
f3d7e54321
commit
59c8c9e67e
|
@ -452,12 +452,17 @@ public abstract class IndexReader implements Closeable {
|
|||
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. */
|
||||
|
|
Loading…
Reference in New Issue