1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-13 09:46:17 +00:00

Closes #222: full reindexing scalable + concurrent Lucene merges

This commit is contained in:
Benjamin Gamard
2018-10-29 18:32:39 +01:00
parent 2134f116da
commit 35c3ee023b
7 changed files with 64 additions and 28 deletions

View File

@@ -595,7 +595,7 @@ public class AppResource extends BaseResource {
// Get all files
FileDao fileDao = new FileDao();
List<File> fileList = fileDao.findAll();
List<File> fileList = fileDao.findAll(0, Integer.MAX_VALUE);
Map<String, File> fileMap = new HashMap<>();
for (File file : fileList) {
fileMap.put(file.getId(), file);