jpountz commented on code in PR #14716:
URL: https://github.com/apache/lucene/pull/14716#discussion_r2120355953
##########
lucene/core/src/java/org/apache/lucene/index/TermsEnum.java:
##########
@@ -170,11 +170,15 @@ public final PostingsEnum postings(PostingsEnum reuse)
throws IOException {
public abstract PostingsEnum postings(PostingsEnum reuse, int flags) throws
IOException;
/**
- * Return a {@link ImpactsEnum}.
+ * Return a {@link PostingsEnum} that exposes impacts.
*
* @see #postings(PostingsEnum, int)
+ * @deprecated Use {@link #postings(PostingsEnum)} with {@link
PostingsEnum#IMPACTS}
*/
- public abstract ImpactsEnum impacts(int flags) throws IOException;
+ @Deprecated
Review Comment:
Yes! I was hoping to remove in a subsequent PR.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]