# What's the warmer do?

**URL:** <https://discuss.elastic.co/t/whats-the-warmer-do/15396>\
**Category:** Elasticsearch\
**Created:** [January 24, 2014, 10:06am UTC](https://discuss.elastic.co/t/whats-the-warmer-do/15396 "2014-01-24T10:06:48Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ivan\_Ji](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Ivan\_Ji](https://discuss.elastic.co/u/Ivan_Ji)\
**Post date:** [January 24, 2014, 10:06am UTC](https://discuss.elastic.co/t/whats-the-warmer-do/15396/1 "2014-01-24T10:06:48Z")

</div>

Hi all,

I am wondering what the warmer do and what the reason is that it can  
accelerate the indexing.  
Does there exist some caching workflow and what does it put into the cache?

Also, if I execute the same query of the warming query manually, could I  
get the same effect of the warmer do?  
If not, what's the algorithm of it did to warm up?

Ideas?

Regards,

Uvan

--  
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/a68e9ded-3600-4971-b764-d2b0b86f6a08%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a68e9ded-3600-4971-b764-d2b0b86f6a08%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [January 24, 2014, 10:14am UTC](https://discuss.elastic.co/t/whats-the-warmer-do/15396/2 "2014-01-24T10:14:26Z")

</div>

Hi,

Some data in the index needs to be loaded into memory for fast access to  
the index. Since this loading is sometimes lazy, warmers are run just  
before a new segment gets published in order to ensure that following  
requests won't need to load this data as part of the query execution. The  
two main things that warmers load into memory are norms (used for scoring)  
and fielddata (used for sorting and facets/aggregations).

However, I don't see any reason why warmers would make indexing faster, I  
would expect the opposite.

On Fri, Jan 24, 2014 at 11:06 AM, Ivan Ji [hxuanji@gmail.com](mailto:hxuanji@gmail.com) wrote:

> Hi all,
> 
> I am wondering what the warmer do and what the reason is that it can  
> accelerate the indexing.  
> Does there exist some caching workflow and what does it put into the cache?
> 
> Also, if I execute the same query of the warming query manually, could I  
> get the same effect of the warmer do?  
> If not, what's the algorithm of it did to warm up?
> 
> Ideas?
> 
> Regards,
> 
> Uvan
> 
> --  
> 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/a68e9ded-3600-4971-b764-d2b0b86f6a08%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a68e9ded-3600-4971-b764-d2b0b86f6a08%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
Adrien Grand

--  
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/CAL6Z4j4na6h5RBjdRQTRjDWAmhbPS9fg0M0bWROzpdSK%3DWngsQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j4na6h5RBjdRQTRjDWAmhbPS9fg0M0bWROzpdSK%3DWngsQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![Ivan\_Ji](https://avatars.discourse-cdn.com/v4/letter/i/d78d45/32.png) [@Ivan\_Ji](https://discuss.elastic.co/u/Ivan_Ji)\
**Post date:** [January 24, 2014, 10:22am UTC](https://discuss.elastic.co/t/whats-the-warmer-do/15396/3 "2014-01-24T10:22:53Z")

</div>

Hi,

Thanks for the replies. So the warmer load the necessary data for searching  
the index. In other word, it has the same effect with manually the warming  
query instead of pushing into the warmer, right?

Cheers,

Ivan

Adrien Grand於 2014年1月24日星期五UTC+8下午6時14分26秒寫道：

> Hi,
> 
> Some data in the index needs to be loaded into memory for fast access to  
> the index. Since this loading is sometimes lazy, warmers are run just  
> before a new segment gets published in order to ensure that following  
> requests won't need to load this data as part of the query execution. The  
> two main things that warmers load into memory are norms (used for scoring)  
> and fielddata (used for sorting and facets/aggregations).
> 
> However, I don't see any reason why warmers would make indexing faster, I  
> would expect the opposite.
> 
> On Fri, Jan 24, 2014 at 11:06 AM, Ivan Ji \<[hxu...@gmail.com](mailto:hxu...@gmail.com) \<javascript:\>\>wrote:
> 
> > Hi all,
> > 
> > I am wondering what the warmer do and what the reason is that it can  
> > accelerate the indexing.  
> > Does there exist some caching workflow and what does it put into the  
> > cache?
> > 
> > Also, if I execute the same query of the warming query manually, could I  
> > get the same effect of the warmer do?  
> > If not, what's the algorithm of it did to warm up?
> > 
> > Ideas?
> > 
> > Regards,
> > 
> > Uvan
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/a68e9ded-3600-4971-b764-d2b0b86f6a08%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/a68e9ded-3600-4971-b764-d2b0b86f6a08%40googlegroups.com)  
> > .  
> > For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).
> 
> --  
> Adrien Grand

--  
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/cd42d6c8-a9c4-4013-ac7f-000f1a15a7b6%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/cd42d6c8-a9c4-4013-ac7f-000f1a15a7b6%40googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<div class="post-metadata">

**Author:** ![jpountz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jpountz/32/45836_2.png) [@jpountz](https://discuss.elastic.co/u/jpountz)\
**Post date:** [February 6, 2014, 9:11am UTC](https://discuss.elastic.co/t/whats-the-warmer-do/15396/4 "2014-02-06T09:11:28Z")

</div>

On Fri, Jan 24, 2014 at 11:22 AM, Ivan Ji [hxuanji@gmail.com](mailto:hxuanji@gmail.com) wrote:

> Thanks for the replies. So the warmer load the necessary data for  
> searching the index. In other word, it has the same effect with manually  
> the warming query instead of pushing into the warmer, right?

Exactly, but actually the warmer is a bit more efficient since it would  
only run the query on the part of the index that has changed, this can be  
much faster.

--  
Adrien Grand

--  
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/CAL6Z4j7VGAsuh5F\_bBW0Zwc3K\_BFK2tZ9iGjtLvJUAzK7Z8F5A%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAL6Z4j7VGAsuh5F_bBW0Zwc3K_BFK2tZ9iGjtLvJUAzK7Z8F5A%40mail.gmail.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 1:52am UTC](https://discuss.elastic.co/t/whats-the-warmer-do/15396/5 "2017-07-06T01:52:09Z")

</div>


