aboutsummaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2020-07-10 09:34:51 +0000
committerArne Juul <arnej@verizonmedia.com>2020-07-15 15:39:21 +0000
commit8b2950f299c94c2a3782a061a985ec307792641d (patch)
tree1d319158388a243adda01088a83d5e0e799f2be8 /searchcore
parentb5462ce35a40b74a7492b62158d0e133e6d9222a (diff)
remove some spammy logging
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/matching/query.cpp3
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());