Fix error with mapping in docs

Related to #39630
This commit is contained in:
Mayya Sharipova 2019-05-30 10:16:58 -04:00
parent b84b5525e1
commit 5a76f46ac6
1 changed files with 11 additions and 13 deletions

View File

@ -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"
}
}
}