Skip to content

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

do not merge collections if ram == false

orbiterb1ddc4a83f80
diff --git a/source/de/anomic/plasma/plasmaWordIndex.java b/source/de/anomic/plasma/plasmaWordIndex.java
index 3fee5dabc..7ffb01918 100644
--- a/source/de/anomic/plasma/plasmaWordIndex.java
+++ b/source/de/anomic/plasma/plasmaWordIndex.java
@@ -917,12 +917,15 @@ public final class plasmaWordIndex implements Index {
if (ram) {
return indexCache.referenceIterator(startWordHash, false, true);
}
+ return collections.referenceIterator(startWordHash, false, false);
+ /*
return new MergeIterator<ReferenceContainer>(
indexCache.referenceIterator(startWordHash, false, true),
collections.referenceIterator(startWordHash, false, false),
containerOrder,
ReferenceContainer.containerMergeMethod,
true);
+ */
}