aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-04-21 06:16:51 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-04-21 06:16:51 +0000
commit0323b3272cef094df4a4cd1797b815feecaff6df (patch)
treeedd9bc6206d5904c13ba99ed495edec1c6d83de5 /searchcore
parenta034956b4a9fedf384a60c1703729e338b9c2f8f (diff)
Only report issue when it would earlier give a coredump.
Must wait for vespa 8 to report unknown rank-profile as an error.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/matchers.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/matchers.cpp b/searchcore/src/vespa/searchcore/proton/server/matchers.cpp
index 809f2e0a744..e87f9928ce4 100644
--- a/searchcore/src/vespa/searchcore/proton/server/matchers.cpp
+++ b/searchcore/src/vespa/searchcore/proton/server/matchers.cpp
@@ -59,7 +59,8 @@ Matchers::lookup(const vespalib::string &name) const
Map::const_iterator found(_rpmap.find(name));
if (found == _rpmap.end()) {
if (_default) {
- vespalib::Issue::report(fmt("Failed to find rank-profile '%s'. Falling back to 'default'", name.c_str()));
+ // TODO Report as issue on Vespa 8
+ // vespalib::Issue::report(fmt("Failed to find rank-profile '%s'. Falling back to 'default'", name.c_str()));
return _default;
} else {
vespalib::Issue::report(fmt("Failed to find rank-profile '%s'. Most likely a configuration issue.", name.c_str()));