Commit 2ed6e167 authored by 李小芳's avatar 李小芳

修改mapping

parent 4715b760
This diff is collapsed.
...@@ -8,11 +8,10 @@ ...@@ -8,11 +8,10 @@
"type": "long" "type": "long"
}, },
"doctor_id": { "doctor_id": {
"type": "string", "type": "keyword"
"index": "not_analyzed"
}, },
"content": { "content": {
"type": "string", "type": "text",
"analyzer": "gm_default_index", "analyzer": "gm_default_index",
"search_analyzer": "gm_default_search" "search_analyzer": "gm_default_search"
}, },
...@@ -26,8 +25,7 @@ ...@@ -26,8 +25,7 @@
"type": "string" "type": "string"
}, },
"content_level": { "content_level": {
"type": "string", "type": "keyword"
"index": "not_analyzed"
}, },
"create_time": { "create_time": {
"type": "date", "type": "date",
...@@ -39,9 +37,9 @@ ...@@ -39,9 +37,9 @@
"is_video": { "is_video": {
"type": "boolean" "type": "boolean"
}, },
"content_keyword":{"type":"string","index":"not_analyzed"}, "content_keyword":{"type":"keyword"},
"content_star_keyword":{"type":"string","index":"not_analyzed"}, "content_star_keyword":{"type":"keyword"},
"content_star_first_keyword":{"type":"string","index":"not_analyzed"}, "content_star_first_keyword":{"type":"keyword"},
"title_keyword":{"type":"string","index":"not_analyzed"} "title_keyword":{"type":"keyword"}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment