Commit b449c0c3 authored by 李小芳's avatar 李小芳

修改mapping

parent 00c1467b
{
"dynamic":"strict",
"properties": {
"id":{"type": "string", "index":"not_analyzed"},// 面诊顾问ID
"id":{"type": "keyword"},// 面诊顾问ID
"is_online":{"type":"boolean"}, //医生是否在线 或面诊师本身是否在线
"facevideo_is_onlie":{"type":"boolean"}, //是否在线面诊
"facevideo_is_status":{"type":"long"}, //面诊状态
"facevideo_is_assistant":{"type":"boolean"}, //是否医生助理
"facevideo_good_at_ids":{"type":"long"}, //面诊擅长的项目
"facevideo_good_at":{"type":"string", "index":"not_analyzed"},//面诊擅长的项目
"facevideo_good_at":{"type":"keyword"},//面诊擅长的项目
"type":{"type":"long"}, //1是医生 2是面诊师
"is_banned":{"type":"boolean"}, //是否被禁止面诊
"merchant_id": {"type": "string", "index":"not_analyzed"},//所属的商户Id
"doctor_id": {"type": "string", "index":"not_analyzed"},//医生Id
"consultant_id":{"type": "string", "index":"not_analyzed"},//面诊师Id
"merchant_id": {"type": "keyword"},//所属的商户Id
"doctor_id": {"type": "keyword"},//医生Id
"consultant_id":{"type": "keyword"},//面诊师Id
"doctor_score": {"type": "double"},
"rank_score": {"type": "double"},
"user_id":{"type":"long"}, //用户ID
......@@ -22,13 +22,13 @@
"hospital":{
"type":"object",
"properties":{
"id":{"type":"string","index":"not_analyzed"},
"name":{"type":"string","analyzer":"gm_ngram_index","search_analyzer":"gm_default_search"}, //医院名
"officer_name":{"type":"string","analyzer":"gm_default_index","search_analyzer":"gm_default_search"}, //机构管理者名称
"hospital_type":{"type":"string","index":"not_analyzed"}, //医院类型, 0公立, 1民营
"city_name":{"type":"string","analyzer":"gm_ngram_index","search_analyzer":"gm_default_search"}, //城市名
"id":{"type":"keyword"},
"name":{"type":"text","analyzer":"gm_ngram_index","search_analyzer":"gm_default_search"}, //医院名
"officer_name":{"type":"text","analyzer":"gm_default_index","search_analyzer":"gm_default_search"}, //机构管理者名称
"hospital_type":{"type":"text","index":"not_analyzed"}, //医院类型, 0公立, 1民营
"city_name":{"type":"text","analyzer":"gm_ngram_index","search_analyzer":"gm_default_search"}, //城市名
"city_tag_id":{"type":"long"}, //城市tag id
"city_province_name":{"type":"string","analyzer":"gm_ngram_index","search_analyzer":"gm_default_search"}, //省份名
"city_province_name":{"type":"text","analyzer":"gm_ngram_index","search_analyzer":"gm_default_search"}, //省份名
"city_province_tag_id":{"type":"long"}, //省份tag id
"city_province_country_tag_id":{"type":"long"} //国家tagID
}
......
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