GeoPoint Script Processing

Ok thanks! I did not realize this is a limitation on elastic search part. Is there a work around aside from implementing custom location distance function?