# How to import 10 millions of documents (about 5G) into app search?

**URL:** <https://discuss.elastic.co/t/how-to-import-10-millions-of-documents-about-5g-into-app-search/211716>\
**Category:** Elastic Search\
**Tags:** elastic-app-search\
**Created:** [December 12, 2019, 7:58pm UTC](https://discuss.elastic.co/t/how-to-import-10-millions-of-documents-about-5g-into-app-search/211716 "2019-12-12T19:58:02Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![JasonStoltz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasonstoltz/32/49893_2.png) [@JasonStoltz](https://discuss.elastic.co/u/JasonStoltz)\
**Post date:** [January 3, 2020, 5:58pm UTC](https://discuss.elastic.co/t/how-to-import-10-millions-of-documents-about-5g-into-app-search/211716/11 "2020-01-03T17:58:52Z")

</div>

@werewolf_ninja FWIW, you should be getting much better throughput than 5000 documents every 30 minutes. From what I can see, we should be allowing up to 3000 documents per minute, assuming you are using a paid App Search account.

You can use the following headers in the response for reference:

```auto
X-RateLimit-Limit → <number of documents allowed in 1 minute>
X-RateLimit-Remaining → <number of documents remaining this minute>

```

If you are rate limited and receive a 429 response, you can check the `Retry-After` header which will tell you how long to wait before performing a new request.

---

_[View the full topic](https://discuss.elastic.co/t/how-to-import-10-millions-of-documents-about-5g-into-app-search/211716)._
