# Docs.deleted docs are missing after reindexing

**URL:** <https://discuss.elastic.co/t/docs-deleted-docs-are-missing-after-reindexing/263619>\
**Category:** Elasticsearch\
**Created:** [February 8, 2021, 3:21pm UTC](https://discuss.elastic.co/t/docs-deleted-docs-are-missing-after-reindexing/263619 "2021-02-08T15:21:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mouli\_v](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/mouli_v/32/43288_2.png) [@mouli\_v](https://discuss.elastic.co/u/mouli_v)\
**Post date:** [February 8, 2021, 3:21pm UTC](https://discuss.elastic.co/t/docs-deleted-docs-are-missing-after-reindexing/263619/1 "2021-02-08T15:21:09Z")

</div>

We are in the process of reindexing data from one cluster another cluster. We are observing `docs.deleted` is `0` which is different from the old cluster.

We tried `curl -X POST "localhost:9200/_refresh?pretty"` , but no use.

Questions:

1. Do we really need to care about `docs.deleted`?
2. How can we get the docs.deleted instead perform the reindexing again.

---

<div class="post-metadata">

**Author:** ![DavidTurner](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/davidturner/32/22453_2.png) [@DavidTurner](https://discuss.elastic.co/u/DavidTurner)\
**Post date:** [February 8, 2021, 3:44pm UTC](https://discuss.elastic.co/t/docs-deleted-docs-are-missing-after-reindexing/263619/2 "2021-02-08T15:44:40Z")

</div>

> [@mouli\_v](#):
>
> - Do we really need to care about `docs.deleted` ?

Probably not. If you deleted docs it seems strange that you now mind that they're no longer there 🙂

This is the behaviour I'd expect: reindexing will only reindex the docs that weren't deleted.

---

<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:** [March 8, 2021, 3:45pm UTC](https://discuss.elastic.co/t/docs-deleted-docs-are-missing-after-reindexing/263619/3 "2021-03-08T15:45:14Z")

</div>

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