mirror of
https://github.com/Alfresco/SearchServices.git
synced 2025-09-10 14:11:25 +00:00
[MNT-24180] fix FIX action
This commit is contained in:
@@ -121,6 +121,7 @@ import java.util.function.Function;
|
||||
import java.util.function.Supplier;
|
||||
import java.util.regex.Matcher;
|
||||
import java.util.regex.Pattern;
|
||||
import java.util.stream.LongStream;
|
||||
import java.util.zip.GZIPInputStream;
|
||||
|
||||
import com.carrotsearch.hppc.IntArrayList;
|
||||
@@ -3784,13 +3785,10 @@ public class SolrInformationServer implements InformationServer
|
||||
break;
|
||||
}
|
||||
}
|
||||
for(long id = iterationStart; id <= batchEndId; id++)
|
||||
{
|
||||
if(idsInDb.get(id))
|
||||
{
|
||||
reporter.reportIdInDbButNotInIndex(id);
|
||||
}
|
||||
}
|
||||
LongStream.rangeClosed(iterationStart, batchEndId)
|
||||
.filter(id -> idsInDb.get(id))
|
||||
.forEach(reporter::reportIdInDbButNotInIndex);
|
||||
|
||||
batchStartId = batchEndId + 1;
|
||||
batchEndId = Math.min(batchStartId + BATCH_FACET_TXS, maxId);
|
||||
}
|
||||
|
Reference in New Issue
Block a user