# External Http request to get ranking data for docs

**URL:** <https://discuss.elastic.co/t/external-http-request-to-get-ranking-data-for-docs/39591>\
**Category:** Elasticsearch\
**Created:** [January 19, 2016, 7:24pm UTC](https://discuss.elastic.co/t/external-http-request-to-get-ranking-data-for-docs/39591 "2016-01-19T19:24:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![rahulcse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahulcse/32/12158_2.png) [@rahulcse](https://discuss.elastic.co/u/rahulcse)\
**Post date:** [January 19, 2016, 7:24pm UTC](https://discuss.elastic.co/t/external-http-request-to-get-ranking-data-for-docs/39591/1 "2016-01-19T19:24:40Z")

</div>

Hi Folks,

I need to make an external web request to get some signals for documents and then merge the signals to boost ranking and then return results to the client.  
How can we achieve this on elastic cluster, i.e. making an external web request and then boosting original results from elastic nodes?

Thank you in advance.

-Rahul

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [January 20, 2016, 8:01am UTC](https://discuss.elastic.co/t/external-http-request-to-get-ranking-data-for-docs/39591/2 "2016-01-20T08:01:43Z")

</div>

I think it'd be best to do the call external to ES, get the data you need, then build the query dynamically.

---

<div class="post-metadata">

**Author:** ![rahulcse](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rahulcse/32/12158_2.png) [@rahulcse](https://discuss.elastic.co/u/rahulcse)\
**Post date:** [January 21, 2016, 1:27am UTC](https://discuss.elastic.co/t/external-http-request-to-get-ranking-data-for-docs/39591/3 "2016-01-21T01:27:44Z")

</div>

I am trying to get a plugin for this. Lets see how it goes, will update my experience.

---

<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:** [July 5, 2017, 11:22pm UTC](https://discuss.elastic.co/t/external-http-request-to-get-ranking-data-for-docs/39591/4 "2017-07-05T23:22:48Z")

</div>

Closed on July 5, 2017, 11:22pm UTC


