Explorar o código

Fix error with mapping in docs

Mayya Sharipova %!s(int64=6) %!d(string=hai) anos
pai
achega
6f12eb168f

+ 11 - 13
docs/reference/analysis/tokenizers/pathhierarchy-tokenizer-examples.asciidoc

@@ -42,19 +42,17 @@ PUT file-path-test
     }
   },
   "mappings": {
-    "_doc": {
-      "properties": {
-        "file_path": {
-          "type": "text",
-          "fields": {
-            "tree": {
-              "type": "text",
-              "analyzer": "custom_path_tree"
-            },
-            "tree_reversed": {
-              "type": "text",
-              "analyzer": "custom_path_tree_reversed"
-            }
+    "properties": {
+      "file_path": {
+        "type": "text",
+        "fields": {
+          "tree": {
+            "type": "text",
+            "analyzer": "custom_path_tree"
+          },
+          "tree_reversed": {
+            "type": "text",
+            "analyzer": "custom_path_tree_reversed"
           }
         }
       }