From 6488ec8a805fca963adfedfe691b74b487d71f15 Mon Sep 17 00:00:00 2001 From: orbiter Date: Tue, 27 Mar 2007 08:21:45 +0000 Subject: [PATCH] no deletions in index in case that snippet-loading fails and there is no network connection git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3525 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/plasma/plasmaSnippetCache.java | 1 + 1 file changed, 1 insertion(+) 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) ||