From c062385552dc172f55de3e0e97663fa58334b855 Mon Sep 17 00:00:00 2001 From: orbiter Date: Fri, 5 Jun 2009 18:18:16 +0000 Subject: [PATCH] fix for http://forum.yacy-websuche.de/viewtopic.php?p=15555#p15555 git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6024 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- source/de/anomic/yacy/dht/VerticalWordPartitionScheme.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/de/anomic/yacy/dht/VerticalWordPartitionScheme.java b/source/de/anomic/yacy/dht/VerticalWordPartitionScheme.java index 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 - ) lower bits - // - from the url hash take the (63 - ) higher bits + // - from the word hash take the 63 - lower bits + // - from the url hash take the 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.