123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- 创建索引
- 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": {
- "access_token": {
- "type": "string",
- "index": "not_analyzed"
- },
- "device_name": {
- "type": "string",
- "index": "not_analyzed"
- },
- "data": {
- "properties": {
- "value1": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value2": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value3": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value4": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value5": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value6": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value7": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value8": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value9": {
- "type": "string",
- "index": "not_analyzed"
- },
- "value10": {
- "type": "string",
- "index": "not_analyzed"
- },
- "del": {
- "type": "string",
- "index": "not_analyzed"
- },
- "measure_time": {
- "type": "string",
- "index": "not_analyzed"
- },
- "rid": {
- "type": "string",
- "index": "not_analyzed"
- },
- "type": {
- "type": "string",
- "index": "not_analyzed"
- },
- "status": {
- "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"
- },
- "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"
- }
- }
- }
- }
|