if (temp == MultiValueMode.SUM) {
throw new IllegalArgumentException("sort_mode [sum] isn't supported for sorting by geo distance");
}</BUG>
this.sortMode = sortMode;
return this;
<BUG>}
public String sortMode() {
return this.sortMode;</BUG>
}
public GeoDistanceSortBuilder setNestedFilter(QueryBuilder nestedFilter) {

@Override
public GeoDistanceSortBuilder order(SortOrder order) {
this.order = order;
return this;
}
@Override
public SortBuilder missing(Object missing) {
return this;
}
public GeoDistanceSortBuilder sortMode(String sortMode) {
this.sortMode = sortMode;
return this;
}
public GeoDistanceSortBuilder setNestedFilter(QueryBuilder nestedFilter) {
