Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for linkstructure computation: now also detecting dead links
Michael Peter Christen7f5733638b32
diff --git a/htroot/api/linkstructure.java b/htroot/api/linkstructure.javaindex 692388b19..146382a07 100644--- a/htroot/api/linkstructure.java+++ b/htroot/api/linkstructure.java@@ -130,7 +130,7 @@ public class linkstructure {}// we use the errorDocs to mark all edges with endpoint to error documentsfor (Map.Entry<String, HyperlinkEdge> edge: edges.entrySet()) {- if (errorDocs.containsKey(edge.getValue().target)) edge.getValue().type = HyperlinkEdge.Type.Dead;+ if (errorDocs.containsKey(edge.getValue().target.toNormalform(true))) edge.getValue().type = HyperlinkEdge.Type.Dead;}// finally just write out the edge array