Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
lazy handling of process_sxt field (part of postprocessing)
orbiterd93325a57870
diff --git a/source/net/yacy/search/schema/CollectionConfiguration.java b/source/net/yacy/search/schema/CollectionConfiguration.javaindex 657b419ee..60edc3328 100644--- a/source/net/yacy/search/schema/CollectionConfiguration.java+++ b/source/net/yacy/search/schema/CollectionConfiguration.java@@ -1278,9 +1278,9 @@ public class CollectionConfiguration extends SchemaConfiguration implements SeriCollection<Object> proctags = doc.getFieldValues(CollectionSchema.process_sxt.getSolrFieldName());final String u = (String) doc.getFieldValue(CollectionSchema.sku.getSolrFieldName());final String i = (String) doc.getFieldValue(CollectionSchema.id.getSolrFieldName());- if (proctags == null) {+ if (proctags == null || proctags.size() == 0) {// this should not happen since we collected the documents using a process_sxt:[* TO *] term- ConcurrentLog.warn("CollectionConfiguration", "no process_sxt entry for url " + u);+ ConcurrentLog.warn("CollectionConfiguration", "no process_sxt entry for url " + u + ", id=" + i);continue;}try {