summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2018-05-04 11:19:52 +0200
committergjoranv <gv@oath.com>2018-05-04 11:25:56 +0200
commitdd71cb045baf5f23b29f2d6adf1d18b7cb24817f (patch)
tree54bb352e07991c0a86ad42ff5c3cf41ce9f8e5b7 /config
parent489478804f543762078494e235f31ace181950e9 (diff)
Remove CachingSearcher and its Cache with SizeCalculator
- The SizeCalculator uses recursive reflective calls in the object tree, and attempts illegal access to e.g. java.lang.module classes on Java 9+. With this access explicitly allowed via "--add-opens" the calculator returns a much larger size than the actual size of the object.
Diffstat (limited to 'config')
-rw-r--r--config/src/test/java/com/yahoo/vespa/config/classes/testfoobar.12.def6
1 files changed, 0 insertions, 6 deletions
diff --git a/config/src/test/java/com/yahoo/vespa/config/classes/testfoobar.12.def b/config/src/test/java/com/yahoo/vespa/config/classes/testfoobar.12.def
index ba008565f8d..863ac2b0fed 100644
--- a/config/src/test/java/com/yahoo/vespa/config/classes/testfoobar.12.def
+++ b/config/src/test/java/com/yahoo/vespa/config/classes/testfoobar.12.def
@@ -497,12 +497,6 @@ com.yahoo.prelude.searcher.BoldingSearcher.source string default=""
com.yahoo.prelude.searcher.JuniperSearcher.source string default=""
com.yahoo.prelude.searcher.JuniperSearcher.defaultdoctype string default=""
-## Query cache that can be placed anywhere in the search chain. Query/Result
-## pairs (ie. entries) bigger than maxentrysizebytes will not be cached.
-com.yahoo.prelude.searcher.CachingSearcher.cachesizemegabytes int default=100
-com.yahoo.prelude.searcher.CachingSearcher.timetoliveseconds int default=3600
-com.yahoo.prelude.searcher.CachingSearcher.maxentrysizebytes int default=10000
-
com.yahoo.prelude.searcher.XMLStringSearcher.source string default=""
## relevancy as measured from the backend will usually be