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

修改mapping

parent 4715b760
This diff is collapsed.
......@@ -8,11 +8,10 @@
"type": "long"
},
"doctor_id": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
},
"content": {
"type": "string",
"type": "text",
"analyzer": "gm_default_index",
"search_analyzer": "gm_default_search"
},
......@@ -26,8 +25,7 @@
"type": "string"
},
"content_level": {
"type": "string",
"index": "not_analyzed"
"type": "keyword"
},
"create_time": {
"type": "date",
......@@ -39,9 +37,9 @@
"is_video": {
"type": "boolean"
},
"content_keyword":{"type":"string","index":"not_analyzed"},
"content_star_keyword":{"type":"string","index":"not_analyzed"},
"content_star_first_keyword":{"type":"string","index":"not_analyzed"},
"title_keyword":{"type":"string","index":"not_analyzed"}
"content_keyword":{"type":"keyword"},
"content_star_keyword":{"type":"keyword"},
"content_star_first_keyword":{"type":"keyword"},
"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