mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
UI: added a more descriptive message, CitationRank instead of cr
This commit is contained in:
parent
24011dcbcc
commit
cba84632ee
|
@ -1607,7 +1607,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seri
|
||||||
proccount.incrementAndGet();
|
proccount.incrementAndGet();
|
||||||
allcount.incrementAndGet();
|
allcount.incrementAndGet();
|
||||||
if (proccount.get() % 1000 == 0) {
|
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; " +
|
(proccount.get() * 1000 / (System.currentTimeMillis() - start)) + " docs/second; " +
|
||||||
((System.currentTimeMillis() - start) * (count - proccount.get()) / proccount.get() / 60000) + " minutes remaining";
|
((System.currentTimeMillis() - start) * (count - proccount.get()) / proccount.get() / 60000) + " minutes remaining";
|
||||||
ConcurrentLog.info("CollectionConfiguration", postprocessingActivity);
|
ConcurrentLog.info("CollectionConfiguration", postprocessingActivity);
|
||||||
|
@ -1649,7 +1649,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seri
|
||||||
final Map<String, CRV> rankings = new ConcurrentHashMap<>();
|
final Map<String, CRV> rankings = new ConcurrentHashMap<>();
|
||||||
try {
|
try {
|
||||||
final int concurrency = Math.min(collection1hosts.size(), Runtime.getRuntime().availableProcessors());
|
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);
|
ConcurrentLog.info("CollectionConfiguration", postprocessingActivity);
|
||||||
int countcheck = 0;
|
int countcheck = 0;
|
||||||
for (final String host: collection1hosts.keyList(true)) {
|
for (final String host: collection1hosts.keyList(true)) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user