# Storing percolator query under alias and adding new index

**URL:** <https://discuss.elastic.co/t/storing-percolator-query-under-alias-and-adding-new-index/21208>\
**Category:** Elasticsearch\
**Created:** [December 11, 2014, 8:44am UTC](https://discuss.elastic.co/t/storing-percolator-query-under-alias-and-adding-new-index/21208 "2014-12-11T08:44:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nikola\_Ivacic](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nikola_ivacic/32/75100_2.png) [@Nikola\_Ivacic](https://discuss.elastic.co/u/Nikola_Ivacic)\
**Post date:** [December 11, 2014, 8:44am UTC](https://discuss.elastic.co/t/storing-percolator-query-under-alias-and-adding-new-index/21208/1 "2014-12-11T08:44:27Z")

</div>

Hi,

I create document indices based on document creation date.  
Lets say we create every month a new index: "doc\_201412".

Each index is aliased with "docs" alias and we store percolated queries to  
an alias "docs".

My guess is that I have to copy percolated queries to newly created indices  
even though percolation query was initially stored under an alias.  
Is my assumption correct?

Regards,  
Nikola

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8687314d-c5d0-4684-af3c-339ce1d0ba3f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8687314d-c5d0-4684-af3c-339ce1d0ba3f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 12:44am UTC](https://discuss.elastic.co/t/storing-percolator-query-under-alias-and-adding-new-index/21208/2 "2017-07-06T00:44:13Z")

</div>


