Skip to content

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

no deletions in index in case that snippet-loading fails and there is no network connection

orbiter6488ec8a805f
diff --git a/source/de/anomic/plasma/plasmaSnippetCache.java b/source/de/anomic/plasma/plasmaSnippetCache.java
index c6ca8a9dd..2a2425b9a 100644
--- a/source/de/anomic/plasma/plasmaSnippetCache.java
+++ b/source/de/anomic/plasma/plasmaSnippetCache.java
@@ -853,6 +853,7 @@ public class plasmaSnippetCache {
public String failConsequences(TextSnippet snippet, Set queryhashes) {
// problems with snippet fetch
+ if (yacyCore.seedDB.mySeed.isVirgin()) return snippet.getError() + " (no consequences, no network connection)"; // no consequences if we do not have a network connection
String urlHash = plasmaURL.urlHash(snippet.getUrl());
String querystring = kelondroMSetTools.setToString(snippet.getRemainingHashes(), ' ');
if ((snippet.getErrorCode() == ERROR_SOURCE_LOADING) ||