@ -0,0 +1,96 @@
es7没有type的概念
创建索引
PUT http://172.26.0.112:9200/body_health_data
查询索引
get http://172.26.0.112:9200/body_health_data
给索引加mapping
{
"mappings": {
"properties": {
"device_name": {
"type": "keyword"
},
"del": {
"rid": {
"status": {
"measure_data": {
"type": {
"measure_time": {
"sign_name": {
"sign_value": {
"sign_unit": {
"explain": {
"filepath": {
"reference": {
}
"position_data": {
"location": {
"type": "geo_point"
"altitude": {
"position": {
"device_model": {
"ext_code": {
"idcard": {
"idcard_type": {
"sn": {
"usercode": {
"data_source": {
"username": {