<CONTEXT>public GeoDistanceSortBuilder ignoreMalformed(boolean ignoreMalformed) {this.ignoreMalformed = ignoreMalformed;return this;}</BUG>@Override<extra_id_0>@Override<BUG>public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {builder.startObject("_geo_distance");if (geohashes.size() == 0 && points.size() == 0) {throw new ElasticsearchParseException("No points provided for _geo_distance sort.");}</BUG>builder.startArray(fieldName);</CONTEXT>
if (coerce == false) {}}public boolean ignoreMalformed() {return this.ignoreMalformed;}builder.startObject(NAME);