Index Modules
Index modules are a complex subject; they are defined per index and control every aspect of an index.
There are two types of settings for an index
- Static: Can usually be defined at the creation time or when the index is closed.
- index can be closed by invoking the _close api.
- E.g. index.number_of_shards, index.shard.check_on_startup etc.
- Dynamic: Can be changed on the live index using index settings api.
- E.g. index.number_of_replicas, index.refresh_interval etc.
More details available here.
Example
GET
saurabh-dummy/_settings
Output looks like
{
“saurabh-dummy” : {
“settings” : {
“index” : {
“creation_date” : “1586159619660”,
“number_of_shards” : “1”,
“number_of_replicas” : “1”,
“uuid” : “aGtxZ-FSRNKUgObjpQKhtA”,
“version” : {
“created” : “7060299”
},
“provided_name” : “saurabh-dummy”
}
}
}
}