ChrisHegarty opened a new pull request, #15040: URL: https://github.com/apache/lucene/pull/15040
This commit changes the default ReadAdvice from RANDOM to NORMAL. After this change MMapDirectory will not set any specific read advice out-of-the-box. Rather there is a straightforward way to enable either previous behaviour ( in 10.2 ), by setting either: 1. `dir.setReadAdvice(MMapDirectory.ADVISE_BY_CONTEXT)`, or 2. setting the system property `-Dorg.apache.lucene.store.defaultReadAdvice=RANDOM`. -- 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