activate api actions after postprocessing of crawls

pull/1/head
orbiter 12 years ago
parent 3978c5ca5d
commit 0d0b3a30f5

@ -2102,8 +2102,6 @@ public final class Switchboard extends serverSwitch {
ConcurrentLog.logException(e); ConcurrentLog.logException(e);
} }
execAPIActions();
// close unused connections // close unused connections
ConnectionInfo.cleanUp(); ConnectionInfo.cleanUp();
@ -2289,6 +2287,10 @@ public final class Switchboard extends serverSwitch {
index.fulltext().getWebgraphConfiguration().postprocessing(index); index.fulltext().getWebgraphConfiguration().postprocessing(index);
postprocessingRunning = false; 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; return true;
} catch ( final InterruptedException e ) { } catch ( final InterruptedException e ) {

Loading…
Cancel
Save