Commit 71c22883 authored by 李小芳's avatar 李小芳

修改mapping

parent c13e099f
{
"dynamic":"strict",
"properties": {
"id":{"type":"long"},
"item_name":{"type":"text", "analyzer":"gm_default_index","search_analyzer":"gm_default_search"}, //wiki名称
......
{
"dynamic" : "strict",
"properties" : {
"id": {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"is_promote": {
"type" : "boolean",
"null_value" : false
},
"origin_id": {
"type" : "string",
"index" : "not_analyzed"
"type" : "keyword"
},
"smart_rank": {
"type" : "double",
......@@ -21,13 +18,13 @@
"type": "integer"
},
"city_id": {
"type": "string"
"type": "keyword"
},
"city_tag_id": {
"type" : "long"
},
"merchant_doctor_id" : {
"type" : "string"
"type" : "keyword"
},
"promotion_ids" : {
"type" : "long"
......@@ -67,7 +64,7 @@
"format" : "date_time_no_millis"
},
"hospital_name": {
"type" : "string",
"type" : "text",
"analyzer" : "gm_default_index",
"search_analyzer" : "gm_default_search"
},
......
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