removed host increment on stored documents from crawler (that was wrong)

pull/1/head
orbiter 11 years ago
parent 809e976578
commit c3f6c06f2c

@ -182,9 +182,6 @@ public class HostBrowser {
// collect hosts from crawler
final Map<String, Integer[]> crawler = (admin) ? sb.crawlQueues.noticeURL.getDomainStackHosts(StackType.LOCAL, sb.robots) : new HashMap<String, Integer[]>();
for (Map.Entry<String, Integer[]> host: crawler.entrySet()) {
hostscore.inc(host.getKey(), host.getValue()[0]);
}
// collect the errorurls
Map<String, ReversibleScoreMap<String>> exclfacets = admin ? fulltext.getDefaultConnector().getFacets(CollectionSchema.failtype_s.getSolrFieldName() + ":" + FailType.excl.name(), maxcount, CollectionSchema.host_s.getSolrFieldName()) : null;

Loading…
Cancel
Save