mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
- hopefully last needed fix for indexControl_p (wrong property on "set")
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3115 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
parent
e8884e5268
commit
10528a0ced
|
@ -403,10 +403,10 @@ public class IndexControl_p {
|
|||
// insert constants
|
||||
prop.put("wcount", Integer.toString(switchboard.wordIndex.size()));
|
||||
prop.put("ucount", Integer.toString(switchboard.wordIndex.loadedURL.size()));
|
||||
prop.put("indexDistributeChecked", (switchboard.getConfig("allowDistributeIndex", "true").equals("true")) ? "checked" : "");
|
||||
prop.put("indexDistributeWhileCrawling", (switchboard.getConfig("allowDistributeIndexWhileCrawling", "true").equals("true")) ? "checked" : "");
|
||||
prop.put("indexReceiveChecked", (switchboard.getConfig("allowReceiveIndex", "true").equals("true")) ? "checked" : "");
|
||||
prop.put("indexReceiveBlockBlacklistChecked", (switchboard.getConfig("indexReceiveBlockBlacklist", "true").equals("true")) ? "checked" : "");
|
||||
prop.put("indexDistributeChecked", (switchboard.getConfig("allowDistributeIndex", "true").equals("true")) ? 1 : 0);
|
||||
prop.put("indexDistributeWhileCrawling", (switchboard.getConfig("allowDistributeIndexWhileCrawling", "true").equals("true")) ? 1 : 0);
|
||||
prop.put("indexReceiveChecked", (switchboard.getConfig("allowReceiveIndex", "true").equals("true")) ? 1 : 0);
|
||||
prop.put("indexReceiveBlockBlacklistChecked", (switchboard.getConfig("indexReceiveBlockBlacklist", "true").equals("true")) ? 1 : 0);
|
||||
prop.put("peertags", serverCodings.set2string(yacyCore.seedDB.mySeed.getPeerTags(), ",", false));
|
||||
// return rewrite properties
|
||||
return prop;
|
||||
|
|
Loading…
Reference in New Issue
Block a user