# Best Bets implementation in Elastic Search

**URL:** <https://discuss.elastic.co/t/best-bets-implementation-in-elastic-search/21917>\
**Category:** Elasticsearch\
**Created:** [January 30, 2015, 6:29am UTC](https://discuss.elastic.co/t/best-bets-implementation-in-elastic-search/21917 "2015-01-30T06:29:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nitesh\_Earkara](https://avatars.discourse-cdn.com/v4/letter/n/34f0e0/32.png) [@Nitesh\_Earkara](https://discuss.elastic.co/u/Nitesh_Earkara)\
**Post date:** [January 30, 2015, 6:29am UTC](https://discuss.elastic.co/t/best-bets-implementation-in-elastic-search/21917/1 "2015-01-30T06:29:25Z")

</div>

Hi All,

I need to implement best bets using elastic search. Where in few results  
will be ranked and displayed at top depending upon the keyword searched by  
user.

Please let me know if such implementation is possible using elasticsearch.  
If yes, any link/white paper/information on this would be helpful

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/eb4cbbeb-7be6-4523-b0cc-9577408d2cfc%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/eb4cbbeb-7be6-4523-b0cc-9577408d2cfc%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![christer.n](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christer.n/32/15539_2.png) [@christer.n](https://discuss.elastic.co/u/christer.n)\
**Post date:** [February 15, 2017, 1:25pm UTC](https://discuss.elastic.co/t/best-bets-implementation-in-elastic-search/21917/2 "2017-02-15T13:25:30Z")

</div>

Hi @Nitesh_Earkara, did you have any progress with this issue?

I am currently looking into this myself.

My initial idea on how to implement this, was to create a separate field for the "best bet" keyword, on the documents that had such a value, and basically boost it by a factor of 100+ (anything higher than normal boosting would work, i assume).

I believe this will work, if you dont care about the rankings when multiple "best bet" documents matches.

for instance, you add best bet for the search term "people", saying that documents "people magazine","peoples choice","peoples opinions" should score higher when this term is used, but what if you always want the document "people magazine" to show up as #1?

This is, i believe, where my solution would fail. But it might work for you.

If you found a different solution - please let me know if you can! 🙂

---

<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, 10:03pm UTC](https://discuss.elastic.co/t/best-bets-implementation-in-elastic-search/21917/3 "2017-07-05T22:03:13Z")

</div>


