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

@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;
