Commit d4ebe787 authored by lixiaofang's avatar lixiaofang

add

parent c5ba0417
{ {
"dynamic": "strict", "dynamic":"strict",
"properties": { "properties": {
"id": { "id":{"type":"text"},
"type": "text" "suggest":{
}, "analyzer":"keyword",
"suggest": { "search_analyzer":"keyword",
"type": "completion", "type":"completion",
"analyzer": "keyword", "contexts":[
"search_analyzer": "keyword",
"contexts": [
{ {
"name": "is_online", "name":"is_online",
"type": "category" "type": "category"
} }
] ]
}, },
"suggest_type": { "suggest_type":{"type":"long"},//0-汉字,1-汉字全拼,2-拼音,3-拼音全拼,4-拼音简写,5-拼音简写全拼
"type": "long" "tips_name_type":{"type":"long"},//tips数据所属类型,0-tag,1-hospital,2-doctor,3-wiki
}, "ori_name":{"type":"keyword"},//原名称
//0-汉字,1-汉字全拼,2-拼音,3-拼音全拼,4-拼音简写,5-拼音简写全拼 "order_weight":{"type":"double"},//订单权重
"tips_name_type": { "offline_score":{"type":"double"},//离线分
"type": "long" "results_num":{"type":"integer"},//结果数量
}, "type_flag":{"type":"keyword"},
//tips数据所属类型,0-tag,1-hospital,2-doctor,3-wiki "is_online":{"type":"boolean"}//上线
"ori_name": {
"type": "keyword"
},
//原名称
"order_weight": {
"type": "double"
},
//订单权重
"offline_score": {
"type": "double"
},
//离线分
"results_num": {
"type": "integer"
},
//结果数量
"type_flag": {
"type": "keyword"
},
"is_online": {
"type": "boolean"
}
//上线
} }
} }
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