|
@ -0,0 +1,10 @@
|
|
|
curl -XPUT http://10.18.43.40:9200/hlw_quota_prod
|
|
|
|
|
|
curl -XPUT http://10.18.43.40:9200/hlw_quota_prod/_mapping/hlw_quota_prod?pretty -d '{"properties": {
|
|
|
"deptName": {"type": "string", "index": "not_analyzed"}, "city": {"type": "string", "index": "not_analyzed"}, "slaveKey4Name": {"type": "string", "index": "not_analyzed"}, "doctorName": {"type": "string", "index": "not_analyzed"}, "cityName": {"type": "string", "index": "not_analyzed"},
|
|
|
"areaLevel": {"type": "string", "index": "not_analyzed"}, "hospital": {"type": "string", "index": "not_analyzed"}, "slaveKey3Name": { "type": "string", "index": "not_analyzed"}, "quotaDate": {
|
|
|
"type": "date"}, "quotaCode": { "type": "string", "index": "not_analyzed"}, "result2": { "type": "double"}, "result1": { "type": "double"}, "slaveKey1": { "type": "string", "index": "not_analyzed"}, "slaveKey2": { "type": "string", "index": "not_analyzed"}, "townName": { "type": "string", "index": "not_analyzed"
|
|
|
}, "slaveKey3": { "type": "string", "index": "not_analyzed"}, "slaveKey4": { "type": "string", "index": "not_analyzed"}, "town": { "type": "string", "index": "not_analyzed"
|
|
|
}, "slaveKey2Name": { "type": "string", "index": "not_analyzed"}, "timeLevel": { "type": "string", "index": "not_analyzed"}, "dept": { "type": "string", "index": "not_analyzed"}, "hospitalName": { "type": "string", "index": "not_analyzed"
|
|
|
}, "doctor": { "type": "string", "index": "not_analyzed"}, "createTime": { "type": "date"}, "slaveKey1Name": { "type": "string", "index": "not_analyzed"}}
|
|
|
}'
|