Geo distance sort point value

Hi,
Why we need the point value, in the sort request?
GET /_search
{
"sort" : [
{
"_geo_distance" : {
"pin.location" : [-70, 40],
"order" : "asc",
"unit" : "km"
}
}
],
"query" : {
"term" : { "user" : "kimchy" }
}
}

How would you sort by distance to a given point if you don't set this point?

I got it.
Thanks

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.