Book Image

Elasticsearch Indexing

By : Huseyin Akdogan
Book Image

Elasticsearch Indexing

By: Huseyin Akdogan

Overview of this book

Beginning with an overview of the way ElasticSearch stores data, you’ll begin to extend your knowledge to tackle indexing and mapping, and learn how to configure ElasticSearch to meet your users’ needs. You’ll then find out how to use analysis and analyzers for greater intelligence in how you organize and pull up search results – to guarantee that every search query is met with the relevant results! You’ll explore the anatomy of an ElasticSearch cluster, and learn how to set up configurations that give you optimum availability as well as scalability. Once you’ve learned how these elements work, you’ll find real-world solutions to help you improve indexing performance, as well as tips and guidance on safety so you can back up and restore data. Once you’ve learned each component outlined throughout, you will be confident that you can help to deliver an improved search experience – exactly what modern users demand and expect.
Table of Contents (15 chapters)
Elasticsearch Indexing
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Configuration


We have discussed in Chapter 4, Analysis and Analyzers, that one of the basic needs in the big data world is the record of data by high performance (if you don't recall, please refer to the Introduction to Analysis section in that chapter). This basic need sometimes happens to be the most important priority and you may be willing to sacrifice some other needs for it, for example, search performance and nuanced analysis. In this section, you will find configuration tips for high performance indexing.

Memory configuration

One of the best features of the Java programming language is that memory allocation and deallocation isn't a manual process. Also, the Java programming language has automatic garbage collection, that is, the process to identify and remove unused objects from memory. But still, memory configuration must be done manually to improve performance. The memory configuration is important when speeding up processes. A recommended approach is that when you need to change...