# Make sort faster

**URL:** <https://discuss.elastic.co/t/make-sort-faster/49478>\
**Category:** Elasticsearch\
**Created:** [May 8, 2016, 7:51am UTC](https://discuss.elastic.co/t/make-sort-faster/49478 "2016-05-08T07:51:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![LiorY89](https://avatars.discourse-cdn.com/v4/letter/l/5f9b8f/32.png) [@LiorY89](https://discuss.elastic.co/u/LiorY89)\
**Post date:** [May 8, 2016, 7:51am UTC](https://discuss.elastic.co/t/make-sort-faster/49478/1 "2016-05-08T07:51:34Z")

</div>

Hey,  
so i have a 4-nodes cluster, with 20 shards  
I indexed 1,000,000,000 records.  
each record represent a person and contains: Name, Address, Phone, Age etc.

Now i want to query on the whole data and retrieve 1000 persons sort by age  
I'm getting the results back after 2000 ms - is there a way to make the sort faster?

---

<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:53pm UTC](https://discuss.elastic.co/t/make-sort-faster/49478/2 "2017-07-05T22:53:09Z")

</div>

Closed on July 5, 2017, 10:53pm UTC


