File tree Expand file tree Collapse file tree
core/src/java/org/apache/lucene/store Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -236,6 +236,8 @@ API Changes
236236* GITHUB#15803: Add ReaderUtil#partitionByLeaf to partition doc IDs from
237237 ScoreDoc hits by leaf reader. (Zihan Xu)
238238
239+ * GITHUB#15892: Change access modifier for readAdvise in MMapDirectory (Navneet Verma)
240+
239241New Features
240242---------------------
241243
Original file line number Diff line number Diff line change @@ -169,7 +169,7 @@ public class MMapDirectory extends FSDirectory {
169169 return Optional .of (Constants .DEFAULT_READADVICE );
170170 };
171171
172- private BiFunction <String , IOContext , Optional <ReadAdvice >> readAdvice =
172+ protected BiFunction <String , IOContext , Optional <ReadAdvice >> readAdvice =
173173 (_ , _ ) -> Optional .empty ();
174174
175175 private BiPredicate <String , IOContext > preload = NO_FILES ;
You can’t perform that action at this time.
0 commit comments