Search icon
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Elasticsearch 7 Quick Start Guide

You're reading from  Elasticsearch 7 Quick Start Guide

Product type Book
Published in Oct 2019
Publisher Packt
ISBN-13 9781789803327
Pages 186 pages
Edition 1st Edition
Languages
Authors (2):
Anurag Srivastava Anurag Srivastava
Profile icon Anurag Srivastava
Douglas Miller Douglas Miller
Profile icon Douglas Miller
View More author details

Performance Tuning

In this chapter, we will look into Elasticsearch performance-related issues and how we can tweak Elasticsearch to get the maximum output. Elasticsearch is widely used to search through a database and return documents that match the query, but it can quickly become overwhelmed when it has to retrieve a large number of documents using a single query. The Scroll API is therefore recommended in these situations. Elasticsearch does not index documents larger than 100 MB, but this setting can be changed in http.max_content_length as long as it does not go over the Lucene limit of 2 GB. Generally, users are recommended to avoid using large documents in Elasticsearch, as they put stress on the network and overwhelm memory usage and disk space.

In this chapter, we are going to cover the following topics:

  • Data sparsity
  • Solutions to common problems
  • How to tune for indexing...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}