Description
Right now, Lucene index files are downloaded from the datastore when reading from the index (when running a query). However, when updating the index, they are not downloaded. So if lazy loading of index files is enabled (OAK-7947), files are read from the datastore (streaming). Leading to the following warnings in the log file:
org.apache.jackrabbit.oak.plugins.index.lucene.directory.CopyOnWriteDirectory COWRemoteFileReference::local file (_2.cfs) doesn't exist ...