123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- 创建索引
- POST http://172.26.0.112:9200/body_health_data
- 给索引加mapping
- POST http://172.26.0.112:9200/body_health_data/signs_data/_mapping
- {
- "signs_data": {
- "properties": {
- "device_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "del": {
- "type": "string",
- "index": "not_analyzed"
- },
- "rid": {
- "type": "string",
- "index": "not_analyzed"
- },
- "status": {
- "type": "string",
- "index": "not_analyzed"
- },
- "measure_data": {
- "properties": {
- "type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "measure_time": {
- "type": "string",
- "index": "not_analyzed"
- },
- "sign_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "sign_value": {
- "type": "string",
- "index": "not_analyzed"
- },
- "sign_unit": {
- "type": "string",
- "index": "not_analyzed"
- },
- "explain": {
- "type": "string",
- "index": "not_analyzed"
- },
- "filepath": {
- "type": "string",
- "index": "not_analyzed"
- },
- "reference": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "position_data": {
- "properties": {
- "location": {
- "type": "geo_point"
- },
- "altitude": {
- "type": "string",
- "index": "not_analyzed"
- },
- "position": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- },
- "device_model": {
- "type": "string",
- "index": "not_analyzed"
- },
- "ext_code": {
- "type": "string",
- "index": "not_analyzed"
- },
- "idcard": {
- "type": "string",
- "index": "not_analyzed"
- },
- "idcard_type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "sn": {
- "type": "string",
- "index": "not_analyzed"
- },
- "usercode": {
- "type": "string",
- "index": "not_analyzed"
- },
- "data_source": {
- "type": "string",
- "index": "not_analyzed"
- },
- "username": {
- "type": "string",
- "index": "not_analyzed"
- }
- }
- }
- }
|