# Does deleting and creating indexes over time kill index performance?

**URL:** <https://discuss.elastic.co/t/does-deleting-and-creating-indexes-over-time-kill-index-performance/217041>\
**Category:** Elasticsearch\
**Created:** [January 29, 2020, 4:25pm UTC](https://discuss.elastic.co/t/does-deleting-and-creating-indexes-over-time-kill-index-performance/217041 "2020-01-29T16:25:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wa\_ed\_AL-Sawarieh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wa_ed_al-sawarieh/32/60906_2.png) [@Wa\_ed\_AL-Sawarieh](https://discuss.elastic.co/u/Wa_ed_AL-Sawarieh)\
**Post date:** [January 29, 2020, 4:25pm UTC](https://discuss.elastic.co/t/does-deleting-and-creating-indexes-over-time-kill-index-performance/217041/1 "2020-01-29T16:25:33Z")

</div>

Hello,

I have question about elastic search index, Does delete and creating indexes over time kill index performance?

Thanks

---

<div class="post-metadata">

**Author:** ![spinscale](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spinscale/32/25011_2.png) [@spinscale](https://discuss.elastic.co/u/spinscale)\
**Post date:** [January 30, 2020, 2:44pm UTC](https://discuss.elastic.co/t/does-deleting-and-creating-indexes-over-time-kill-index-performance/217041/2 "2020-01-30T14:44:09Z")

</div>

Hey,

can you add more context to this question. What do you mean exactly? What is your assumption, **why** would expect this? And what does performance mean in this content?

Thx!

---

<div class="post-metadata">

**Author:** ![Wa\_ed\_AL-Sawarieh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wa_ed_al-sawarieh/32/60906_2.png) [@Wa\_ed\_AL-Sawarieh](https://discuss.elastic.co/u/Wa_ed_AL-Sawarieh)\
**Post date:** [January 30, 2020, 3:20pm UTC](https://discuss.elastic.co/t/does-deleting-and-creating-indexes-over-time-kill-index-performance/217041/3 "2020-01-30T15:20:55Z")

</div>

Hello,  
I am using search feature-Geo distance sort in Elasticsearch, in my case, I want to return the nearest driver to a specific car I want every time I do search query I will delete the current index and re-create it to make synchronization between MySQL DB and the index.  
My question is:- what is the best behavior delete-recreate the index or add/remove documents in the index in case I create an index in a server and the APIs actions that will affect the index in another server if I take the first scenario it will affect the performance of creating the index?

Thanks

---

<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:** [February 27, 2020, 3:20pm UTC](https://discuss.elastic.co/t/does-deleting-and-creating-indexes-over-time-kill-index-performance/217041/4 "2020-02-27T15:20:58Z")

</div>

Closed on February 27, 2020, 3:20pm UTC

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