Help on some query conversion from solar to elastic

I want help on below solr function how to handle in elastic elastic.

1)group.field
2)group.sort=geodist()

example:
group.format=simple&sort=duration+asc&indent=on&group.limit=1&wt=json&rows=365&fl=airportname,id,Date,price,AirportCityName&q=ID:125group.field=depDate
&group=true&group.sort=geodist()+asc,pricePP+asc