Index modules

Index modules 创建和控制索引的各个方面


Index settings

Index setting一般分为staticdynamic
static index setting只能在索引创建和索引关闭的时候进行修改。


Static Index setting

  • index.number_of_shards
    The number of primary shards that an index should have. Defaults to 1. This setting can only be set at index creation time. It cannot be changed on a closed index.

  • index.number_of_routing_shards
    Number of routing shards used to split an index.

  • index.shard.check_on_startup

  • index.codec

  • index.routing_partition_size

  • index.soft_deletes.enabled

  • index.soft_deletes.retention_lease.period

  • index.load_fixed_bitset_filters_eagerly

  • index.hidden


    Dynamic Index Setting

  • index.number_of_replicas
    shard的副本数量

  • index.auto_expand_replicas

  • index.refresh_interval


    Other Setting

  • Analysis

  • Index shard allocation

  • Mapping

  • Merging

  • Similarities

  • Slowlog

  • Store

  • Translog

  • History retention

  • Indexing pressure