# Combine rank with different buckets

**URL:** <https://discuss.elastic.co/t/combine-rank-with-different-buckets/238886>\
**Category:** Elasticsearch\
**Created:** [June 26, 2020, 4:55pm UTC](https://discuss.elastic.co/t/combine-rank-with-different-buckets/238886 "2020-06-26T16:55:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![remeo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/remeo/32/71198_2.png) [@remeo](https://discuss.elastic.co/u/remeo)\
**Post date:** [June 26, 2020, 4:55pm UTC](https://discuss.elastic.co/t/combine-rank-with-different-buckets/238886/1 "2020-06-26T16:55:24Z")

</div>

We are running a marketplace _(with auctions and fixed price items)_.  
Since you have different type of search users and use cases _(some search for **precise** items, others want some **inspiration** )_, we are thinking about this approach:

First step: give **rank to items** based on different criteria  
_(ie. how often is the item put in wish list, has the seller a good reputation...)_

Second step: split items into four buckets _(new, used, bids, wish list)_.

Third step: show in search result 10 results out of each bucket, combined with the rank of the items,  
so that we have the highest quality items **and** variety.

Any idea how to solve this, while maintaining the the speed of Elastic Search?

 ![Screenshot 2020-06-26 at 18.53.11](https://us1.discourse-cdn.com/elastic/original/3X/d/d/dd6a8b4e00e7e843decaf95ae6ac4be68add50ae.jpeg)

---

<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 24, 2020, 5:03pm UTC](https://discuss.elastic.co/t/combine-rank-with-different-buckets/238886/2 "2020-07-24T17:03:22Z")

</div>

Closed on July 24, 2020, 5:03pm UTC

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