Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

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.java
index 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 Seri
Collection<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 {