Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
fix for http://forum.yacy-websuche.de/viewtopic.php?p=15555#p15555
orbiterc062385552dc
diff --git a/source/de/anomic/yacy/dht/VerticalWordPartitionScheme.java b/source/de/anomic/yacy/dht/VerticalWordPartitionScheme.javaindex 782d67aa4..92b94f7f9 100755--- a/source/de/anomic/yacy/dht/VerticalWordPartitionScheme.java+++ b/source/de/anomic/yacy/dht/VerticalWordPartitionScheme.java@@ -63,8 +63,8 @@ public class VerticalWordPartitionScheme implements PartitionScheme {assert partitionExponent > 0;long partitionMask = (1L << (Long.SIZE - 1 - partitionExponent)) - 1L;// compute the position using a specific fragment of the word hash and the url hash:- // - from the word hash take the (63 - <partitionExponent>) lower bits- // - from the url hash take the (63 - <partitionExponent>) higher bits+ // - from the word hash take the 63 - <partitionExponent> lower bits+ // - from the url hash take the <partitionExponent> higher bits// in case that the partitionExpoent is 1, only one bit is taken from the urlHash,// which means that the partition is in two parts.// With partitionExponent = 2 it is divided in four parts and so on.