瀏覽代碼

Docs: index.codec is static, not dynamic

The `index.codec` setting can only be set on a closed index, not dynamically
Clinton Gormley 10 年之前
父節點
當前提交
1ee6ea9247
共有 1 個文件被更改,包括 6 次插入6 次删除
  1. 6 6
      docs/reference/index-modules.asciidoc

+ 6 - 6
docs/reference/index-modules.asciidoc

@@ -68,6 +68,12 @@ corruption is detected, it will prevent the shard from being opened. Accepts:
 Checking shards may take a lot of time on large indices.
 --
 
+[[index-codec]] `index.codec`::
+
+    experimental[] The `default` value compresses stored data with LZ4
+    compression, but this can be set to `best_compression` for a higher
+    compression ratio, at the expense of slower stored fields performance.
+
 [float]
 [[dynamic-index-settings]]
 === Dynamic index settings
@@ -92,12 +98,6 @@ specific index module:
     index visible to search.  Defaults to `1s`.  Can be set to `-1` to disable
     refresh.
 
-[[index-codec]] `index.codec`::
-
-    experimental[] The `default` value compresses stored data with LZ4
-    compression, but this can be set to `best_compression` for a higher
-    compression ratio, at the expense of slower stored fields performance.
-
 `index.blocks.read_only`::
 
     Set to `true` to make the index and index metadata read only, `false` to