Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
only admins should be able to force a commit
Michael Peter Christen234ca720f54c
diff --git a/htroot/HostBrowser.java b/htroot/HostBrowser.javaindex 242b33ada..e8c2ba3b9 100644--- a/htroot/HostBrowser.java+++ b/htroot/HostBrowser.java@@ -98,7 +98,7 @@ public class HostBrowser {}String path = post == null ? "" : post.get("path", "").trim();- sb.index.fulltext().commit(true);+ if (admin) sb.index.fulltext().commit(true);if (post == null || env == null) {prop.putNum("ucount", fulltext.collectionSize());return prop;