diff options
author | Arne H Juul <arnej@yahooinc.com> | 2022-06-08 08:29:11 +0000 |
---|---|---|
committer | gjoranv <gv@verizonmedia.com> | 2022-06-08 12:33:16 +0200 |
commit | 2a3c89eab45ff41b4cf7737c7e9f6aa0048bb605 (patch) | |
tree | 9098a05464060965713487e6f3001325915a16b8 | |
parent | d5cc4e99ddf79123502f823a03aceca47175ad58 (diff) |
report unknown rank-profile as an issue
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/server/matchers.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/matchers.cpp b/searchcore/src/vespa/searchcore/proton/server/matchers.cpp index e87f9928ce4..809f2e0a744 100644 --- a/searchcore/src/vespa/searchcore/proton/server/matchers.cpp +++ b/searchcore/src/vespa/searchcore/proton/server/matchers.cpp @@ -59,8 +59,7 @@ Matchers::lookup(const vespalib::string &name) const Map::const_iterator found(_rpmap.find(name)); if (found == _rpmap.end()) { if (_default) { - // TODO Report as issue on Vespa 8 - // vespalib::Issue::report(fmt("Failed to find rank-profile '%s'. Falling back to 'default'", name.c_str())); + 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())); |