Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) Bugfix for different behavior of indexDistributeWhileCrawling to other checkboxes on IndexControl_p.html See: http://www.yacy-forum.de/viewtopic.php?t=2849

thelie745b63c77b2
diff --git a/htroot/IndexControl_p.java b/htroot/IndexControl_p.java
index b83834922..0e52897ce 100644
--- a/htroot/IndexControl_p.java
+++ b/htroot/IndexControl_p.java
@@ -123,7 +123,7 @@ public class IndexControl_p {
switchboard.setConfig("allowDistributeIndex", "false");
}
- if (post.containsKey("indexDistributeWhileCrawling")) {
+ if (post.get("indexDistributeWhileCrawling","").equals("on")) {
switchboard.setConfig("allowDistributeIndexWhileCrawling", "true");
} else {
switchboard.setConfig("allowDistributeIndexWhileCrawling", "false");