diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-07-10 09:34:51 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-07-15 15:39:21 +0000 |
commit | 8b2950f299c94c2a3782a061a985ec307792641d (patch) | |
tree | 1d319158388a243adda01088a83d5e0e799f2be8 /searchcore | |
parent | b5462ce35a40b74a7492b62158d0e133e6d9222a (diff) |
remove some spammy logging
Diffstat (limited to 'searchcore')
-rw-r--r-- | searchcore/src/vespa/searchcore/proton/matching/query.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/matching/query.cpp b/searchcore/src/vespa/searchcore/proton/matching/query.cpp index 3e82d5f9f45..bebf6f03eb8 100644 --- a/searchcore/src/vespa/searchcore/proton/matching/query.cpp +++ b/searchcore/src/vespa/searchcore/proton/matching/query.cpp @@ -89,6 +89,9 @@ struct ParsedLocationString { ParsedLocationString parseQueryLocationString(string str) { ParsedLocationString retval; + if (str.empty()) { + return retval; + } string::size_type sep = str.find(':'); if (sep == string::npos) { LOG(warning, "Location string '%s' lacks attribute vector specification.", str.c_str()); |