# Behaviour of searchable snapshot

**URL:** <https://discuss.elastic.co/t/behaviour-of-searchable-snapshot/275364>\
**Category:** Elasticsearch\
**Tags:** elastic-stack-searchable-snapshots\
**Created:** [June 9, 2021, 3:25am UTC](https://discuss.elastic.co/t/behaviour-of-searchable-snapshot/275364 "2021-06-09T03:25:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![pk.241011](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pk.241011/32/86285_2.png) [@pk.241011](https://discuss.elastic.co/u/pk.241011)\
**Post date:** [June 9, 2021, 3:25am UTC](https://discuss.elastic.co/t/behaviour-of-searchable-snapshot/275364/1 "2021-06-09T03:25:21Z")

</div>

Hi,

I configured a index lifecycle policy. And at the end of the hot phase I configured a Searchable snapshot backed on a repository hosted on our S3 bucket. I have chosen the convert to fully mounted index option.

![Test](https://us1.discourse-cdn.com/elastic/original/3X/e/9/e9aa77e61dfe139bda23d04f8de5f50aaebcede0.jpeg)

There is no delete phase defined in index lifecycle. I saw the index rollover happening today and a new index getting created. For a brief time the older index showed twice the size on monitoring page. Then snapshot started and completed.

What was surprising is that older index got deleted from the cluster. I was not expecting that.

**More info:** The index lifecycle policy earlier had a delete section when the index was intially created. Then later on I modified and removed the delete section. If the older version of policy with delete section is what was baked into the initial index created then I kind of understand the behaviour.

**EDIT:**  
Now I see the deleted index back with a prefix **restored-**  
I did search for the older data to be sure that the S3 based index was searchable. 😐

---

<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:** [July 7, 2021, 3:25am UTC](https://discuss.elastic.co/t/behaviour-of-searchable-snapshot/275364/2 "2021-07-07T03:25:28Z")

</div>

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