# Fetch 1 million records

**URL:** <https://discuss.elastic.co/t/fetch-1-million-records/220636>\
**Category:** Elasticsearch\
**Created:** [February 24, 2020, 11:23am UTC](https://discuss.elastic.co/t/fetch-1-million-records/220636 "2020-02-24T11:23:17Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [February 25, 2020, 4:15am UTC](https://discuss.elastic.co/t/fetch-1-million-records/220636/2 "2020-02-25T04:15:02Z")

</div>

I think [this](https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-scripting-fields.html#modules-scripting-doc-vals) describes what you can try, but read the warnings about text fields.

[This looks like a similar question](https://discuss.elastic.co/t/do-doc-values-allow-for-sorted-scrolling-over-a-billion-of-documents/2596)

Let us know how it works out 🙂

---

_[View the full topic](https://discuss.elastic.co/t/fetch-1-million-records/220636)._
