From 235c044e4c89672db20507a9b06b44fd331bb47e Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Tue, 19 May 2020 21:41:28 +0000 Subject: Set top-k-probability to 0.9999 --- configdefinitions/src/vespa/dispatch.def | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'configdefinitions') diff --git a/configdefinitions/src/vespa/dispatch.def b/configdefinitions/src/vespa/dispatch.def index 0776e648ad7..a73032583a5 100644 --- a/configdefinitions/src/vespa/dispatch.def +++ b/configdefinitions/src/vespa/dispatch.def @@ -29,8 +29,8 @@ maxHitsPerNode int default=2147483647 ## will give you the globally K best hits according to this formula with the desired probability. ## q = k/n + qT (p',30) x √(k × (1/n) × (1 − 1/n)) ## With a probability of 0.999 and K=200 and N=10 will give a Q of 38, meaning that you only need to fetch 19% compared to -## default setting of 1.0. This is a significant optimisation with with very little loss in presicion. -topKProbability double default=1.0 +## a setting of 1.0. This is a significant optimisation with with very little loss in presicion. +topKProbability double default=0.9999 # Is multi-level dispatch configured for this cluster # Deprecated, will go away soon, NOOP -- cgit v1.2.3