Chapter 10. Improving performance

This chapter covers

  • Bulk, multiget, and multisearch APIs
  • Refresh, flush, merge, and store
  • Filter caches and tuning filters
  • Tuning scripts
  • Query warmers
  • Balancing JVM heap size and OS caches

Elasticsearch is commonly referred to as fast when it comes to indexing, searching, and extracting statistics through aggregations. Fast is a vague concept, making the “How fast?” question inevitable. As with everything, “how fast” depends on the particular use case, hardware, and configuration.

In this chapter, our aim is to show you the best practices for configuring Elasticsearch so you can make it perform well for your use case. In every situation, you need to trade something for speed, so you need to pick your battles: ...

Get Elasticsearch in Action now with O’Reilly online learning.

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