Răsfoiți Sursa

Merge commit 'b311fc80e685df681654783d28491d6112b9cdab'

* commit 'b311fc80e685df681654783d28491d6112b9cdab':
  情报索引 添加 新字段
  更新 情报 索引名称
  新增 情报 索引
  添加 采购单位 画像 索引
  bidding  添加 发布媒介 字段
  transaction 添加 buyerclass
  update 法人库
  添加字段 info_ids
  update mapping
  添加 人脉通数据表
  bidding  添加外层物业业态
  bidding 添加 ai 物业标签
  更新 索引 集群设置
  项目索引,添加subtitle_projectname
  添加情报物业标签
  bidding 添加合同期限和合同到期时间
  更新 review_experts 字段,支持分词
  更新
  添加 数据预处理 索引

# Conflicts:
#	mapping/tool.txt
Jianghan 1 an în urmă
părinte
comite
793355e4d5

+ 162 - 0
mapping/bidding_preprocess.txt

@@ -0,0 +1,162 @@
+curl -H 'Content-Type: application/json'  -u es_all:TopJkO2E_d1x  -XPUT http://127.0.0.1:19805/bidding_20231120 -d '{
+    "settings": {
+        "index": {
+            "analysis": {
+                "analyzer": {
+                    "my_ngram_title": {
+                        "filter": [
+                            "lowercase"
+                        ],
+                        "tokenizer": "my_ngram_title"
+                    },
+                    "douhao": {
+                        "type": "pattern",
+                        "pattern": ","
+                    },
+                    "my_ngram": {
+                        "filter": [
+                            "lowercase"
+                        ],
+                        "tokenizer": "my_ngram"
+                    }
+                },
+                "tokenizer": {
+                    "my_ngram_title": {
+                        "token_chars": [
+                            "letter",
+                            "digit",
+                            "punctuation",
+                            "symbol"
+                        ],
+                        "min_gram": "1",
+                        "type": "nGram",
+                        "max_gram": "1"
+                    },
+                    "my_ngram": {
+                        "token_chars": [
+                            "letter",
+                            "digit",
+                            "punctuation",
+                            "symbol"
+                        ],
+                        "min_gram": "2",
+                        "type": "nGram",
+                        "max_gram": "2"
+                    }
+                }
+            },
+            "number_of_shards": "12",
+            "number_of_replicas": "0",
+            "max_result_window": "20000"
+        }
+    },
+    "mappings": {
+        "dynamic": false,
+        "properties": {
+            "dataweight": {
+                "type": "long"
+            },
+            "projectcode": {
+                "type": "keyword"
+            },
+             "object_type": {
+                "type": "keyword"
+            },
+           "fromtable": {
+                "type": "keyword"
+            },
+            "bidopentime": {
+                "type": "long"
+            },
+            "bidamount": {
+                "type": "double"
+            },
+            "winner": {
+                "type": "keyword"
+            },
+            "buyer": {
+                "type": "keyword",
+                "fields": {
+                    "mbuyer": {
+                        "analyzer": "my_ngram_title",
+                        "type": "text"
+                    }
+                }
+            },
+            "budget": {
+                "type": "double"
+            },
+            "projectname": {
+                "type": "keyword",
+                "fields": {
+                    "pname": {
+                        "analyzer": "my_ngram_title",
+                        "type": "text"
+                    }
+                }
+            },
+            "area": {
+                "type": "keyword"
+            },
+            "city": {
+                "type": "keyword"
+            },
+            "district": {
+                "type": "keyword"
+            },
+            "s_winner": {
+                "analyzer": "douhao",
+                "type": "text",
+                "fields": {
+                    "mwinner": {
+                        "analyzer": "my_ngram_title",
+                        "type": "text"
+                    }
+                }
+            },
+            "pici": {
+                "type": "long"
+            },
+            "id": {
+                "type": "keyword"
+            },
+            "title": {
+                "analyzer": "my_ngram_title",
+                "type": "text",
+                "fields": {
+                    "mtitle": {
+                        "type": "keyword"
+                    }
+                }
+            },
+            "detail": {
+                "analyzer": "my_ngram",
+                "type": "text"
+            },
+            "site": {
+                "type": "keyword"
+            },
+            "comeintime": {
+                "type": "long"
+            },
+            "href": {
+                "type": "keyword"
+            },
+            "infoformat": {
+                "type": "long"
+            },
+            "publishtime": {
+                "type": "long"
+            },
+            "toptype": {
+                "type": "keyword"
+            },
+            "subtype": {
+                "type": "keyword"
+            },
+            "createtime": {
+                "type": "long"
+            }
+        }
+    }
+}'

+ 71 - 3
mapping/biddingmapping2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19905/bidding_v1 -d '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19908/bidding_v1 -d '{
   "settings": {
     "index": {
       "analysis": {
@@ -45,8 +45,8 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
           }
         }
       },
-      "number_of_shards": "28",
-      "number_of_replicas": "1",
+      "number_of_shards": "36",
+      "number_of_replicas": "0",
       "max_result_window": "20000"
     }
   },
@@ -78,6 +78,63 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
         "signaturedate": {
           "type": "long"
         },
+        "expiredate": {
+          "type": "long"
+        },
+        "tag_topinformation": {
+          "analyzer": "douhao",
+          "type": "text"
+        },
+        "tag_subinformation": {
+          "analyzer": "douhao",
+          "fielddata": true,
+          "type": "text"
+        },
+       "tag_topinformation_ai": {
+          "analyzer": "douhao",
+          "type": "text"
+        },
+        "tag_subinformation_ai": {
+          "analyzer": "douhao",
+           "fielddata": true,
+          "type": "text"
+        },
+        "tag_set": {
+            "properties": {
+                "wuye": {
+                    "properties":{
+                       "scale": {
+                          "type": "long"
+                          },
+                        "period": {
+                          "type": "long"
+                         },
+                        "property_form": {
+                          "type": "text",
+                          "analyzer": "douhao"
+                         },   
+                        "changehand": {
+                          "type": "float"
+                         },  
+                        "changehandindex": {
+                          "type": "long"
+                         },   
+                        "isfirsthand": {
+                          "type": "long"
+                         }, 
+                         "owner_type": {
+                          "type": "integer"
+                          }, 
+                        "isfile": {
+                          "type": "long"
+                         }                                  
+                    }
+                }
+            }
+        },
+       "contractperiod": {
+        "type": "keyword"
+        },
         "projectperiod": {
           "type": "keyword"
         },
@@ -159,6 +216,9 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
         "topscopeclass": {
           "type": "keyword"
         },
+       "mobile_tag": {
+          "type": "keyword"
+        },
         "s_subscopeclass": {
           "analyzer": "douhao",
           "type": "text"
@@ -229,6 +289,9 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
         "href": {
           "type": "keyword"
         },
+        "publish_media": {
+          "type": "keyword"
+        },
         "infoformat": {
           "type": "long"
         },
@@ -319,6 +382,11 @@ curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http:/
           "analyzer": "douhao",
           "type": "text"
         },
+       "property_form": {
+          "analyzer": "douhao",
+          "fielddata": true,
+          "type": "text"
+        },
         "channel": {
           "type": "keyword"
         },

+ 2 - 2
mapping/buyer2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/buyer_v2 -d  '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31  -XPUT http://127.0.0.1:19908/buyer_v1 -d  '{
   "settings": {
     "index": {
       "analysis": {
@@ -15,7 +15,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
           }
         }
       },
-      "number_of_shards": "18",
+      "number_of_shards": "9",
       "number_of_replicas": "0"
     }
   },

+ 193 - 0
mapping/ent_info.txt

@@ -0,0 +1,193 @@
+curl -H 'Content-Type: application/json'  -u jybid:Top2023_JEB01i@31  -XPUT http://127.0.0.1:19908/ent_info_v2 -d '{
+  "settings": {
+    "index": {
+      "analysis": {
+        "analyzer": {
+          "my_ngram_title": {
+            "filter": [
+              "lowercase"
+            ],
+            "tokenizer": "my_ngram_title"
+          },
+          "douhao": {
+            "type": "pattern",
+            "pattern": ","
+          },
+          "my_ngram": {
+            "filter": [
+              "lowercase"
+            ],
+            "tokenizer": "my_ngram"
+          }
+        },
+        "tokenizer": {
+          "my_ngram_title": {
+            "token_chars": [
+              "letter",
+              "digit",
+              "punctuation",
+              "symbol"
+            ],
+            "min_gram": "1",
+            "type": "nGram",
+            "max_gram": "1"
+          },
+          "my_ngram": {
+            "token_chars": [
+              "letter",
+              "digit"
+            ],
+            "min_gram": "2",
+            "type": "nGram",
+            "max_gram": "2"
+          }
+        }
+      },
+      "number_of_shards": "9",
+      "number_of_replicas": "0"
+    }
+  },
+
+    "mappings": {
+        "properties": {
+            "id": {
+                "type": "keyword"
+            },
+            "company_id": {
+                "type": "keyword"
+            },
+            "company_name": {
+                "type": "text",
+                "analyzer": "my_ngram"
+            },
+            "company_code": {
+                "type": "keyword"
+            },
+            "credit_no": {
+                "type": "keyword"
+            },
+            "org_code": {
+                "type": "keyword"
+            },
+            "tax_code": {
+                "type": "keyword"
+            },
+            "establish_date": {
+                "type": "long"
+            },
+            "legal_person": {
+                "type": "keyword"
+            },
+            "legal_person_caption": {
+                "type": "keyword"
+            },
+            "company_status": {
+                "type": "keyword"
+            },
+            "company_type": {
+                "type": "keyword"
+            },
+            "authority": {
+                "type": "keyword"
+            },
+            "issue_date": {
+                "type": "long"
+            },
+            "operation_startdate": {
+                "type": "keyword"
+            },
+            "operation_enddate": {
+                "type": "keyword"
+            },
+            "capital": {
+                "type": "keyword"
+            },
+            "company_address": {
+                "type": "text",
+                "analyzer": "my_ngram"
+            },
+            "business_scope": {
+                "type": "text",
+                "analyzer": "my_ngram"
+            },
+            "cancel_date": {
+                "type": "long"
+            },
+            "cancel_reason": {
+                "type": "keyword"
+            },
+            "revoke_date": {
+                "type": "long"
+            },
+            "revoke_reason": {
+                "type": "keyword"
+            },
+            "comeintime": {
+                "type": "long"
+            },
+            "updatetime": {
+                "type": "long"
+            },
+            "legal_person_type": {
+                "type": "long"
+            },
+            "real_capital": {
+                "type": "keyword"
+            },
+            "en_name": {
+                "type": "text",
+                "analyzer": "my_ngram"
+            },
+            "area_code": {
+                "type": "keyword"
+            },
+            "city_code": {
+                "type": "keyword"
+            },
+            "district_code": {
+                "type": "keyword"
+            },           
+            "list_code": {
+                "type": "keyword"
+            },
+            "employee_no": {
+                "type": "long"
+            },
+            "website": {
+                "type": "keyword"
+            },
+            "business_type": {
+                "type": "long"
+            },
+            "sourcetype": {
+                "type": "long"
+            },
+            "company_phone": {
+                "type": "keyword"
+            },
+            "company_email": {
+                "type": "keyword"
+            },
+            "company_unit_type": {
+                "type": "long"
+            },
+            "longitude_latitude": {
+                "type": "keyword"
+            },
+            "admin_level": {
+                "type": "keyword"
+            },
+            "company_label": {
+                "type": "keyword",
+                "fields": {
+                    "labels": {
+                        "analyzer": "my_ngram_title",
+                        "type": "text"
+                    }
+                }
+            }
+        }
+    }
+
+}'
+

+ 150 - 0
mapping/information.txt

@@ -0,0 +1,150 @@
+## 情报数据,对应clickhouse
+curl -H 'Content-Type: application/json'  -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19908/information_v1 -d  '{
+  "settings": {
+    "index": {
+      "analysis": {
+        "analyzer": {
+          "my_ngram": {
+            "tokenizer": "my_ngram"
+          },
+          "douhao": {
+            "type": "pattern",
+            "pattern": ","
+          }
+        },
+        "tokenizer": {
+          "my_ngram": {
+            "min_gram": "2",
+            "type": "nGram",
+            "max_gram": "2"
+          }
+        }
+      },
+      "number_of_shards": "9",
+      "number_of_replicas": "0"
+    }
+  },
+  "mappings": {
+      "dynamic":false,
+      "properties": {
+     "id": {
+        "type": "keyword"
+      },
+      "title": {
+        "type": "text",
+        "analyzer": "my_ngram"
+      },
+      "summary": {
+        "type": "text",
+        "analyzer": "my_ngram"
+      },
+      "content": {
+        "type": "text",
+        "analyzer": "my_ngram"
+      },
+      "basis": {
+        "type": "text",
+        "analyzer": "my_ngram"
+      },
+      "valuedecrip": {
+        "type": "text",
+        "analyzer": "my_ngram"
+      },
+      "starttime": {
+        "type": "long"
+      },
+      "endtime": {
+        "type": "long"
+      },
+      "data_sourcetype": {
+        "type": "keyword"
+      },
+      "class": {
+        "type": "keyword"
+      },
+      "area": {
+        "type": "keyword"
+      },
+      "city": {
+        "type": "keyword"
+      },
+      "publishtime": {
+        "type": "long"
+      },
+      "createtime": {
+        "type": "long"
+      },
+      "rule_id": {
+        "type": "keyword"
+      },
+      "topclass": {
+        "type": "keyword"
+      },
+      "subclass": {
+        "type": "keyword"
+      },
+      "tag_set": {
+            "properties": {
+                "wuye": {
+                    "properties":{
+                       "scale": {
+                          "type": "long"
+                          },
+                        "period": {
+                          "type": "long"
+                         },
+                        "property_form": {
+                          "type": "text",
+                          "analyzer": "douhao"
+                         },   
+                        "changehand": {
+                          "type": "float"
+                         },  
+                        "changehandindex": {
+                          "type": "long"
+                         },   
+                        "isfirsthand": {
+                          "type": "long"
+                         }, 
+                         "owner_type": {
+                          "type": "integer"
+                          }, 
+                        "isfile": {
+                          "type": "long"
+                         }                                  
+                    }
+                }
+            }
+        },
+      "datajson_expiredate": {
+        "type": "long"
+      },
+      "datajson_toptype": {
+        "type": "keyword"
+      },
+      "datajson_subtype": {
+        "type": "keyword"
+      },
+      "datajson_buyertel": {
+        "type": "keyword"
+      },
+      "datajson_winnertel": {
+        "type": "keyword"
+      },
+      "datajson_projectamount": {
+        "type": "double"
+      },
+      "datajson": {
+        "type": "text",
+        "analyzer": "my_ngram"
+      },
+      "datajson_id": {
+        "type": "keyword"
+      },
+      "business_label": {
+        "type": "keyword"
+      }
+      
+      }
+  }
+}'

+ 60 - 0
mapping/project_portrait.txt

@@ -0,0 +1,60 @@
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31   -XPUT http://127.0.0.1:19908/project_portrait_v1 -d  '{
+  "settings": {
+    "index": {
+      "analysis": {
+        "analyzer": {
+          "my_ngram": {
+            "tokenizer": "my_ngram"
+          }
+        },
+        "tokenizer": {
+          "my_ngram": {
+            "min_gram": "2",
+            "type": "nGram",
+            "max_gram": "2"
+          }
+        }
+      },
+      "number_of_shards": "9",
+      "number_of_replicas": "0"
+    }
+  },
+  "mappings": {
+      "dynamic":false,
+      "properties": {
+        "buyer": {
+          "type": "keyword",
+          "fields": {
+            "mbuyer": {
+              "analyzer": "my_ngram",
+              "type": "text"
+            }
+          }
+        },
+        "class": {
+          "type": "keyword"
+        },
+        "id": {
+          "type": "keyword"
+        },
+        "area": {
+          "type": "keyword"
+        },
+        "business_type": {
+          "type": "keyword"
+        },
+        "city": {
+          "type": "keyword"
+        },
+       "lasttime":{
+          "type": "long"
+        },
+       "project_count": {
+          "type": "integer"
+        },
+       "project_money": {
+          "type": "double"
+        }
+      }
+  }
+}'

+ 14 - 3
mapping/projectset2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/projectset_v3 -d '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPUT http://127.0.0.1:19908/projectset_v1 -d '{
   "settings": {
     "index": {
       "analysis": {
@@ -43,7 +43,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
           }
         }
       },
-      "number_of_shards": "12",
+      "number_of_shards": "9",
       "number_of_replicas": "0"
     }
   },
@@ -348,7 +348,15 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
           "analyzer": "my_ngram"
         },
         "review_experts": {
-          "type": "keyword"
+          "fielddata":true,
+          "analyzer": "douhao",
+          "type": "text",
+          "fields": {
+            "experts": {
+              "analyzer": "my_ngram",
+              "type": "text"
+            }
+          }
         },
         "winnerorder": {
           "type": "keyword"
@@ -394,6 +402,9 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
         "first_cooperation": {
           "type": "keyword"
         },
+       "subtitle_projectname": {
+          "type": "keyword"
+        },
         "bid_field": {
           "analyzer": "douhao",
           "type": "text"

+ 2 - 2
mapping/qyxy2.txt

@@ -1,4 +1,4 @@
-curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127.0.0.1:19805/qyxy_v2 -d '{
+curl -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31  -XPUT http://127.0.0.1:19908/qyxy_v1 -d '{
 "settings": {
   "index": {
     "analysis": {
@@ -55,7 +55,7 @@ curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x -XPUT http://127
         }
       }
     },
-    "number_of_shards": "12",
+    "number_of_shards": "9",
     "number_of_replicas": "0"
   }
 },

+ 25 - 14
mapping/tool.txt

@@ -14,23 +14,34 @@ curl -XPUT http://127.0.0.1:19805/forecast_v1/_mapping -u jianyuGr:we3g8glKfe# -
 	}
 }'
 
-curl -H 'Content-Type: application/json' -u jianyuGr:we3g8glKfe# -XPOST http://127.0.0.1:19805/_aliases -d '
+// 索引添加别名
+curl  -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31 -XPOST http://127.0.0.1:19905/_aliases -d '
 {
-  "actions": [
-      {
-        "remove": {
-          "index": "forecast_v1",
-          "alias": "forecast"
-        }
-      },
-      { "add": {
-          "alias": "forecast",
-          "index": "forecast_v2"
-        }
-      }
-  ]
+    "actions": [
+        { "add": {
+            "alias": "bidding_pre",
+            "index": "bidding_20231120"
+        }}
+    ]
 }'
 
+// 添加并移除别名
+curl -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x  -XPOST http://127.0.0.1:19805/_aliases -d '
+{
+    "actions": [
+        { "remove": {
+            "alias": "winner",
+            "index": "winner_v1"
+        }},
+        { "add": {
+            "alias": "winner",
+            "index": "winner_v2"
+        }}
+    ]
+}'
+
+
+
 //新增某字段mapping,es7 版本
 curl -XPUT "http://127.0.0.1:19805/bidding_v1/_mapping"  -u es_all:TopJkO2E_d1x -H 'Content-Type: application/json' -d '
 {

+ 173 - 0
mapping/transaction_info.txt

@@ -0,0 +1,173 @@
+##  人脉通 transaction_info-交易信息表
+curl -H 'Content-Type: application/json'  -u jybid:Top2023_JEB01i@31  -XPUT http://127.0.0.1:19908/transaction_info_v2 -d '{
+  "settings": {
+    "index": {
+      "analysis": {
+        "analyzer": {
+          "my_ngram_title": {
+            "filter": [
+              "lowercase"
+            ],
+            "tokenizer": "my_ngram_title"
+          },
+          "douhao": {
+            "type": "pattern",
+            "pattern": ","
+          },
+          "my_ngram": {
+            "filter": [
+              "lowercase"
+            ],
+            "tokenizer": "my_ngram"
+          }
+        },
+        "tokenizer": {
+          "my_ngram_title": {
+            "token_chars": [
+              "letter",
+              "digit",
+              "punctuation",
+              "symbol"
+            ],
+            "min_gram": "1",
+            "type": "nGram",
+            "max_gram": "1"
+          },
+          "my_ngram": {
+            "token_chars": [
+              "letter",
+              "digit"
+            ],
+            "min_gram": "2",
+            "type": "nGram",
+            "max_gram": "2"
+          }
+        }
+      },
+      "number_of_shards": "9",
+      "number_of_replicas": "0"
+    }
+  },
+    "mappings": {
+        "properties": {
+            "id": {
+                "type": "keyword"
+            },
+           "info_ids": {
+                "analyzer": "douhao",
+                "type": "text"
+            },
+            "project_name": {
+                "type": "keyword",
+                "fields": {
+                    "pname": {
+                        "analyzer": "my_ngram_title",
+                        "type": "text"
+                    }
+                }
+            },
+            "project_budget": {
+                "type": "double"
+            },
+            "project_bidamount": {
+                "type": "double"
+            },
+            "project_money": {
+                "type": "double"
+            },
+            "business_type": {
+                "type": "keyword"
+            },
+            "project_bidstatus": {
+                "type": "long"
+            },
+            "info_id": {
+                "type": "keyword"
+            },
+            "information_id": {
+                "type": "keyword"
+            },
+             "buyerclass": {
+                "type": "keyword"
+            },
+            "buyer": {
+                "type": "keyword",
+                "fields": {
+                    "mbuyer": {
+                        "analyzer": "my_ngram_title",
+                        "type": "text"
+                    }
+                }
+            },
+            "buyer_id": {
+                "type": "keyword"
+            },
+            "winner": {
+                "type": "keyword",
+                "fields": {
+                    "mwinner": {
+                    "fielddata": true,
+                    "analyzer": "my_ngram",
+                    "type": "text"
+                    }
+                }
+            },
+            "winner_id": {
+                "type": "keyword"
+            },
+            "agency": {
+                "type": "keyword",
+                "fields": {
+                    "magency": {
+                        "analyzer": "my_ngram",
+                        "type": "text"
+                    }
+                }
+            },
+            "agency_id": {
+                "type": "keyword"
+            },
+            "property_form": {
+                "analyzer": "douhao",
+                "type": "text"
+            },
+            "subclass": {
+                "analyzer": "douhao",
+                "fielddata": true,
+                "type": "text"
+            },
+            "multipackage": {
+                "type": "long"
+            },
+            "area": {
+                "type": "keyword"
+            },
+            "city": {
+                "type": "keyword"
+            },
+            "district": {
+                "type": "keyword"
+            },
+            "zbtime": {
+                "type": "long"
+            },
+            "jgtime": {
+                "type": "long"
+            },
+            "starttime": {
+                "type": "long"
+            },
+            "endtime": {
+                "type": "long"
+            },
+            "create_time": {
+                "type": "long"
+            },
+            "update_time": {
+                "type": "long"
+            }
+        }
+    }
+
+}'
+

+ 2 - 2
mapping/winner2.txt

@@ -1,4 +1,4 @@
-curl  -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x  -XPUT http://127.0.0.1:19805/winner_v1 -d '{
+curl  -H 'Content-Type: application/json' -u jybid:Top2023_JEB01i@31  -XPUT http://127.0.0.1:19908/winner_v1 -d '{
 "settings": {
   "index": {
     "analysis": {
@@ -15,7 +15,7 @@ curl  -H 'Content-Type: application/json' -u es_all:TopJkO2E_d1x  -XPUT http://1
         }
       }
     },
-    "number_of_shards": "12",
+    "number_of_shards": "9",
     "number_of_replicas": "0"
   }
 },