UI: added a more descriptive message, CitationRank instead of cr

This commit is contained in:
okybaca 2023-11-14 00:05:23 +01:00
parent 24011dcbcc
commit cba84632ee

View File

@ -1607,7 +1607,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seri
proccount.incrementAndGet();
allcount.incrementAndGet();
if (proccount.get() % 1000 == 0) {
postprocessingActivity = "writing cr values to webgraph for host " + hostfinal + "postprocessed " + proccount + " from " + count + " documents; " +
postprocessingActivity = "writing CitationRank values to webgraph for host " + hostfinal + "postprocessed " + proccount + " from " + count + " documents; " +
(proccount.get() * 1000 / (System.currentTimeMillis() - start)) + " docs/second; " +
((System.currentTimeMillis() - start) * (count - proccount.get()) / proccount.get() / 60000) + " minutes remaining";
ConcurrentLog.info("CollectionConfiguration", postprocessingActivity);
@ -1649,7 +1649,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seri
final Map<String, CRV> rankings = new ConcurrentHashMap<>();
try {
final int concurrency = Math.min(collection1hosts.size(), Runtime.getRuntime().availableProcessors());
postprocessingActivity = "collecting cr for " + collection1hosts.size() + " hosts, concurrency = " + concurrency;
postprocessingActivity = "collecting CitationRank for " + collection1hosts.size() + " hosts, concurrency = " + concurrency;
ConcurrentLog.info("CollectionConfiguration", postprocessingActivity);
int countcheck = 0;
for (final String host: collection1hosts.keyList(true)) {