Apache Lucene open-source search software
LUCENE-6271: PostingsEnum should have consistent flags behavior
Robert Muir1052ae1c48cb
diff --cc lucene/CHANGES.txtindex 3167a5c30c7,3167a5c30c7..c6b533ae909--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@@ -208,7 -208,7 +208,7 @@@ API Change* LUCENE-6218, LUCENE-6220: Add Collector.needsScores() and needsScoresparameter to Query.createWeight(). (Robert Muir, Adrien Grand)--* LUCENE-4524, LUCENE-6246, LUCENE-6256: Merge DocsEnum and DocsAndPositionsEnum++* LUCENE-4524, LUCENE-6246, LUCENE-6256, LUCENE-6271: Merge DocsEnum and DocsAndPositionsEnuminto a single PostingsEnum iterator. TermsEnum.docs() and TermsEnum.docsAndPositions()are replaced by TermsEnum.postings().(Alan Woodward, Simon Willnauer, Robert Muir, Ryan Ernst)