# Help on some query conversion from solar to elastic

**URL:** <https://discuss.elastic.co/t/help-on-some-query-conversion-from-solar-to-elastic/208858>\
**Category:** Elasticsearch\
**Created:** [November 21, 2019, 10:39am UTC](https://discuss.elastic.co/t/help-on-some-query-conversion-from-solar-to-elastic/208858 "2019-11-21T10:39:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![santhosh\_kumar2](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/santhosh_kumar2/32/58086_2.png) [@santhosh\_kumar2](https://discuss.elastic.co/u/santhosh_kumar2)\
**Post date:** [November 21, 2019, 10:39am UTC](https://discuss.elastic.co/t/help-on-some-query-conversion-from-solar-to-elastic/208858/1 "2019-11-21T10:39:17Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [December 19, 2019, 10:39am UTC](https://discuss.elastic.co/t/help-on-some-query-conversion-from-solar-to-elastic/208858/2 "2019-12-19T10:39:18Z")

</div>

Closed on December 19, 2019, 10:39am UTC

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