Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Elasticsearch  Indexing
  • Table Of Contents Toc
Elasticsearch  Indexing

Elasticsearch Indexing

By : Huseyin Akdogan
close
close
Elasticsearch  Indexing

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 (10 chapters)
close
close
9
Index

Store module


As the name suggests, the store module is related to controlling how index data is stored. All the operations on the hard disk drive are done using the store module. Therefore, when it comes to improving indexing performance, they need to focus on the store module. There are some tips to improve performance for this situation.

Store types

Elasticsearch allows an index to be stored on disk or in memory. By default, it uses filesystem based on storage, and, in this context, it provides some store types that we can use. Elasticsearch will automatically choose the best one for the operating environment. If you would like to use one of these store types, you should set the index.store.type in elasticsearch.yml file:

index.store.type: niofs

Or it can be set per-index basis at index creation time:

curl -XPUT localhost:9200/my_index -d '{
    "settings": {
        "index.store.type": "niofs"
    }
}'

Now let's look at these store types one by one.

Simple filesystem store

The simplefs type uses...

CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Elasticsearch  Indexing
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon