# Delete is real-time or not?

**URL:** <https://discuss.elastic.co/t/delete-is-real-time-or-not/182290>\
**Category:** Elasticsearch\
**Created:** [May 22, 2019, 5:09pm UTC](https://discuss.elastic.co/t/delete-is-real-time-or-not/182290 "2019-05-22T17:09:07Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![artelk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/artelk/32/45644_2.png) [@artelk](https://discuss.elastic.co/u/artelk)\
**Post date:** [May 22, 2019, 6:00pm UTC](https://discuss.elastic.co/t/delete-is-real-time-or-not/182290/6 "2019-05-22T18:00:44Z")

</div>

Old discussion:

> [@Are objects searchable after updates?](https://discuss.elastic.co/t/are-objects-searchable-after-updates/98562):
>
> Imagine you have an object with a property X. The initial value of the property is 13. The object is searchable by a predicate "X \> 10". Someone modifies the property value to 42. Do we have guarantees that the object will be searchable by the same predicate after the update is sent to Elasticsearch? The used predicate matches both property values. As far as I know internally the updates are transformed to delete/insert pairs. Can it be possible that the query with the predicate "X \> 10" w…

So after the document is updated it disappeared from searches until the update is indexed.

As far as I understand the explanation is here:

> **[Get API | Elasticsearch Guide \[8.11\] | Elastic](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-get.html)**

From the "Versioning support":  
Internally, Elasticsearch has marked the old document as deleted and added an entirely new document. The old version of the document doesn’t disappear immediately, although you won’t be able to access it. Elasticsearch cleans up deleted documents in the background as you continue to index more data.

I hoped after you deleted the document it is also "marked as old" and immediately disappeared from searches.

Could you please double check if delete really requires extra refresh to affect searches.

---

_[View the full topic](https://discuss.elastic.co/t/delete-is-real-time-or-not/182290)._
