git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1990 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 19 years ago
parent d8d0ac29c3
commit bc3e80fe42

@ -279,17 +279,17 @@ public final class plasmaWordIndex {
// e.g. indexTransfer might keep this container for minutes while // e.g. indexTransfer might keep this container for minutes while
// several new pages could be added to the index, possibly with the same words that have // several new pages could be added to the index, possibly with the same words that have
// been selected for transfer // been selected for transfer
container.add(ramCache.getContainer(wordHash, true), maxTime / 2); container.add(ramCache.getContainer(wordHash, true), (maxTime < 0) ? -1 : maxTime / 2);
// get from assortments // get from assortments
container.add(assortmentCluster.getFromAll(wordHash, (maxTime < 0) ? -1 : maxTime / 2), maxTime / 2); container.add(assortmentCluster.getFromAll(wordHash, (maxTime < 0) ? -1 : maxTime / 2), (maxTime < 0) ? -1 : maxTime / 2);
// get from backend // get from backend
if (maxTime > 0) { if (maxTime > 0) {
maxTime = maxTime - (System.currentTimeMillis() - start); maxTime = maxTime - (System.currentTimeMillis() - start);
if (maxTime < 0) maxTime = 100; if (maxTime < 0) maxTime = 100;
} }
container.add(backend.getContainer(wordHash, deleteIfEmpty, (maxTime < 0) ? -1 : maxTime / 2), maxTime / 2); container.add(backend.getContainer(wordHash, deleteIfEmpty, (maxTime < 0) ? -1 : maxTime / 2), (maxTime < 0) ? -1 : maxTime / 2);
return container; return container;
} }

Loading…
Cancel
Save