fix #1048 remove geo property

This commit is contained in:
Shinsuke Sugaya 2017-05-03 15:56:12 +09:00
parent f1086b314e
commit 4f931a3745

View file

@ -146,7 +146,6 @@ public class JsonApiManager extends BaseJsonApiManager {
final String allPageCount = Integer.toString(data.getAllPageCount());
final List<Map<String, Object>> documentItems = data.getDocumentItems();
final FacetResponse facetResponse = data.getFacetResponse();
final GeoInfo geoInfo = params.getGeoInfo();
final String queryId = data.getQueryId();
buf.append("\"q\":");
@ -251,11 +250,6 @@ public class JsonApiManager extends BaseJsonApiManager {
}
buf.append(']');
}
if (geoInfo != null && geoInfo.toQueryBuilder() != null) {
buf.append(',');
buf.append("\"geo\":");
buf.append(toGeoRequestString(geoInfo));
}
}
} catch (final Exception e) {
status = 1;