diff options
author | Arne Juul <arnej@verizonmedia.com> | 2020-07-15 13:04:49 +0000 |
---|---|---|
committer | Arne Juul <arnej@verizonmedia.com> | 2020-07-15 15:39:25 +0000 |
commit | ea059c22f63857a695e5e3cb99534abaebf3435d (patch) | |
tree | a470cf2564f39d7b5de75cdc142a85f65b9c729f /searchlib | |
parent | 45597f5ab6a6fac90804a8543001ecfdb92dc9a8 (diff) |
remove WIP not ready for prime time
Diffstat (limited to 'searchlib')
-rw-r--r-- | searchlib/src/vespa/searchlib/query/tree/location.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/searchlib/src/vespa/searchlib/query/tree/location.cpp b/searchlib/src/vespa/searchlib/query/tree/location.cpp index 47ba6171d7e..48f45c4ceca 100644 --- a/searchlib/src/vespa/searchlib/query/tree/location.cpp +++ b/searchlib/src/vespa/searchlib/query/tree/location.cpp @@ -48,7 +48,6 @@ Location::getOldFormatString() const { // we need to product what search::common::GeoLocationParser can parse vespalib::asciistream buf; -#if 1 if (has_point) { buf << "(2" // dimensionality << "," << point.x @@ -67,24 +66,6 @@ Location::getOldFormatString() const << "," << bounding_box.y.hi << "]" ; } -#else - buf << "query::Location{"; - if (has_point) { - buf << "point=[" << point.x << "," << point.y << "]"; - if (has_radius()) { - buf << ",radius=" << radius; - } - if (x_aspect.active()) { - buf << ",x_aspect=" << x_aspect.multiplier; - } - } - if (bounding_box.active()) { - if (has_point) buf << ","; - buf << "bb.x=[" << bounding_box.x.lo << "," << bounding_box.x.hi << "],"; - buf << "bb.y=[" << bounding_box.y.lo << "," << bounding_box.y.hi << "]"; - } - buf << "}"; -#endif return buf.str(); } |