From 0d0b3a30f510077638efd6b6f08534817150e937 Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 12 Jul 2013 16:05:48 +0200 Subject: [PATCH] activate api actions after postprocessing of crawls --- source/net/yacy/search/Switchboard.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.java index 9af83a48d..7cede61f7 100644 --- a/source/net/yacy/search/Switchboard.java +++ b/source/net/yacy/search/Switchboard.java @@ -2102,8 +2102,6 @@ public final class Switchboard extends serverSwitch { ConcurrentLog.logException(e); } - execAPIActions(); - // close unused connections ConnectionInfo.cleanUp(); @@ -2289,6 +2287,10 @@ public final class Switchboard extends serverSwitch { index.fulltext().getWebgraphConfiguration().postprocessing(index); postprocessingRunning = false; } + + // execute api actions; this must be done after postprocessing because + // these actions may also influence the search index/ call optimize steps + execAPIActions(); return true; } catch ( final InterruptedException e ) {