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 ...

Get Elasticsearch Indexing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.