# Need help on solr to elastic converstion

**URL:** <https://discuss.elastic.co/t/need-help-on-solr-to-elastic-converstion/213322>\
**Category:** Elasticsearch\
**Created:** [December 30, 2019, 9:21am UTC](https://discuss.elastic.co/t/need-help-on-solr-to-elastic-converstion/213322 "2019-12-30T09:21:29Z")\
**Posts on this page:** 4\
**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:** [December 30, 2019, 9:21am UTC](https://discuss.elastic.co/t/need-help-on-solr-to-elastic-converstion/213322/1 "2019-12-30T09:21:29Z")

</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:** ![Mikhail\_Khludnev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mikhail_khludnev/32/59591_2.png) [@Mikhail\_Khludnev](https://discuss.elastic.co/u/Mikhail_Khludnev)\
**Post date:** [December 30, 2019, 10:01am UTC](https://discuss.elastic.co/t/need-help-on-solr-to-elastic-converstion/213322/2 "2019-12-30T10:01:41Z")

</div>

[https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-collapse](https://www.elastic.co/guide/en/elasticsearch/reference/current/search-request-body.html#request-body-search-collapse) ?

---

<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:** [January 6, 2020, 5:52am UTC](https://discuss.elastic.co/t/need-help-on-solr-to-elastic-converstion/213322/3 "2020-01-06T05:52:05Z")

</div>

@Mikhail_Khludnev Can you give example for this ..

---

<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:** [February 3, 2020, 5:52am UTC](https://discuss.elastic.co/t/need-help-on-solr-to-elastic-converstion/213322/4 "2020-02-03T05:52:18Z")

</div>

Closed on February 3, 2020, 5:52am UTC

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