diff --git a/source/net/yacy/document/Document.java b/source/net/yacy/document/Document.java index b63bb3b1f..f89a5199e 100644 --- a/source/net/yacy/document/Document.java +++ b/source/net/yacy/document/Document.java @@ -864,6 +864,12 @@ dc_rights final Map result = new HashMap(); for (final Document d: documents) { result.putAll(d.getHyperlinks()); + final Object parser = d.getParserObject(); + if (parser instanceof ContentScraper) { + final ContentScraper html = (ContentScraper) parser; + String refresh = html.getRefreshPath(); + if (refresh != null && refresh.length() > 0)try {result.put(new MultiProtocolURI(refresh), "refresh");} catch (MalformedURLException e) {} + } } return result; } diff --git a/source/net/yacy/search/index/Segment.java b/source/net/yacy/search/index/Segment.java index e68931ff9..ee68896f0 100644 --- a/source/net/yacy/search/index/Segment.java +++ b/source/net/yacy/search/index/Segment.java @@ -445,7 +445,7 @@ public class Segment { final long indexingEndTime = System.currentTimeMillis(); if (this.log.isInfo()) { - this.log.logInfo("*Indexed " + wordCount + " words in URL " + url + + this.log.logInfo("*Indexed " + condenser.words().size() + " words in URL " + url + " [" + id + "]" + "\n\tDescription: " + dc_title + "\n\tMimeType: " + document.dc_format() + " | Charset: " + document.getCharset() + " | " +