You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ds...@apache.org on 2018/03/02 19:01:29 UTC
lucene-solr:branch_7x: LUCENE-6271: docs: TermsEnum.postings(...)
will not return null
Repository: lucene-solr
Updated Branches:
refs/heads/branch_7x 62e6a7ca2 -> f22ab1b0b
LUCENE-6271: docs: TermsEnum.postings(...) will not return null
(cherry picked from commit 79c2988)
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/f22ab1b0
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/f22ab1b0
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/f22ab1b0
Branch: refs/heads/branch_7x
Commit: f22ab1b0b2e18edb3ce7a01142161ad199aad433
Parents: 62e6a7c
Author: David Smiley <ds...@apache.org>
Authored: Fri Mar 2 13:59:58 2018 -0500
Committer: David Smiley <ds...@apache.org>
Committed: Fri Mar 2 14:01:22 2018 -0500
----------------------------------------------------------------------
lucene/core/src/java/org/apache/lucene/index/TermsEnum.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/f22ab1b0/lucene/core/src/java/org/apache/lucene/index/TermsEnum.java
----------------------------------------------------------------------
diff --git a/lucene/core/src/java/org/apache/lucene/index/TermsEnum.java b/lucene/core/src/java/org/apache/lucene/index/TermsEnum.java
index c4b1017..76c3855 100644
--- a/lucene/core/src/java/org/apache/lucene/index/TermsEnum.java
+++ b/lucene/core/src/java/org/apache/lucene/index/TermsEnum.java
@@ -159,8 +159,7 @@ public abstract class TermsEnum implements BytesRefIterator {
/** Get {@link PostingsEnum} for the current term, with
* control over whether freqs, positions, offsets or payloads
* are required. Do not call this when the enum is
- * unpositioned. This method may return null if the postings
- * information required is not available from the index
+ * unpositioned. This method will not return null.
* <p>
* <b>NOTE</b>: the returned iterator may return deleted documents, so
* deleted documents have to be checked on top of the {@link PostingsEnum}.