summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorGeir Storli <geirst@yahooinc.com>2022-11-04 10:25:05 +0000
committerGeir Storli <geirst@yahooinc.com>2022-11-04 10:25:05 +0000
commitff222b369db7742f9fbdfba303639f9e83db927f (patch)
treef26080e2b097ea3e10752e1323982eb230a7939d /searchlib
parent6e4f35a57868275f15df5136eebcae20d231b280 (diff)
The range of the global filter upper limit is [0.0, 1.0].
Adjust the default value to reflect this.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/fef/indexproperties.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/vespa/searchlib/fef/indexproperties.cpp b/searchlib/src/vespa/searchlib/fef/indexproperties.cpp
index c93ebdb241c..70433800469 100644
--- a/searchlib/src/vespa/searchlib/fef/indexproperties.cpp
+++ b/searchlib/src/vespa/searchlib/fef/indexproperties.cpp
@@ -399,7 +399,7 @@ GlobalFilterLowerLimit::lookup(const Properties &props, double defaultValue)
const vespalib::string GlobalFilterUpperLimit::NAME("vespa.matching.global_filter.upper_limit");
-const double GlobalFilterUpperLimit::DEFAULT_VALUE(2.0);
+const double GlobalFilterUpperLimit::DEFAULT_VALUE(1.0);
double
GlobalFilterUpperLimit::lookup(const Properties &props)