Merge pull request #610 from okybaca/cr-text

UI: added a more descriptive message, CitationRank instead of cr
pull/616/head
Michael Christen 12 months ago committed by GitHub
commit 4c603e23f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)) {

Loading…
Cancel
Save