# Warmer API

**URL:** <https://discuss.elastic.co/t/warmer-api/15216>\
**Category:** Elasticsearch\
**Created:** [January 12, 2014, 7:27pm UTC](https://discuss.elastic.co/t/warmer-api/15216 "2014-01-12T19:27:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arik\_Gaisler](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@Arik\_Gaisler](https://discuss.elastic.co/u/Arik_Gaisler)\
**Post date:** [January 12, 2014, 7:27pm UTC](https://discuss.elastic.co/t/warmer-api/15216/1 "2014-01-12T19:27:30Z")

</div>

I was wondering , as a rule of thumb, how many warmer queries is considered  
healthy?  
We have about 200-350 pre configured search queries which I would like to  
register as warmer queries when creating my index, and update the warmer  
queries when a new query is registered

Now I know that this should not affect the search queries themselves since  
the warmer thread is a seperate one - but will it affect my node's  
stability ?

Arik

--  
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/6fb0f66b-9657-48bb-b2f5-c77e13a43e29%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6fb0f66b-9657-48bb-b2f5-c77e13a43e29%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:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [January 12, 2014, 11:23pm UTC](https://discuss.elastic.co/t/warmer-api/15216/2 "2014-01-12T23:23:22Z")

</div>

Warmer queries will affect indexing time since each new segment needs to be  
warmed up. If you are going to do a large bulk load of data, it would be  
advisable to disable warming.

With elasticsearch 0.90.6, it should not be necessary to register different  
queries for the warmer API:

> <https://github.com/elastic/elasticsearch/issues/3819>
>
> Query-based warm-up is convenient as it doesn't require to know how things work …under the hood to warm-up a segment: people just have to put there queries that are similar to their users' queries.
> 
> However, warm-up could be made more efficient through \`IndexWriterConfig.setMergedSegmentWarmer\`/\`IndexWriter.IndexReaderWarmer\` which doesn't require running a query at all and is run during the merging phase, before the new segment goes live. I think we should expose a way to register such warmers and maybe use something like \`SimpleMergedSegmentWarmer\` by default.

Cheers,

Ivan

On Sun, Jan 12, 2014 at 11:27 AM, Arik Gaisler [arikgaisler@gmail.com](mailto:arikgaisler@gmail.com)wrote:

> I was wondering , as a rule of thumb, how many warmer queries is  
> considered healthy?  
> We have about 200-350 pre configured search queries which I would like to  
> register as warmer queries when creating my index, and update the warmer  
> queries when a new query is registered
> 
> Now I know that this should not affect the search queries themselves since  
> the warmer thread is a seperate one - but will it affect my node's  
> stability ?
> 
> Arik
> 
> --  
> 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/6fb0f66b-9657-48bb-b2f5-c77e13a43e29%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6fb0f66b-9657-48bb-b2f5-c77e13a43e29%40googlegroups.com)  
> .  
> For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

--  
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/CALY%3DcQCjcPzqeU4HYQDH5VF8U9R-OZ0o-sA5Z1NKH2b6iEb4Dw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCjcPzqeU4HYQDH5VF8U9R-OZ0o-sA5Z1NKH2b6iEb4Dw%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:57am UTC](https://discuss.elastic.co/t/warmer-api/15216/3 "2017-07-06T01:57:12Z")

</div>


