# Can I reindex using a search template?

**URL:** <https://discuss.elastic.co/t/can-i-reindex-using-a-search-template/339556>\
**Category:** Elasticsearch\
**Tags:** reindex\
**Created:** [July 28, 2023, 1:46pm UTC](https://discuss.elastic.co/t/can-i-reindex-using-a-search-template/339556 "2023-07-28T13:46:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![A\_Mightiev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/a_mightiev/32/62186_2.png) [@A\_Mightiev](https://discuss.elastic.co/u/A_Mightiev)\
**Post date:** [July 28, 2023, 1:46pm UTC](https://discuss.elastic.co/t/can-i-reindex-using-a-search-template/339556/1 "2023-07-28T13:46:12Z")

</div>

Would it be possible to use the \_reindex but instead of specifying the query, call a search template stored?

---

<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:** [July 28, 2023, 2:03pm UTC](https://discuss.elastic.co/t/can-i-reindex-using-a-search-template/339556/2 "2023-07-28T14:03:14Z")

</div>

I don't think you can.

---

<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:** [August 25, 2023, 2:04pm UTC](https://discuss.elastic.co/t/can-i-reindex-using-a-search-template/339556/3 "2023-08-25T14:04:14Z")

</div>

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