From ea059c22f63857a695e5e3cb99534abaebf3435d Mon Sep 17 00:00:00 2001 From: Arne Juul Date: Wed, 15 Jul 2020 13:04:49 +0000 Subject: remove WIP not ready for prime time --- searchlib/src/vespa/searchlib/query/tree/location.cpp | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'searchlib') 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(); } -- cgit v1.2.3