Merge "Add missing "_" to a caller of LuceneVersionManager.getDir" into stable-2.14
This commit is contained in:
commit
2c7ffa796c
@ -74,7 +74,7 @@ public class LuceneVersionManager extends AbstractVersionManager implements Life
|
||||
TreeMap<Integer, AbstractVersionManager.Version<V>> versions = new TreeMap<>();
|
||||
for (Schema<V> schema : def.getSchemas().values()) {
|
||||
// This part is Lucene-specific.
|
||||
Path p = getDir(sitePaths, def.getName(), schema);
|
||||
Path p = getDir(sitePaths, def.getName() + "_", schema);
|
||||
boolean isDir = Files.isDirectory(p);
|
||||
if (Files.exists(p) && !isDir) {
|
||||
log.warn("Not a directory: %s", p.toAbsolutePath());
|
||||
|
Loading…
Reference in New Issue
Block a user