Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
interaction: add special table interaction
cominchdf47f3123567
diff --git a/source/net/yacy/interaction/Interaction.java b/source/net/yacy/interaction/Interaction.javaindex 9e247f94d..1c81a243c 100644--- a/source/net/yacy/interaction/Interaction.java+++ b/source/net/yacy/interaction/Interaction.java@@ -390,7 +390,7 @@ public static String Contribution(String url, String value, String username, Str}-public static String GetTableentry(String url, String type, String username, String peer) {+public static String GetTableentry(String url, String type, String username, String peer) {final Switchboard sb = Switchboard.getSwitchboard();@@ -418,7 +418,7 @@ public static String GetTableentry(String url, String type, String username, Str}return "";-+}@@ -430,7 +430,8 @@ public static String Tableentry(String url, String type, String comment, Stringpeer = sb.peers.myName();}- Boolean processlocal = false;+ Boolean processlocal = false;+Log.logInfo ("TABLE", "PUT "+from+" / "+url+" - "+type+" - "+comment);if (!sb.getConfig("interaction.contribution.accumulationpeer", "").equals("")) {@@ -472,8 +473,8 @@ public static String Tableentry(String url, String type, String comment, Stringmap.put("url", url.getBytes());map.put("username", from.getBytes());- map.put("peer", peer.getBytes());- map.put("status", "new".getBytes());+ map.put("peer", peer.getBytes());+ map.put("status", "new".getBytes());map.put("type", type.getBytes());map.put(type, comment.getBytes());map.put("timestamp_creation", date.getBytes());