
Mastering Elasticsearch 5.x
By :

Elasticsearch exposes five store types that we can use. By default, Elasticsearch picks the best implementation based on the operating system environment. But you can override the default behavior in following ways:
The first way, is to set for all the indices, by adding the index.store.type
property inside the elasticsearch.yml
file. For example, if you want to set the niofs
store type to all the indices you can add following line inside elasticsearch.yml
file:
index.store.type: niofs
The second way is to set per index at the index creation time in the following way:
curl -XPUT "http://localhost:9200/index_name" -d' { "settings": { "index.store.type": "niofs" } }'
Let's see what these store types provide and how we can leverage their features.
The simplest implementation of the Directory
class that is available is implemented using a random access file (Java RandomAccessFile
—http://docs.oracle.com/javase/8/docs/api/java/io...
Change the font size
Change margin width
Change background colour