Apache Solr open-source search software
LUCENE-9467: Fix NRTCachingDirectory to use Directory#fileLength to check if a file already exists instead of opening an IndexInput on the file which might throw a AccessDeniedException in some Directory implementations.
Simon Willnauer70c72ff4b990
diff --git a/lucene/CHANGES.txt b/lucene/CHANGES.txtindex c9bb8fcc9b3..a72a047a992 100644--- a/lucene/CHANGES.txt+++ b/lucene/CHANGES.txt@@ -201,6 +201,9 @@ Bug Fixes* LUCENE-9427: Fix a regression where the unified highlighter didn't producehighlights on fuzzy queries that correspond to exact matches. (Julie Tibshirani)+* LUCENE-9467: Fix NRTCachingDirectory to use Directory#fileLength to check if a file+ already exists instead of opening an IndexInput on the file which might throw a AccessDeniedException+ in some Directory implementations. (Simon Willnauer)Documentation---------------------