Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
catch IllegalArgumentException for wrong process types (that is needed for migrations when new process types are introduced or disappear)
orbiterccb1864d55b2
diff --git a/source/net/yacy/search/schema/CollectionConfiguration.java b/source/net/yacy/search/schema/CollectionConfiguration.javaindex 673f55ec1..c68d9a538 100644--- a/source/net/yacy/search/schema/CollectionConfiguration.java+++ b/source/net/yacy/search/schema/CollectionConfiguration.java@@ -1172,7 +1172,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seribyte[] id = url.hash();SolrInputDocument sid = collection.toSolrInputDocument(doc, omitFields);- for (Object tag: proctags) {+ for (Object tag: proctags) try {// switch over tag typesProcessType tagtype = ProcessType.valueOf((String) tag);@@ -1194,7 +1194,7 @@ public class CollectionConfiguration extends SchemaConfiguration implements Seriif (postprocessing_doublecontent(segment, uniqueURLs, sid, url)) proccount_uniquechange++;}- }+ } catch (IllegalArgumentException e) {}// refresh the link count; it's 'cheap' to do this hereString hosthash = url.hosthash();