(search) Remove endpoint flush-search-caches
It's not necessary anymore with the new linkdb.
This commit is contained in:
parent
5ed5298409
commit
e741301417
@ -184,7 +184,6 @@ public class ControlService extends Service {
|
|||||||
Spark.post("/public/actions/repartition-index", controlActionsService::triggerRepartition, redirectToActors);
|
Spark.post("/public/actions/repartition-index", controlActionsService::triggerRepartition, redirectToActors);
|
||||||
Spark.post("/public/actions/reconstruct-index", controlActionsService::triggerIndexReconstruction, redirectToActors);
|
Spark.post("/public/actions/reconstruct-index", controlActionsService::triggerIndexReconstruction, redirectToActors);
|
||||||
Spark.post("/public/actions/trigger-data-exports", controlActionsService::triggerDataExports, redirectToActors);
|
Spark.post("/public/actions/trigger-data-exports", controlActionsService::triggerDataExports, redirectToActors);
|
||||||
Spark.post("/public/actions/flush-search-caches", controlActionsService::flushSearchCaches, redirectToActors);
|
|
||||||
Spark.post("/public/actions/flush-api-caches", controlActionsService::flushApiCaches, redirectToActors);
|
Spark.post("/public/actions/flush-api-caches", controlActionsService::flushApiCaches, redirectToActors);
|
||||||
Spark.post("/public/actions/truncate-links-database", controlActionsService::truncateLinkDatabase, redirectToActors);
|
Spark.post("/public/actions/truncate-links-database", controlActionsService::truncateLinkDatabase, redirectToActors);
|
||||||
|
|
||||||
|
@ -71,13 +71,6 @@ public class ControlActionsService {
|
|||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
public Object flushSearchCaches(Request request, Response response) throws Exception {
|
|
||||||
eventLog.logEvent("USER-ACTION", "FLUSH-SEARCH-CACHES");
|
|
||||||
searchClient.outbox().sendNotice(SearchMqEndpoints.FLUSH_CACHES, "");
|
|
||||||
|
|
||||||
return "";
|
|
||||||
}
|
|
||||||
|
|
||||||
public Object reloadBlogsList(Request request, Response response) throws Exception {
|
public Object reloadBlogsList(Request request, Response response) throws Exception {
|
||||||
eventLog.logEvent("USER-ACTION", "RELOAD-BLOGS-LIST");
|
eventLog.logEvent("USER-ACTION", "RELOAD-BLOGS-LIST");
|
||||||
|
|
||||||
|
@ -55,18 +55,6 @@
|
|||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
|
||||||
<td><b>Flush <tt>search-service</tt> Caches</b><p>
|
|
||||||
This will instruct the search-service to flush its caches,
|
|
||||||
getting rid of any stale data. This may rarely be necessary after
|
|
||||||
reloading the index.
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<form method="post" action="/actions/flush-search-caches" onsubmit="return confirm('Confirm flushing search chaches')">
|
|
||||||
<input type="submit" value="Flush Search">
|
|
||||||
</form>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
<tr>
|
<tr>
|
||||||
<td><b>Flush <tt>api-service</tt> Caches</b><p>
|
<td><b>Flush <tt>api-service</tt> Caches</b><p>
|
||||||
This will instruct the api-service to flush its caches,
|
This will instruct the api-service to flush its caches,
|
||||||
|
Loading…
Reference in New Issue
Block a user