summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorArne H Juul <arnej@yahooinc.com>2021-10-11 20:31:50 +0000
committerArne H Juul <arnej@yahooinc.com>2021-10-11 20:31:50 +0000
commitd144c7ef4fdc70d299802385a8f3b5f599e7c250 (patch)
tree87ed26474a2df768eb3c1370828132cdfcc3b05c /searchlib
parent5d90be219a53ceadef7a41c0f172475994b34f0f (diff)
revert to logging for issue detected during setup
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/features/bm25_feature.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/searchlib/src/vespa/searchlib/features/bm25_feature.cpp b/searchlib/src/vespa/searchlib/features/bm25_feature.cpp
index cd872edc57e..64e365b25ac 100644
--- a/searchlib/src/vespa/searchlib/features/bm25_feature.cpp
+++ b/searchlib/src/vespa/searchlib/features/bm25_feature.cpp
@@ -6,7 +6,6 @@
#include <vespa/searchlib/fef/itermfielddata.h>
#include <vespa/searchlib/fef/objectstore.h>
#include <vespa/searchlib/fef/properties.h>
-#include <vespa/vespalib/util/issue.h>
#include <vespa/vespalib/util/stash.h>
#include <cmath>
#include <stdexcept>
@@ -24,7 +23,6 @@ using fef::ITermData;
using fef::ITermFieldData;
using fef::MatchDataDetails;
using fef::objectstore::as_value;
-using vespalib::Issue;
namespace {
@@ -107,8 +105,8 @@ Bm25Blueprint::lookup_param(const fef::Properties& props, const vespalib::string
try {
result = std::stod(value.get());
} catch (const std::invalid_argument& ex) {
- Issue::report("Not able to convert rank property '%s': '%s' to a double value",
- key.c_str(), value.get().c_str());
+ LOG(warning, "Not able to convert rank property '%s': '%s' to a double value",
+ key.c_str(), value.get().c_str());
return false;
}
}