diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-07-14 07:36:16 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-07-15 15:39:23 +0000 |
commit | 2de929825f7c0f5e181ef226c2c9d63b127a403f (patch) | |
tree | f8b650cde8ee73a98fb13ebbcd1f5053f65f8f0b /searchlib | |
parent | f941239c2d02fc07acc8f12ae8561c66c8de0c07 (diff) |
remove debug printing
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/query/tree/location.cpp | 2 | ||||
-rw-r--r-- | searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h | 4 |
2 files changed, 0 insertions, 6 deletions
diff --git a/searchlib/src/vespa/searchlib/query/tree/location.cpp b/searchlib/src/vespa/searchlib/query/tree/location.cpp index eb8685f2dc8..47ba6171d7e 100644 --- a/searchlib/src/vespa/searchlib/query/tree/location.cpp +++ b/searchlib/src/vespa/searchlib/query/tree/location.cpp @@ -39,8 +39,6 @@ Location::operator==(const Location &other) const return true; } else { // dump 'me' and 'it' here if unit tests fail - fprintf(stderr, "not equal: this('%s') and other('%s')\n", - me.c_str(), it.c_str()); return false; } } diff --git a/searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h b/searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h index b4d04b3a104..a7e00d41555 100644 --- a/searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h +++ b/searchlib/src/vespa/searchlib/query/tree/stackdumpquerycreator.h @@ -146,10 +146,6 @@ private: search::common::GeoLocationParser parser; parser.parseOldFormat(term); Location loc(parser.getGeoLocation()); - if (! loc.valid()) { - vespalib::string tmp(term); - fprintf(stderr, "not valid location term: '%s'\n", tmp.c_str()); - } t = &builder.addLocationTerm(loc, view, id, weight); } else if (type == ParseItem::ITEM_NUMTERM) { if (term[0] == '[' || term[0] == '<' || term[0] == '>') { |