{
    "dynamic":"strict",
    "properties": {
        "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":"keyword"},//面诊擅长的项目
        "type":{"type":"long"},  //1是医生  2是面诊师
        "is_banned":{"type":"boolean"},  //是否被禁止面诊
        "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
        "facevideo_rec_rank":{"type":"long"},
        "facevideo_rank":{"type":"long"},
        "consult_score":{"type": "double"},
        "hospital":{
            "type":"object",
            "properties":{
                "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":"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
            }
        },
        "consult_score":{"type": "double"},
        "nearby_city_tag_ids": {"type": "double"}

    }
}
