Speeding up queries using warmers

If you worked with ElasticSearch, and we assume you did, it is very probable that you've heard of or used warmers API. This is a functionality that allows us to add queries that will be used to warm up index segments. And this is exactly what warmer is (a query or queries that are registered in ElasticSearch and which are used to prepare the index for searching). In this section, we will recall how we can add warmers, how we can manage them, and what they can be used for.

Reason for using warmers

One of the questions you may be asking yourself is if the warmers are really that useful. The answer to this question actually depends on your data and your queries, but in general, they are useful. As we've mentioned earlier ...

Get Mastering ElasticSearch now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.