aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java
diff options
context:
space:
mode:
authorJon Bratseth <bratseth@gmail.com>2021-01-14 12:20:28 +0100
committerJon Bratseth <bratseth@gmail.com>2021-01-14 12:20:28 +0100
commit53b6319e0a24bda967fb3287f2e46a9007f0726f (patch)
treea127461e00ebd8ed9231e5447df7490521972ac4 /config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java
parenta82e44e46f963d2a7943ce5d1a6841584be83005 (diff)
Remove cacheSize
Diffstat (limited to 'config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java')
-rw-r--r--config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java10
1 files changed, 0 insertions, 10 deletions
diff --git a/config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java b/config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java
index 4ecc666a9f2..cf3fd6ec3bd 100644
--- a/config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java
+++ b/config-model/src/main/java/com/yahoo/vespa/model/container/search/searchchain/LocalProvider.java
@@ -41,9 +41,6 @@ public class LocalProvider extends Provider implements
builder.clusterId(searchCluster.getClusterIndex());
builder.clusterName(searchCluster.getClusterName());
- if (providerSpec.cacheSize != null)
- builder.cacheSize(providerSpec.cacheSize);
-
if (searchCluster.getVisibilityDelay() != null)
builder.cacheTimeout(convertVisibilityDelay(searchCluster.getVisibilityDelay()));
}
@@ -140,13 +137,6 @@ public class LocalProvider extends Provider implements
searchCluster.getConfig(builder);
}
- /**
- * For backward compatibility only, do not use.
- */
- public void setCacheSize(Integer cacheSize) {
- providerSpec.cacheSize = cacheSize;
- }
-
// The semantics of visibility delay in search is deactivating caches if the
// delay is less than 1.0, in qrs the cache is deactivated if the delay is 0
// (or less). 1.0 seems a little arbitrary, so just doing the conversion