Skip to content

Apache Lucene open-source search software

Add missing changes entries for LUCENE-8502 and LUCENE-8503

Simon Willnauer895bff46b2c3
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txt
index f62fef2bcab..96c1c19d631 100644
--- a/lucene/CHANGES.txt
+++ b/lucene/CHANGES.txt
@@ -270,6 +270,10 @@ Bug Fixes:
* LUCENE-8466: IndexWriter.deleteDocs(Query... query) incorrectly applies deletes on flush
if the index is sorted. (Adrien Grand, Jim Ferenczi, Vish Ramachandran)
+* LUCENE-8502: Allow access to delegate in FilterCodecReader. FilterCodecReader didn't
+ allow access to it's delegate like other filter readers. This adds a new #getDelegate method
+ to access the wrapped reader. (Simon Willnauer)
+
Changes in Runtime Behavior:
* LUCENE-7976: TieredMergePolicy now respects maxSegmentSizeMB by default when executing
@@ -279,6 +283,11 @@ Changes in Runtime Behavior:
aggressively by default ensuring that no more than ~1/3 of the index size is
used by deleted documents. (Adrien Grand)
+* LUCENE-8503: Call #getDelegate instead of direct member access during unwrap.
+ Filter*Reader instances access the member or the delegate directly instead of
+ calling getDelegate(). In order to track access of the delegate these methods
+ should call #getDelegate() (Simon Willnauer)
+
Improvements
* LUCENE-8468: A ByteBuffer based Directory implementation. (Dawid Weiss)