Skip to content

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

bugfix, see http://www.yacy-forum.de/viewtopic.php?p=7370#7370

orbiter98b028038c0f
diff --git a/source/de/anomic/yacy/yacyNewsPool.java b/source/de/anomic/yacy/yacyNewsPool.java
index 44b1e4035..b1828aeff 100644
--- a/source/de/anomic/yacy/yacyNewsPool.java
+++ b/source/de/anomic/yacy/yacyNewsPool.java
@@ -158,6 +158,7 @@ public class yacyNewsPool {
private boolean automaticProcessP(yacyNewsRecord record) {
if (record == null) return false;
+ if (record.category() == null) return true;
if ((yacyCore.universalTime() - record.created().getTime()) > (1000 * 60 * 60 * 24 * 7) /* 1 Week */) {
// remove everything after 1 week
return true;