Skip to content

Commit 6f12eb1

Browse files
Fix error with mapping in docs
1 parent 5882288 commit 6f12eb1

File tree

1 file changed

+11
-13
lines changed

1 file changed

+11
-13
lines changed

docs/reference/analysis/tokenizers/pathhierarchy-tokenizer-examples.asciidoc

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,17 @@ PUT file-path-test
4242
}
4343
},
4444
"mappings": {
45-
"_doc": {
46-
"properties": {
47-
"file_path": {
48-
"type": "text",
49-
"fields": {
50-
"tree": {
51-
"type": "text",
52-
"analyzer": "custom_path_tree"
53-
},
54-
"tree_reversed": {
55-
"type": "text",
56-
"analyzer": "custom_path_tree_reversed"
57-
}
45+
"properties": {
46+
"file_path": {
47+
"type": "text",
48+
"fields": {
49+
"tree": {
50+
"type": "text",
51+
"analyzer": "custom_path_tree"
52+
},
53+
"tree_reversed": {
54+
"type": "text",
55+
"analyzer": "custom_path_tree_reversed"
5856
}
5957
}
6058
}

0 commit comments

Comments
 (0)