From 0746308bc2cd8a2f6f4599c3f4d188771186e007 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Fri, 8 Jun 2012 18:36:11 +0200 Subject: [PATCH] only the metadata tables shall be able to use the tail cache --- source/net/yacy/kelondro/table/Table.java | 1 - source/net/yacy/search/Switchboard.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/source/net/yacy/kelondro/table/Table.java b/source/net/yacy/kelondro/table/Table.java index ed9b95f38..3a9aa955c 100644 --- a/source/net/yacy/kelondro/table/Table.java +++ b/source/net/yacy/kelondro/table/Table.java @@ -89,7 +89,6 @@ public class Table implements Index, Iterable { boolean useTailCache, final boolean exceed134217727, final boolean warmUp) throws RowSpaceExceededException { - useTailCache = true; // fixed for testing this.rowdef = rowdef; this.buffersize = buffersize; diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.java index ba26ce6e7..d4e4c0f21 100644 --- a/source/net/yacy/search/Switchboard.java +++ b/source/net/yacy/search/Switchboard.java @@ -380,7 +380,7 @@ public final class Switchboard extends serverSwitch mySeedFile, redundancy, partitionExponent, - this.useTailCache, + false, this.exceed134217727); // initialize index