jpountz commented on code in PR #14716: URL: https://github.com/apache/lucene/pull/14716#discussion_r2120356527
########## lucene/core/src/java/org/apache/lucene/index/PostingsEnum.java: ########## @@ -63,6 +87,12 @@ public abstract class PostingsEnum extends DocIdSetIterator { */ public static final short ALL = OFFSETS | PAYLOADS; + /** + * Flag to pass to {@link TermsEnum#postings(PostingsEnum, int)} to get impacts in the returned + * enum. + */ + public static final short IMPACTS = FREQS | 1 << 7; Review Comment: Interesting idea. Let me check the performance impact. -- 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: issues-unsubscr...@lucene.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org For additional commands, e-mail: issues-h...@lucene.apache.org