# Automatic fetch of documents to index

**URL:** <https://discuss.elastic.co/t/automatic-fetch-of-documents-to-index/5271>\
**Category:** Elasticsearch\
**Created:** [August 29, 2011, 8:27am UTC](https://discuss.elastic.co/t/automatic-fetch-of-documents-to-index/5271 "2011-08-29T08:27:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![makmak](https://avatars.discourse-cdn.com/v4/letter/m/53a042/32.png) [@makmak](https://discuss.elastic.co/u/makmak)\
**Post date:** [August 29, 2011, 8:27am UTC](https://discuss.elastic.co/t/automatic-fetch-of-documents-to-index/5271/1 "2011-08-29T08:27:02Z")

</div>

Is there a provision by which I can point Elasticsearch at a list service say -  
/person/list  
which produces a list of persons. And then Elasticsearch automatically indexes them?

Also, Elastic search must honor the cache-headers returned from /person/list. So, if the expires is set at 1 hour, a call should be automatically made after an hour to populate the index.

---

<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 6, 2017, 3:55am UTC](https://discuss.elastic.co/t/automatic-fetch-of-documents-to-index/5271/2 "2017-07-06T03:55:46Z")

</div>

Closed on July 6, 2017, 3:55am UTC


