# Getting modified documents using IndexReader

**URL:** <https://discuss.elastic.co/t/getting-modified-documents-using-indexreader/13391>\
**Category:** Elasticsearch\
**Created:** [August 29, 2013, 12:32pm UTC](https://discuss.elastic.co/t/getting-modified-documents-using-indexreader/13391 "2013-08-29T12:32:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chetana](https://avatars.discourse-cdn.com/v4/letter/c/dbc845/32.png) [@Chetana](https://discuss.elastic.co/u/Chetana)\
**Post date:** [August 29, 2013, 12:32pm UTC](https://discuss.elastic.co/t/getting-modified-documents-using-indexreader/13391/1 "2013-08-29T12:32:53Z")

</div>

I need to do some task on newly added and modified documents.  
I can reopen the indexreader, but is there a way to get only new additions  
and modified docs after the previous read

Thanks

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:19am UTC](https://discuss.elastic.co/t/getting-modified-documents-using-indexreader/13391/2 "2017-07-06T02:19:00Z")

</div>

Closed on July 6, 2017, 2:19am UTC


