# Reindex specific documents

**URL:** <https://discuss.elastic.co/t/reindex-specific-documents/316333>\
**Category:** Elasticsearch\
**Tags:** reindex\
**Created:** [October 11, 2022, 1:33pm UTC](https://discuss.elastic.co/t/reindex-specific-documents/316333 "2022-10-11T13:33:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spike83](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spike83/32/47036_2.png) [@spike83](https://discuss.elastic.co/u/spike83)\
**Post date:** [October 11, 2022, 1:33pm UTC](https://discuss.elastic.co/t/reindex-specific-documents/316333/1 "2022-10-11T13:33:43Z")

</div>

Hi,

I have accidentally mixed docs into an index (not going to go into how lets just call it a silly config mistake)

I have luckily tagged the docs and would like to reindex all docs that meet a specific tag.

Could anyone point me in the right direction on how to reindex just the docs that meet the specific tag?

Thanks

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [October 11, 2022, 2:28pm UTC](https://discuss.elastic.co/t/reindex-specific-documents/316333/2 "2022-10-11T14:28:41Z")

</div>

You could use a reindex with a query.

See this [example](https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-reindex.html#docs-reindex-select-query) in the documentation.

---

<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:** [November 8, 2022, 2:29pm UTC](https://discuss.elastic.co/t/reindex-specific-documents/316333/3 "2022-11-08T14:29:01Z")

</div>

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