瀏覽代碼

[DOCS] Fix indent issue in similarity snippet (#51107)

Updates snippet to consistently use 2-space indentation. The snippet
previously used a mix of tab/5-space and 2-space indents.

Co-authored-by: Peter Johnson <wiz@wiz.co.nz>

Co-authored-by: Peter Johnson <peter@geocode.earth>
James Rodewig 5 年之前
父節點
當前提交
aeec0593c2
共有 1 個文件被更改,包括 11 次插入11 次删除
  1. 11 11
      docs/reference/index-modules/similarity.asciidoc

+ 11 - 11
docs/reference/index-modules/similarity.asciidoc

@@ -22,19 +22,19 @@ settings.
 --------------------------------------------------
 PUT /index
 {
-    "settings" : {
-        "index" : {
-            "similarity" : {
-              "my_similarity" : {
-                "type" : "DFR",
-                "basic_model" : "g",
-                "after_effect" : "l",
-                "normalization" : "h2",
-                "normalization.h2.c" : "3.0"
-              }
-            }
+  "settings": {
+    "index": {
+      "similarity": {
+        "my_similarity": {
+          "type": "DFR",
+          "basic_model": "g",
+          "after_effect": "l",
+          "normalization": "h2",
+          "normalization.h2.c": "3.0"
         }
+      }
     }
+  }
 }
 --------------------------------------------------