Skip to content

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

just some chatty code

lotus76b96337e2de
diff --git a/source/de/anomic/yacy/dht/Dispatcher.java b/source/de/anomic/yacy/dht/Dispatcher.java
index db088144b..9ae739a07 100755
--- a/source/de/anomic/yacy/dht/Dispatcher.java
+++ b/source/de/anomic/yacy/dht/Dispatcher.java
@@ -277,6 +277,14 @@ public class Dispatcher {
true);
this.log.logInfo("enqueueContainers: selected " + targets.size() + " targets for primary target key " + new String(primaryTarget) + "/" + vertical + " with " + containers[vertical].size() + " index containers.");
if (entry == null) entry = transmission.newChunk(primaryTarget, targets, lastContainer.row());
+
+ /*/ lookup own target
+ int sc = 1;
+ for (yacySeed seed : targets) {
+ if(seed == seeds.mySeed())
+ this.log.logInfo("enqueueContainers: myself-target at position " + sc);
+ sc++;
+ } */
// fill the entry with the containers
for (ReferenceContainer<WordReference> c: containers[vertical]) {