Skip to content

Commit

Permalink
do not merge collections if ram == false
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5691 6c8d7289-2bf4-0310-a012-ef5d649a1542
  • Loading branch information
orbiter committed Mar 9, 2009
1 parent dbdd10d commit b1ddc4a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions source/de/anomic/plasma/plasmaWordIndex.java
Expand Up @@ -917,12 +917,15 @@ private synchronized CloneableIterator<ReferenceContainer> wordContainers(final
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);
*/
}


Expand Down

0 comments on commit b1ddc4a

Please sign in to comment.