Authored by wangnan

地理位置经纬度换成平面模式

... ... @@ -36,7 +36,7 @@ public class SearchServiceHelper {
.includeLower(true)
.includeUpper(false)
.optimizeBbox("memory")
.geoDistance(GeoDistance.ARC);
.geoDistance(GeoDistance.PLANE);
return builder;
} else {
QueryBuilder builder = new GeoDistanceRangeQueryBuilder("pin.location")
... ... @@ -44,7 +44,7 @@ public class SearchServiceHelper {
.includeLower(true)
.includeUpper(false)
.optimizeBbox("memory")
.geoDistance(GeoDistance.ARC);
.geoDistance(GeoDistance.PLANE);
return builder;
}
}
... ...