# Using PIT for searching but update a doc an be able to see it change

**URL:** <https://discuss.elastic.co/t/using-pit-for-searching-but-update-a-doc-an-be-able-to-see-it-change/272263>\
**Category:** Elasticsearch\
**Created:** [May 6, 2021, 9:09am UTC](https://discuss.elastic.co/t/using-pit-for-searching-but-update-a-doc-an-be-able-to-see-it-change/272263 "2021-05-06T09:09:26Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Eyal\_Borovsky](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_borovsky/32/88304_2.png) [@Eyal\_Borovsky](https://discuss.elastic.co/u/Eyal_Borovsky)\
**Post date:** [May 6, 2021, 9:09am UTC](https://discuss.elastic.co/t/using-pit-for-searching-but-update-a-doc-an-be-able-to-see-it-change/272263/1 "2021-05-06T09:09:26Z")

</div>

I am using a search query and I save a snapshot of the results using PIT(point in time). My problem is that I updated one of the document that is in the result. when I paginate between the pages I still get the old status of this document.  
How can I solve this problem?

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 6, 2021, 10:01am UTC](https://discuss.elastic.co/t/using-pit-for-searching-but-update-a-doc-an-be-able-to-see-it-change/272263/2 "2021-05-06T10:01:02Z")

</div>

Welcome!

But PIT is meant exactly to keep consistent results. It's a Point In Time. So whatever happens after, it won't appear in your results.

Question is: why are you using PIT then?

---

<div class="post-metadata">

**Author:** ![Eyal\_Borovsky](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/eyal_borovsky/32/88304_2.png) [@Eyal\_Borovsky](https://discuss.elastic.co/u/Eyal_Borovsky)\
**Post date:** [May 12, 2021, 9:09am UTC](https://discuss.elastic.co/t/using-pit-for-searching-but-update-a-doc-an-be-able-to-see-it-change/272263/3 "2021-05-12T09:09:50Z")

</div>

I am paginate between multi pages. when I do this action I need to save the docs that I started to see and not getting new docs that enter the DB when I change between pages. but I still want to see update that occur in the snapshot docs that was created.  
Maybe there is other way to get snapshot and still see update? As I see, this is not possible with PIT.

---

<div class="post-metadata">

**Author:** ![dadoonet](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dadoonet/32/137187_2.png) [@dadoonet](https://discuss.elastic.co/u/dadoonet)\
**Post date:** [May 12, 2021, 9:20am UTC](https://discuss.elastic.co/t/using-pit-for-searching-but-update-a-doc-an-be-able-to-see-it-change/272263/4 "2021-05-12T09:20:51Z")

</div>

You can't do both. You need to be either consistent or not.

---

<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:** [June 9, 2021, 9:21am UTC](https://discuss.elastic.co/t/using-pit-for-searching-but-update-a-doc-an-be-able-to-see-it-change/272263/5 "2021-06-09T09:21:30Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
