mirror of https://github.com/apache/lucene.git
LUCENE-6271: docs: TermsEnum.postings(...) will not return null
This commit is contained in:
parent
c5938f79e5
commit
79c2988547
|
@ -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}.
|
||||
|
|
Loading…
Reference in New Issue