Skip to content

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

transferRanking(): Do not flush more ranking files than requested by caller.

hermens35cf1962044c
diff --git a/source/de/anomic/plasma/plasmaRankingDistribution.java b/source/de/anomic/plasma/plasmaRankingDistribution.java
index d8906d630..eddba2639 100644
--- a/source/de/anomic/plasma/plasmaRankingDistribution.java
+++ b/source/de/anomic/plasma/plasmaRankingDistribution.java
@@ -128,7 +128,7 @@ public final class plasmaRankingDistribution {
return false;
}
- if (outfiles.length > count) count = outfiles.length;
+ if (outfiles.length < count) count = outfiles.length;
File crfile = null;
for (int i = 0; i < count; i++) {